277 Commits

Author SHA1 Message Date
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
cls%seawood.org
6352367a62 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.
git-svn-id: svn://10.0.0.236/trunk@146076 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 00:42:35 +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
cls%seawood.org
dac8d1a090 Adding mingw makefile changes.
Bug #134113 r=bryner


git-svn-id: svn://10.0.0.236/trunk@139140 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 05:57:15 +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
dp%netscape.com
719083975b adapting to CreateInstancebyContractID() perf improvement
git-svn-id: svn://10.0.0.236/trunk@101527 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 19:07:26 +00:00
waterson%netscape.com
d998697a2d First checked in. Submitted by dp <dpsuresh@netscape.net>. r=dveditz, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100222 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 20:26:25 +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
cls%seawood.org
f4f0b8b7a6 Remove unneeded LOST_SYM_LIBS defines.
git-svn-id: svn://10.0.0.236/trunk@93441 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 01:13:22 +00:00
pinkerton%netscape.com
d1e8739fc3 Removing some redundant libraries. They're already covered by configure.in and xpcom/build/Makefile.in r=cls, sr=hyatt. bug# 75653.
git-svn-id: svn://10.0.0.236/trunk@92349 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-15 07:15:15 +00:00
dbaron%fas.harvard.edu
962e46889a Include iomanip.h because we need the |using std::hex| and |using std::dec| from it to build with libstdc++ 3.0. b=63604 r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@89289 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 18:10:58 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00