Граф коммитов

327 Коммитов

Автор SHA1 Сообщение Дата
frankm%eng.sun.com 2a4acf1b3b Add nsID constant to IDL-generated Java interface 1999-08-10 21:10:06 +00:00
mccabe%netscape.com d6e7410f31 Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
shaver%netscape.com 1b9b03a295 stop tripping myself up 1999-08-10 06:47:38 +00:00
mccabe%netscape.com 961500de8e Fix to 11451.
Stop coredump on bad argument name in [iid_is(bogus)]; add != NULL safety check to loop.
1999-08-09 09:34:22 +00:00
mccabe%netscape.com e5300a345a Fixes for 'warning: unsigned value < 0 is always 0' warnings. 1999-08-07 09:32:45 +00:00
mccabe%netscape.com 5264239545 Made use of ... varargs result in failure, as we don't currently seem
to support it.
1999-08-06 10:25:16 +00:00
jband%netscape.com 2a76ddde40 fix xpidl compiler failure when a block of 'raw' stuff straddles a buffer block boundary 1999-08-06 07:57:53 +00:00
mccabe%netscape.com bec8580cb5 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 8c92e507dd 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 32c7b823a8 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 e0d14d2f7d 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 22df638a1c added java target to test java interface generation 1999-07-17 02:06:42 +00:00
beard%netscape.com 6907c80be8 java mode 1999-07-17 00:49:37 +00:00
beard%netscape.com 6b166f7048 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 885ad73ea5 fixed mac build bustage 1999-07-16 23:44:34 +00:00
slamm%netscape.com 27b8289eff Fix build warnings. 1999-07-16 20:06:37 +00:00
mang%subcarrier.org 515fd3cecc suppress warnings about /* in comment 1999-07-07 07:54:02 +00:00
mang%subcarrier.org accf14f46c 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 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
dveditz%netscape.com 5dd9cff22d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
jdunn%netscape.com 91418818a9 Fix HPUP and AIX build bustage by 'casting' the params. 1999-06-29 20:37:18 +00:00
mang%subcarrier.org 2910f06745 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 563513795f 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 f4e4a3f10e um, that wasn't supposed to get checked in 1999-06-26 01:26:19 +00:00
shaver%netscape.com 7365a5ec68 clean up className manipulation; no progids, though\! 1999-06-26 00:40:03 +00:00
mccabe%netscape.com 5972697137 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 13963eb821 Reintroduce Java backend to Unix build. 1999-06-23 01:31:04 +00:00
frankm%eng.sun.com 1baceeffa4 Re-enable Java backend, this time with an updated Windows makefile. 1999-06-23 00:58:35 +00:00
mccabe%netscape.com 81a47bf328 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 5d22ee70f0 First pass at generating Java interfaces from XPIDL 1999-06-22 22:39:50 +00:00
shaver%netscape.com 77d0d97176 flail lightly trying to fix build bustage 1999-06-15 15:21:00 +00:00
shaver%netscape.com 5b10014dc8 try to bix build bustage, and start on fixing 8183 1999-06-15 15:13:38 +00:00
shaver%netscape.com ff57e68207 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 b2be2d0465 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 20752a6353 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 e06275230f Fix number of arguments to the fprintf format string I changed yesterday. 1999-06-15 04:59:19 +00:00
shaver%netscape.com 8be07679ad xpidl_idl.c rewrite for improved maintenance, fixed bugs and whiter teeth 1999-06-15 03:07:44 +00:00
mccabe%netscape.com c9a8c48435 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 f6cf371c74 Removed misleading /* interface scooby */ comment in generated #include "scooby.h" line. 1999-06-14 08:28:23 +00:00
mccabe%netscape.com f91c99fedd Various touchups and warning fixes. 1999-06-10 09:18:59 +00:00
mccabe%netscape.com 60740a11ac Fix many warnings, remove legacy -h option. 1999-06-10 08:21:35 +00:00
dp%netscape.com 6204bd471e openVMS changes. Thanks to Colin Blake <colin@theblakes.com> 1999-06-10 00:19:36 +00:00
mccabe%netscape.com 8278dfd1be removed files: mozilla/xpcom/typelib/xpidl/xpidl_stub.c 1999-06-09 09:46:07 +00:00
mccabe%netscape.com 24db887a78 Removing remnants of stubs-generation mode. 1999-06-09 09:45:49 +00:00
mccabe%netscape.com 7b8e0afeb5 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 da56ac584d 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 993a57ba6c 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 35a17d67b0 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 9bef84f59a changed access paths 1999-05-26 23:21:40 +00:00
beard%netscape.com cbd7455082 bumped version to 1.0d5 1999-05-26 23:20:41 +00:00