benjamin%smedbergs.us
500517011a
Bug 350132 - Deadlock in JS/XPCOM proxy, r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@232231 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 20:51:50 +00:00
jwalden%mit.edu
dda6ff3c99
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
benjamin%smedbergs.us
221098d707
Bug 337492 - Fix destructor race condition in proxy events, initial patch by Alex Fritze, with additional comments by me, r=me+dbaron
...
git-svn-id: svn://10.0.0.236/trunk@227010 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 11:18:18 +00:00
benjamin%smedbergs.us
e6f5a47e35
Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher
...
git-svn-id: svn://10.0.0.236/trunk@215468 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 17:03:38 +00:00
benjamin%smedbergs.us
ea38317460
Backout xptcall because linux tboxes are stupid, I think.
...
git-svn-id: svn://10.0.0.236/trunk@215369 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 20:17:24 +00:00
benjamin%smedbergs.us
d7078cf86a
Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher
...
git-svn-id: svn://10.0.0.236/trunk@215364 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:29:33 +00:00
benjamin%smedbergs.us
266c1b01a4
Bug 344623 - leaks caused by incorrect refcounting in bug 342311, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@203130 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 18:28:00 +00:00
benjamin%smedbergs.us
e6c830d952
Bug 344652 - Synchronous proxy operations always return NS_OK, patch by Neil Rashbrook, r=me sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@203017 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 20:04:05 +00:00
benjamin%smedbergs.us
f496ae1be3
Warning fix for Bug 342311 - xpcom/proxy refactoring
...
git-svn-id: svn://10.0.0.236/trunk@202216 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 14:32:09 +00:00
benjamin%smedbergs.us
5e98b75364
Bug 342311 - xpcom/proxy refactoring, in preparation for xptcall rework, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@202029 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 15:51:03 +00:00
darin%meer.net
c6462b5272
fixes bug 337492 "xpcom proxies may release proxied object on random threads" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@198691 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 23:07:13 +00:00
darin%meer.net
f0d82ccaaa
backing out patch for bug 337492 to fix tinderbox orange
...
git-svn-id: svn://10.0.0.236/trunk@196704 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 21:42:52 +00:00
darin%meer.net
0982ec70c6
Attempting to fix nye tinderbox bustage.
...
git-svn-id: svn://10.0.0.236/trunk@196703 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 21:14:45 +00:00
darin%meer.net
c8912b7c4e
fixes bug 337492 "xpcom proxies may release proxied object on random threads" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@196698 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 20:17:36 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cbiesinger%web.de
3f5e168b85
bug 323412 get the event queue service outside of the proxy locks
...
patch by Matthew Gertner <matthew@allpeers.com> r=dougt
git-svn-id: svn://10.0.0.236/trunk@188392 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 15:46:11 +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
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
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
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
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
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
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
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
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
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
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
dougt%netscape.com
07084b32e8
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
git-svn-id: svn://10.0.0.236/trunk@75719 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:50:25 +00:00
dougt%netscape.com
bf15c34b53
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.
git-svn-id: svn://10.0.0.236/trunk@73129 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:03:10 +00:00
pavlov%netscape.com
a271419de6
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
...
git-svn-id: svn://10.0.0.236/trunk@71554 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:53:25 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
warren%netscape.com
d100457780
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
dougt%netscape.com
a7629baafd
Remove double hash lookup.
...
Added extra add ref to cache
r=jband (submitted by him)
git-svn-id: svn://10.0.0.236/trunk@60213 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 08:08:20 +00:00
dougt%netscape.com
d405faed9a
Fix for bug 26420. r=scc@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@59805 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:14:27 +00:00
dougt%netscape.com
4d98215217
changing flags from DEBUG_dougt to DEBUG_xpcom_proxy.
...
r=dveditz
git-svn-id: svn://10.0.0.236/trunk@59125 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:51:00 +00:00
dougt%netscape.com
43916a6230
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.
git-svn-id: svn://10.0.0.236/trunk@57484 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 01:26:11 +00:00
sspitzer%netscape.com
f7440a0d0d
fix warnings.
...
git-svn-id: svn://10.0.0.236/trunk@56570 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:37:29 +00:00
dp%netscape.com
694b0720be
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@54828 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:21:53 +00:00
dougt%netscape.com
587185d7ca
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.
git-svn-id: svn://10.0.0.236/trunk@54267 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 08:53:44 +00:00
dougt%netscape.com
ff6b97fb15
checking back in changes which were backed out. Added workaround to bug
...
which scc pointed out.
git-svn-id: svn://10.0.0.236/trunk@53643 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 07:44:18 +00:00
scc%netscape.com
731d3896e8
backing it out until doug and I can resolve the types issues
...
git-svn-id: svn://10.0.0.236/trunk@52975 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 00:27:05 +00:00
scc%netscape.com
e8d7bbbd9e
dougt's changes from earlier in the week. He was unable to leave them
...
in at that time because he didn't have my |nsCOMPtr| fixes. Those went
in last night. So, on brendans suggestion, I'm reinstating dougt's
previous checkin.
git-svn-id: svn://10.0.0.236/trunk@52972 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-08 22:58:14 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
dougt%netscape.com
1cf333f618
Backing out changes due to nsCOMPtr build problems.
...
git-svn-id: svn://10.0.0.236/trunk@52840 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 03:32:33 +00:00
dougt%netscape.com
8d74ce705f
Changed ownership module inside xpcom/proxy to remove cached objects passed their owner's lifespan.
...
Removed out of band callback in xpcom/proxy
Fixed webshell leak due to xpcom/proxy. (17009)
Just about everything is now a comptr, god save us. :-)
r=jband, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@52836 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 02:21:46 +00:00
dougt%netscape.com
c10be2aa21
1) Change ownership model internally. (17009)
...
2) Fixed IMAP password dialog problems by adding a PR_SLEEP() in
nested event loop.
3) Now using a pushed event loop.
r=valeski, mscott.
git-svn-id: svn://10.0.0.236/trunk@51862 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 19:30:50 +00:00