mark%moxienet.com
b03f0316c3
340032 nsIThreadObserver needs a method called after processing an event to support Cocoa autorelease pools. r=darin sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@199172 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 00:06:11 +00:00
darin%meer.net
d93c71d2e1
Tidy up nsThreadManager::Shutdown per suggestion from roc (see bug 326273)
...
git-svn-id: svn://10.0.0.236/trunk@196286 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 01:24:57 +00:00
darin%meer.net
7198dc6224
fix vc6 bustage
...
git-svn-id: svn://10.0.0.236/trunk@196267 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 19:02:05 +00:00
darin%meer.net
be109f58b3
fixing uninitialized variable error in TimerThread::Init.
...
git-svn-id: svn://10.0.0.236/trunk@196266 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 18:30:57 +00:00
darin%meer.net
ee1fd28464
fix AIX bustage
...
git-svn-id: svn://10.0.0.236/trunk@196263 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 18:13:20 +00:00
darin%meer.net
8ace42165d
fixing btek build bustage. making destructor public so it can be called
...
from a static destructor :(
git-svn-id: svn://10.0.0.236/trunk@196262 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 18:05:38 +00:00
darin%meer.net
3fbd9c42bf
removing empty file (b=326273)
...
git-svn-id: svn://10.0.0.236/trunk@196257 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:33:01 +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
benjamin%smedbergs.us
fdd88894d5
Bug 331012 - topcrash on exit [@timerthread::updatefilter] - r=darin
...
git-svn-id: svn://10.0.0.236/trunk@192697 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-21 14:46:35 +00:00
dougt%meer.net
b1bcf2f41e
Cleaning up PR_GetEnv() usage. b=306840. r=timeless, patch by serge gautherie
...
git-svn-id: svn://10.0.0.236/trunk@192601 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-19 02:52:30 +00:00
masayuki%d-toybox.com
bbdc339af8
Bug 179056 "Check for new message every" stops after hibernate. patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=emaijala+sfraser, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@191035 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 17:02:45 +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
dbaron%dbaron.org
ea56e835a3
Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
dbaron%dbaron.org
80fa9406c3
Fix bad advice in comment on how to use PL_InitEvent. b=305278 r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@184521 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-12 21:11:33 +00:00
bsmedberg%covad.net
0217e2f9a9
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
112c33275c
Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree.
...
git-svn-id: svn://10.0.0.236/trunk@184304 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 18:17:49 +00:00
bzbarsky%mit.edu
f09cef7db6
Make timers a little safer to use from JS. Bug 304669, patch by Giorgio Maone
...
<g.maone@informaction.com>, r=dougt, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@183373 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:46:37 +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
timeless%mozdev.org
c3dbe0577a
Bug 310487 thread leak
...
patch by colin@theblakes.com r=timeless sr=darin
git-svn-id: svn://10.0.0.236/trunk@181321 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 20:46:14 +00:00
bsmedberg%covad.net
221a40f564
Bug 307168 - Use the XPCOM (NS_COM) declarations for plevent symbols, instead of the NSPR declarations, since NSPR has different configure tests and compile flags r=darin
...
git-svn-id: svn://10.0.0.236/trunk@180304 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 18:29:21 +00:00
timeless%mozdev.org
74bc96ce3c
Bug 308404 Access violation [@ ntdll!RtlDeleteCriticalSection+0x0000000f]
...
r=darin sr=darin
git-svn-id: svn://10.0.0.236/trunk@180221 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 18:18:43 +00:00
dougt%meer.net
8c4e2f1dda
WinCE only. ShellExecute is now in the shunt lib, so I can remove a WINCE #define. Also, for process creation WinCE uses NSPR like a good child.... i wonder why the other platforms don't as well.
...
git-svn-id: svn://10.0.0.236/trunk@179552 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 18:00:23 +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
dougt%meer.net
95ffcc4390
Disabling USE_TIMER on windows ce. posting directly to the message queue seams to be far more effective. a=asa. WINCE only change
...
git-svn-id: svn://10.0.0.236/trunk@176599 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 04:22:11 +00:00
joshmoz%gmail.com
269946319d
part 2 of landing for bug 282940. actually make the switch to CFRunLoop. a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174958 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 21:04:37 +00:00
joshmoz%gmail.com
fa3ae13981
part 1 of landing for bug 282940 (move FF and TB to CFRunLoop) - simply clean up old Mac OS classic code. a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174954 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 20:43:11 +00:00
timeless%mozdev.org
733f8a76f0
Bug 296506 [@ nsThread::Main]
...
change Init to handle alloc failures and refuse multiple concurrent runs of a thread instance
r=dougt a=asa
git-svn-id: svn://10.0.0.236/trunk@174283 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 07:33:39 +00:00
bryner%brianryner.com
189a661d09
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
timeless%mozdev.org
b6d91eeb64
Bug 291988 build warnings in plevent.c
...
patch by bugzilla@gemal.dk r=alecf sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@172862 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 06:09:42 +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
bsmedberg%covad.net
06d0e4ec39
Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end.
...
git-svn-id: svn://10.0.0.236/trunk@171465 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:22:57 +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
c8afb22653
fixes bug 279852 "nsWeakReference not threadsafe assertions due to TimerThread::Init" r=sfraser sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@170623 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-14 06:37:01 +00:00
timeless%mozdev.org
4d92426c5c
Bug 283429 javascript undefined object -> crash in nsIProcess::Init
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@169774 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 18:41:50 +00:00
darin%meer.net
2f1d8a824a
s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@169576 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 22:21:21 +00:00
darin%meer.net
7204732945
build the header file!!
...
git-svn-id: svn://10.0.0.236/trunk@169570 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 21:08:46 +00:00
darin%meer.net
55f157bc26
fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@169569 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 20:58:01 +00:00
dougt%meer.net
09ab5f265d
bug 282031. [BEOS] Our nsToolkit::CallMethod is broken. r=sergei_d, sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@169498 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 18:41:33 +00:00
dougt%meer.net
e01d005842
bug 280245. WinCE build and support changes. r=darin
...
git-svn-id: svn://10.0.0.236/trunk@168534 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-30 21:33:47 +00:00
timeless%mozdev.org
36a1b039c2
Bug 270107 nsProcess::Run is broken
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@167721 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 11:52:09 +00:00
smfr%smfr.org
18292db1bf
Commit the CFRunLoop patch from bug 271050 for plevent handling. This uses a CFRunLoopSource to process plevents from the applications's main event loop. r=pinkerton.
...
git-svn-id: svn://10.0.0.236/trunk@167234 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 02:02:01 +00:00
smfr%smfr.org
89386980d1
More experimentation with plevent handling for Camino (only affects cocoa toolkit), replacing the CFRunLoop patch with the CFMessagePort patch for performance comparison.
...
git-svn-id: svn://10.0.0.236/trunk@167091 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-29 16:40:41 +00:00
smfr%smfr.org
c77cb30c5d
Checking in CFRunLoop patch in bug 271050 to test pageload performance in Camino. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@167088 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-29 06:07:31 +00:00
cbiesinger%web.de
cccb00e2c1
Bug 274281 [BeOS] BeOS lets events stay in port through the 'restarts' in LaunchChild causing crashes on faulty events.
...
patch by tqh <thesuckiestemail@yahoo.se> r=sergei_d sr=shaver (for the xpcom/ part)
git-svn-id: svn://10.0.0.236/trunk@167059 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-28 13:56:17 +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
jst%mozilla.jstenback.com
c067c7a538
Fixing bug 273961. Don't execute unix process creation code on windows. r+sr=darin@meer.net
...
git-svn-id: svn://10.0.0.236/trunk@166526 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-10 01:06:37 +00:00
bsmedberg%covad.net
4c08900f0e
Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
...
git-svn-id: svn://10.0.0.236/trunk@166497 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 19:28:35 +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
jst%mozilla.jstenback.com
4ad2aecd2d
Fixing bugstage.
...
git-svn-id: svn://10.0.0.236/trunk@165279 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 20:48:45 +00:00
jst%mozilla.jstenback.com
690b60d4d3
Fixing bug 267269. Make nsIProcess::Run() use NSPR code for running the process if arguments are passed. r=pinkerton@aol.net, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@165273 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 19:42:26 +00:00