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
bsmedberg%covad.net
307bdb2267
Bug 319999 - XPCOM Shutdown: xpcom-shutdown-threads notification and cleanup of event queues before component manager shutdown, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@187710 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-17 15:41:40 +00:00
roc+%cs.cmu.edu
e766708159
Backing out fix for bug 303484 since it exposed some other issues and doesn't fix any known crashers.
...
git-svn-id: svn://10.0.0.236/trunk@182432 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 01:41:11 +00:00
roc+%cs.cmu.edu
57bffe2488
Bug 303484. Limit the nesting of modal event loops so we avoid overflowing the C++ stack. r+sr=brendan,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@177889 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 21:03:12 +00:00
bzbarsky%mit.edu
ca0e40385d
Fix revokeEvents to reliably revoke them. Bug 284389, r=darin, sr=dbaron,
...
a=asa
git-svn-id: svn://10.0.0.236/trunk@172263 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 03:17:13 +00:00
brendan%mozilla.org
2d36e9f6ea
Propagate failure when we can't make a queue (287846, r=dougt, sr=darin).
...
git-svn-id: svn://10.0.0.236/trunk@171340 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 22:31:14 +00:00
darin%meer.net
2b63405c0c
fixes bug 273819 "ASSERTION: Native event queues should only be used on the main thread" r=danm, sr=bienvenu
...
git-svn-id: svn://10.0.0.236/trunk@166818 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 19:47:06 +00:00
darin%meer.net
28bb2981af
alternate fix for bug 234620 "Unknown random SEGV/seg fault/core dumps/crashes, only thing on is Mail/IMAP"
...
in an attempt to avoid crash bug 269585, r=dbaron sr=bienvenu a=asa
git-svn-id: svn://10.0.0.236/trunk@165518 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 19:06:58 +00:00
darin%meer.net
30b0a61317
fixes bug 234620 "Unknown random SEGV/seg fault/core dumps/crashes, only thing on is Mail/IMAP" r=dbaron sr=bienvenu
...
git-svn-id: svn://10.0.0.236/trunk@164904 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 02:34: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
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
danm-moz%comcast.net
64b4daa656
debug only: warn when stacks of event queues get surprisingly deep. should speed future attempts to debug problems like bug 206947. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@145575 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 00:01:20 +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
darin%netscape.com
fd0ff3aab6
fixes bug 135547 "make event queues more robust"
...
r=danm sr=rpotts,brendan
git-svn-id: svn://10.0.0.236/trunk@118682 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:16:04 +00:00
bryner%netscape.com
90dc0703c8
Fixing crash dismissing dialogs on linux (bug 134070). r=dougt, sr=darin, a=asa & adt.
...
git-svn-id: svn://10.0.0.236/trunk@118304 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 23:42:35 +00:00
dbaron%fas.harvard.edu
13b5500ba3
Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
...
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
dougt%netscape.com
fa2d0b7e98
99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dougt%netscape.com
cf60fc042e
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
...
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +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
51b17b5bf0
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dougt%netscape.com
27efadd782
Adding a new method that will allow caller to check if there pending events in the elder queue. r=sfraser@netscape.com, danm@netscape.com, b=76075
...
git-svn-id: svn://10.0.0.236/trunk@93112 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 05:28:43 +00:00
danm%netscape.com
9fd692eed2
RevokeEvents now walks the chain to elder queues. bug 65243 r=buster,kmcclusk,pavlov
...
git-svn-id: svn://10.0.0.236/trunk@85315 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 23:01:03 +00:00
rayw%netscape.com
d9228441a4
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@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +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
scc%netscape.com
28db414fa4
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@64827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:02 +00:00
rickg%netscape.com
5ac964af00
removed reference to nsString2
...
git-svn-id: svn://10.0.0.236/trunk@64195 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:06:01 +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
danm%netscape.com
b048c0396e
add API to EventQueueService for creating a monitored event queue. part of bug 25979. r=dougt r=jar
...
git-svn-id: svn://10.0.0.236/trunk@62207 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 03:17:01 +00:00
danm%netscape.com
6231954eab
just immortalizing some debugging gunk i recently found useful. hidden completely behind ifdefs normally opaque.
...
git-svn-id: svn://10.0.0.236/trunk@60544 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 00:27:57 +00:00
dougt%netscape.com
a05ea03df6
Fix for bug 26732. r=danm. event queue need to be able to init a plevent
...
git-svn-id: svn://10.0.0.236/trunk@60181 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 02:28:51 +00:00
dougt%netscape.com
f21187a4e6
fix for 22943. removing xp-mac specific code from xp interface, enabling asserts
...
on the mac. r= sdagley
git-svn-id: svn://10.0.0.236/trunk@56985 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:08:14 +00:00
dougt%netscape.com
85bb9d5b20
Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt.
...
git-svn-id: svn://10.0.0.236/trunk@56975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 19:46:44 +00:00
sspitzer%netscape.com
3823830445
turn off assertions until dougt fixes #22943 . r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@56699 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 00:14:37 +00:00
dougt%netscape.com
a5052c7d8c
Adding back the assert since I fixed the problem in the GTK appshell.
...
git-svn-id: svn://10.0.0.236/trunk@56241 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 23:12:18 +00:00
sspitzer%netscape.com
8ab190c77c
make it so dougt's assertions only happen for him.
...
there is no reason the whole world should see a billion printfs.
git-svn-id: svn://10.0.0.236/trunk@56195 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 10:17:09 +00:00
valeski%netscape.com
77f1824c47
21723. a=chofmann, r=rpotts. Laying ground work for FTP checkin. This fixes an oppressive event queue api method. We weren't returning the event to be processed. subsequently the event was being lost. There are currently *no* users of this method in the tree.
...
git-svn-id: svn://10.0.0.236/trunk@55988 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:06:17 +00:00
dougt%netscape.com
8efe8bcc68
Added an assert and return so that eventQs only get
...
processed on the owning thread. This fixes at least
18005 and 17065. r=damn@netscape.com , a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@55941 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 23:05:31 +00:00
dougt%netscape.com
b023f23e6c
fix for bug 18114. Adding simple accessor to PL_WaitForEvent.
...
git-svn-id: svn://10.0.0.236/trunk@53655 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 16:04: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
danm%netscape.com
f98e5e2bc8
fixing obvious flaw in Unlink. r:waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@51252 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 08:35:04 +00:00
danm%netscape.com
855118ba4a
retire event queues even on Windows when they're no longer used. part of bug 15856. r:hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@51191 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:00:12 +00:00
danm%netscape.com
0b71323316
event queues own and delete themselves when they're done. bug 15856 r:hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@50986 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 14:59:57 +00:00
scc%netscape.com
56d5ad0b43
got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
...
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
dougt%netscape.com
5fa77fef77
Adding IsQueueOnCurrentThread().
...
git-svn-id: svn://10.0.0.236/trunk@35163 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:20:33 +00:00
valeski%netscape.com
0f4e775451
added the HandleEvent method
...
git-svn-id: svn://10.0.0.236/trunk@33737 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 15:02:27 +00:00
dougt%netscape.com
9a2a180d5b
Adding a few more functions to nsIEventQueue.
...
Moving proxy to use nsIEventQueue instead of PLEvents direct.
git-svn-id: svn://10.0.0.236/trunk@33255 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 22:50:25 +00:00
dp%netscape.com
befa259a88
Landing xpcom20/21 branch.
...
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
hyatt%netscape.com
dd5410721e
Changed the arguments to PostSynchronousEvent. Added an EventLoop method.
...
git-svn-id: svn://10.0.0.236/trunk@30452 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:55:10 +00:00
hyatt%netscape.com
f0500e2390
Committing the changes to support the new nsIEventQueue interface and
...
nested queues in the event queue service.
git-svn-id: svn://10.0.0.236/trunk@30290 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:35:47 +00:00