205 Commits

Author SHA1 Message Date
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
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
dougt%netscape.com
6ab2a76e68 backing out my changes due to linux orangeness
git-svn-id: svn://10.0.0.236/trunk@102177 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-02 17:15:16 +00:00
dougt%netscape.com
161d8dd0c6 Fixes a crash when QI'ing on async xpcom event proxy. r=rpotts, sr=jband, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@102176 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-02 05:53:28 +00:00
cls%seawood.org
e8d28b7625 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@100998 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:18:27 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
rpotts%netscape.com
6496d65bc9 bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe.
git-svn-id: svn://10.0.0.236/trunk@99342 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 21:26:04 +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
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +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
cls%seawood.org
7690537f01 CConverting line-endings to fix cement bustage. Extra ^Ms are A Bad Thing(tm).
git-svn-id: svn://10.0.0.236/trunk@92275 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 02:45:59 +00:00
dougt%netscape.com
b592f10033 More Assertions and checks for null similar to the last checkin. r=me
git-svn-id: svn://10.0.0.236/trunk@92270 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 02:01:37 +00:00
dougt%netscape.com
6e8d19ed26 Attempting to fix 74057, although not likely. See bug for details.
If you are asserting after this patch is applied, please contact dougt@netscape.com.

r=gagan@netscape.com
sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@92258 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 00:34:06 +00:00
dmose%netscape.com
e253dbb57e helper function to make code that gets nsISupports proxies more readable: NS_GetProxyForObject (bug 74792). r=brendan@mozilla.org, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92235 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 22:13:04 +00:00
dougt%netscape.com
62963fd66f Adding check for null. r=dveditz/sr=nullcheck
git-svn-id: svn://10.0.0.236/trunk@88260 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:20:37 +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
waterson%netscape.com
214693cd4a Bug 65146. Fix deadlock potential in proxy code; remove unncessary locks from nsPipe2. r=darin,dougt; sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86858 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 23:33:11 +00:00