Commit Graph

457 Commits

Author SHA1 Message Date
Nickolay_Ponomarev
e729d0aede Bug 472258 - Reinitializing one-shot timers by resetting delay (->SetDelay) doesn't work anymore - fix callers; r+sr=bzbarsky 2009-02-03 15:42:21 +01:00
Brad Lassey
b1850969b0 Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function nsCommonProcess changes. relanding after backout. r=bsmedberg 2008-12-11 11:50:24 -08:00
Gavin Sharp
7fa38c80c4 backout changeset ce8fbd7d222e from bug 455381 to fix windows unit test bustage 2008-12-03 18:49:54 -05:00
Brad Lassey
d08b2bd837 Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function nsCommonProcess changes r=bsmedberg 2008-12-03 08:41:12 -05:00
Dave Townsend
3212e47122 Bug 461594: Interfaces changed without iid updates. r=josh, r=jst 2008-10-31 10:31:43 +00:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Ben Turner
74913f8b31 Bug 449885 - "Threadpool calls shutdown on its threads twice when shutdown called on the threadpool". r=bsmedberg. 2008-08-14 12:04:31 -07:00
Ben Turner
1601d2a0ac Bug 443874 - "Need a hook for thread creation and destruction in thread pool." r=bsmedberg, jst. Test shouldn't hang now. 2008-08-11 17:01:47 -07:00
Ben Turner
f22212f0a9 Bug 445828 - "Trying to re-init a TYPE_REPEATING_SLACK timer causes it to be added to timer thread twice". r=brendan. 2008-08-08 12:15:05 -07:00
Dave Townsend
a8377f4246 Backout of bug 443874: Need a hook for thread creation and destruction in thread pool
Removes the following changesets:
01e24ad20f35
ebf77231b06e
f4b859edddd2
22201dfdb1f3
f8762f56712f
2c6f51bf3bed
c8ac37904c16
2008-07-25 10:21:04 -04:00
Ben Turner
48e706a64e Bug 443874 - "Need a hook for thread creation and destruction in thread pool". Forgot to bump the uuid of nsIThreadPool. 2008-07-24 11:55:23 -07:00
Ben Turner
b4b173d212 Bug 443877 - "Need a way to point timers at a different event target". r=bsmedberg. 2008-07-24 10:20:33 -07:00
Ben Turner
7950ffdb7c Bug 443874 - "Need a hook for thread creation and destruction in thread pool". r=bsmedberg. 2008-07-24 10:18:57 -07:00
mozilla.BenB@bucksch.org
40151e2e47 Make nsITimerCallback a [function], to allow JS to pass a function object instead of this interface Bug 430305 r/sr/a=shaver 2008-04-23 10:42:58 -07:00
reed@reedloden.com
b7588b43ad Bug 422472 - "Lock re-entrance in TimerThread, deadlock" [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=bsmedberg sr=brendan a1.9=damons] 2008-03-14 09:25:14 -07:00
thunder@mozilla.com
c776e8a29b Bug 421751: make nsIProcess.run() not open any console windows on Windows. r=dougt, sr=mconnor, a=damons 2008-03-12 14:03:08 -07:00
blassey@mozilla.com
6cc9d5a4ed backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com
ff89c4a3fb switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
jwalden@mit.edu
2b823be5c5 Bug 420521 - Leaking nsThread and nsTimerImpl running full set of Mochitests. This fixes the last refcounted leak on OS X Mochitests! Zounds! r=brendan, sr=dbaron, a=blocker 2008-03-10 14:05:46 -07:00
blassey@mozilla.com
81d841c1fc backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com
dfd26f92ec switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
Olli.Pettay@helsinki.fi
22dc5c4af2 bug 380454, r=benjamin, sr=sicking 2008-02-21 04:47:26 -08:00
Olli.Pettay@helsinki.fi
d7832061bb Back out Bug 380454 2008-02-19 05:47:15 -08:00
Olli.Pettay@helsinki.fi
dc1dd6ad65 Bug 380454, r=benjamin, sr=sicking 2008-02-19 05:06:22 -08:00
vladimir@pobox.com
15e811c57a b=417115, animated image causes recursion during shutdown ; r=stuart 2008-02-13 22:51:06 -08:00
peterv@propagandism.org
624db2f135 Fix for bug 413281 (Firefox leaks when Yahoo Toolbar is installed). r=stuart, sr=sicking. 2008-01-24 07:18:14 -08:00
sayrer@gmail.com
a1689acc79 Bug 407201. Not dropping references for one shot timers on Fire. r/sr=bzbarsky 2008-01-22 21:20:14 -08:00
roc+@cs.cmu.edu
16fb24b0d4 Bug 404870. Don't allow nsThread::PutEvent to succeed when the thread is no longer able to process the event. This stops us leaking the event and anything hanging off it. r+sr=bsmedberg 2007-12-04 18:17:15 -08:00
sayrer@gmail.com
1e3ed80af6 Bug 401137. Silence ASSERTION: RefreshURIList timer callbacks should only be RefreshTimer objects. Docshell expects to be able to getCallback during a Timer fire. r=bzbarsky, sr=brendan, a=mconnor 2007-10-30 08:56:59 -07:00
sayrer@gmail.com
c3df88ea3b Bug 330128. Calling cancel() on a timer doesn't drop ref to the callback. r=brendan, sr=bzbarsky, a=beltzner 2007-10-24 12:11:41 -07:00
benjamin@smedbergs.us
6a7efe8e13 Bug 383553 - Crash on quit in nsTimerImpl::Release, r=dbaron sr=brendan 2007-08-09 11:37:02 -07:00
bzbarsky@mit.edu
611a83d517 Try to fix orange: sGlobalObserver can get set during event processing, not
just unset.  Bug 326777
2007-07-10 20:01:56 -07:00
bzbarsky@mit.edu
3b90c5c518 Relanding bug 326777, r=bsmedberg, sr=jst 2007-07-10 17:57:17 -07:00
bzbarsky@mit.edu
b35a654a6e Backing out to fix red 2007-07-09 21:07:45 -07:00
bzbarsky@mit.edu
30e205dddb Make sure that we push a null JSContext on the current thread's XPConnect stack
before processing events.  Bug 326777, r=bsmedberg, sr=jst
2007-07-09 20:48:06 -07:00
jwalden@mit.edu
6d7584839a 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. 2007-07-08 00:08:04 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
bzbarsky%mit.edu
a4d181a6ee No need to enter the monitor in our destructor. Bug 371374 followup, r+sr=darin 2007-02-28 02:28:53 +00:00
bzbarsky%mit.edu
236305bd4c Fix leak when using XPCOM proxies. Bug 371374, patch by Bas Schouten
<bas.schouten@joost.com>, r=bsmedberg, sr=bzbarsky
2007-02-23 17:38:45 +00:00
bent.mozilla%gmail.com
76b4881f9a Bug 366619 - "Move nsAutoLock and nsAutoMonitor to the glue". nsAutoLock.cpp and nsAutoLock.h were moved from xpcom/threads, see there for CVS history. r=bsmedberg. 2007-01-12 20:55:53 +00:00
graydon%mozilla.com
9d9858d348 Bug 333078: XPCOM cycle collector, first performance-related followup patch.
Reorganizes collection throttling to coincide with existing JS_GC scheme.
2007-01-05 01:44:42 +00:00
graydon%mozilla.com
4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
vladimir%pobox.com
82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com
3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
redfive%acm.org
6d59aea94b bug 357426 add static ctor/dtor PRLock methods via nsAutoLock ala. nsAutoMonitor
r=brendan
sr=jst
2006-10-27 00:57:14 +00:00
timeless%mozdev.org
a8b8af80f9 Bug 353280 nsThread::PushEventQueue leaks queue if !queue->IsInitialized (nsEventQueue::nsEventQueue() : mMonitor(nsAutoMonitor::NewMonitor("xpcom.eventqueue")) fails)
patch by darin r=timeless
2006-10-16 08:02:37 +00:00
timeless%mozdev.org
6ef4bd247e Bug 342671 Leaking process information handle in nsProcessCommon.cpp
patch by David.R.Gardiner@gmail.com r=timeless r=dougt
2006-09-22 07:43:07 +00:00
martijn.martijn%gmail.com
584a33c71c Bug 323195 - XPCAutoUnlock messes with detection of potential deadlocks, patch by Matthew Gertner, r=brendan 2006-07-29 14:45:09 +00:00
darin%meer.net
8d68c36a7f fixes bug 343731 "###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file ../../dist/include/xpcom/nsCOMPtr.h, line 594" r=biesi 2006-07-06 18:46:31 +00:00
darin%meer.net
0f94d8ab55 fixes bug 333167 "remove idle timer / timer manager after bug 326273 is fixed" r=pavlov 2006-06-29 00:01:58 +00:00
mark%moxienet.com
a6b04ae8c0 340032 nsIThreadObserver needs a method called after processing an event to support Cocoa autorelease pools. r=darin sr=bryner 2006-06-07 00:06:11 +00:00
darin%meer.net
bc46644aa6 Tidy up nsThreadManager::Shutdown per suggestion from roc (see bug 326273) 2006-05-11 01:24:57 +00:00
darin%meer.net
7321e2791d fix vc6 bustage 2006-05-10 19:02:05 +00:00
darin%meer.net
d892c6c2e4 fixing uninitialized variable error in TimerThread::Init. 2006-05-10 18:30:57 +00:00
darin%meer.net
12f9fa579b fix AIX bustage 2006-05-10 18:13:20 +00:00
darin%meer.net
b6261df5f9 fixing btek build bustage. making destructor public so it can be called
from a static destructor :(
2006-05-10 18:05:38 +00:00
darin%meer.net
f2da6ac0a8 removing empty file (b=326273) 2006-05-10 17:33:01 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
benjamin%smedbergs.us
ba60317b99 Bug 331012 - topcrash on exit [@timerthread::updatefilter] - r=darin 2006-03-21 14:46:35 +00:00
dougt%meer.net
db0f13d809 Cleaning up PR_GetEnv() usage. b=306840. r=timeless, patch by serge gautherie 2006-03-19 02:52:30 +00:00
masayuki%d-toybox.com
235a905cfd Bug 179056 "Check for new message every" stops after hibernate. patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=emaijala+sfraser, sr=roc 2006-02-23 17:02:45 +00:00
bsmedberg%covad.net
3530da7ba8 Bug 319999 - XPCOM Shutdown: xpcom-shutdown-threads notification and cleanup of event queues before component manager shutdown, r=darin 2006-01-17 15:41:40 +00:00
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
dbaron%dbaron.org
733cdc896c Fix bad advice in comment on how to use PL_InitEvent. b=305278 r=dougt 2005-11-12 21:11:33 +00:00
bsmedberg%covad.net
78f6d0683d 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 2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
a7253270ad 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. 2005-11-08 18:17:49 +00:00
bzbarsky%mit.edu
2d00bdfe52 Make timers a little safer to use from JS. Bug 304669, patch by Giorgio Maone
<g.maone@informaction.com>, r=dougt, sr=dbaron
2005-11-02 00:46:37 +00:00
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
timeless%mozdev.org
a360ba5dbe Bug 310487 thread leak
patch by colin@theblakes.com r=timeless sr=darin
2005-09-30 20:46:14 +00:00
bsmedberg%covad.net
3c7a35a01a 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 2005-09-15 18:29:21 +00:00
timeless%mozdev.org
cba483b7cf Bug 308404 Access violation [@ ntdll!RtlDeleteCriticalSection+0x0000000f]
r=darin sr=darin
2005-09-14 18:18:43 +00:00
dougt%meer.net
e93cdcb4c3 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. 2005-09-02 18:00:23 +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
dougt%meer.net
ca0a6271cf Disabling USE_TIMER on windows ce. posting directly to the message queue seams to be far more effective. a=asa. WINCE only change 2005-07-26 04:22:11 +00:00
joshmoz%gmail.com
d956266ed3 part 2 of landing for bug 282940. actually make the switch to CFRunLoop. a=asa 2005-06-21 21:04:37 +00:00
joshmoz%gmail.com
591c83e548 part 1 of landing for bug 282940 (move FF and TB to CFRunLoop) - simply clean up old Mac OS classic code. a=asa 2005-06-21 20:43:11 +00:00
timeless%mozdev.org
093b867173 Bug 296506 [@ nsThread::Main]
change Init to handle alloc failures and refuse multiple concurrent runs of a thread instance
r=dougt a=asa
2005-06-08 07:33:39 +00:00
bryner%brianryner.com
aed69207f0 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. 2005-05-04 20:22:32 +00:00
timeless%mozdev.org
1951c0342f Bug 291988 build warnings in plevent.c
patch by bugzilla@gemal.dk r=alecf sr=darin a=asa
2005-04-29 06:09:42 +00:00
bzbarsky%mit.edu
c5cc24631e Fix revokeEvents to reliably revoke them. Bug 284389, r=darin, sr=dbaron,
a=asa
2005-04-15 03:17:13 +00:00
bsmedberg%covad.net
beadf6cd74 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. 2005-04-01 18:22:57 +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
darin%meer.net
c1e055bc88 fixes bug 279852 "nsWeakReference not threadsafe assertions due to TimerThread::Init" r=sfraser sr=bryner 2005-03-14 06:37:01 +00:00
timeless%mozdev.org
b4253dd8a0 Bug 283429 javascript undefined object -> crash in nsIProcess::Init
r=dougt
2005-02-24 18:41:50 +00:00
darin%meer.net
bdb13852d9 s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan 2005-02-21 22:21:21 +00:00
darin%meer.net
e3d2934492 build the header file!! 2005-02-21 21:08:46 +00:00
darin%meer.net
ea421f6654 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky 2005-02-21 20:58:01 +00:00
dougt%meer.net
55e79c16fa bug 282031. [BEOS] Our nsToolkit::CallMethod is broken. r=sergei_d, sr=dougt 2005-02-19 18:41:33 +00:00
dougt%meer.net
55eb21a1ac bug 280245. WinCE build and support changes. r=darin 2005-01-30 21:33:47 +00:00
timeless%mozdev.org
96c96dbcd6 Bug 270107 nsProcess::Run is broken
r=dougt
2005-01-14 11:52:09 +00:00
smfr%smfr.org
821468a25c 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. 2005-01-04 02:02:01 +00:00
smfr%smfr.org
25284d84cd More experimentation with plevent handling for Camino (only affects cocoa toolkit), replacing the CFRunLoop patch with the CFMessagePort patch for performance comparison. 2004-12-29 16:40:41 +00:00
smfr%smfr.org
726a1a4b01 Checking in CFRunLoop patch in bug 271050 to test pageload performance in Camino. r=pinkerton 2004-12-29 06:07:31 +00:00
cbiesinger%web.de
47d7110411 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)
2004-12-28 13:56:17 +00:00
darin%meer.net
c3a3b5f4fc fixes bug 273819 "ASSERTION: Native event queues should only be used on the main thread" r=danm, sr=bienvenu 2004-12-17 19:47:06 +00:00
jst%mozilla.jstenback.com
29a91b0229 Fixing bug 273961. Don't execute unix process creation code on windows. r+sr=darin@meer.net 2004-12-10 01:06:37 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
darin%meer.net
fb4ede0f57 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
2004-11-19 19:06:58 +00:00
jst%mozilla.jstenback.com
6d2f6721eb Fixing bugstage. 2004-11-11 20:48:45 +00:00
jst%mozilla.jstenback.com
c89c3224a3 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 2004-11-11 19:42:26 +00:00