darin%meer.net
3d52b0860b
fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@165089 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 23:59:35 +00:00
darin%meer.net
ed9e4d3d7a
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +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
bryner%brianryner.com
16b26bbf1b
Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152655 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:19:03 +00:00
bryner%brianryner.com
88b5530edd
Some cleanup to nsProxyObject: implement refcounting without nsISupports inheritance, inline getters, and fix a few warnings. Bug 232022, r=dougt, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151826 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-25 10:39:02 +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
darin%meer.net
bc1bb52b19
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +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
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
jaggernaut%netscape.com
f34216bf2d
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +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
06e1507b0c
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
...
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +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%meer.net
219c826785
removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634
...
git-svn-id: svn://10.0.0.236/trunk@142864 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:23:10 +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 CIDs 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
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
seawood%netscape.com
0a7c7a98f9
nobrainer changes while thinking about mingw support
...
Bug #134113 r=dmose
git-svn-id: svn://10.0.0.236/trunk@135809 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 08:58:59 +00:00
dougt%netscape.com
2528bfde89
Fix for nsProxyObjectManager::GetProxy() memory corruption. Patch by wolruf@free.fr, r=dougt, sr=alecf, b=182572
...
git-svn-id: svn://10.0.0.236/trunk@134730 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 23:04:28 +00:00
seawood%netscape.com
f9eb727003
Define WIN32_LEAN_AND_MEAN globally for win32 builds.
...
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
gerv%gerv.net
5751d43faf
Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@126985 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:39:43 +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
bryner%netscape.com
44791394dd
Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@126082 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:30:05 +00:00
dougt%netscape.com
93a121bec1
ProxyObjectCallInfo class is exported by many dso. r=darin, sr=alec, a=asa, b=158932
...
git-svn-id: svn://10.0.0.236/trunk@125800 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:13:06 +00:00
alecf%netscape.com
7ce57677ba
more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
...
r=bnesse, sr=dveditz, a=asa
git-svn-id: svn://10.0.0.236/trunk@125651 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:30:04 +00:00
dougt%netscape.com
fe86486377
Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@123042 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 19:26:04 +00:00
dougt%netscape.com
c4b7ad94e8
Fixes allocation/deallcation mismatch. sr=darin, verified by stephend, b=149108
...
git-svn-id: svn://10.0.0.236/trunk@122702 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 21:48:53 +00:00
dougt%netscape.com
eaad2f24e1
fixes crash in js_FreeStack caused by a race condition in necko. see 139556 for the details. r=rpotts, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@122438 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 20:40:11 +00:00
dougt%netscape.com
d6cc711878
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
...
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
nisheeth%netscape.com
121c854382
Fix for bug 125466. r=dougt, sr=jband, a=asa. Add AString, CString, and UTF8String support to the XPCOM proxy event mechanism
...
VS: ----------------------------------------------------------------------
git-svn-id: svn://10.0.0.236/trunk@116186 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 21:28:37 +00:00
dougt%netscape.com
f3dc51d9cf
Fail when Async Proxy methods are passed out or in-out params. bug 128560. r/sr=jband@netscape.com,rpotts@netscape.com, a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@116065 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:02:38 +00:00
dbradley%netscape.com
4c972e2fbe
Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 14:48:00 +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
jst%netscape.com
b9772d48fe
Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@112678 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:20:51 +00:00
seawood%netscape.com
a9308f6d58
Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
...
bug #58981 sr=jag
git-svn-id: svn://10.0.0.236/trunk@112307 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 05:10:09 +00:00
dbaron%fas.harvard.edu
1604f09dd2
Remove the many forms of NS_SetupRegistry since the classes registered are all now part of proper components. r=dougt, jag sr=rpotts b=81527
...
git-svn-id: svn://10.0.0.236/trunk@110840 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 02:09:49 +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
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
seawood%netscape.com
76780820f4
Backing out fix for remote mach-o builds as it left mach-o builds fragile.
...
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
git-svn-id: svn://10.0.0.236/trunk@107199 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 03:29:05 +00:00
seawood%netscape.com
acaf3004b5
Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
...
Bug #107696 r=mozbot
git-svn-id: svn://10.0.0.236/trunk@106904 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:54:48 +00:00
jband%netscape.com
57fc23094c
add support for nsIVariant and nsIPropertyBag. bug 44675 and bug 98209. sr=vidur r=dbradley
...
git-svn-id: svn://10.0.0.236/trunk@106867 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:35:07 +00:00
dougt%netscape.com
337217beaa
backing out changes to 104172. r=ccarlen@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@106023 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 03:50:24 +00:00
dougt%netscape.com
62a8215278
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
...
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +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
naving%netscape.com
e6a794f445
95501 r/sr=bienvenu sr=mscott. Fix nsDocShell leaks for pop3 accts on start-up and shutdown.
...
git-svn-id: svn://10.0.0.236/trunk@102460 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:32:11 +00:00
dougt%netscape.com
6abd1d51a4
Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
...
erson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00