Commit Graph
320 Commits
Author SHA1 Message Date
mccabe@netscape.com 73ca5fd9a5 Further warning enhancements engendered by 10693.
- Added xpidl_sprint_iid method for printing an nsID to a string.

- Removed "this is a gross hack" code for parsing and printing iids, and replaced with calls to xpidl_sprint_iid

- Made write_classname_iid_define() void, and removed cluttering tests against its failure.

- Cleaned up.
1999-08-02 11:19:30 +00:00
mccabe@netscape.com 858428ebbf Improved abstraction of uuid parsing; uuid parsing function now no longer understands "" to mean 'the uuid consisting of only 0s.' Also broke the function out into xpidl_idl.c (where utility functions live) towards reusing it in xpidl_headers as well.
Removed outdated reference to (resolved) bug 5872.
1999-08-02 09:46:57 +00:00
mccabe@netscape.com af2166c608 Fix to 10693. Error on malformed uuid (currently we just check for a uuid of the wrong length) rather than failing silently. 1999-08-02 09:35:28 +00:00
mccabe@netscape.com 38e3e41ecc Fix to 9596.
Change several allocations to behave safely when we're linking 0 interfaces.  This also allows xpt_link to be linked against Electric Fence, which will doubtless discover other problems...

Thanks to kherron@sgum.mci.com for the great patch!
1999-07-17 10:31:29 +00:00
beard@netscape.com 3433f97ae3 added java target to test java interface generation 1999-07-17 02:06:42 +00:00
beard@netscape.com ff755ecd99 java mode 1999-07-17 00:49:37 +00:00
beard@netscape.com da9acda324 now builds all components directly into "{Compiler}CodeWarrior Plugins" to work in the automated build. 1999-07-16 23:45:19 +00:00
beard@netscape.com fd7e07c918 fixed mac build bustage 1999-07-16 23:44:34 +00:00
slamm@netscape.com d2a84d714e Fix build warnings. 1999-07-16 20:06:37 +00:00
mang@subcarrier.org f1b451b631 suppress warnings about /* in comment 1999-07-07 07:54:02 +00:00
mang@subcarrier.org 84b7e283f2 libIDL expects the line number to be one more than we think it is.
Who are we to argue?
Fixes bug 5872 for header mode.
1999-07-07 04:42:33 +00:00
dveditz@netscape.com 0a73a2c84c nakefile cleanups 1999-07-02 13:42:17 +00:00
dveditz@netscape.com 563f6ffb1d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
jdunn@netscape.com 748416f6c8 Fix HPUP and AIX build bustage by 'casting' the params. 1999-06-29 20:37:18 +00:00
mang@subcarrier.org 05ddef92bb Partially fixes bug 5872
Line numbers are now (only) off by one on Unix
Windows still reports incorrect line number if error is in an included file
Fixes bug 8183
Included files not found are now reported with proper line number
1999-06-28 21:10:18 +00:00
mccabe@netscape.com 64fd528055 Fix warning fix by casting void * (to go into a hashtable) as an unsigned int rather than as an int, which busts on platforms that have the high bit set for pointers.
Thanks to Duncan Wilcox <duncan@be.com> for catching this.
1999-06-26 08:17:00 +00:00
shaver@netscape.com 963c59575c um, that wasn't supposed to get checked in 1999-06-26 01:26:19 +00:00
shaver@netscape.com c2cf99bcd1 clean up className manipulation; no progids, though\! 1999-06-26 00:40:03 +00:00
mccabe@netscape.com abb80393b0 Add 'void' to generated method signatures that'd otherwise come out as foo(), to avoid the legacy C feature of having () disable typechecking. 1999-06-25 09:22:52 +00:00
frankm@eng.sun.com d26b7f1f07 Reintroduce Java backend to Unix build. 1999-06-23 01:31:04 +00:00
frankm@eng.sun.com a8b5dd5a6a Re-enable Java backend, this time with an updated Windows makefile. 1999-06-23 00:58:35 +00:00
mccabe@netscape.com 807658e116 Backing out buildsystem aspects of the Java interface backend to xpidl until we can land them safely xp. The xpidl_java.c backend remains. 1999-06-23 00:06:29 +00:00
frankm@eng.sun.com fb6073c26b First pass at generating Java interfaces from XPIDL 1999-06-22 22:39:50 +00:00
shaver@netscape.com 4c342d0ca8 flail lightly trying to fix build bustage 1999-06-15 15:21:00 +00:00
shaver@netscape.com 0016206b98 try to bix build bustage, and start on fixing 8183 1999-06-15 15:13:38 +00:00
shaver@netscape.com 3bc746325a fix 8184: don't get stuck on %{ that's not at the beginning of the line, and mind end of data 1999-06-15 14:17:21 +00:00
mccabe@netscape.com e63e1d4b84 Added a warning for using an (ignored) '%{' or '%{whatever' escape instead of using '%{C++'. 1999-06-15 11:18:03 +00:00
mccabe@netscape.com 6cfd58d24c Removed unused declaration for (cvs rm'ed) stub mode, and added an explanatory comment as to what 'basename' actually means. (Not what I thought...) 1999-06-15 09:22:04 +00:00
mccabe@netscape.com f9e7e95425 Fix number of arguments to the fprintf format string I changed yesterday. 1999-06-15 04:59:19 +00:00
shaver@netscape.com 4538b43454 xpidl_idl.c rewrite for improved maintenance, fixed bugs and whiter teeth 1999-06-15 03:07:44 +00:00
mccabe@netscape.com 3a8df3c412 Remove reference to the f_noscript field, which gets set when libIDL sees a bare 'noscript' keyword.
This fixes compiling against libIDL 0.6.8, which has changed the field to __f_noscript to deprecate.  Rightly so, as noscript is expressible as a bracketed [property], and we want it to go away too.  Ignoring it rather than #ifdef'ing saves us future maintenance hassle.
1999-06-15 00:37:46 +00:00
mccabe@netscape.com 54b82011a6 Removed misleading /* interface scooby */ comment in generated #include "scooby.h" line. 1999-06-14 08:28:23 +00:00
mccabe@netscape.com 0e2d5e27a1 Various touchups and warning fixes. 1999-06-10 09:18:59 +00:00
mccabe@netscape.com 2e21ba7a2d Fix many warnings, remove legacy -h option. 1999-06-10 08:21:35 +00:00
dp@netscape.com 8de614a8f7 openVMS changes. Thanks to Colin Blake <colin@theblakes.com> 1999-06-10 00:19:36 +00:00
mccabe@netscape.com 708bc159de removed files: mozilla/xpcom/typelib/xpidl/xpidl_stub.c 1999-06-09 09:46:07 +00:00
mccabe@netscape.com 5f3492b432 Removing remnants of stubs-generation mode. 1999-06-09 09:45:49 +00:00
mccabe@netscape.com 9883b2326f Partial fix to 7202. free (XPT_DELETE()) a pointer that was previously just set to NULL and leaked.
Thanks to David Gardiner <david.gardiner@unisa.edu.au> for the patch, and to bruce to pointing me to it.
1999-06-04 21:33:38 +00:00
mccabe@netscape.com 00547a7aa4 Fix to 6880. xpt_link now prints an informative error message when it encounters duplicate interface names with different iids. 1999-05-27 11:02:05 +00:00
mccabe@netscape.com 5856e19d7e Fix to 5032. xpt_link and xpt_dump now detect input files with bad 'XPCOM TypeLib" headers and fail gracefully with informative error messages, rather than crashing.
Yes, I'm pretty confident this checkin won't interact with the current runtime bustage.
1999-05-27 10:11:32 +00:00
ramiro@netscape.com 8ab12c5c7f Remove these from the unix build to reduce the evil possibility of a fork. 1999-05-27 02:31:44 +00:00
beard@netscape.com 31110533ae changed access paths 1999-05-26 23:21:40 +00:00
beard@netscape.com 279faaf681 bumped version to 1.0d5 1999-05-26 23:20:41 +00:00
beard@netscape.com 4e4bc26282 added <stdio.h> since xpt_xdr.h no longer #includes nspr includes. 1999-05-26 23:20:24 +00:00
beard@netscape.com 69282af224 removed unnecessary NSPR include files 1999-05-26 23:20:23 +00:00
beard@netscape.com 199c2ffb14 linker now generates aliases to headers in project output directory. 1999-05-26 23:17:34 +00:00
beard@netscape.com ed1f76a7f0 header files are now linkable. 1999-05-26 23:17:31 +00:00
beard@netscape.com c77dad0937 now compiles header files into the project data folder. 1999-05-26 23:17:28 +00:00
mcafee@netscape.com f91381d5e2 Fixing solaris bustage, link with the c++ compiler. 1999-05-26 22:56:26 +00:00
sspitzer@netscape.com a78e15907c do the ignore again. this time, without breaking the build. 1999-05-26 21:48:42 +00:00