Commit Graph

1475 Commits

Author SHA1 Message Date
vidur%netscape.com
e1003d55c1 Added nsIDOMHTMLLayerElement interface 1999-05-17 21:18:23 +00:00
erik%netscape.com
884c1bf22d Fixed the test file name, added registration for event queue and
persistent properties. This test program now works again. Groan.
1999-05-16 22:59:02 +00:00
beard%netscape.com
9b02a6f807 exporting nsServiceManager::RegisterService/UnregisterService to fix xpinstall breakage. 1999-05-16 21:29:32 +00:00
erik%netscape.com
383437c12d Added code to check return values. Cleaned up a bit. 1999-05-16 20:47:59 +00:00
sfraser%netscape.com
d64a71ec88 Added include guards, which should be a big win on commonly included files like this one. 1999-05-14 03:07:31 +00:00
sfraser%netscape.com
a8e949c977 Include <string.h>, not "string.h". Also added include guards, which should be a big win on commonly included files like this one. 1999-05-14 03:07:23 +00:00
kmcclusk%netscape.com
6635957e0c Modified nsString2::Append to only call strlen only if aCount is -1.
This clears up ABR errors reported in Purify.
1999-05-13 23:44:57 +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
waterson%netscape.com
df6000c502 Add nsICollection 1999-05-13 20:27:22 +00:00
waterson%netscape.com
1a781fe771 Fix MANIFEST_TEMP to include nsICollection.h. 1999-05-13 16:43:00 +00:00
waterson%netscape.com
3ea7cf781b Temporarily fix build bustage until we get brave enough to turn XPIDL on for Mac. 1999-05-13 16:41:32 +00:00
pinkerton%netscape.com
e0de3313bb removing nsICollection.h because it no longer exists (fix build bustage). 1999-05-13 16:24:06 +00:00
warren%netscape.com
f0a87da737 Removing old files now generated by IDL (to avoid future screw ups). 1999-05-13 08:48:47 +00:00
gagan%netscape.com
4999cf4cdb So we're using IDL nowcvs diff! I find out the hard way. -Warren 1999-05-13 08:21:37 +00:00
warren%netscape.com
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
sspitzer%netscape.com
ed6326405e make the destructor virtual 1999-05-13 00:48:42 +00:00
sspitzer%netscape.com
3c2da32000 destructor should be virtual. 1999-05-13 00:44:20 +00:00
mcmullen%netscape.com
309bab45c6 Split the manifest files into two: idl-generated headers (used if USE_XPIDL is turned off) and non-generated headers. 1999-05-13 00:04:14 +00:00
mcmullen%netscape.com
bc6290e2db First Checked In. 1999-05-13 00:01:48 +00:00
waterson%netscape.com
cd4db87316 Initial revision. 1999-05-12 23:54:18 +00:00
waterson%netscape.com
08b652ea66 Added sample HTML. 1999-05-12 23:43:25 +00:00
waterson%netscape.com
36c353760e Initial revision. 1999-05-12 23:37:45 +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
mcmullen%netscape.com
bb815af574 Fix badness when nsFilePath is initialized with a nil or empty string. 1999-05-12 22:56:24 +00:00
kipp%netscape.com
7d0dd441c0 Alloc IID 1999-05-12 22:20:55 +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
a57b1f76a4 made Count() method pure virtual, to fix xpcom link error. 1999-05-12 06:20:37 +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
alecf%netscape.com
453e5e340b add nsICollection to the windows IDL files 1999-05-12 05:24:00 +00:00
scc%netscape.com
04d849f0ec Fixup CallQueryInterface 1999-05-12 04:50:08 +00:00
alecf%netscape.com
fe57a57783 add nsICollection.idl to the unix build system 1999-05-12 03:12:01 +00:00
alecf%netscape.com
d7d9cd0e4b check in IDL version of nsICollection interface 1999-05-12 03:11:48 +00:00
alecf%netscape.com
a4c1fbdaa8 remove const-ness from nsICollection::Count() so that it can be represented with XPIDL 1999-05-12 02:53:37 +00:00
alecf%netscape.com
a79c764550 include nsresult typedef 1999-05-12 02:19:18 +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
bruce%cybersight.com
3d4169cc64 Add newline at end of file for native unix compilers. 1999-05-12 00:39:14 +00:00
mcmullen%netscape.com
6da6f2e50d Assert when nsFileSpec gets a unix path 1999-05-12 00:17:53 +00:00
kipp%netscape.com
93258cd0bc Fix makefile glitch 1999-05-12 00:15:22 +00:00
akkana%netscape.com
a9fb77217e New build option enable-crash-on-assert for those who really want the old behavior 1999-05-11 22:22:24 +00:00
dougt%netscape.com
6dad35704e First Checked In. 1999-05-11 19:32:55 +00:00
waterson%netscape.com
5d99d5c9f1 First Checked In. 1999-05-11 19:02:48 +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
waterson%netscape.com
e05c6a41e3 Publish headers directly to dist, instead of to public. 1999-05-11 03:10:20 +00:00
waterson%netscape.com
9acc87b145 Generate nsISupports, nsIEnumerator, nsIFactory, and nsrootidl. 1999-05-11 02:10:22 +00:00
waterson%netscape.com
d4772eee6c Rename 'typelibs' to 'xpcom.xpt' 1999-05-11 00:42:54 +00:00
scc%netscape.com
36d1c9ae16 export nsCOMPtr destructor 1999-05-10 22:27:21 +00:00
putterman%netscape.com
7ddfe8a6e9 Fix refcounting bug. nsISupportsArray[] already does an addref. 1999-05-10 21:53:18 +00:00
scc%netscape.com
e5b9f0e804 temporarily commented out CallQueryInterface for UNIX, added NS_EXPORT for Windows 1999-05-10 21:43:29 +00:00
mccabe%netscape.com
8c40ed334a _xpidlgen is now cvsignore'd globally; remove redundant per-directory references. 1999-05-10 20:52:47 +00:00
scc%netscape.com
d673031bca conditionally factored destructor 1999-05-10 20:48:43 +00:00
scc%netscape.com
8b76b1a0a9 First Checked In. 1999-05-10 20:46:31 +00:00
dougt%netscape.com
51872b8b8e Correcting the mac load lib name. 1999-05-10 20:42:06 +00:00
dougt%netscape.com
7861bc2280 First Checked In. 1999-05-10 20:17:14 +00:00
dougt%netscape.com
52fef40b4f Copied nsITestXPCFoo from xpconnect so that I did not have to include it. 1999-05-10 20:16:45 +00:00
dougt%netscape.com
50514f6961 Getting it to compile on the mac. 1999-05-10 20:15:02 +00:00
waterson%netscape.com
1677f15d98 First Checked In. 1999-05-10 20:14:48 +00:00
waterson%netscape.com
c46480527a Ignore _xpidlgen directory. 1999-05-10 19:30:51 +00:00
waterson%netscape.com
2096a02ad3 Generate nsISupports.h, nsIEnumerator.h, and nsIFactory.h. 1999-05-10 18:50:41 +00:00
waterson%netscape.com
219fcc057d Initial revision. 1999-05-10 18:49:55 +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
mcafee%netscape.com
492b4cef0f Renaming nsQuickSort to NS_QuickSort so it doesn't look like a class name. r=brendan@netscape.com 1999-05-10 06:47:04 +00:00
mcafee%netscape.com
d7ab07b95d Ignore generated files. 1999-05-10 06:25:15 +00:00
mcafee%netscape.com
de36a26dbc Class nsprPath has been renamed to nsNSPRPath; straggler references were being converted with a typedef, this was confusing Solaris, so I'm converting all nsprPath references to the new name, hope that's Ok. 1999-05-10 05:34:26 +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
mcafee%netscape.com
cb6715d19d Fixing Solaris bustage. 1999-05-10 03:47:19 +00:00
beard%netscape.com
e61c14bbeb XP_MAC: improved nsDLL::Load() to not call PL_strlen() each time through a loop from 0 to the length of the string - 1. 1999-05-10 03:45:38 +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
dougt%netscape.com
32d0246c3b Adding Proxy to the unix makefile 1999-05-08 21:10:18 +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
dougt%netscape.com
4241830fff hooking up proxy to the WINDOWS makefile 1999-05-08 20:55:24 +00:00
beard%netscape.com
bff302c61c using defined(XPIDL_PLUGIN) to determine when to rename main 1999-05-08 20:40:26 +00:00