7 Commits (779b7dd67e34a5e4ab81ae38eb8a781c8d6dca74)

Author SHA1 Message Date
Peter Johnson 4fab0318c5 Don't use an inner structure for line mappings. 18 years ago
Peter Johnson ab13bd719e Remove YASM_LIB_INTERNAL. It never really gained us that much in terms of 18 years ago
Peter Johnson 951a6df026 Fix use-after-free in linemap_poke. The first yasm_linemap_set call can 18 years ago
Peter Johnson 469e54fa4a Update all copyright dates. 18 years ago
Peter Johnson 00473ca981 Bite the bullet and convert tabs to spaces. Previously yasm's source has 18 years ago
Peter Johnson decb27eaa2 Massive update of directive handling, including handling of extern, global, 18 years ago
Peter Johnson 26c808a82f Rename linemgr.c and linemgr.h to linemap.c and linemap.h. The "manager" 18 years ago
Peter Johnson 4bf0ef0ab4 Fix error/warnings in the NASM preprocessor to reference the correct line 18 years ago
Peter Johnson bb15d52a37 * linemgr.h (yasm_linemap_traverse_filenames): New function to go through all 19 years ago
Peter Johnson 81a6ef76d8 * libyasm.h (yasm_linemap_set): Allow NULL filename to indicate unchanged. 19 years ago
Peter Johnson 1feacb6483 * linemgr.c (yasm_linemap_create): Initialize pointers in initial 20 years ago
Peter Johnson 2d0119c5b7 First part of list file support. This should accurately output all file 20 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 cfc6bf0ded Clean up and simplify libyasm.h options and symbol visibility: 22 years ago
Peter Johnson 5fcecd3160 Match signedness of loop counters with loop bounds. 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 d510e21546 Add option for parser to associate input text (after preprocessing) with each 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 caf89035f8 Remove indent_level global by passing it as a parameter. 22 years ago
Peter Johnson d6f22c3fce Dynamically load all modules (preloading some of the default ones). 22 years ago
Peter Johnson ba294928c6 Move cur_parser from globals to main (as it's only used in main). 22 years ago
Peter Johnson 0177d689a1 Revamp object format functional interface a bit. Now, only the output() 23 years ago
Peter Johnson 746f2ef74f General code cleanup. 23 years ago
Michael Urman 04b27087a9 Fix one line odd error: missing initialization of step. 23 years ago
Peter Johnson fea731d3eb Remove unused variable declaration. 23 years ago
Michael Urman 2814d5cf22 Change from linked list to vector representation for line mapping. 23 years ago
Peter Johnson ddacb97e3e Don't shadow global (standard C) "index" (noticed by LCLint). 23 years ago
Peter Johnson 3f2186c1bf Change from current file/line dual storage to a monotonically-increasing line 23 years ago
Peter Johnson 7b4e6c09dc Add support for NASM's %line. 23 years ago
Peter Johnson ce4a5fe02a Switch from using ternary tree to Hash Array Mapped Trie (HAMT), which has 23 years ago
Peter Johnson 825eaa5823 Massive cleanup of debugging output (via _print() functions). All now take 23 years ago
Peter Johnson 8cbf2c2312 - Greatly enhance capabilities of directives (they're actually parsed now). 23 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 23 years ago
Peter Johnson f58d7cb093 Split x86-specific stuff away from bytecode. 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 4d95de5161 Plug memory leaks, and enhance finding later ones with *_delete functions. 23 years ago
Peter Johnson dc1c3c70f5 Get rid of all the extra filename strdup()'s. (Bug #14). 23 years ago
Peter Johnson 98e25fc1f6 Add some (optional through configure) additional warning flags. Add options 23 years ago
Stanislav Karchebny 68de928435 Added command line parsing 23 years ago
Peter Johnson ac22f77d42 Get initial bits setting from object format. Change the initial section name 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 50cd4f238f Add global filename variable and handling for a filename passed on the 24 years ago
Peter Johnson 616bd61994 Use ANSI C compliant #ifndef wrappers (_A_H_ -> YASM_A_H). 24 years ago