38 Commits (4169dbca50877f75de219b5bee44c31db1fed045)

Author SHA1 Message Date
Peter Johnson 4c33af41ec Revamp error/warning handling, using a model similar to Python's internal 19 years ago
Peter Johnson 1a86c34026 * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 20 years ago
Peter Johnson 55438b7229 Massive libyasm / module interface update - Phase 1 21 years ago
Peter Johnson d151392af8 Big output_expr(), intnum_tobytes(), and floatnum_tobytes() changes: 22 years ago
Peter Johnson 7071b20131 In floatnum_mul(), rename "exp" variable to "expon" to avoid compiler warning 22 years ago
Peter Johnson cfc6bf0ded Clean up and simplify libyasm.h options and symbol visibility: 22 years ago
Peter Johnson 0786a76895 Make libyasm a "real" library, including installing header files. 22 years ago
Peter Johnson 84ee559be7 The Great Renaming (prefixing with yasm_), Part 2: allocation functions. 22 years ago
Peter Johnson d9f68d6d4b Unmodularize errwarn, while making key errwarn functions replaceable. 22 years ago
Peter Johnson a2e07e1e10 The Great Renaming (prefixing with yasm_), Part 1. 22 years ago
Peter Johnson b1faf6329c Relicense under 2-clause BSD license. 22 years ago
Peter Johnson 49e278893c Re-license more files under the 3-clause BSD license (mostly header files). 22 years ago
Peter Johnson 9f6cb6783f Modularize errwarn. gettext()-ize in errwarn, not in every module, eliminating 22 years ago
Peter Johnson 2f19ce4ecd Delete last of global variables by making a line manager and passing around 22 years ago
Peter Johnson 494ed1738d Make output endian-tolerant by making intnum and floatnum output functions for 22 years ago
Peter Johnson bb71f908bc Splint cleanups. 23 years ago
Peter Johnson 69c42d7aaa Plug memory leak in floatnum_new(). 23 years ago
Peter Johnson 4bcb83da56 (Mostly) Clean up floatnum internal allocations. 23 years ago
Peter Johnson 825eaa5823 Massive cleanup of debugging output (via _print() functions). All now take 23 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 23 years ago
Peter Johnson a7ac50c918 Add coretype.h, make util.h do a lot more, use util.h to simplify include 23 years ago
Peter Johnson 7a6eaf8c03 Make InternalError() a bit easier to call. Also, reverse its file and line 23 years ago
Peter Johnson 6f708e3034 Add xfree() to replace calls to free(). 23 years ago
Peter Johnson adf5a95e89 Add option for malloc debugging using dmalloc library (http://dmalloc.com/). 23 years ago
Peter Johnson 6a7504341f Add _copy() constructor. 23 years ago
Peter Johnson a83fc9c8f6 Change order of arguments for get_ and check_ functions to better match other 23 years ago
Peter Johnson 57a746069d Remove NULL return checks; BitVector uses xmalloc(), so they aren't necessary. 23 years ago
Peter Johnson 193392dcb6 Fix LOTS of little nits. Primary changes: 23 years ago
Peter Johnson eec0574a16 Use wordptr and charptr when appropriate for data when using BitVector functions. 23 years ago
Peter Johnson 48a36cdf22 Make most data structures opaque, keeping internals truly internal and making the 23 years ago
Peter Johnson fb89878708 Const'ify floatnum_new() input string. 23 years ago
Peter Johnson 55c7822fa5 Add floatnum_delete(). 23 years ago
Peter Johnson 17a9427734 Fix mantissa rounding overflow issue: 0xff -> 0x100, and shift right -> 0x80 is 23 years ago
Peter Johnson d312212211 Implement floatnum_print() (for debugging purposes only). 23 years ago
Peter Johnson b13f4e4f87 malloc->xmalloc, strdup->xstrdup, and calloc->xcalloc. The x* family performs 23 years ago
Peter Johnson 1377150f6e Finish ASCII->internal FP conversion and clean up single/double/extended 23 years ago
Peter Johnson 279abb1b37 Implement floating point size conversions (with help from BitVector). 23 years ago
Peter Johnson 1abd74ba04 Fix large parts of expression and symbol handling. Actually link in labels 23 years ago
Peter Johnson 197f8857e4 Change error/warning framework to store a list of errors and warnings instead 23 years ago
Peter Johnson ac22f77d42 Get initial bits setting from object format. Change the initial section name 23 years ago
Peter Johnson 1fd753346c Build section linked list, and support the section directive, including 23 years ago
Peter Johnson 9397744af8 Add unit test framework using Check (http://check.sourceforge.net/). 23 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 23 years ago
Peter Johnson 84e0411c49 Use queue.h macros in section.h, and reference bytecode using bytecodehead. 23 years ago
Peter Johnson 074b748ece Rename outfmt to objfmt and related files and directories. "objfmt" is more 24 years ago
Peter Johnson 86f7268ea8 Add RCSID(). 24 years ago
Peter Johnson 77fc6dd491 Standardize order of include statements as well as autoconf'ing those source 24 years ago
Peter Johnson ae600ce442 Use STAILQ's for datavals and bytecodes. 24 years ago
Peter Johnson edf74fe9ea Run through GNU indent using indent profile. Manually fix some changes 24 years ago
Peter Johnson 7ba343f346 New modular directory structure: parsers, preprocs, and outfmts. 24 years ago