mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 10:40:12 +00:00
![mccabe%netscape.com](/assets/img/avatar_default.png)
* fix 20833 - generate numbers of appropriate form in header output mode for short, long, signed or unsigned IDL consts. Thanks to bratell@lysator.liu.se for finding this and confirming the fix. * fix 11199, remove .h output file on failure - partially generated files caused trouble, as they had the proper timestamp to fool 'make' next time around. Punted on mac. * Restore Mac hack to fix \r to \n, requested by Beard. * Make 'const decl must be short or long' warning into error for typelib mode. This mirrors an existing error in header mode. * Fix up various aspects of xpidl, including: - Move shared functions from xpidl_idl.c and xpidl.c 'main' module to new xpidl_util.c. - Recast nodehandler-table-per-backend as 'backend' struct, including broken-out prolog and epilog functions. Replaces overloaded IDLN_NONE node handler that did prolog code on non-null tree, epilog on null. Move backends to new API. - Rename a few structs more logically. - Add a new list to track files included from the base .idl file, for generated #includes in output header file. This replaces using the 'already-included' hashtable for this purpose, and lets us generate just the minimal set of #includes, in the order they occured in the .h file. - Various fixes to quiet xpidl warnings. - Change main() to only accept one input file from the command line, because the basename code assumes this, and multiple files aren't needed by our make system. r=jband