126 Commits

Author SHA1 Message Date
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
bsmedberg%covad.net
112c33275c 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.
git-svn-id: svn://10.0.0.236/trunk@184304 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 18:17:49 +00:00
bsmedberg%covad.net
573e4d6f0c 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
git-svn-id: svn://10.0.0.236/trunk@175481 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 12:24:07 +00:00
bsmedberg%covad.net
e98012647a Backout bug 298047 per Chase as it breaks some downrev mac systems unexpectedly.
git-svn-id: svn://10.0.0.236/trunk@175375 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 02:04:23 +00:00
bsmedberg%covad.net
eda69baeea 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)
git-svn-id: svn://10.0.0.236/trunk@175333 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:53:30 +00:00
bsmedberg%covad.net
034b011dbf Bug 288370 - Build XULRunner on Mac, and add makefile vars to link against XPCOM frozen sharedlibs reliably r=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@171975 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 15:19:42 +00:00
bsmedberg%covad.net
f0ad878c0e Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin
git-svn-id: svn://10.0.0.236/trunk@171774 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 03:35:24 +00:00
bryner%brianryner.com
e1daca3ce3 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.
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +00:00
darin%meer.net
3f701b6803 landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164375 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 19:34:45 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bryner%brianryner.com
b5ccad4460 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.
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
timeless%mozdev.org
a77de3ebaf 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


git-svn-id: svn://10.0.0.236/trunk@145512 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-03 09:58:56 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +00:00
dougt%netscape.com
267f519b22 Fixes a crash on shutdown. patch by bryner. r+sr=dougt
git-svn-id: svn://10.0.0.236/trunk@141059 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 07:16:31 +00:00
dougt%netscape.com
d1364544e7 attempt 2 to fix mac os X bustage
git-svn-id: svn://10.0.0.236/trunk@140880 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 23:45:17 +00:00
dougt%netscape.com
fbd5443c8c doh. missed a endif
git-svn-id: svn://10.0.0.236/trunk@140877 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 22:26:13 +00:00
dougt%netscape.com
93df0f2658 attempting to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@140869 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 21:51:58 +00:00
dougt%netscape.com
3410e51cf4 spelling error fixed - thanks pkw@us.ibm.com.
git-svn-id: svn://10.0.0.236/trunk@140867 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 21:13:54 +00:00
dougt%netscape.com
196b953d34 fixing mistake in help option
git-svn-id: svn://10.0.0.236/trunk@140864 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:58:08 +00:00
dougt%netscape.com
a199957be1 RegXPCOM rewrite - see bug 183075 for details. sr=darin & alecf
git-svn-id: svn://10.0.0.236/trunk@140856 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:46:17 +00:00
dougt%netscape.com
4089a19d9d removing obsolete file r=me
git-svn-id: svn://10.0.0.236/trunk@139711 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 23:02:06 +00:00
dougt%netscape.com
fed2927b2c 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.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
timeless%mozdev.org
77c17c0cae Bug 179778 regExport accesses argv[1] before checking argc==1
r=dougt sr=bz


git-svn-id: svn://10.0.0.236/trunk@133728 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 03:58:38 +00:00
dougt%netscape.com
0688b00425 Fixes typo. patch by tenthumbs@cybernex.net, r=dougt, b=168584
git-svn-id: svn://10.0.0.236/trunk@130817 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 21:49:48 +00:00
dougt%netscape.com
63df630ac9 exports xpcom tools to sdk r=seawood, b=170275
git-svn-id: svn://10.0.0.236/trunk@130315 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 01:19:05 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
seawood%netscape.com
5cf2509541 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


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
timeless%mac.com
585baa0803 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk


git-svn-id: svn://10.0.0.236/trunk@124683 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 14:29:25 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
dougt%netscape.com
d1da75028f Even better patch. This is what was intented in the first place, a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@119261 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 00:32:49 +00:00
dougt%netscape.com
4e01e43916 Do not hold references passed xpcom shutdown. a=leaf
git-svn-id: svn://10.0.0.236/trunk@119260 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 00:20:58 +00:00
dougt%netscape.com
a17830dad4 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118995 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:26:29 +00:00
ccarlen%netscape.com
b01ade9e83 Bug 12911 - use relative file descriptors. This adds the needed methods to nsILocalFile. r=dougt/sr=alecf/a=asa/adt=jaime
git-svn-id: svn://10.0.0.236/trunk@118544 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 14:12:24 +00:00
dougt%netscape.com
011f9b10e5 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


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
dougt%netscape.com
c01e94cad7 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


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
ccarlen%netscape.com
b9740f38fe Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110227 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:25:50 +00:00
ccarlen%netscape.com
9bff26e3d9 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110179 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 21:20:58 +00:00
seawood%netscape.com
88b23adbf4 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner


git-svn-id: svn://10.0.0.236/trunk@110113 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 07:05:12 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
56fd5dbc91 More REQUIRES clean-up.
git-svn-id: svn://10.0.0.236/trunk@105540 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:08:55 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
sean%beatnik.com
c16472fb23 fix for bug 84411: infinite loop in regxpcom. r/sr=shaver. properly increment loop variant.
git-svn-id: svn://10.0.0.236/trunk@98229 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 01:44:35 +00:00
waterson%netscape.com
18986ada3f 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.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
shaver%mozilla.org
a6e7fe83bf 73494: remove iostreams use in regxpcom, general cleanup, new silence options.
r=dmose, sr=kin.


git-svn-id: svn://10.0.0.236/trunk@95007 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 17:46:55 +00:00