Commit Graph

698 Commits

Author SHA1 Message Date
Hessam Salehi
2bda7efc98 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Vladan Djeric
3f47c98434 Bug 735829. Report PDB filename in chrome hang reports. r=ehsan 2012-03-19 19:05:25 -04:00
Landry Breuil
20513ab95d Bug 735422: Don't use shared-libraries.h and SharedLibraryInfo structs where SPS is not enabled; r=ehsan 2012-03-14 22:57:04 -04:00
Ehsan Akhgari
405bf0b4e6 Bug 733277 - Prevent firing timers from lock contention with the main thread; r=bsmedberg 2012-03-04 18:56:19 -05:00
Vladan Djeric
a6bb287122 Bug 712109 - Implement chrome hang reporting on profiling branch. r=ehsan 2012-03-12 07:07:05 -04:00
Masatoshi Kimura
651eabedd7 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Ed Morley
91422f00de Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
b40c031d6c Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Bobby Holley
afe65920bd Bug 716167 - Only push null contexts in XPConnect for main thread events, and remove infrastructure from bug 326777. r=bz 2012-01-14 10:31:16 -08:00
Bobby Holley
30d8ae4049 Bug 717498 - Clear nsThread::mEventObservers at thread shutdown. r=bsmedberg 2012-01-14 10:31:13 -08:00
Benjamin Smedberg
51e3a00405 Bug 675221 part A: replace XPCOM proxies with runanble for code in XPCOM itself, r=bz 2012-01-11 11:28:21 -05:00
Kyle Huey
b6336c1155 Bug 715162: Add missing nsTArray.h include. 2012-01-05 09:01:01 -05:00
Kyle Huey
46c19a64e1 Bug 715162: Move LazyIdleThread to xpcom/. r=bent
--HG--
rename : dom/indexedDB/LazyIdleThread.cpp => xpcom/threads/LazyIdleThread.cpp
rename : dom/indexedDB/LazyIdleThread.h => xpcom/threads/LazyIdleThread.h
2012-01-05 08:42:47 -05:00
Ms2ger
1015d69823 No bug - Remove stray semicolon in nsThread.cpp; rs=bsmedberg 2011-12-18 11:13:56 +01:00
Justin Lebar
bb1480e722 Bug 670967 - Part 1: Add mozilla::ScheduleMemoryPressureEvent(). r=bsmedberg
--HG--
extra : rebase_source : d1d8b245aa3b86ae434b0b2694d8781f25ad0683
2011-08-05 18:10:50 -04:00
Jeff Muizelaar
9317a91431 Bug 707800. Add more sampler labels. r=bgirard 2011-12-02 17:05:33 -05:00
Benjamin Smedberg
937e72e1de Add MOZ_CRASHREPORTER ifdefs to the patch for bug 429592. r=captain bustage
--HG--
extra : rebase_source : 52d8221942a9be96dc76a546fbfa4c573331c1bf
2011-11-04 15:13:58 -04:00
Benjamin Smedberg
da0a1b5773 Bug 429592 - Add a monitor thread for process hangs and crash by default if a chrome process doesn't end up back in the event loop for more than 30 seconds. By default this affects non-debug builds only. r=cjones/bent
--HG--
extra : rebase_source : 338bad7e999d5a3c928a7b24965461fc0ff06a19
2011-10-12 13:52:26 -04:00
Ed Morley
4163fb7744 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Gregory Szorc
1a1f7b30ae Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Michael Kraft
02131bfb79 Bug 325418. When a repeating timer at interval X is reinitialized for interval Y, the next firing after that is incorrectly after time X+Y. r=bzbarsky 2011-11-02 23:46:08 -04:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Matheus Kerschbaum
8a4cb927fd Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Chris Pearce
9fe588f07c Bug 664341 - Provide API to specify thread stack size. r=bsmedberg 2011-07-27 15:26:47 +12:00
Ben Turner
257389646e Bug 665579: Merge nsIThreadInternal and nsIThreadInternal2. r=bsmedberg 2011-06-24 14:12:54 -07:00
wfernandom2004@gmail.com
f9a7c9e4cf Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Ed Morley
33aac194a8 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Chris Jones
829f9a414c Bug 556214, part 4: TimerThread wants to be using non-reentrant Monitor. r=bz 2011-04-29 14:21:57 -05:00
Chris Jones
31aa2c4e77 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Boris Zbarsky
2d337f0522 Bug 650379. Add a new XPCOM timer type that is like TYPE_REPEATING_PRECISE but does not swamp the event queue if the callback takes longer than the timer interval to run. r=cjones, sr=brendan
This implements proposal 3 from bug 650379 comment 13.  The main difference
between TYPE_REPEATING_PRECISE and TYPE_REPEATING_PRECISE_CAN_SKIP is to not
AddTimer the REPEATING_PRECISE_CAN_SKIP timer until after the callback has run;
this guarantees that no more timer events will be posted until after the
callback finishes executing.  A secondary change is to make
REPEATING_PRECISE_CAN_SKIP timers advance their firing time to mDelay from when
PostTimerEvent is called, not mDelay from the old mTimeout.  While this arguably
makes them less precise, the alternative is that if a timer is significantly
delayed for some reason (e.g. because the user puts the computer to sleep for a
while) it will then fire a whole bunch of times to "catch up" to where it's
supposed to be, advancing its firing time by mDelay at a time.  That seems
undesirable.

