dougt%netscape.com
4646c51914
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
2002-06-11 19:26:04 +00:00
dougt%netscape.com
7e2358c7e7
Fixes allocation/deallcation mismatch. sr=darin, verified by stephend, b=149108
2002-06-04 21:48:53 +00:00
dougt%netscape.com
7fc5a0ea7e
fixes crash in js_FreeStack caused by a race condition in necko. see 139556 for the details. r=rpotts, sr=darin
2002-05-31 20:40:11 +00:00
dougt%netscape.com
e96df2ad1b
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
2002-05-15 18:55:21 +00:00
nisheeth%netscape.com
1fc5851481
Fix for bug 125466. r=dougt, sr=jband, a=asa. Add AString, CString, and UTF8String support to the XPCOM proxy event mechanism
...
VS: ----------------------------------------------------------------------
2002-03-08 21:28:37 +00:00
dougt%netscape.com
b092f378cd
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
2002-03-07 20:02:38 +00:00
dbradley%netscape.com
f4fbed4e14
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
2002-02-19 14:48:00 +00:00
dougt%netscape.com
894fdcfaaf
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
2002-01-29 21:22:13 +00:00
jst%netscape.com
48f217780d
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
2002-01-24 09:20:51 +00:00
seawood%netscape.com
fa5df5e54c
Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
...
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
dbaron%fas.harvard.edu
586a521563
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
2001-12-20 02:09:49 +00:00
dougt%netscape.com
9a75bc4b8e
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
2001-12-19 00:12:41 +00:00
seawood%netscape.com
87cae106c8
Add win32 support to xpcom Makefile.ins
...
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
seawood%netscape.com
d8927fcc61
Rename 'install' build phase to 'libs'.
...
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood%netscape.com
c79715ed1b
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
2001-11-03 03:29:05 +00:00
seawood%netscape.com
6daf60f372
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
2001-11-01 00:54:48 +00:00
jband%netscape.com
45a0a569e9
add support for nsIVariant and nsIPropertyBag. bug 44675 and bug 98209. sr=vidur r=dbradley
2001-10-31 23:35:07 +00:00
dougt%netscape.com
220f65a002
backing out changes to 104172. r=ccarlen@netscape.com
2001-10-23 03:50:24 +00:00
dougt%netscape.com
5fe12c09e7
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
2001-10-23 01:37:21 +00:00
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
e25262c61f
One module per line for REQUIRES. r=/sr=alecf
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
3826eb9902
Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
2001-09-18 13:41:47 +00:00
alecf%netscape.com
cf9912aa80
Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
2001-09-17 19:06:35 +00:00
naving%netscape.com
4b3380b60b
95501 r/sr=bienvenu sr=mscott. Fix nsDocShell leaks for pop3 accts on start-up and shutdown.
2001-09-06 21:32:11 +00:00
dougt%netscape.com
31c1842a29
Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
...
erson@netscape.com
2001-09-06 21:13:11 +00:00
alecf%netscape.com
68824c3a8d
dumb
...
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
dougt%netscape.com
7612adc80d
backing out my changes due to linux orangeness
2001-09-02 17:15:16 +00:00
dougt%netscape.com
0e2b282b21
Fixes a crash when QI'ing on async xpcom event proxy. r=rpotts, sr=jband, a=blizzard
2001-09-02 05:53:28 +00:00
cls%seawood.org
19699b8722
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
2001-08-14 04:18:27 +00:00
jaggernaut%netscape.com
c14d9c09a1
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
rpotts%netscape.com
46e212a972
bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe.
2001-07-16 21:26:04 +00:00
waterson%netscape.com
0877b1a573
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.
2001-06-20 20:21:49 +00:00
cls%seawood.org
80f526179f
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
2001-06-18 22:10:38 +00:00
cls%seawood.org
c06c69763c
Remove unneeded LOST_SYM_LIBS defines.
2001-04-30 01:13:22 +00:00
cls%seawood.org
1a08b2e290
CConverting line-endings to fix cement bustage. Extra ^Ms are A Bad Thing(tm).
2001-04-14 02:45:59 +00:00
dougt%netscape.com
1cb8c2db9c
More Assertions and checks for null similar to the last checkin. r=me
2001-04-14 02:01:37 +00:00
dougt%netscape.com
2766836ee3
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
2001-04-14 00:34:06 +00:00
dmose%netscape.com
05dcac0bc0
helper function to make code that gets nsISupports proxies more readable: NS_GetProxyForObject (bug 74792). r=brendan@mozilla.org, sr=waterson@netscape.com
2001-04-13 22:13:04 +00:00
dougt%netscape.com
e94899abd9
Adding check for null. r=dveditz/sr=nullcheck
2001-03-01 02:20:37 +00:00
disttsc%bart.nl
744785129a
Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
2001-02-22 09:35:51 +00:00
waterson%netscape.com
87a35f2e41
Bug 65146. Fix deadlock potential in proxy code; remove unncessary locks from nsPipe2. r=darin,dougt; sr=brendan
2001-02-12 23:33:11 +00:00
cls%seawood.org
fc9c54cb3d
Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454
2000-11-21 00:18:46 +00:00
cls%seawood.org
8bd122b3d5
Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
2000-11-20 07:16:06 +00:00
alecf%netscape.com
7941b9e959
fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
...
r=dveditz a=self
2000-11-17 03:41:41 +00:00
warren%netscape.com
4189314fdb
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
6e35f97e31
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
dougt%netscape.com
2512c4fdb8
Fixes 64 bit address conversion in proxy. Also fixes proxing char parameters. p=jband, r=dougt, a=brendan. 52200, 26560.
2000-10-08 18:19:28 +00:00
rayw%netscape.com
6cc70ebd6c
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
dougt%netscape.com
4f1314477f
Bug 51445. r=beard@netscape.com
2000-09-07 20:28:00 +00:00
dbaron%fas.harvard.edu
ffa0654b41
Fix leak stats by calling NS_LOG_RELEASE for every release. Debug code only. r=dougt
2000-08-28 23:23:32 +00:00
dougt%netscape.com
e7b449213a
b=49593. r=bruce@cubik.org (Bruce Mitchener).
2000-08-21 22:51:10 +00:00
dougt%netscape.com
e90938c56b
b=47143, r=valeski. Puts the real object release on the proper thread.
2000-08-17 05:02:37 +00:00
warren%netscape.com
4af572e4c1
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
2000-08-10 06:19:37 +00:00
dougt%netscape.com
abd29914f3
1. remove extra monitors (47825)
...
2. add method to determine if manager has been shutdown (44680)
3. Add nsCOMPtr to avoid leak (44680, 43244)
r=valeski@netscape.com
2000-08-07 20:50:25 +00:00
dougt%netscape.com
899f63cac3
44665
...
submitted by dbaron@fas.harvard.edu
a=waterson@netscape.com
2000-07-06 20:56:24 +00:00
dougt%netscape.com
454444a95f
Mike Kaply <mkaply@us.ibm.com> pointed out a malloc(0) bug as well as a free(null).
...
a=brendan@mozilla.org
2000-07-06 00:22:17 +00:00
cls%seawood.org
e1e6c5760f
Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
2000-06-30 08:08:04 +00:00
dougt%netscape.com
e1274cde0a
I IDL-ifying the nsProxyObjectManager.
...
I have updated all users that I found
grepping the source tree.
r=valeski@netscape.com
a=waterson@netscape.com
b=43131
Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
dougt%netscape.com
70367cbd56
Adding idl'ifed nsIProxyObjectManager interface file.
2000-06-23 23:34:11 +00:00
pavlov%netscape.com
5e8a833f39
Fix for eventqueue objects leaking bug #20166 . This also removes the hacked fix for bug #36361 and uses a real fix. Major overhaul of nsEventQueue and nsEventQueueService. r=waterson,brendan. tested on windows, linux and mac
2000-06-05 21:53:25 +00:00
warren%netscape.com
958ed96edd
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
2000-06-03 09:46:12 +00:00
dougt%netscape.com
3add1c8cc5
Changes from snizinsk@us.ibm.com
...
visualage fixes to xpcom for OS/2.
2000-05-12 01:09:58 +00:00
cls%seawood.org
fec728bf12
More OS/2 Makefile changes. Bug #34106 Batch 13
2000-05-11 14:15:34 +00:00
dveditz%netscape.com
a9050f6ecd
adding convenience macro to create always-proxied services necessary when creating the proxy on the same thread for use on a new thread
2000-05-05 03:47:00 +00:00
mkaply%us.ibm.com
11949af38c
# 34082
...
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
waterson%netscape.com
1d9fda50da
Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc
2000-04-27 04:44:56 +00:00
cls%seawood.org
128a91b6b4
Removing unused dependency upon nsappShellCIDs.h. Bug #24515 . r=shaver
2000-04-23 16:08:55 +00:00
cls%seawood.org
57978e5c23
Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
2000-04-04 04:46:38 +00:00
jim_nance%yahoo.com
005e33f06e
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
2000-03-30 03:21:26 +00:00
jband%netscape.com
5f175355aa
Prepare for semantic change to nsIInterfaceInfo::GetParent (will set out param to null if no parent rather than return an nsresult error).
2000-03-28 03:57:35 +00:00
warren%netscape.com
7e37f4f478
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
2000-03-05 21:26:01 +00:00
cls%seawood.org
aeb63a9a96
Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built.
...
Fixed the recursive makes into GtkMozilla so that they will report build failures like the other dirs.
Removed LIBS_NEQ_INSTALL variable and associated ifdefs.
2000-03-02 13:29:03 +00:00
cls%seawood.org
a58c776228
Use EXPORT_XPT_API define when building libraries. Needed for mingw32.
2000-03-02 12:27:58 +00:00
dougt%netscape.com
ff94f583e2
Removing nested eventQ. bug 29474. a=jar
2000-03-02 04:38:33 +00:00
rpotts%netscape.com
164f5e0e68
bug #21556 . Made Addref/Release on nsProxyObject threadsafe.
2000-02-27 05:12:25 +00:00
dougt%netscape.com
54929d4f0c
Remove double hash lookup.
...
Added extra add ref to cache
r=jband (submitted by him)
2000-02-09 08:08:20 +00:00
scc%netscape.com
5e041e830f
Pro5 update
2000-02-07 23:06:04 +00:00
dougt%netscape.com
7c0fe51770
Fix for bug 26420. r=scc@netscape.com
2000-02-04 23:14:27 +00:00
dougt%netscape.com
67d0a7a981
removing unneeded lock.
2000-02-03 02:37:51 +00:00
scc%netscape.com
24bd24cf92
Fixed access paths for upcoming switch to Pro5, see bug #25949 . r=pinkerton
2000-02-01 00:49:16 +00:00
dougt%netscape.com
3cd4f30d28
Hashtable miss fix. Wrong operator used. submitted by warren.
2000-01-31 23:10:55 +00:00
dougt%netscape.com
b24bfc7df3
changing flags from DEBUG_dougt to DEBUG_xpcom_proxy.
...
r=dveditz
2000-01-28 23:51:00 +00:00
dougt%netscape.com
fe9670e2a8
fixes bug 24122. submitted by beard.
2000-01-16 23:30:33 +00:00
dougt%netscape.com
a378ec8f5d
Making event handler callbacks static.
...
removing lock during XPT invoke
suggested by jband. bug 18110.
2000-01-14 05:03:29 +00:00
jst%citec.fi
488f470ab0
Fixing copying of wstring argument, this fixes the problem with only the first character of some status messages showing up in the browser. This fix also eliminates one string copy. r=dougt@netscape.com, a=mozbot.
2000-01-14 00:06:57 +00:00
dougt%netscape.com
ac1bf5f7e1
locking nsProxyObject before calling XPT_InvokeByIndex()
...
locking maps for entire GetNewOrUsedClass() process.
locking maps while trying to Find an IID off of a Root.
locking when removing from RealObjectToProxyObjectMap
I am hoping that this will fix some of the SMP problems, namely 21556.
r=mccabe.
2000-01-12 01:26:11 +00:00
bryner%uiuc.edu
741667c736
Fix a warning. r=mcafee.
1999-12-28 20:26:56 +00:00
sspitzer%netscape.com
1ff7f19198
fix warnings.
1999-12-28 19:37:29 +00:00
dougt%netscape.com
c270279361
fix for 16273. r=valeski, a=sdagley.
1999-12-22 01:47:59 +00:00
dougt%netscape.com
771b01b02c
Speeds up the product by removing calls to PR_Sleep() in favor of PR_WaitForEvent().
...
This really rocks. r=valeski, a=jar.
1999-12-15 04:49:55 +00:00
dp%netscape.com
10aaba597e
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-12-01 00:21:53 +00:00
dp%netscape.com
4ad2a038c2
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-11-30 23:44:59 +00:00
dougt%netscape.com
67b387409f
Fix for 18078. R=mstoltz,warren
1999-11-30 00:14:55 +00:00
warren%netscape.com
4ab4ee4d4e
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
jdunn%netscape.com
df18a3e659
newline required at eof for HPUX
1999-11-24 00:43:50 +00:00
waterson%netscape.com
76357226dd
Remove vestigial addref that was leaking proxy objects. r=dougt
1999-11-23 22:05:44 +00:00
dougt%netscape.com
4496a9fa7a
1) #ifdefing out dll entry points from nsProxyObjectManager which should not
...
be used
2) Fix crashing bug in nsProxiedService when a CI fails. Converted this to
use nsCOMPtrs
3) Fixing bug 18109. This involved changing what information about hash values
we use.
Tested FTP dir and file, and IMAP.
1999-11-23 08:53:44 +00:00
jdunn%netscape.com
d3a8bfa2a6
fixing HPUX 10.20's which was having problem with this definition since
...
it was creating an unresolved symbol "static_iid"
r= dougt@netscape.com
# 19021
1999-11-17 01:01:22 +00:00
scc%netscape.com
7c8b12f161
fixing build bustage. Further discussion is needed
1999-11-16 08:50:25 +00:00
dougt%netscape.com
c474a4c8ab
checking back in changes which were backed out. Added workaround to bug
...
which scc pointed out.
1999-11-16 07:44:18 +00:00