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

253 Коммитов

Автор SHA1 Сообщение Дата
shaver%netscape.com 61511e23f5 - NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
  manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
  speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
1999-11-10 00:28:34 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dp%netscape.com 35f0cfe5fb Addding xpcom init and shutdown. r=waterson 1999-10-21 21:31:53 +00:00
colin%theblakes.com af2317e98b Don't link against xptinfo - its not needed. r=ramiro 1999-10-04 10:44:49 +00:00
bienvenu%netscape.com 9f49d67aef more build bustage with reg stuff 1999-09-29 04:06:15 +00:00
shaver%netscape.com a0d5aa9034 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
briano%netscape.com 6c101d06fc Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties. 1999-09-29 01:09:41 +00:00
waterson%netscape.com 88220ac198 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
colin%theblakes.com 7d79cb341d Remove xpcomds_s and xptinfo from LIBS since they don't appear to be needed. Sorry if some other platform does need them! 1999-09-18 19:36:38 +00:00
briano%netscape.com 12f9f9743e General cleanup. 1999-09-18 02:12:56 +00:00
dp%netscape.com 78ee9ec7ec Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
cyeh%netscape.com fb5fcc3775 remove debug libraries from optimized target 1999-09-16 01:44:23 +00:00
rjc%netscape.com 382ccf814c Added some debug linkages. Also add .rsrc file that includes a SIZE resource so that RegXPCOM mini-app has a parition size greater than the largest component it needs to load in. 1999-09-15 23:36:55 +00:00
rjc%netscape.com 9174282213 Add .rsrc file that includes a SIZE resource so that RegXPCOM mini-app has a parition size greater than the largest component it needs to load in. 1999-09-15 23:36:26 +00:00
ramiro%netscape.com 26dd94b010 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
cyeh%netscape.com 27693bcc6d fix up project. needs debug libs for debug target. 1999-09-14 21:55:52 +00:00
sfraser%netscape.com ea88959f52 First Checked In. 1999-09-14 01:05:35 +00:00
dp%netscape.com 7bf0e11373 Adding -lmozjs to fix runtime symbol not found problems. 1999-09-14 00:49:21 +00:00
dp%netscape.com eab27e57d7 Adding regxpcom for windows. 1999-09-11 22:01:14 +00:00
dp%netscape.com dd1fd537ab regxpcom : does autoreg and registers/unregisters individual dlls.
The new incarnation of RegFactory. RegFactory will be retired.
1999-09-11 14:51:55 +00:00
shaver%netscape.com 53277f4711 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
briano%netscape.com 908ee043c1 Cleanup and fix for BSD/OS. 1999-07-22 04:23:11 +00:00
dveditz%netscape.com 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
dveditz%netscape.com 378777df04 fixing build bustage 1999-07-02 12:39:26 +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
sspitzer%netscape.com 4d5a4f8ff8 fix solaris build bustage, I hope 1999-07-01 08:48:25 +00:00
sspitzer%netscape.com 2fa6fafd6a fix warning 1999-07-01 08:48:06 +00:00
dp%netscape.com cb60084210 Removing unused NS_RegistryGetFactory() prototype. 1999-06-12 15:36:22 +00:00
mccabe%netscape.com 8800b0236b Resurrected this somehow. Beating it back down. 1999-06-12 09:44:11 +00:00
mccabe%netscape.com b1809e14b2 Remove vestiges of BUILD_XPIDL and USE_XPIDL from the build. 1999-06-12 09:29:46 +00:00
dp%netscape.com 507486f554 Removing obsoleted files from xpcom/ post xpcom2.0 landing 1999-06-12 07:42:48 +00:00
dp%netscape.com a51d7035cd Using new Component Registry 1999-06-09 19:18:24 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com d344b5b49b Jband's fix for forward decls. Approved: Chofmann, reviewed: mang. 1999-05-21 03:18:25 +00:00
mccabe%netscape.com 734d498883 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
jband%netscape.com bdf236a78c 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 206d7b53ee bumped the version to 1.0d3 1999-05-12 05:41:53 +00:00
beard%netscape.com 0275143579 when popping an #include, fclose the file. 1999-05-12 05:41:29 +00:00
mccabe%netscape.com 70e7afed06 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
mccabe%netscape.com 90c126565d 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 36eeaa8a64 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 23150082a3 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 75c1643ee3 using longjmp instead of throw 1999-05-09 14:59:15 +00:00
beard%netscape.com c7e13fad81 added version.rsrc to all targets 1999-05-09 14:58:54 +00:00
beard%netscape.com cf844e31e5 moved version to version.rsrc 1999-05-09 14:58:30 +00:00
beard%netscape.com d6610f1b65 First Checked In. 1999-05-09 14:58:00 +00:00
mccabe%netscape.com 09676c676b 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 0d15a0a50f 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 15eecef0e9 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 87962db8fe 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 52fee2c586 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 0b0ea1fa93 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 72cb71e30c bumped version, changed Flags to latest CWPro4 format to use newer APIs. 1999-05-09 03:27:03 +00:00
beard%netscape.com 861f0f2505 bumped version 1999-05-09 03:27:01 +00:00
beard%netscape.com b11acf99b6 cleaned up, removed non-essential code, NPL 1999-05-09 03:19:47 +00:00
beard%netscape.com 694e5a851c NPL 1999-05-09 03:19:07 +00:00
beard%netscape.com 53004acee4 added a "build all" target 1999-05-08 23:18:39 +00:00
beard%netscape.com bd19f7a0cc added version resources 1999-05-08 23:18:12 +00:00
beard%netscape.com 7026a42960 First Checked In. 1999-05-08 23:05:34 +00:00
beard%netscape.com 6e8fffb7f4 removed xpt_dump.c from compiler target, moved exclusively to linker target. 1999-05-08 22:58:42 +00:00
beard%netscape.com 5f1cb61927 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 3daab4f8f8 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 889a8e48d7 added mac_get_file_length(), turned off disassembly (moved to linker) 1999-05-08 22:55:42 +00:00
beard%netscape.com 9fb2c6a7a6 turned off the "cantDisassemble" bit, moving disassembly to the linker. 1999-05-08 22:54:23 +00:00
beard%netscape.com 60a66b9f85 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 eb661e0290 changed default 'pref' resource to conform to size of XPIDLSettings struct (40 bytes) 1999-05-08 21:09:19 +00:00
beard%netscape.com ecb01e0921 using defined(XPIDL_PLUGIN) to determine when to rename main 1999-05-08 20:40:26 +00:00
beard%netscape.com 1d24113a89 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 c8c460d775 changed link order in linker 1999-05-08 20:37:15 +00:00
beard%netscape.com ea13807ccc fixed a 'MENU' resource id conflict (128 is CodeWarrior IDE's Apple menu) 1999-05-08 20:36:56 +00:00
beard%netscape.com 4158caccd8 First Checked In. 1999-05-06 20:39:56 +00:00
beard%netscape.com e37c083d37 First Checked In. 1999-05-06 15:06:11 +00:00
beard%netscape.com 0a7c2d5f5b First Checked In. 1999-05-06 14:39:20 +00:00
beard%netscape.com ac665484f9 XP_MAC: no longer using mac_fopen, replacing fopen itself. added mac_warning. 1999-05-06 14:27:57 +00:00
jdunn%netscape.com d7c48d4095 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 098ff3f390 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 c425481936 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 7b45b56ec2 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 ef8decef32 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 718f08047f 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 8f0836280f 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 4a9c5b4415 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
mccabe%netscape.com e33e295f30 Enabling xpidl as a standard part of the unix and windows build. Changed checks against BUILD_XPIDL to the (as yet undefined) USE_XPIDL variable in libpref, rdf, xpfe/AppCores, to keep them from firing just yet. The BUILD_XPIDL-enabling machinery in configure.in is unchanged, but BUILD_XPIDL is unused for now.
See http://www.mozilla.org/scriptable/xpidl/ if this breaks you.
1999-04-15 18:28:27 +00:00
jband%netscape.com 5f9bbffb34 not yet part of seamonkey build -- fix problem with forward declarations in idl 1999-04-15 03:32:18 +00:00
mccabe%netscape.com 4339690ad1 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 eae9423167 Updated to include new version numbers and source, binary locations for glib, libIDL. 1999-04-14 04:48:29 +00:00
mccabe%netscape.com 8ceee11100 Remove dependency on NSPR for xpidl, libxpt and tools. 1999-04-13 20:22:02 +00:00
jband%netscape.com a48e398315 fix AIX bustage - suggested by waqar@netscape.com 1999-04-13 18:10:40 +00:00
jband%netscape.com 16c01d47fc fix for comment spanning the buffer boundary 1999-04-13 00:50:39 +00:00
waqar%netscape.com 9f0064a9e4 Changed C++ comment to a C comment to make AIX compiler happy. 1999-04-12 18:28:53 +00:00
dp%netscape.com cb68dc6bdd Using PROGID for registry instance creation. 1999-04-12 12:34:32 +00:00
beard%netscape.com 8fc80c9dd0 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 3ad3483d5e 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 f3fe5ba7b3 #include <libIDL/IDL.h> -> #include <IDL.h> on XP_MAC. 1999-04-11 00:09:14 +00:00
beard%netscape.com 1d09c36453 strdup -> xpidl_strdup, for consistency 1999-04-11 00:08:18 +00:00
jband%netscape.com 85b5e04fd6 Prepare for not emitting js stubs decls into headers. Emit the macro for GetIID. 1999-04-10 06:17:49 +00:00
leaf%mozilla.org 3643809c45 fixing gmake-ism in makefile.win 1999-04-10 02:43:42 +00:00
sspitzer%netscape.com c1410dc5b0 add the binary that gets built to the list of things to ignore 1999-04-10 00:52:22 +00:00
sspitzer%netscape.com 0c4be041ff adding these cvsignore files 1999-04-10 00:39:11 +00:00