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
mccabe%netscape.com
10173b32d5
Back out building xpidl with -static, because it breaks on some platforms. What's the XP way to do it?
1999-05-09 10:40:16 +00:00
mccabe%netscape.com
c86ab72aed
Fix to 6156.
...
Added $(EXTRA_DEPS) dependency to $(PROGRAM) in rules.mk, so xpidl can ask to be recompiled when libxpt changes.
1999-05-09 09:21:35 +00:00
mccabe%netscape.com
812b43a6a9
Give xpidl a Makefile.in that uses the rules.mk rules for $(PROGRAM) to build, toallow use of purify target. Be warned, it won't be pretty.
...
Build xpidl statically by adding -static (I hope it's XP; is there an alternative?) to LDFLAGS. So that we can use it in the build without setting the shared library path.
1999-05-09 08:34:37 +00:00
beard%netscape.com
14436f3955
turned off modification date caching, so files will be regenerated if missing or out of date.
1999-05-09 03:32:22 +00:00
beard%netscape.com
0df333dee8
NPL, using CWGetStoredObjectFileSpec() to get the location of each output file, instead of constructing from input file's name.
1999-05-09 03:27:07 +00:00
beard%netscape.com
3d786077ea
NPL, removed Disassembly code (moved to linker), now using CWStoreObjectData() to associate output file with compilation. This lets CodeWarrior delete the file when objects are removed, and regenerate when file is deleted externally.
1999-05-09 03:27:05 +00:00
beard%netscape.com
29cc2584f2
bumped version, changed Flags to latest CWPro4 format to use newer APIs.
1999-05-09 03:27:03 +00:00
beard%netscape.com
ed3b875ec1
bumped version
1999-05-09 03:27:01 +00:00
beard%netscape.com
56f0808832
cleaned up, removed non-essential code, NPL
1999-05-09 03:19:47 +00:00
beard%netscape.com
2996899c0b
NPL
1999-05-09 03:19:07 +00:00
beard%netscape.com
20a51c2310
added a "build all" target
1999-05-08 23:18:39 +00:00
beard%netscape.com
1b2796c55f
added version resources
1999-05-08 23:18:12 +00:00
beard%netscape.com
2fc4558bc2
First Checked In.
1999-05-08 23:05:34 +00:00
beard%netscape.com
53aeae0e01
changed raw calls to stat() to get_file_length(), and redefined get_file_length to mac_get_file_length when building as CodeWarrior plugin.
1999-05-08 23:01:09 +00:00
beard%netscape.com
45e48b2555
renamed get_args() to mac_get_args(), get_file_length redefined as mac_get_file_length when built as CodeWarrior plugin.
1999-05-08 23:00:07 +00:00
beard%netscape.com
b96f880380
removed xpt_dump.c from compiler target, moved exclusively to linker target.
1999-05-08 22:58:42 +00:00
beard%netscape.com
6810590c23
added custom fopen, the only opens files in the output directory, added mac_get_file_length(), which is used in lieu of stat, turned on Disassembly function in linker.
1999-05-08 22:58:07 +00:00
beard%netscape.com
cd2562d26c
put in sanity checking of pref data, if its size is incorrect it reverts to factory settings.
1999-05-08 22:56:39 +00:00
beard%netscape.com
9050900930
added mac_get_file_length(), turned off disassembly (moved to linker)
1999-05-08 22:55:42 +00:00
beard%netscape.com
de14b10f6f
turned off the "cantDisassemble" bit, moving disassembly to the linker.
1999-05-08 22:54:23 +00:00
beard%netscape.com
372ce85eab
changed output field to use Str32Field type for alignment purposes (uses 34 bytes rather than 33).
1999-05-08 21:10:22 +00:00
beard%netscape.com
ffc0dca732
changed default 'pref' resource to conform to size of XPIDLSettings struct (40 bytes)
1999-05-08 21:09:19 +00:00
beard%netscape.com
bff302c61c
using defined(XPIDL_PLUGIN) to determine when to rename main
1999-05-08 20:40:26 +00:00
beard%netscape.com
bd35c444a2
added XPIDL_PLUGIN macro, to distinguish when the code is being compiled as a CodeWarrior plugin.
1999-05-08 20:38:11 +00:00
beard%netscape.com
2a5ab43961
changed link order in linker
1999-05-08 20:37:15 +00:00
beard%netscape.com
489b7a4e02
fixed a 'MENU' resource id conflict (128 is CodeWarrior IDE's Apple menu)
1999-05-08 20:36:56 +00:00
mccabe%netscape.com
ab5a8ae262
Build xpidl before export phase of any xpcom directory.
1999-05-08 01:57:37 +00:00
beard%netscape.com
8a6d1e91a8
First Checked In.
1999-05-06 20:39:56 +00:00
beard%netscape.com
d551533bc1
First Checked In.
1999-05-06 15:06:11 +00:00
beard%netscape.com
db2e9da53f
First Checked In.
1999-05-06 14:39:20 +00:00
beard%netscape.com
3218ac0e70
tool changes
1999-05-06 14:30:29 +00:00
beard%netscape.com
fe84521319
added xptcstubs_mac.cpp/.s, removed xptcstubs_.mac.cpp
1999-05-06 14:29:31 +00:00
beard%netscape.com
e02996a454
XP_MAC: no longer using mac_fopen, replacing fopen itself. added mac_warning.
1999-05-06 14:27:57 +00:00
beard%netscape.com
df952436da
for XP_MAC, added macro renaming main to xptdump_main, for use in CodeWarrior plugin, changed all uses of "stat" to call to get_file_length() for clarity, and to lessen number of calls to stat in code.
1999-05-06 14:25:10 +00:00
beard%netscape.com
df271ee45b
For XP_MAC, added macro renaming main to xptlink_main, for use in CW plugin linker, uint32 -> PRUint32, renamed xpt_dump_usage -> xpt_link_usage.
1999-05-06 14:22:46 +00:00
briano%netscape.com
02869b2558
Fix for bug 5770. Thanks to lennox@cs.columbia.edu.
1999-05-05 23:38:15 +00:00
jdunn%netscape.com
1d2f3c010f
remove the -lIDL from the EX_LIBS line. It is included with $(LIBIDL_LIBS)
...
correctly. HP chokes on the -lIDL since there is no preceding -L<path to libIDL.a>
1999-05-04 22:16:15 +00:00
jband%netscape.com
08b92cd4ad
change to make xpidl [shared] cause a const qualifier to be emitted and wstring to map to PRUnichar rather than PRUint16
1999-05-04 20:03:43 +00:00
sspitzer%netscape.com
108be1837b
changes to get this to build with the -pedanic flag.
...
(when you pass --enable-pedantic to the compiler)
1999-05-04 17:21:33 +00:00
mccabe%netscape.com
a04bdb34e3
Fix to 5899; xpidl now looks for its target file where it's told to rather than eagerly plucking it out of the supplied includes directories.
...
Also removed an obsolete check against libIDL 0.6.2.
1999-05-04 10:52:20 +00:00
mccabe%netscape.com
86e1d8f597
Fix to 5415. Don't complain about duplicate iids when linking, if the duplicate iids are zero (representing unresolved interfaces.)
1999-05-04 09:47:10 +00:00
mccabe%netscape.com
9d1f7eb750
Fix to 5898. xpidl now works like the rest of the compilers in the world, and understands -Ifoo as well as -I foo.
...
Thanks to Heikki Toivonen <heikki@citec.fi> for this suggestion.
1999-05-04 08:21:36 +00:00
mccabe%netscape.com
24cdd16122
Check for consts > 0 before allocating record space for them. Fix to 5683, a malloc(0) bug; thanks to jlnance@inttek.com for catching this one.
1999-05-04 07:31:40 +00:00
jband%netscape.com
4714b26925
force the tools for get created in the export phase to be used to build xpt files and cleanup otherwise makefiles
1999-05-04 03:43:14 +00:00
jband%netscape.com
919fe50aec
fix casting warning and quiet useless runtime noise on success
1999-05-04 03:40:31 +00:00
waterson%netscape.com
c804809f1a
Added linkage to base and nsstdlib so that we can use McMullen's filespec stuff.
1999-04-27 17:48:31 +00:00
mccabe%netscape.com
7049d9fa76
Go from explicit $(shell ) calls to glib-config and libIDL-config to using $LIBIDL_CFLAGS, $LIBIDL_LIBS, as set in libIDL.m4.
1999-04-23 06:18:03 +00:00
mccabe%netscape.com
201a325a36
Use @GLIB_CONFIG@ and @LIBIDL_CONFIG@ autoconf variables to find glib-config and libIDL config, rather than hardcoding thier names.
...
Thanks to Greg Roelofs for this fix.
1999-04-19 08:31:42 +00:00
mccabe%netscape.com
014116e7af
Changed makefile to request --cflags and --libs from libIDL-config as well as from glib-config, to handle those cases where libIDL is installed in a different place than glib.
...
Thanks to Tim Rowley <tor@cs.brown.edu> for this fix.
1999-04-17 03:54:39 +00:00
jband%netscape.com
b4b8105ad7
not yet part of seamonkey build -- fix problem with forward declarations in idl
1999-04-15 03:32:18 +00:00
mccabe%netscape.com
df31745295
Convert some straggling PR_ASSERTS to XPT_ASSERTS to complete link-time freedom from nspr.
1999-04-15 03:20:24 +00:00
mccabe%netscape.com
6e94141764
Updated to include new version numbers and source, binary locations for glib, libIDL.
1999-04-14 04:48:29 +00:00
jband%netscape.com
5db033d683
removing reference to nspr in windows makefile
1999-04-13 21:23:45 +00:00
mccabe%netscape.com
8be0ea87e3
Remove dependency on NSPR for xpidl, libxpt and tools.
1999-04-13 20:22:02 +00:00
jband%netscape.com
33a0a52103
fix AIX bustage - suggested by waqar@netscape.com
1999-04-13 18:10:40 +00:00
jband%netscape.com
89e4ae2743
fix for comment spanning the buffer boundary
1999-04-13 00:50:39 +00:00
waqar%netscape.com
9b9df58f66
Changed C++ comment to a C comment to make AIX compiler happy.
1999-04-12 18:28:53 +00:00
beard%netscape.com
72d64a8636
XP_MAC: added local strdup that uses malloc, renamed main to xpidl_main when built as a CodeWarrior plugin.
1999-04-11 00:15:09 +00:00
beard%netscape.com
029f7dcb2a
XP_MAC: added call out to mac_fopen() for simple filenames (no path) to allow the CodeWarrior plugin to search for the file in the access paths.
1999-04-11 00:11:36 +00:00
beard%netscape.com
1bba2e4474
#include <libIDL/IDL.h> -> #include <IDL.h> on XP_MAC.
1999-04-11 00:09:14 +00:00
beard%netscape.com
cdbb982652
strdup -> xpidl_strdup, for consistency
1999-04-11 00:08:18 +00:00
beard%netscape.com
2235f83ae8
added xptcinvoke_mac.s
1999-04-10 23:55:39 +00:00
beard%netscape.com
f8327c01f7
First Checked In.
1999-04-10 23:52:55 +00:00
beard%netscape.com
1bcca42778
added xptinfo, xptcall sources.
1999-04-10 23:47:53 +00:00
jband%netscape.com
3d964bce21
Prepare for not emitting js stubs decls into headers. Emit the macro for GetIID.
1999-04-10 06:17:49 +00:00
jband%netscape.com
5d44387aad
fix misspelling
1999-04-10 06:07:24 +00:00
jband%netscape.com
14e5319e39
battling bitrot in this test program
1999-04-10 06:06:39 +00:00
jband%netscape.com
97149b170a
fix compiler warnings
1999-04-07 00:47:30 +00:00
jband%netscape.com
bf29cbbcf4
use a simpler scheme for handling interface flags in xpidl
1999-04-07 00:29:49 +00:00
jband%netscape.com
52b186b884
Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag.
1999-04-06 22:42:10 +00:00
mccabe%netscape.com
55378a7495
- Made xpidl build conditional on BUILD_XPIDL for win32 and unix
...
- Made win32 xpidl use glib-1.2 (instead of 1.1.)
1999-04-06 08:33:40 +00:00
jband%netscape.com
01475d8a25
fixed typo so no extra .pdb files get left behind
1999-04-06 00:10:10 +00:00
beard%netscape.com
0fb1d486ad
backed out XP_MAC crash test, since it does work with checked in .xpt files.
1999-04-04 03:40:20 +00:00
beard%netscape.com
a56efec958
turned off relaxed pointer checking, now that jband has fixed the sources.
1999-04-04 03:33:43 +00:00
jband%netscape.com
432690b3a0
fix the struct member column alignment (in the source code) after mass type renaming
1999-04-04 03:13:47 +00:00
jband%netscape.com
25cf140c82
prepare makefiles for building libxpt and xpidl before xpcom/public and xpcom/src. Fix warnings and errors in libxpt exposed in Mac port
1999-04-04 03:09:12 +00:00
beard%netscape.com
9d1f0c8225
added xptinfo interfaces, base, and xpcom.
1999-04-04 01:51:47 +00:00
beard%netscape.com
ddc5cba9f7
First Checked In.
1999-04-04 01:30:58 +00:00
beard%netscape.com
c74304e962
made it compile on XP_MAC, still needs a user interface to choose multiple files.
1999-04-04 01:30:45 +00:00
beard%netscape.com
f0a852fade
added interactive choosing of a file to dump on XP_MAC, worked around a crash in XPT_DumpInterfaceDescriptor.
1999-04-04 01:25:44 +00:00
beard%netscape.com
b4181be75d
Added a strdup function for XP_MAC.
1999-04-04 01:20:34 +00:00
beard%netscape.com
b69769c250
First Checked In.
1999-04-04 00:13:40 +00:00
beard%netscape.com
32df35f453
added default args for XP_MAC.
1999-04-04 00:13:28 +00:00
beard%netscape.com
3024d12e09
First Checked In.
1999-04-03 23:36:11 +00:00
jband%netscape.com
fafe628163
set MOZ_NO_DEBUG_RTL in makefile.win for this exe
1999-04-03 21:02:45 +00:00
waterson%netscape.com
990bef22e5
Fixed long-long codegen to use prlong macros (so it works on Mac).
1999-04-01 22:03:25 +00:00
jband%netscape.com
7f712c54a8
make -m stubs not crash on interfaces without parents
1999-03-31 07:56:36 +00:00
waterson%netscape.com
cff85cdb02
Fixes to the stub generator to uncripple stub-based XPConnect a little bit: use JSObjects to get args from JS stack, then pull the privs out; handle error codes and null returns a bit more cleanly.
1999-03-31 06:08:22 +00:00
jband%netscape.com
7845b97d17
fixing typedef bug that I introduced with previous checkin
1999-03-29 22:33:38 +00:00
jband%netscape.com
c5e8747649
many changes to xpidl:
...
- Removed '-n' from usage message.
- Added name_space (if declared) to comment in generated C++ header.
- Added [ptr], [ref], and [nsid] support for native declarations.
- Added support for [const] on 'in' params.
- Now add 'const' automatically for nsID in params.
- Added support for [shared] on 'out' params.
- Added -w warnings support for non-support of sequences.
- Removed support for enum and added -w wrning that they are ignored.
- Added support in header and typelib output for constants (short and long only).
1999-03-28 22:01:33 +00:00
jband%netscape.com
2f094e7206
add support for 'shared' flag in typelibs. This is available for use to indicate pointer type 'out' params which will not follow the xpcom rules of transfering ownership - i.e. they want to share a pointer rather than cloning the underlying data for the caller to delete when finished
1999-03-28 21:48:34 +00:00