Commit Graph
285 Commits
Author SHA1 Message Date
[email protected] 64dca58997 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
[email protected] 0a37344a32 Bug 251078 Remove xpcom's rebase utility
patch by [email protected] r=bryner
2004-11-23 20:00:26 +00:00
[email protected] 86cd72217f landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 14e471acbc landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
[email protected] 3736b6e206 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
[email protected] 7551af15b4 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
[email protected] 14b7ccfc8d Bug 213543 In function nsresult Register(const char *)': warning: return of negative value -1' to `nsresult' warning: negative integer implicitly converted to unsigned type
r=dougt
2003-08-03 09:58:56 +00:00
[email protected] fff827a77e Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
[email protected] 14633624d7 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
[email protected] 84689fcc5d Fixes a crash on shutdown. patch by bryner. r+sr=dougt 2003-04-12 07:16:31 +00:00
[email protected] fd2231d61b attempt 2 to fix mac os X bustage 2003-04-08 23:45:17 +00:00
[email protected] ac295dd842 doh. missed a endif 2003-04-08 22:26:13 +00:00
[email protected] 9ba826415a attempting to fix mac bustage 2003-04-08 21:51:58 +00:00
[email protected] ced51c92b0 spelling error fixed - thanks [email protected]. 2003-04-08 21:13:54 +00:00
[email protected] 4fb39362bf fixing mistake in help option 2003-04-08 20:58:08 +00:00
[email protected] 654f535f4c RegXPCOM rewrite - see bug 183075 for details. sr=darin & alecf 2003-04-08 20:46:17 +00:00
[email protected] 06a5fa5929 removing obsolete file r=me 2003-03-18 23:02:06 +00:00
[email protected] d575ba72ae Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
[email protected] 885ea0d78f Adding mingw makefile changes.
Bug #134113 r=bryner
2003-03-08 05:57:15 +00:00
[email protected] c3aef02680 Bug 179778 regExport accesses argv[1] before checking argc==1
r=dougt sr=bz
2002-11-13 03:58:38 +00:00
[email protected] c4f7ec3426 Fixes typo. patch by [email protected], r=dougt, b=168584 2002-09-30 21:49:48 +00:00
[email protected] 408dc57f20 exports xpcom tools to sdk r=seawood, b=170275 2002-09-24 01:19:05 +00:00
[email protected] f31500b018 Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
[email protected] 78d67d2c7f Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <[email protected]>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <[email protected]>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
[email protected] d5d544d503 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
[email protected] cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
[email protected] c6dc747783 Even better patch. This is what was intented in the first place, [email protected] 2002-04-18 00:32:49 +00:00
[email protected] a6bfd5cff7 Do not hold references passed xpcom shutdown. a=leaf 2002-04-18 00:20:58 +00:00
[email protected] 81107516d8 XPCOM initialize primary event queue. 135531. [email protected], [email protected] 2002-04-15 22:26:29 +00:00
[email protected] 6ffb36a935 Bug 12911 - use relative file descriptors. This adds the needed methods to nsILocalFile. r=dougt/sr=alecf/a=asa/adt=jaime 2002-04-09 14:12:24 +00:00
[email protected] c3e0a303eb 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  [email protected], [email protected]
2002-01-29 21:22:13 +00:00
[email protected] 7ba400bae1 Ignore generated files 2001-12-29 03:21:06 +00:00
[email protected] 32ebf7f11f nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = [email protected]  [email protected]  [email protected]
2001-12-19 00:12:41 +00:00
[email protected] a9bb97e13f Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 05:25:50 +00:00
[email protected] ddcb3453d5 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:20:58 +00:00
[email protected] 8efe4e088f Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
[email protected] 5b18dcd3d4 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
[email protected] 94255f5c72 More REQUIRES clean-up. 2001-10-16 22:08:55 +00:00
[email protected] 71f4514b1a API Freeze for nsIServiceManager [email protected], [email protected] bug 99147 2001-10-16 03:35:52 +00:00
[email protected] 58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
[email protected] f0123ccc11 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
[email protected] 6e5e308f2e Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
[email protected] 2a743eff0e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
[email protected] 611b50977c adapting to CreateInstancebyContractID() perf improvement 2001-08-21 19:07:26 +00:00
[email protected] ee8b2c3e70 First checked in. Submitted by dp <[email protected]>. r=dveditz, sr=waterson 2001-08-02 20:26:25 +00:00
[email protected] ccceacb0a9 fix for bug 84411: infinite loop in regxpcom. r/sr=shaver. properly increment loop variant. 2001-06-29 01:44:35 +00:00
[email protected] 2498f51f20 Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
[email protected] 3c13fb7716 73494: remove iostreams use in regxpcom, general cleanup, new silence options.
r=dmose, sr=kin.
2001-05-15 17:46:55 +00:00
[email protected] d55b919c61 Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00