Commit Graph

297 Commits

Author SHA1 Message Date
Benjamin Smedberg
206621b6a9 Bug 570488 - Remove xpti.dat caching which harms us in runtime and code complexity 2010-06-10 12:51:29 -04:00
Chris Jones
c4df938d48 Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg 2010-04-20 15:12:02 -05:00
Phil Ringnalda
99af5c5c2f Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Phil Ringnalda
21a33403a4 Can not aquire, or even acquire, anything other than a CLOSED TREE 2009-01-11 17:42:29 -08:00
hg@mozilla.com
2ca566cd74 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
timeless@mozdev.org
21af79fe88 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
bsmedberg@covad.net
9e9855ed0a Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree. 2005-11-08 18:17:49 +00:00
bsmedberg@covad.net
fd93006b6c Bug 298047 - Drop the dependencies of the XPCOM standalone glue on NSPR, try #2 - Re-landing this in such a way that we're not going to break non-xulrunner builds on mac with xcode < 1.5 until we have the tinderboxen and official build instructions upgraded properly (see the XXXNote in xpcom/sample/Makefile.in, and the continued ifdef MOZ_ENABLE_LIBXUL hack in config/autoconf.mk.in around MOZ_FIX_LINK_FLAGS). r=darin a=asa 2005-07-01 12:24:07 +00:00
bsmedberg@covad.net
7e12e1825e Backout bug 298047 per Chase as it breaks some downrev mac systems unexpectedly. 2005-06-30 02:04:23 +00:00
bsmedberg@covad.net
27a1d533ed Bug 298047 - Drop the dependencies of the XPCOM standalone glue on NSPR (this patch covers everything except dynamic linking) r=darin a=asa (The file xpcom/sample/nsTestSample.cpp moved to xpcom/sample/program/nsTestSample.cpp) 2005-06-29 18:53:30 +00:00
bsmedberg@covad.net
29cf6f7473 Bug 288370 - Build XULRunner on Mac, and add makefile vars to link against XPCOM frozen sharedlibs reliably r=darin a=asa 2005-04-11 15:19:42 +00:00
bsmedberg@covad.net
19d7c1ead8 Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin 2005-04-06 03:35:24 +00:00
bryner@brianryner.com
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
timeless@mozdev.org
0a37344a32 Bug 251078 Remove xpcom's rebase utility
patch by sdwalker@myrealbox.com r=bryner
2004-11-23 20:00:26 +00:00
darin@meer.net
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
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin@meer.net
14e471acbc landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner@brianryner.com
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
cls@seawood.org
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
timeless@mozdev.org
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
jaggernaut@netscape.com
fff827a77e Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
seawood@netscape.com
14633624d7 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
dougt@netscape.com
84689fcc5d Fixes a crash on shutdown. patch by bryner. r+sr=dougt 2003-04-12 07:16:31 +00:00
dougt@netscape.com
fd2231d61b attempt 2 to fix mac os X bustage 2003-04-08 23:45:17 +00:00
dougt@netscape.com
ac295dd842 doh. missed a endif 2003-04-08 22:26:13 +00:00
dougt@netscape.com
9ba826415a attempting to fix mac bustage 2003-04-08 21:51:58 +00:00
dougt@netscape.com
ced51c92b0 spelling error fixed - thanks pkw@us.ibm.com. 2003-04-08 21:13:54 +00:00
dougt@netscape.com
4fb39362bf fixing mistake in help option 2003-04-08 20:58:08 +00:00
dougt@netscape.com
654f535f4c RegXPCOM rewrite - see bug 183075 for details. sr=darin & alecf 2003-04-08 20:46:17 +00:00
dougt@netscape.com
06a5fa5929 removing obsolete file r=me 2003-03-18 23:02:06 +00:00
dougt@netscape.com
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
cls@seawood.org
885ea0d78f Adding mingw makefile changes.
Bug #134113 r=bryner
2003-03-08 05:57:15 +00:00
timeless@mozdev.org
c3aef02680 Bug 179778 regExport accesses argv[1] before checking argc==1
r=dougt sr=bz
2002-11-13 03:58:38 +00:00
dougt@netscape.com
c4f7ec3426 Fixes typo. patch by tenthumbs@cybernex.net, r=dougt, b=168584 2002-09-30 21:49:48 +00:00
dougt@netscape.com
408dc57f20 exports xpcom tools to sdk r=seawood, b=170275 2002-09-24 01:19:05 +00:00
seawood@netscape.com
f31500b018 Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood@netscape.com
78d67d2c7f Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
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 <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
timeless@mac.com
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
darin@netscape.com
cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
dougt@netscape.com
c6dc747783 Even better patch. This is what was intented in the first place, a=leaf@mozilla.org 2002-04-18 00:32:49 +00:00
dougt@netscape.com
a6bfd5cff7 Do not hold references passed xpcom shutdown. a=leaf 2002-04-18 00:20:58 +00:00
dougt@netscape.com
81107516d8 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com 2002-04-15 22:26:29 +00:00
ccarlen@netscape.com
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
dougt@netscape.com
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.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
mcafee@netscape.com
7ba400bae1 Ignore generated files 2001-12-29 03:21:06 +00:00
dougt@netscape.com
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 = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
ccarlen@netscape.com
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
ccarlen@netscape.com
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
seawood@netscape.com
8efe4e088f Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
seawood@netscape.com
5b18dcd3d4 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00