Commit Graph

47 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
f7daaee487 Backing out fix for bug 303484 since it exposed some other issues and doesn't fix any known crashers. 2005-10-18 01:41:11 +00:00
roc+%cs.cmu.edu
8106f0cc5f Bug 303484. Limit the nesting of modal event loops so we avoid overflowing the C++ stack. r+sr=brendan,a=asa 2005-08-16 20:59:39 +00:00
brendan%mozilla.org
215e2f67cb Propagate failure when we can't make a queue (287846, r=dougt, sr=darin). 2005-03-29 22:31:14 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bzbarsky%mit.edu
6d6ba3ce56 Make three changes:
1)  Use GetWeak() on the queue hashtable where possible
2)  Fix what looks like a bug in CreateEventQueue (passing wrong thread
    to MakeNewQueue).
3)  Fix what looks like a bug in PushThreadEventQueue (looking at the original
    queue for the thread rather than the youngest one).

Bug 230092, r=danm, sr=darin
2004-01-28 23:13:48 +00:00
bzbarsky%mit.edu
385b61a598 Get rid of another nsSupportsHashtable user, moving closer to "no raw addrefed
returns" nirvana.  Bug 230092, r=bsmedberg, sr=darin
2004-01-10 02:00:40 +00:00
brendan%mozilla.org
15af3ac60c Avoid deadlock by exiting monitor before processing pending events, when popping (200006, r=danm, sr=darin, a=blizzard). 2003-12-03 23:53:22 +00:00
mkaply%us.ibm.com
37d80e2139 #215457
r=dougt, sr=bryner, a=dbaron
Patch v2 - do event queue creation lazily
2003-08-15 13:59:39 +00:00
timeless%mozdev.org
68cf15b0df Bug 200424 nsEventQueueServiceImpl::GetThreadEventQueue might return NS_OK w/ null out [@ nsMemoryImpl::FlushMemory]
r=darin
2003-04-04 15:56:37 +00:00
dbaron%dbaron.org
b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
gerv%gerv.net
a6d4accdea Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
darin%netscape.com
d645b6c31c fixes bug 135547 "make event queues more robust"
r=danm sr=rpotts,brendan
2002-04-11 00:16:04 +00:00
darin%netscape.com
9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dmose%mozilla.org
0a3c12b78b Fix for bug 61692: IDLify nsIEventQueue and nsIEventQueueService. This makes it possible to create an nsISupports proxy for calling across threads in languages other than C++ (eg JS). r=dougt@netscape.com, r=jband@netscape.com, sr=brendan@mozilla.org 2000-12-08 04:30:36 +00:00
warren%netscape.com
84b5fd67e3 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
mkaply%us.ibm.com
ed15a3c3c0 # 37239
r = danm, a = brendan
OS/2 bring-up - VisualAge needs a cast - using NS_STATIC_CAST per danm
2000-06-08 14:18:07 +00:00
pavlov%netscape.com
6d72d15bf9 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
c0497e31be 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
danm%netscape.com
155b1b253e add API to EventQueueService for creating a monitored event queue. part of bug 25979. r=dougt r=jar 2000-03-04 03:17:01 +00:00
danm%netscape.com
70a674879d just immortalizing some debugging gunk i recently found useful. hidden completely behind ifdefs normally opaque. 2000-02-12 00:27:57 +00:00
dougt%netscape.com
d887958ad4 fix for 22943. removing xp-mac specific code from xp interface, enabling asserts
on the mac. r= sdagley
2000-01-06 20:08:14 +00:00
dougt%netscape.com
bfc6760bd6 Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt. 2000-01-06 19:46:44 +00:00
dp%netscape.com
e2bc0e3623 Removing usage of nsComponentManager.h r=selmer 1999-12-08 01:59:32 +00:00
dougt%netscape.com
c031e1c389 Fix for 18078. R=mstoltz,warren 1999-11-30 00:14:55 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
danm%netscape.com
d9cffd60b6 instead of using the thread hashtable's enumerator while processing events (a Mac-specific habit), build and use a parallel linked list structure. hashtable and list want unification someday. fixes bug 16551. r:brendan@netscape.com 1999-11-03 05:30:49 +00:00
danm%netscape.com
7fc86226d9 added CreateFromIThread. r:valeski@netscape.com 1999-10-19 19:18:27 +00:00
danm%netscape.com
588868b60c event queues own and delete themselves when they're done. bug 15856 r:hyatt@netscape.com 1999-10-18 14:59:57 +00:00
scc%netscape.com
68340a37ef 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 1999-08-23 10:14:16 +00:00
scc%netscape.com
f79508bc68 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
bruce%cybersight.com
288da9f9ef Fix usage of kISupportsIID so that my next checkin won't hork the tree. 1999-05-29 16:22:36 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
sspitzer%netscape.com
b2cb4ec80d check for existence before NS_ADDREFing.
this was causing a crash in smtpTest, pop3Test and nntpTest, where we
weren't registering the EventQueue component.

also, make these destructors virtual.
1999-05-07 00:09:46 +00:00
sspitzer%netscape.com
bc476bdf98 check for existance before dereferencing 1999-05-06 00:24:45 +00:00
hyatt%netscape.com
73333ee036 Committing the changes to support the new nsIEventQueue interface and
nested queues in the event queue service.
1999-05-04 23:35:47 +00:00
davidm%netscape.com
7d31b1f4dc Added code to allow mac process the event queues 1999-04-12 22:47:48 +00:00
rpotts%netscape.com
2de3a1dc1e fix for crash in bug #2991... We still need to figure out why the EventQueue is not being returned properly on the Mac. 1999-03-19 05:54:17 +00:00
leaf%mozilla.org
4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
ramiro%netscape.com
eb2ce0674f Use the macro on all platforms. Thanks to pierre for helping me make sure
it doesnt break the mac.  I verified that it works on unix and windows.
1999-03-09 19:19:02 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
ramiro%netscape.com
8a849f863a Templates in nsXPComFactory exorcism. Part I.
Replaced the template code with a NS_DEF_FACTORY.
This is temporary.  As soon as I can verify this works on windows and
mac, ill remove the old code.
1999-03-08 09:44:16 +00:00
rpotts%netscape.com
d4127b40fa overhaul of the EventQueue service... 1999-01-10 08:12:01 +00:00
rpotts%netscape.com
d24a5c8c3d On windows call PL_InitializeEventsLib(...) until the new PL_event apis are available... 1999-01-05 09:44:28 +00:00
rpotts%netscape.com
2e0ca1df56 On windows only, ignore the eventQ kept by the eventQ service... Until the event Q is created with PL_CreateNativeEventQueue(...) only the main event Q can be used... 1999-01-05 05:43:53 +00:00
rpotts%netscape.com
ea08a6a9d0 This is the implementation of the EventQueue service... 1999-01-04 08:50:10 +00:00