144 Commits

Author SHA1 Message Date
timeless%mozdev.org
adc085ea1f Bug 336989 Useless null check of aOwner in nsPluginHostImpl::InstantiateEmbeddedPlugin
Also fixing a spelling error which happens to appear in pluginhostimpl and xpconnect sample
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@198970 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:23:45 +00:00
cbiesinger%web.de
8d9f96359d bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@196108 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:53:51 +00:00
benjamin%smedbergs.us
dd146efb7b Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h


git-svn-id: svn://10.0.0.236/trunk@195900 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 16:11:14 +00:00
bryner%brianryner.com
7ec5e10667 Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin.
git-svn-id: svn://10.0.0.236/trunk@192401 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 04:59:42 +00:00
timeless%mozdev.org
8a213cf6db 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@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +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
gerv%gerv.net
2983577643 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@180128 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 18:40:56 +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
96a7262662 Revert bug 298047.
git-svn-id: svn://10.0.0.236/trunk@175376 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 02:06:16 +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
darin%meer.net
de664b78c8 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@175331 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:50 +00:00
gerv%gerv.net
8c74bc5a36 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@175330 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:49 +00:00
dougt%netscape.com
512ba826a2 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@175329 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:48 +00:00
dougt%netscape.com
ff875db024 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@175328 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:47 +00:00
dougt%netscape.com
aaeebbf691 Damn the nmake build system and the mac.
git-svn-id: svn://10.0.0.236/trunk@175327 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:46 +00:00
dougt%netscape.com
ef7076db4b More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262.
git-svn-id: svn://10.0.0.236/trunk@175326 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:45 +00:00
dougt%netscape.com
ef86ac562b adding #include for stdio for printf
git-svn-id: svn://10.0.0.236/trunk@175325 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:44 +00:00
dougt%netscape.com
bda51ea960 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@175324 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:43 +00:00
dougt%netscape.com
54856e80f4 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@175323 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:42 +00:00
dougt%netscape.com
b1bd96245c 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@175322 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:41 +00:00
dougt%netscape.com
fea1504cd8 API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@175321 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:40 +00:00
gerv%gerv.net
fa7a78ec1c Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@175320 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:39 +00:00
shaver%mozilla.org
6d7fa75f1c 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing


git-svn-id: svn://10.0.0.236/trunk@175319 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:38 +00:00
rayw%netscape.com
dd3dac9245 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@175318 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:37 +00:00
mang%subcarrier.org
9139a844c7 progid no longer defined in nsISample.idl
Part of previous fix to bug 10904


git-svn-id: svn://10.0.0.236/trunk@175317 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:36 +00:00
dp%netscape.com
7028edc98f Sample XPCOM Application
git-svn-id: svn://10.0.0.236/trunk@175316 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:32:35 +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
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