An alternate approach would have been to readd the timer from inside
PostTimerEvent, but only if we're not in the middle of firing the timer. That
would allow more precise timers in the case when the callback is not taking too
long, but still handle gracefully the case when the callback is
slow. Unfortunately this falls down if something _else_ is hogging the main
thread event loop (e.g. some other timer has a slow callback, or whatever); in
that case we would post multiple events for the one precise timer while the
event-loop-hogging operation is running. So I don't think we should do that.
2011-04-28 19:33:52 -04:00
Serge Gautherie
031f194849 Bug 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h.
r=benjamin.
2011-04-14 12:47:41 +02:00
Matheus Kerschbaum
4eb6429f47 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
699024f868 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
L. David Baron
db6289bc0a Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
Justin Lebar
d5dcbf68a6 Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Mounir Lamouri
217cc05846 Bug 625042 - nsIWeakReferenceUtils.h should include nsIWeakReference.h. r=bsmedberg a=jst 2011-01-19 12:13:54 +01:00
timeless@mozdev.org
077eb0bfb4 Bug 607944 Canary fails to build with --disable-libxul (missing symbol XRE_GetProcessType)
r=cjones a=bsmedberg
2011-01-05 14:11:56 -08:00
Ben Turner
72ea70e7b6 Bug 612807 - 'IndexedDB: Transaction thread observer isn't quite safe'. r=jst, a=blocking+. 2010-11-18 14:19:19 -08:00
Robert Sayre
4945f654ff Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Benjamin Smedberg
ec247769d5 Bug 610381 part A - Propagate errors thrown during synchronous dispatch of nsIRunnables, r=bz
--HG--
extra : rebase_source : e445ee4db34c68fd9f9c8844f62d879708733eff
2010-11-17 15:58:48 -05:00
Robert Sayre
945bb866bf Merge mozilla-central to tracemonkey. 2010-11-16 07:25:10 -08:00
Ben Turner
7670250f20 Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst 2010-11-11 14:52:30 -08:00
Ben Turner
488481b966 Bug 608186 - 'IndexedDB: Transactions should expire when we return to the event loop'. r=sicking, a=blocking+ 2010-11-15 13:49:49 -08:00
Ben Turner
d4457d3cde Bug 609501 - Change nsIThreadManager for bug 580096. r=jst 2010-11-03 18:41:06 -07:00
Brad Lassey
04b1298636 bug 601268 - Add canary-in-the-mine instrumentation to detect when the browser process spends too long outside its main-thread event loop(s) r=cjones a=beltzner 2010-10-27 11:16:03 -04:00
Josh Aas
42b9381c9d Bug 599478: Fix incorrect exit code for unhandled signal termination in nsIProcess on Mac OS X. r=bsmedberg a=blocking2.0betaN+ 2010-10-25 16:57:18 -04:00
Ben Turner
3526db0dbf Bug 609501 - Change nsIThreadManager for bug 580096. r=jst 2010-11-03 18:41:06 -07:00
Alon Zakai
b2dc2b8d7b Bug 596373 - Timer thread sleeping for 0 time causes lots of wakeups. r=brendan a=blocking-fennec 2010-10-07 11:47:51 -07:00
Josh Aas
ec223ef03f Bug 602140: Make child processes created via nsIProcess inherit the parent environment on Mac OS X. r=bsmedberg a=blocking-b7 2010-10-06 12:22:36 -04:00
Josh Aas
e216293ec2 Bug 600711: Use 'posix_spawnp' for nsIProcess on Mac OS X. Prefer the current architecture when creating a new process. r=bsmedberg a=blocking-beta7 2010-10-01 09:01:04 -04:00
Jacek Caban
d6c13ab1b5 Bug 581036 - nsTimerImpl.cpp compilation fails on mingw.; r=bzbarsky approval2.0=benjamin 2010-07-22 12:00:26 -04:00
Boris Zbarsky
76b9b28798 Bug 558306 part 2. Switch XPCOM timers to TimeDuration/TimeStamp. r=cjones, sr=brendan 2010-07-15 09:59:24 -04:00
Boris Zbarsky
6a042ef8f4 Backing out rev b567a93a5086 (bug 558306) to fix test orange 2010-07-15 13:49:28 -04:00
Boris Zbarsky
25be38b901 Bug 558306 part 2. Switch XPCOM timers to TimeDuration/TimeStamp. r=cjones, sr=brendan 2010-07-15 09:59:24 -04:00
Saint Wesonga
4bd9280674 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
b2124655df Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8952503f91 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Benjamin Smedberg
a73308ef4b Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg
c611ebcd81 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Ehsan Akhgari
db9d404619 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Josh Matthews
06ff7498d9 Bug 540665 - Make nsIRunnable a function so JS can use it as such. r=benjamin
--HG--
extra : rebase_source : cadf70d8c68810167894c069fc73df01c5046b0a
2010-05-07 09:52:04 +02:00
Mitchell Field
f544d71a9d Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Mike Hommey
3e7bca959a Bug 543441 - Avoid a race condition induced crash when trying to nsProcess::Kill() a terminated process [r=dtownsend]
--HG--
extra : rebase_source : eb04335b397772058c2c272736afb5604b09e0af
2010-04-29 07:24:32 +00:00
Ben Newman
bd232d2cb8 Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Simon Montagu
719c7d651d Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg 2010-03-18 10:37:12 +02:00
Brad Lassey
8bdf8a0883 bug 551882 - Windows Mobile should use the the WINAPI process model r=bsmedberg 2010-03-12 20:56:06 -05:00
Benjamin Smedberg
3913348852 Followup to bug 541446 - nsIEnvironment.set will intentionally leak a string when you call it because that is required by the PR_SetEnv API. Make that string something which is not tracked by our leak detector
--HG--
extra : rebase_source : 2bdaf8d6ce3a8d093c107eeb9a4b2d4643ba0136
2010-02-10 12:57:46 -05:00
Benjamin Smedberg
80f60eef3f Bug 526586 - XULRunner crashes on startup on Windows r=bustage fix and at least agreement on the approach from dbaron 2009-11-09 14:30:01 -05:00
Benjamin Smedberg
9a7ff08a35 Make NS_IsMainThread faster on our major platforms. (Bug 521750) r=dbaron 2009-10-28 10:28:57 -07:00
Mitchell Field
41c8798093 Bug 514665 - fix stupid module name differences on windows. r=ted 2009-09-25 18:41:16 +02:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Nick Thomas
80a345edce Bug 503469, Support packaging WinCE Firefox builds as zip, complete.mar, r=ted.mielczarek 2009-08-11 15:50:32 +12:00
ben turner
abb2a26ac0 Bug 498010 - Threads should release their observers when they are shut down; r=benjamin 2009-06-22 15:08:04 +02:00
Boris Zbarsky
dbd6d652d5 Bug 497028. Make sure to have mRunningEvent still incremented when we call the runnable's destructor, since that can also do work. r=bsmedberg 2009-06-11 13:09:35 -04:00
Arpad Borsos
a56370e043 Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron 2009-05-26 10:53:15 +02:00
Dave Townsend
a6ed3ddf12 Bug 480427: Remove nsIProcess2 from trunk. r=bsmedberg 2009-04-16 16:46:10 +01:00
Arpad Borsos
4fc5b38c9d Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg 2009-04-03 18:43:08 +02:00
Ginn Chen
24d74529be Bug 480427 Fix bustage for Solaris 2009-03-27 13:49:22 +08:00
Dave Townsend
57eb50688d Bug 480427: Add a way to run a process in a background threadd. r=bsmedberg 2009-03-25 08:57:21 +00:00
Brad Lassey
692340119f bug 453185 - follow up, fixes wince build bustage r=bsmedberg 2009-03-18 12:35:48 -04:00
Dave Townsend
72f7b47ede Bug 453185: nsIProcess run fails with NS_ERROR_FILE_EXECUTION_FAILED when running an exe with a manifest that specifies requestedExecutionLevel level=requireAdministrator on Vista. r=bsmedberg 2009-03-18 11:00:20 +00:00
Dave Townsend
ea39c38934 Bug 483626: nsIProcess.isRunning doesn't fail correctly and should be boolean. r=bsmedberg 2009-03-18 10:59:32 +00:00
James Boston
ebb622ed2b Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg 2009-03-09 12:47:39 -04:00
James Boston
c5833538ac Back out patch for bug 442393. 2009-03-06 16:42:07 -06:00
James Boston
f5c5d126cf Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg 2009-03-06 16:19:09 -06:00
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
darin%meer.net
a3a42ca4f6 fixes bug 234620 "Unknown random SEGV/seg fault/core dumps/crashes, only thing on is Mail/IMAP" r=dbaron sr=bienvenu 2004-11-04 02:34:11 +00:00
mkaply%us.ibm.com
27cb040fd1 OS/2 build bustage - don't ask 2004-10-25 20:45:17 +00:00
jst%mozilla.jstenback.com
f2355ab868 Fixing problem where mExitValue is unconditionally -1 on the mac after running a process. No bug. r+sr=dbaron@dbaron.org, a=asa@mozilla.org 2004-10-22 23:55:56 +00:00
jst%mozilla.jstenback.com
11bc8f51a4 Fixing bug 263429. Making nsProcessCommon::Run() work on Mac OS X. r=peterv@propagandism.org, sr=dveditz@cruzio.com 2004-10-12 05:31:37 +00:00
brendan%mozilla.org
122f471531 Retract last change, it's wrong -- thanks again to lcook@sybase.com. 2004-09-22 02:37:49 +00:00
brendan%mozilla.org
2b2ca27201 Followup to last checkin (252324, r+sr=bz). 2004-09-22 01:04:33 +00:00
brendan%mozilla.org
5c46d927b8 Patch from Larry Cook <lcook@sybase.com> to fix long-delay timer queue order bug (252324, r+sr=me). 2004-09-21 01:11:47 +00:00
timeless%mozdev.org
663fe88b47 Fixing nondebug mAddr is a debug paranoia thing. 2004-09-10 06:02:07 +00:00
timeless%mozdev.org
8aeaa98ae9 Bug 252733 ###!!! ASSERTION: Potential deadlock between Monitor@12f0a8 and Monitor@0: 'Error', file r:/mozilla/xpcom/threads/nsAutoLock.cpp, line 299
Ignore null monitors - they aren't real and xpconnect promises not to enter them so you can't possibly reach a deadlock involving them.
r=brendan sr=brendan
2004-09-10 05:13:38 +00:00
bsmedberg%covad.net
9815f3c616 bug 257188 - check initialization of nsThread patch by CTho <cst@andrew.cmu.edu> r=dougt 2004-08-28 20:11:15 +00:00
timeless%mozdev.org
5dccbf31f6 Bug 256615 crash when calling nsIThread.state before calling nsIThread.init [@ PR_GetThreadState]
patch by cst@andrew.cmu.edu r=dougt
2004-08-26 12:31:56 +00:00
mkaply%us.ibm.com
bb3f6c6fcd #247962
r=pedemonte, sr=blizzard (platform specific)
Remove DLL_InitTerm from NSPR - move it to Mozilla code
2004-08-20 15:03:00 +00:00
darin%meer.net
4bc648307b fixes bug 243151 "Bogus assertion: nsThread::kIThreadSelfIndex != 0" r=timeless,wtc 2004-05-11 18:33:32 +00:00
bsmedberg%covad.net
fbe50a0568 Allow XPCOM to be restarted. r+sr=darin with grudging consent from dougt. Bug 239819 2004-05-11 09:38:50 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net
c083b41820 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
mkaply%us.ibm.com
924a50bdeb #237183
r=mkaply, sr=blizzard (platform specific), a=mkaply
OS/2 only - add support for exception handler to NSPR so we can catch floating point exceptions
2004-03-25 20:29:15 +00:00
darin%meer.net
c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
timeless%mozdev.org
f2fd2d0e42 Bug 235035 change nsIRunnable.Run to nsIRunnable.run
r=dougt sr=darin
2004-02-20 21:34:57 +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
neil%parkwaycc.co.uk
e7f26bd617 Windows bustage fix - nsresult should have been NS_METHOD 2004-01-23 11:04:20 +00:00
neil%parkwaycc.co.uk
19a8ab3904 Bug 227500 Provide scriptable environment access p=bsmedberg,gisburn r/sr=dougt 2004-01-23 10:23:12 +00:00
bryner%brianryner.com
0c7c3a2ff3 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +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
pinkerton%netscape.com
fdc2d7dc32 don't process timers after wakeup (r=sfraser, sr=bryner, bug 197863) 2003-10-31 02:31:13 +00:00
timeless%mozdev.org
7f3690d97d Bug 106386 Correct misspellings in source code
patch by ajvincent@juno.com r=darin sr=darin
2003-10-30 19:27:47 +00:00
darin%meer.net
cbcb460359 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky 2003-10-09 01:54:07 +00:00
darin%meer.net
7a85e4d69a fixes bug 221331 "nsAutoLock: bogus deadlock warning if unlock/lock are used." patch=brendan r+sr=darin 2003-10-08 03:37:17 +00:00
darin%meer.net
77642ae698 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
mkaply%us.ibm.com
6485807366 #215581
r=mkaply, sr=blizzard (platform specific)
Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes
Also remove some VACPP references
2003-09-15 22:02:35 +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
brendan%mozilla.org
e5276da2fb Fix Timer re-init to drop any old references (215163, sr=dbaron, r?pavlov). 2003-08-06 00:37:43 +00:00
danm-moz%comcast.net
579f5d88fb debug only: warn when stacks of event queues get surprisingly deep. should speed future attempts to debug problems like bug 206947. r=brendan 2003-08-05 00:01:20 +00:00
timeless%mozdev.org
14fd47f872 Bug 204407 cleanup warnings in nsToolkit.cpp and plevent.c
patch by sergei_d@fi.tartu.ee r=timeless sr=bz
2003-06-15 04:06:04 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
dougt%meer.net
365d3d936e Lazy allocation of PLEvent's lock and condvar r=darin, b=204962 2003-05-23 22:26:38 +00:00
timeless%mozdev.org
b20cd43140 Bug 205608 Warning: C++ style comments are not allowed in ISO C89
r=jst sr=jst
2003-05-23 22:18:18 +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
alecf%netscape.com
6c75920da1 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser 2003-04-04 15:10:37 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
brendan%mozilla.org
2c79ef45ce White-space, bracing, and 80th column style fixes, r=self. 2003-03-25 01:38:53 +00:00
mkaply%us.ibm.com
8c2397b9ac #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:26:41 +00:00
cls%seawood.org
040b1e64c2 Remove bogus mingw & win16 ifdefs from plevent.h
Add stub declaration for _mbstr which isn't defined in the current mingw headers but is present in the libs.
Fix GRE definition of XPCOM_DLL for mingw.
Bug #134113 r=dougt
2003-03-12 08:35:57 +00:00
timeless%mozdev.org
dc76dfa0c6 Bug 190800 PL_CreateNativeEventQueue, PL_CreateMonitoredEventQueue should take const char*
r=dougt sr=roc+moz
2003-02-24 17:43:22 +00:00
mkaply%us.ibm.com
e6feaaaa72 #194225
r=dougt, sr=blizzard, a=asa
OS/2 only - crash in helpers - destroy window, don't send a close message
2003-02-21 14:52:06 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
darin%netscape.com
2347ef8985 new files for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 01:27:53 +00:00
mkaply%us.ibm.com
49d0a2a002 OS/2 version of 119693 - thanks doug 2003-01-15 20:42:05 +00:00
timeless%mozdev.org
005bbbf98e Fixing the comment for bug 119693. r=dougt 2003-01-15 19:35:28 +00:00
dougt%netscape.com
e1413085ab Fixing topcrash. r=darin@netscape.com, sr=jst@netscape.com, b=119693 2003-01-14 23:50:01 +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
cbiesinger%web.de
df5da70844 187309 r=dougt sr=bzbarsky convert out param of nsIProcess::Run to a return value 2003-01-02 21:00:31 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
ccarlen%netscape.com
4b4e0bbc8e Bug 44678 - On Mac, use a custom Carbon event to signal that the PLEvent queue needs to be processed. r=sdagley/sr=sfraser 2002-12-19 15:25:57 +00:00
brendan%mozilla.org
fe81ae2252 Implement support for re-initializing timers (even one-shots), and doc-comment
on how timers may be canceled, re-initialized, and canceled-then-re-initialized
in nsITimer.idl (181961, r=pavlov, sr=alecf).  This helps client code conserve
instances, saving on cycles and malloc/component-manager froth.
2002-12-04 00:57:20 +00:00
bzbarsky%mit.edu
8632dcd97b Fix assertion from out-of-bounds array access. Bug 175440, r=timeless, sr=alecf 2002-11-09 17:43:33 +00:00
dougt%netscape.com
bffa9d4af1 175932. UMR: PostTimerEvent() does not check return value from GetPRThread(). Thanks to Andrew Schultz for pointing this out. r=pavlov, sr=darin. Also includes 175440 - using nsCOMArray in nsThreadPool, patch by bzbarsky@mit.edu 2002-11-08 04:46:58 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00