116 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
aaronleventhal%moonset.net
dbd6cd428b Comment fix. SingletonFactory no longer exists. r+sr=shaver
git-svn-id: svn://10.0.0.236/trunk@161662 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 15:38:56 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
timeless%mozdev.org
d5f9c7bdbe Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@156489 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 23:38:25 +00:00
timeless%mozdev.org
88f8ccca4e Bug 241261 remove nsSample.js comment about bug 14460
r=dougt


git-svn-id: svn://10.0.0.236/trunk@155630 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 12:44:20 +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
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +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
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
sfraser%netscape.com
8caab640a4 Fix XPCOM tests linkage error on Darwin (only visible on clobber builds that build tests). r/sr=bryner.
git-svn-id: svn://10.0.0.236/trunk@138058 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-21 00:48:21 +00:00
dougt%netscape.com
4d998f4beb fixing os2 bustage
git-svn-id: svn://10.0.0.236/trunk@136310 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 18:08:49 +00:00
dougt%netscape.com
d800b17cc2 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@136291 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 04:35:55 +00:00
dougt%netscape.com
b70503de9c Moving nsEmbedString to mozilla/string. r=cls.
git-svn-id: svn://10.0.0.236/trunk@136287 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 03:41:52 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
dougt%netscape.com
3c121c69da Final fix. This is the way this patch should have landed. including nsXPIDLCString when XPCOM_GLUE is defined is not a good idea
git-svn-id: svn://10.0.0.236/trunk@132217 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 03:46:04 +00:00
dougt%netscape.com
515648f5b0 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@132216 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 03:32:59 +00:00
dougt%netscape.com
3ce22699b8 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@132196 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 23:41:47 +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
dougt%netscape.com
3d7a05cab8 More XPCOM Glue changes and fixes. Makefile change which can land since 154319 is fixed. r=waterson, sr=rpotts. bug 154319
git-svn-id: svn://10.0.0.236/trunk@124435 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 22:22:06 +00:00
dougt%netscape.com
9fd584fc27 Damn the nmake build system and the mac.
git-svn-id: svn://10.0.0.236/trunk@124428 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 21:39:18 +00:00
dougt%netscape.com
725fc2aaf9 backing out last makefile change
git-svn-id: svn://10.0.0.236/trunk@124426 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 21:13:22 +00:00
dougt%netscape.com
0cb58d5613 More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. missed this.
git-svn-id: svn://10.0.0.236/trunk@124425 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 21:11:47 +00:00
dougt%netscape.com
d65d49c1a2 More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262.
git-svn-id: svn://10.0.0.236/trunk@124420 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 20:37:17 +00:00
dougt%netscape.com
3aebd6125f 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf
git-svn-id: svn://10.0.0.236/trunk@123802 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 19:58:54 +00:00
dougt%netscape.com
55cec71794 adding #include for stdio for printf
git-svn-id: svn://10.0.0.236/trunk@123050 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 19:50:28 +00:00
seawood%netscape.com
7e4c3987ab Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components


git-svn-id: svn://10.0.0.236/trunk@119809 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 02:52:44 +00:00
seawood%netscape.com
18248a8c6e Use debug() instead of dump() so that js component registration output only shows up in debug builds.
Bug #138726 r=rginda sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119603 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 07:30:11 +00:00
mkaply%us.ibm.com
48ba530730 #134742
r=cls, a=asa
Add SHORT_LIBNAMEs for some DLLs


git-svn-id: svn://10.0.0.236/trunk@117963 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 23:20:41 +00:00
dougt%netscape.com
a288cd7893 130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@117113 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:43:21 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +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
bzbarsky%mit.edu
d0c7beb38b Use <> for system headers, not "". This should help prevent Sun WSU2
compiler bustage.  Bug 111574, patch from Roland Mainz
(<Roland.Mainz@informatik.med.uni-giessen.de>), r=bzbarsky, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@108847 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 22:36:54 +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
seawood%netscape.com
f83af44959 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108681 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 08:55:59 +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
alecf%netscape.com
1a422e5b81 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@102380 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:56:35 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +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
kandrot%netscape.com
2f7e9262c9 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
git-svn-id: svn://10.0.0.236/trunk@94028 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 05:33:37 +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
dbaron%fas.harvard.edu
2c62d3da30 Attempt to fix OS/2 bustage by adding the programs listed in SIMPLE_PROGRAMS to CPPSRCS as well, as they are in other makefiles that use SIMPLE_PROGRAMS. r=disttsc@bart.nl b=75163
git-svn-id: svn://10.0.0.236/trunk@92299 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 18:36:47 +00:00
dprice%netscape.com
5cbf372cac 65845 - new order files
git-svn-id: svn://10.0.0.236/trunk@91428 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 06:02:32 +00:00