53 Commits (4169dbca50877f75de219b5bee44c31db1fed045)

Author SHA1 Message Date
Peter Johnson da4a8ebe1c yasm_intnum_set_int(): Oops; compile before committing next time. 19 years ago
Peter Johnson 7ebf4d268e Add yasm_intnum_set_int(). 19 years ago
Peter Johnson 26e2ac882f Change calc_len to call back to add_span function so that multiple spans can 19 years ago
Peter Johnson 83c0ecaaec * coretype.h (yasm_value): Add size field (specified in bits). 19 years ago
Peter Johnson 4c33af41ec Revamp error/warning handling, using a model similar to Python's internal 19 years ago
Peter Johnson d354b090e2 * intnum.c (yasm_intnum_calc): Use BitVector_Compare, not Lexicompare; 19 years ago
Peter Johnson bbf23a557d * intnum.c (yasm_intnum_create_sized): New, reverse function of 19 years ago
Peter Johnson a581559202 Change the NASM preprocessor to use yasm_intnum and yasm_expr. This 19 years ago
Peter Johnson 2e18bad174 * intnum.c (yasm_intnum_create_leb128): Create an intnum from a LEB128 19 years ago
Peter Johnson d8c7ca6d3b * intnum.c (yasm_intnum_get_sized): Honor negative warn setting (signed). 19 years ago
Peter Johnson 91ac655c47 * intnum.h (yasm_get_sleb128, yasm_size_sleb128): New functions to handle 19 years ago
Peter Johnson 7a31b45af1 * intnum.c (yasm_intnum_set_uint): New function to set intnum to any 19 years ago
Peter Johnson f03d75b1d8 * intnum.c (yasm_intnum_is_zero, yasm_intnum_is_pos1, yasm_intnum_is_neg1) 19 years ago
Peter Johnson 1ddc1272d2 Add support for LEB128 encoded integers (both signed and unsigned). This 19 years ago
Peter Johnson 83ecf2c5a0 * coretype.h (yasm_expr_op): Add YASM_EXPR_NOR for NOR operator. 19 years ago
Peter Johnson 533979e455 * intnum.c (yasm_intnum_zero): New function to zero an existing intnum. 20 years ago
Peter Johnson 1a86c34026 * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 20 years ago
Peter Johnson 203a2474ac Fix handling of >32 bit NASM character constants; they were being shifted 21 years ago
Peter Johnson 55438b7229 Massive libyasm / module interface update - Phase 1 21 years ago
Peter Johnson bfb1ee5b0c Fixed some conversion warnings caused by intnum commit. Missed these due to 22 years ago
Peter Johnson d151392af8 Big output_expr(), intnum_tobytes(), and floatnum_tobytes() changes: 22 years ago
Peter Johnson 6837acf876 yasm_intnum_is_zero(), yasm_intnum_is_pos1(): Don't need to check if bitvect, 22 years ago
Peter Johnson 2c2e86495e yasm_intnum_new_int(): Don't always create -1 intnums (oops) 22 years ago
Peter Johnson 379c90a778 Revamp intnum internals: 22 years ago
Peter Johnson 9632f79ceb BitVector_add() and BitVector_sub() take a *carry parameter as an input; we 22 years ago
Peter Johnson 7c77a808e8 BUGFIX: In yasm_intnum_calc(), use operand->val.bv instead of acc->val.bv if 22 years ago
Peter Johnson 16c09e4b41 Add lindex parameter to yasm_intnum_calc(), and add error messages for SEG, 22 years ago
Peter Johnson cfc6bf0ded Clean up and simplify libyasm.h options and symbol visibility: 22 years ago
Peter Johnson 0caa11ff3b Enable more warnings and perform code cleanups to avoid them. 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 79cbfd8a17 Integrate BitVector version 6.3 changes. 22 years ago
Peter Johnson 494ed1738d Make output endian-tolerant by making intnum and floatnum output functions for 22 years ago
Peter Johnson 090a25b8d4 Rename intnum_new_int to intnum_new_uint, and add new signed version of 22 years ago
Peter Johnson 4f8f5b128f InternalError on unrecognized operations rather than just dropping them. 22 years ago
Peter Johnson 04ed33ca73 Cut bitvect allocations even more by making a bitvect_from_Dec_static() and 23 years ago
Peter Johnson beba182469 Allocate single static temporary bitvect for conversions (as most conversions 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