beard%netscape.com
7cc1e4846b
changes to build as MPW tools. r=mccabe
2000-03-29 03:14:02 +00:00
jband%netscape.com
ab61ae1c62
adding new file - not part of build
2000-03-28 05:10:05 +00:00
beard%netscape.com
fe5e9431ae
added targets for MPW tool (not part of default build)
2000-03-28 03:29:34 +00:00
beard%netscape.com
94436678cd
prefix file for MPW tools
2000-03-28 03:27:15 +00:00
jim_nance%yahoo.com
7133406899
Added code to put a U after unsigned numbers. This gets rid of the
...
"decimal constant is so large its unsigned" warnings.
r=shaver
2000-03-24 03:19:34 +00:00
sfraser%netscape.com
466c068544
Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc
2000-03-22 02:43:48 +00:00
mccabe%netscape.com
1bb2d0f184
Fix to 11454
...
Respect [noscript] property for attributes by setting the attribute as hidden in the emitted typelib.
r=jband
2000-03-18 07:55:43 +00:00
mccabe%netscape.com
5a386a15b3
Fix bustage; replace strdup (no prototype on mac) with call to (existing!) xpidl_strdup.
2000-03-18 02:29:23 +00:00
mccabe%netscape.com
b48d3f3c6c
- Add preliminary code for a documentation backend. Hopefully someone will want to extend it...
...
- Add a compile-time check requiring non-scriptable (because they're native) attributes to be marked [noscript] within [scriptable] interfaces. This mirrors an existing check for methods, and may save some hair-pulling for script authors. Partial fix to 11454.
- Emit a sample implementation (#ifdef 0) into the generated .h file that component authors can copy and use as the start of their implementation. Code courtesy jband.
r=jband, r=mccabe
2000-03-18 01:30:35 +00:00
cls%seawood.org
192e307283
Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built.
...
Fixed the recursive makes into GtkMozilla so that they will report build failures like the other dirs.
Removed LIBS_NEQ_INSTALL variable and associated ifdefs.
2000-03-02 13:29:03 +00:00
cls%seawood.org
80f42db84e
Use HOST_AR & HOST_RANLIB when building host version of libxpt. Needed for cross-compiling. Bug #11890
2000-03-02 12:29:47 +00:00
cls%seawood.org
18d8f2f08c
Use EXPORT_XPT_API define when building libraries. Needed for mingw32.
2000-03-02 12:27:58 +00:00
bryner%uiuc.edu
6985354db4
Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
...
building in the tests directories. Should not affect the build at all if
you do not have this environment variable. r=leaf.
2000-02-25 04:12:40 +00:00
scc%netscape.com
73802d6f2e
Pro5 update
2000-02-07 23:06:04 +00:00
scc%netscape.com
6366d6d779
Fixed access paths for upcoming switch to Pro5, see bug #25949 . r=pinkerton
2000-02-01 00:49:16 +00:00
mccabe%netscape.com
a69d6461c1
Rework xpidl_idl to not use a circular buffer. This fixes many problems with buffer boundaries. Fixes
...
9716 unterminated %{ escape causes endless loop
Clean up memory handling and other aspects of xpidl. Fixes
11058 bad free in xpidl
13464 memory leak in xpidl
Store doc comments in IDL-processing phase, and emit them into generated header files. Fixes
24734 xpidl should emit doc comments
Add error towards fixing 24965, and fix 13100 'xpidl should error on multiple inheritance'
r=jband
2000-01-28 08:28:48 +00:00
mccabe%netscape.com
3924a1c44a
Fix problem with generated consts in .h files for OS/2 - also handle the internal const value more sensibly, and lose wrong 'is_long' distinction.
...
Thanks to Henry Sobotka <sobotka@axess.com> for finding this problem and suggesting a fix.
r=mccabe
2000-01-18 05:16:48 +00:00
beard%netscape.com
ccbba8bc22
bug fix for bug #11199 , should remove partially created output file.
2000-01-17 04:13:05 +00:00
jband%netscape.com
8ebdc7fd46
Fix to deal with arrays of interface pointers. r=mccabe
2000-01-13 05:54:40 +00:00
mccabe%netscape.com
07b2669fa3
Reinstating backed-out fix to 20833 from earlier, this time with a change that seems to work on solaris and mac.
2000-01-12 13:33:40 +00:00
mccabe%netscape.com
56eb32a7ae
Reverting const-generation code that seems to be trouble for Solaris.
2000-01-12 03:34:30 +00:00
sfraser%netscape.com
af46cbd1b9
Fixing bustage by ensuring that xpidl_utils.c is only in the compiler target. r=mccabe
2000-01-12 03:09:33 +00:00
mccabe%netscape.com
e3377a41b5
changing #include "xpt_stuct.h" to <xpt_struct.h> b/c I don't think Mac is finding the file.
2000-01-12 02:48:06 +00:00
mccabe%netscape.com
98fc705a06
added files: mozilla/xpcom/typelib/xpidl/xpidl_util.c
2000-01-12 01:47:05 +00:00
mccabe%netscape.com
4c9d90c5c7
Batched set of fixes to xpidl. NOTE this'll probably cause the world to rebuild.
...
* 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
2000-01-12 01:46:21 +00:00
warren%netscape.com
96ec037ac6
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
frankm%eng.sun.com
9c721a5a9d
[Bugs 18486, 18488; r=mccabe] XPIDL->Java: always make first char of methods lowercase, translate PRBool to Java boolean
1999-11-24 02:08:34 +00:00
dmose%mozilla.org
142ac52eaf
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
colin%theblakes.com
b9154c2dbb
Only define MDCPUCFG if HOST_NSPR_MDCPUCFG is defined. r=cls
1999-10-29 23:03:15 +00:00
mccabe%netscape.com
c3ea52c70e
Undo overly-hasty backout. This reinstates part of my recent checkin.
1999-10-27 03:44:38 +00:00
beard%netscape.com
88e88fb291
make warnings not terminate build. fix bustage, r=mccabe
1999-10-27 02:44:34 +00:00
mccabe%netscape.com
2dc0208ac7
Debust mac-specific \r-related tree breakage.
1999-10-27 01:28:59 +00:00
mccabe%netscape.com
578b8c54a1
Various fixes to xpidl. Note that this checkin will cause a rebuild of everything that depends on nsISupports.h. Fixes courtesy Mike Shaver, with small tweaks by McCabe. r=shaver, r=mccabe.
...
- Fix to bug 17013; have xpidl produce an error when encountering a native declaration without an associated (c++-name).
- remove many DEBUG_shaver lines.
- provide xpidl_tree_warning as a fallback for libIDL versions for which IDL_tree warning is bad, and NULL-proof our message callback function. Also remove a 1k buffer limit from the message callback function.
- make enum in IDL files an error. We don't support it, and love consts instead.
- Fix to 12684; don't allow [retval] parameter + return or multiple [retval] parameters.
- Fix to 13390; make non-{short,long} const a fatal error.
1999-10-27 00:37:39 +00:00
jband%netscape.com
2fa72d8d56
xpidl compiler was failing to complain that it is an error to use [shared] with 'inout' params. (no bug was filed) r=mccabe
1999-10-05 04:23:35 +00:00
kipp%netscape.com
79afe35b3b
Button up some shutdown memory leaks
1999-09-30 21:43:35 +00:00
briano%netscape.com
b05d07ff2d
Fix for AIX 4.2, specifically, but should help other platforms with shared library difficulties.
1999-09-29 00:19:10 +00:00
jband%netscape.com
2fb9c3fa65
fix a warning
1999-09-20 07:27:51 +00:00
jband%netscape.com
04c77e4064
- Changed the interface for getting the interface_is argnum.
...
- Merged the typelib types for array and array_with_length.
- Added typelib types for string_with_size and wstring_with_size
1999-09-20 02:50:28 +00:00
mccabe%netscape.com
4f7990cd94
Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
...
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage. Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes. (This could mean blackwood; sorry, guys!)
Many thanks to Alec Flett (alecf@netscape.com ) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu ) and Mike Shaver (shaver@mozilla.org ) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.
Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
briano%netscape.com
04e901e2a5
General cleanup.
1999-09-18 02:12:56 +00:00
jband%netscape.com
a3a6462404
add arrays to xpidl and typelibs. got rid of vararg support scheme
1999-09-11 05:20:39 +00:00
jband%netscape.com
fb368b667d
fix shaver's broken pool growing code. remove unused bitwise code.
1999-09-11 01:40:22 +00:00
jband%netscape.com
3c516ca121
get rid of declarations for unused code and broken code
1999-09-11 01:39:22 +00:00
shaver%netscape.com
d3b088072e
fix for 8060 and switch to iterative annotation processing to reduce stack suck, a=mcafee, r=mccabe
1999-09-10 02:48:32 +00:00
mccabe%netscape.com
228106844c
Backed out offending change for now. Busted windows and mac (xpidl returns failure.)
1999-09-08 01:51:56 +00:00
mccabe%netscape.com
415ebbfe1d
Fixes to compile on DEC (gargamel) courtesy briano; remove XPT_ASSERT from macros, and remove unused macros from xpt_struct.c.
1999-09-08 00:45:13 +00:00
cls%seawood.org
c73bc6f895
Forgot to run ranlib on libhostxpt.a
1999-09-06 22:10:18 +00:00
cls%seawood.org
90500144ad
Since libxpt is used by both xpidl and libxpcom, we need to create a duplicate libhostxpt that is built by HOST_CC for xpidl & friends.
1999-09-05 20:48:30 +00:00
cls%seawood.org
a7904068d8
Simple check to see if we can get rid of these osf1 cc compiler errors on the ports page. Sorry about causing the world to be rebuilt.
1999-09-03 11:24:00 +00:00
cls%seawood.org
950432fabb
Oops. This file shouldn't have INTERNAL_TOOLS set.
1999-09-03 09:11:12 +00:00
cls%seawood.org
1ad23065c1
Fixed the use of HOST_NSPR_MDCPUCFG so that the build doesn't break if it is not defined.
1999-09-03 05:03:40 +00:00
jband%netscape.com
e4d792bba4
fix for bug 12237 - add a flag in typelib to indicate methods thatare not xpcom compliant. Stealing bit that was originally intended for varargs
1999-09-02 00:01:08 +00:00
jband%netscape.com
0426b167b2
fix an initialized warning
1999-09-01 23:49:02 +00:00
cls%seawood.org
4b01d25c0b
Make xpidl build as an internal tool
1999-09-01 20:34:10 +00:00
cyeh%netscape.com
9577b5cefa
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
1999-09-01 00:54:34 +00:00
brendan%mozilla.org
37d70db5bc
Improve diagnostic for codefrag vs. NS_DECL_IFOO warning.
1999-08-29 05:16:05 +00:00
brendan%mozilla.org
defeffaabd
Massive spankage to capitalize C++ method and attribute name bindings, per
...
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
mccabe%netscape.com
001772dbc0
Fixed problem with getters/setters in generated NS_FORWARD_NSIFOO macro. Thanks to David Bienvenu for catching this.
...
Fixed {-placement formatting nit. Thanks to Brendan Eich for catching this.
1999-08-25 05:05:48 +00:00
slamm%netscape.com
319b492795
Removed items from DIRS that do not exist.
1999-08-24 21:45:26 +00:00
mccabe%netscape.com
253f70d70b
Add ## between _to and function name in generated NS_FORWARD_NSIFOO macro
1999-08-24 10:00:52 +00:00
mccabe%netscape.com
78683b0b4e
Don't generate 'void' as a parameter in call portion of NS_FORWARD_NSIFOO macro. Whoops.
1999-08-22 11:18:21 +00:00
mccabe%netscape.com
7096177a2c
Make a new XPIDL_WARNING macro to generalize the check against using IDL_tree_warning when compiled against libIDL 0.6.5.
1999-08-22 01:10:14 +00:00
mccabe%netscape.com
7f99104407
Generate NS_FORWARD_NSIFOO(_to) macro to facilitate declaring forwarding implementations for a given interface.
...
Fix bug where both GetFoo and SetFoo prototypes were generated into the NS_DECL_NSIFOO macro for readonly attributes. Thanks go to jband for catching this.
1999-08-21 07:04:33 +00:00
mccabe%netscape.com
fbeda622f0
Fix problem with generating \ \n for getters and setters, and move generated NS_DECL_NSIFOO to below the interface.
...
Thanks to jband for catching this problem.
1999-08-20 09:08:40 +00:00
shaver%netscape.com
c11920cae4
don't use IDL_tree_warning on 0.6.5, it crashes sometimes.
...
r=alecf, a=mcafeee
1999-08-19 21:09:08 +00:00
mccabe%netscape.com
b7e63ab162
Changes to the xpidl compiler to support generating an 'NS_DECL_NSIFOO' macro when generating the nsIFoo interface, which provides a shorthand to declare all of the methods of that interface.
...
Also included are various architectural changes to support this, (which required descending the interface and method subtree of the IDL parse tree an extra time) including abstracting out the write_method_signature and write_attr_accessor methods so that they can be called both when generating the interface and when generating the macro.
Purged passing the single TreeState parameter from several leaf functions, and broke it out into parameters foo_tree and output file. This saved a lot of tree->state twiddling when calling tree-descent functions.
This checkin will cause depend builds to rebuild most of the tree, so be patient...
1999-08-19 13:02:08 +00:00
briano%netscape.com
dc8c41758c
Now it will handle the obscure case where sprintf returns a string instead of an int. Reviewed by mccabe and jband. Approved by chofmann.
1999-08-14 03:11:10 +00:00
frankm%eng.sun.com
31aad87217
Add nsID constant to IDL-generated Java interface
1999-08-10 21:10:06 +00:00
mccabe%netscape.com
2a403483de
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
70082a6469
stop tripping myself up
1999-08-10 06:47:38 +00:00
mccabe%netscape.com
c05b826555
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
923fe76ae3
Fixes for 'warning: unsigned value < 0 is always 0' warnings.
1999-08-07 09:32:45 +00:00
mccabe%netscape.com
761823a1f3
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
e3426f29f5
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
ed3c4eb1e7
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
3e1e43dd00
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
97d2f06afc
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
26a111aff8
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
fcb5f5d05e
added java target to test java interface generation
1999-07-17 02:06:42 +00:00
beard%netscape.com
226b7010a9
java mode
1999-07-17 00:49:37 +00:00
beard%netscape.com
5ec5a1c45e
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
6535f06416
fixed mac build bustage
1999-07-16 23:44:34 +00:00
slamm%netscape.com
e33e65a165
Fix build warnings.
1999-07-16 20:06:37 +00:00
mang%subcarrier.org
c444378873
suppress warnings about /* in comment
1999-07-07 07:54:02 +00:00
mang%subcarrier.org
38c3da09bb
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
0eb6c820cf
nakefile cleanups
1999-07-02 13:42:17 +00:00
dveditz%netscape.com
17864a291d
Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles
1999-07-02 11:50:19 +00:00
jdunn%netscape.com
dc5a2faa70
Fix HPUP and AIX build bustage by 'casting' the params.
1999-06-29 20:37:18 +00:00
mang%subcarrier.org
0e32f49008
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
7e40b15988
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
63df4e7169
um, that wasn't supposed to get checked in
1999-06-26 01:26:19 +00:00
shaver%netscape.com
67a3a2c37a
clean up className manipulation; no progids, though\!
1999-06-26 00:40:03 +00:00
mccabe%netscape.com
001e464b0a
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
87ba003503
Reintroduce Java backend to Unix build.
1999-06-23 01:31:04 +00:00
frankm%eng.sun.com
ec707f6784
Re-enable Java backend, this time with an updated Windows makefile.
1999-06-23 00:58:35 +00:00
mccabe%netscape.com
ddc3eece85
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
224d22dfee
First pass at generating Java interfaces from XPIDL
1999-06-22 22:39:50 +00:00
shaver%netscape.com
c2153975ca
flail lightly trying to fix build bustage
1999-06-15 15:21:00 +00:00
shaver%netscape.com
d6dc524533
try to bix build bustage, and start on fixing 8183
1999-06-15 15:13:38 +00:00
shaver%netscape.com
6e521b9a74
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
1a5ec8fedb
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
364565063f
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
21e1bf9de8
Fix number of arguments to the fprintf format string I changed yesterday.
1999-06-15 04:59:19 +00:00
shaver%netscape.com
42eefc0b16
xpidl_idl.c rewrite for improved maintenance, fixed bugs and whiter teeth
1999-06-15 03:07:44 +00:00
mccabe%netscape.com
49f4227270
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
d3e4855338
Removed misleading /* interface scooby */ comment in generated #include "scooby.h" line.
1999-06-14 08:28:23 +00:00
mccabe%netscape.com
7d683fdc53
Various touchups and warning fixes.
1999-06-10 09:18:59 +00:00
mccabe%netscape.com
440903d251
Fix many warnings, remove legacy -h option.
1999-06-10 08:21:35 +00:00
dp%netscape.com
cad49967e1
openVMS changes. Thanks to Colin Blake <colin@theblakes.com>
1999-06-10 00:19:36 +00:00
mccabe%netscape.com
cbf274af94
removed files: mozilla/xpcom/typelib/xpidl/xpidl_stub.c
1999-06-09 09:46:07 +00:00
mccabe%netscape.com
6d66ab0b26
Removing remnants of stubs-generation mode.
1999-06-09 09:45:49 +00:00
mccabe%netscape.com
70e0887424
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
4e4736c3c7
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
76efd2eeb8
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
464209a782
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
f8c059289d
changed access paths
1999-05-26 23:21:40 +00:00
beard%netscape.com
2eb6edc765
bumped version to 1.0d5
1999-05-26 23:20:41 +00:00
beard%netscape.com
41b706cae4
added <stdio.h> since xpt_xdr.h no longer #includes nspr includes.
1999-05-26 23:20:24 +00:00
beard%netscape.com
0ba3c6cc6a
removed unnecessary NSPR include files
1999-05-26 23:20:23 +00:00
beard%netscape.com
d253caa0ff
linker now generates aliases to headers in project output directory.
1999-05-26 23:17:34 +00:00
beard%netscape.com
ecdd5e5590
header files are now linkable.
1999-05-26 23:17:31 +00:00
beard%netscape.com
54b252f851
now compiles header files into the project data folder.
1999-05-26 23:17:28 +00:00
mcafee%netscape.com
5d272fed5d
Fixing solaris bustage, link with the c++ compiler.
1999-05-26 22:56:26 +00:00
sspitzer%netscape.com
32b8c9da5f
do the ignore again. this time, without breaking the build.
1999-05-26 21:48:42 +00:00
sspitzer%netscape.com
b544ec499f
doh!
1999-05-26 19:12:35 +00:00
sspitzer%netscape.com
2134d1a347
remove this, causing build bustage
1999-05-26 18:56:19 +00:00
sspitzer%netscape.com
c6e0e5e2df
cvs ignorage for xpcom2 landing
1999-05-26 17:51:05 +00:00
dp%netscape.com
70be6895d5
Adding NSPR_LIB
1999-05-26 06:36:34 +00:00
dp%netscape.com
125438a094
landing xpcom20/21 branch
1999-05-26 02:05:00 +00:00
dp%netscape.com
94344009c8
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
warren%netscape.com
0142cb7a14
Added
1999-05-18 21:43:13 +00:00
dp%netscape.com
1a52db2035
Rolling over from initial XPCOM 2.0 changes
1999-05-18 09:19:05 +00:00
mccabe%netscape.com
25640b77ad
Only alloc space for interface records if we actually have interfaces; fixes a calloc(1,0) bug that was breaking the AIX build. (Thanks to Jim Dunn <jdunn@netscape.com> for finding this, and to Mike Shaver <shaver@netscape.com> for contributing the patch.
...
The xpcom tree remains closed, but this patch gets in for m6 by special dispensation.
A=leaf,dp
1999-05-18 02:10:05 +00:00
mccabe%netscape.com
213ef70599
Turn off support for XPIDL_JS_STUBS in generated headers by default, as
...
- nobody uses it
- it's confusing.
1999-05-13 23:13:17 +00:00
mccabe%netscape.com
334dd15a25
Be conservative, and initialize the XPTState struct to 0 when allocating it. This cropped up as a problem where garbage fields were busting the msvc 6.0 -opt build, but was really xp.
1999-05-12 22:56:42 +00:00
mccabe%netscape.com
636bfa81c1
Allocate 1 extra space and nul-terminate the string given to XPT_NewString. Thanks to Jim Dunn <jdunn@netscape.com> for suggesting this fix.
1999-05-12 09:04:38 +00:00
jband%netscape.com
1cbabb0d33
fix two places where we use a node as if it were of a type other than the type it is. This was causing a problem on some platforms, though it unfortunately was working fine on Win32. Thanks to khym@bga.com (Dave Huang)
1999-05-12 07:42:32 +00:00
beard%netscape.com
a02d7c125c
bumped the version to 1.0d3
1999-05-12 05:41:53 +00:00
beard%netscape.com
d784f2a2d6
when popping an #include, fclose the file.
1999-05-12 05:41:29 +00:00
mccabe%netscape.com
906d95820c
Fix xpidl header generation to not emit a trailing (erroneous) ',' when generating [notxpcom] interfaces.
...
Thanks to Alec Flett <alecf@netscape.com> for this patch.
1999-05-12 02:13:40 +00:00
waterson%netscape.com
054bd5bf26
Be sure to initialize the data offset in the new state object. Mucho gracias to shaver for the fix.
1999-05-11 04:39:40 +00:00
mccabe%netscape.com
7a51a74601
Comment fix to previous.
1999-05-10 10:20:41 +00:00
mccabe%netscape.com
75d774baa9
Build the xpt_link and xpt_dump tools early so that they're available as part of the build process, and link them statically so we don't need the shared library path set to use them.
1999-05-10 10:17:54 +00:00
mccabe%netscape.com
33f6514e9f
Compile directly against the static libxpt.a lib, so we can use xpidl during the build without the shared library path being set.
1999-05-10 05:33:35 +00:00
beard%netscape.com
9a0ae866c1
now correctly returns target file info, reads files from project Data directory, writes files to output directory, uses setjmp/longjmp to trap calls to exit().
1999-05-09 15:03:13 +00:00
beard%netscape.com
a9d64fbb94
using setjmp/longjmp to trap calls to exit(), compiling .xpt files into project Data folder.
1999-05-09 15:00:31 +00:00
beard%netscape.com
c0ad3120d3
using longjmp instead of throw
1999-05-09 14:59:15 +00:00
beard%netscape.com
395486c11b
added version.rsrc to all targets
1999-05-09 14:58:54 +00:00
beard%netscape.com
164a8e5c07
moved version to version.rsrc
1999-05-09 14:58:30 +00:00
beard%netscape.com
bb0a3cc0a9
First Checked In.
1999-05-09 14:58:00 +00:00