283 Commits

Author SHA1 Message Date
mccabe%netscape.com
786e0eb5ce Various touchups and warning fixes.
git-svn-id: svn://10.0.0.236/trunk@34588 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 09:18:59 +00:00
mccabe%netscape.com
ae16bfb2d8 Fix many warnings, remove legacy -h option.
git-svn-id: svn://10.0.0.236/trunk@34587 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 08:21:35 +00:00
dp%netscape.com
af3775cbc9 openVMS changes. Thanks to Colin Blake <colin@theblakes.com>
git-svn-id: svn://10.0.0.236/trunk@34516 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:19:36 +00:00
mccabe%netscape.com
08eb72105b removed files: mozilla/xpcom/typelib/xpidl/xpidl_stub.c
git-svn-id: svn://10.0.0.236/trunk@34402 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:46:07 +00:00
mccabe%netscape.com
a6da7e3cd8 Removing remnants of stubs-generation mode.
git-svn-id: svn://10.0.0.236/trunk@34401 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:45:49 +00:00
mccabe%netscape.com
eba02f27b8 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.


git-svn-id: svn://10.0.0.236/trunk@33767 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:33:38 +00:00
mccabe%netscape.com
941450016c Fix to 6880. xpt_link now prints an informative error message when it encounters duplicate interface names with different iids.
git-svn-id: svn://10.0.0.236/trunk@32933 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 11:02:05 +00:00
mccabe%netscape.com
d294b25d15 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.


git-svn-id: svn://10.0.0.236/trunk@32927 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:11:32 +00:00
ramiro%netscape.com
0896868259 Remove these from the unix build to reduce the evil possibility of a fork.
git-svn-id: svn://10.0.0.236/trunk@32851 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 02:31:44 +00:00
beard%netscape.com
714023e638 changed access paths
git-svn-id: svn://10.0.0.236/trunk@32787 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:21:40 +00:00
beard%netscape.com
01c730055a bumped version to 1.0d5
git-svn-id: svn://10.0.0.236/trunk@32786 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:20:41 +00:00
beard%netscape.com
a6619dfacb added <stdio.h> since xpt_xdr.h no longer #includes nspr includes.
git-svn-id: svn://10.0.0.236/trunk@32785 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:20:24 +00:00
beard%netscape.com
dd78165338 removed unnecessary NSPR include files
git-svn-id: svn://10.0.0.236/trunk@32784 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:20:23 +00:00
beard%netscape.com
e7a351adf6 linker now generates aliases to headers in project output directory.
git-svn-id: svn://10.0.0.236/trunk@32781 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:17:34 +00:00
beard%netscape.com
75f674aa06 header files are now linkable.
git-svn-id: svn://10.0.0.236/trunk@32780 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:17:31 +00:00
beard%netscape.com
6bfedcbca8 now compiles header files into the project data folder.
git-svn-id: svn://10.0.0.236/trunk@32779 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:17:28 +00:00
mcafee%netscape.com
3b9aa5a506 Fixing solaris bustage, link with the c++ compiler.
git-svn-id: svn://10.0.0.236/trunk@32772 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:56:26 +00:00
sspitzer%netscape.com
ca7e198ba7 doh!
git-svn-id: svn://10.0.0.236/trunk@32695 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:12:35 +00:00
sspitzer%netscape.com
0d144495bb cvs ignorage for xpcom2 landing
git-svn-id: svn://10.0.0.236/trunk@32688 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 17:51:05 +00:00
dp%netscape.com
187d3e7a0a Adding NSPR_LIB
git-svn-id: svn://10.0.0.236/trunk@32662 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 06:36:34 +00:00
dp%netscape.com
27980027bd landing xpcom20/21 branch
git-svn-id: svn://10.0.0.236/trunk@32645 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 02:05:00 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
warren%netscape.com
a89e09d70c Added
git-svn-id: svn://10.0.0.236/trunk@32093 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:43:13 +00:00
dp%netscape.com
08898c02b7 Rolling over from initial XPCOM 2.0 changes
git-svn-id: svn://10.0.0.236/trunk@32062 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 09:19:05 +00:00
mccabe%netscape.com
08bf172e28 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


git-svn-id: svn://10.0.0.236/trunk@32011 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:10:05 +00:00
mccabe%netscape.com
42ca8e31b1 Turn off support for XPIDL_JS_STUBS in generated headers by default, as
- nobody uses it

- it's confusing.


git-svn-id: svn://10.0.0.236/trunk@31500 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:13:17 +00:00
mccabe%netscape.com
1772d1476d 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.
git-svn-id: svn://10.0.0.236/trunk@31311 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:56:42 +00:00
mccabe%netscape.com
7172b35aea Allocate 1 extra space and nul-terminate the string given to XPT_NewString. Thanks to Jim Dunn <jdunn@netscape.com> for suggesting this fix.
git-svn-id: svn://10.0.0.236/trunk@31269 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 09:04:38 +00:00
jband%netscape.com
fdee64f201 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)
git-svn-id: svn://10.0.0.236/trunk@31265 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:42:32 +00:00
beard%netscape.com
209a3bcdda bumped the version to 1.0d3
git-svn-id: svn://10.0.0.236/trunk@31251 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:41:53 +00:00
beard%netscape.com
c6f43358d6 when popping an #include, fclose the file.
git-svn-id: svn://10.0.0.236/trunk@31250 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:41:29 +00:00
mccabe%netscape.com
3d94d41af6 Fix xpidl header generation to not emit a trailing (erroneous) ',' when generating [notxpcom] interfaces.
Thanks to Alec Flett <alecf@netscape.com> for this patch.


git-svn-id: svn://10.0.0.236/trunk@31202 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:13:40 +00:00
waterson%netscape.com
c60001ca16 Be sure to initialize the data offset in the new state object. Mucho gracias to shaver for the fix.
git-svn-id: svn://10.0.0.236/trunk@31072 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 04:39:40 +00:00
mccabe%netscape.com
030ae9c46b Comment fix to previous.
git-svn-id: svn://10.0.0.236/trunk@30918 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 10:20:41 +00:00
mccabe%netscape.com
d1f8a84799 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.
git-svn-id: svn://10.0.0.236/trunk@30917 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 10:17:54 +00:00
mccabe%netscape.com
03618b2831 Compile directly against the static libxpt.a lib, so we can use xpidl during the build without the shared library path being set.
git-svn-id: svn://10.0.0.236/trunk@30909 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 05:33:35 +00:00
beard%netscape.com
be55a3ef93 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().
git-svn-id: svn://10.0.0.236/trunk@30893 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 15:03:13 +00:00
beard%netscape.com
443b5cbf6a using setjmp/longjmp to trap calls to exit(), compiling .xpt files into project Data folder.
git-svn-id: svn://10.0.0.236/trunk@30892 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 15:00:31 +00:00
beard%netscape.com
cbbcaf3d63 using longjmp instead of throw
git-svn-id: svn://10.0.0.236/trunk@30891 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:59:15 +00:00
beard%netscape.com
d3d4c87c29 added version.rsrc to all targets
git-svn-id: svn://10.0.0.236/trunk@30890 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:58:54 +00:00
beard%netscape.com
9ef4b2ff6b moved version to version.rsrc
git-svn-id: svn://10.0.0.236/trunk@30889 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:58:30 +00:00
beard%netscape.com
36df78b049 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30888 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:58:00 +00:00
mccabe%netscape.com
7dbbcf01a9 Back out building xpidl with -static, because it breaks on some platforms. What's the XP way to do it?
git-svn-id: svn://10.0.0.236/trunk@30887 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 10:40:16 +00:00
mccabe%netscape.com
3a36b4d6de Fix to 6156.
Added $(EXTRA_DEPS) dependency to $(PROGRAM) in rules.mk, so xpidl can ask to be recompiled when libxpt changes.


git-svn-id: svn://10.0.0.236/trunk@30884 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 09:21:35 +00:00
mccabe%netscape.com
b09ca6f5e9 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.


git-svn-id: svn://10.0.0.236/trunk@30883 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 08:34:37 +00:00
beard%netscape.com
fb8c92e3f6 turned off modification date caching, so files will be regenerated if missing or out of date.
git-svn-id: svn://10.0.0.236/trunk@30878 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:32:22 +00:00
beard%netscape.com
9d727ffd91 NPL, using CWGetStoredObjectFileSpec() to get the location of each output file, instead of constructing from input file's name.
git-svn-id: svn://10.0.0.236/trunk@30877 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:27:07 +00:00
beard%netscape.com
622415764d 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.
git-svn-id: svn://10.0.0.236/trunk@30876 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:27:05 +00:00
beard%netscape.com
ca17f751ce bumped version, changed Flags to latest CWPro4 format to use newer APIs.
git-svn-id: svn://10.0.0.236/trunk@30875 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:27:03 +00:00
beard%netscape.com
af9c6c0c43 bumped version
git-svn-id: svn://10.0.0.236/trunk@30874 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:27:01 +00:00