Chris Peterson
c8295d4247
Bug 839962 - Part 1: Replace some XPCOM refcount NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 20:50:05 -08:00
Nicholas Nethercote
16e75efa9f
Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron.
2012-12-20 21:31:57 -08:00
Gabriele Svelto
b9602a0925
Bug 814771 - Add a cancelable runnable and use it to cancel a pending memory minimization procedure when an application is brought to the foreground r=jlebar
2012-12-11 19:13:29 +01:00
Theo Chevalier
f62b7f2d35
Bug 699806 - Enable Telemetry by default on Nightly and Aurora channels (Desktop), r=mak77
2012-12-08 18:41:23 +01:00
Bas Schouten
6a7b3d219c
Bug 816117 - Part 1: Add the ability to pass around a windows Thread Context to StackWalkMain64. r=ehsan
2012-12-08 06:15:21 +01:00
Rafael Ávila de Espíndola
785eb3f43f
Bug 808699 - Change the wire format for hang reports. r=vladan.
2012-11-20 09:45:14 -05:00
Brian R. Bondy
26451f3838
Bug 795887 - Mirror existing sleep notification handling with process suspend notification handling. r=bsmedberg
2012-11-09 10:34:10 -05:00
Nathan Froyd
f9b2a74082
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Ehsan Akhgari
78b2656cbc
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
03be701616
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Makoto Kato
944c777b7e
Bug 803476 - RunProcess may leak memory if ShellExecuteEx is failure. r=bsmedberg
2012-10-24 13:46:52 +09:00
Olli Pettay
f060a0ba42
Bug 780770, nsThread::SetMainThreadObserver, r=bz+bholley
2012-10-24 01:26:36 +03:00
Abhishek Potnis
8ad6e4b4f3
Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan
2012-10-20 07:31:43 +05:30
Trevor Saunders
e2db6e1941
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Jacek Caban
c006d4a323
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (xpcom/threads part) r=ehsan
...
--HG--
extra : rebase_source : 177a5faf91a90016807060293743cde13001a88c
2012-10-04 10:30:03 +02:00
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Isaac Aggrey
84680bfb39
Bug 789847 - Remove PR_CALLBACK usage from tree
2012-09-25 11:18:38 -05:00
Ehsan Akhgari
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Rafael Ávila de Espíndola
7ab935bae1
Bug 783154 - Refactor the chrome hang code to use the same class as write poisoning. r=taras,benwa,vladan.
...
--HG--
extra : rebase_source : 1f43ac88ceabc698ba0a58715562db90af1c266f
2012-08-21 17:14:38 -04:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Honza Bambas
d1ae768c4a
Bug 774243 - [Linux] Process name changes to RunProcess, r=benjamin
2012-07-31 20:59:18 +02:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jason Duell
1bce30f3fc
Bug 778296 (previous commit was empty!) - Add comment about thread-safety to nsITimer DONTBUILD. r=bz
2012-07-27 13:58:00 -07:00
Ehsan Akhgari
d8fd5d3bfa
Switch HangMonitor.cpp to use Unix line endings (no bug; DONTBUILD)
2012-07-10 19:12:40 -04:00
Vladan Djeric
ddb17230f9
Bug 772643: Don't allocate memory in hang monitor while a thread is suspended. r=ehsan
2012-07-10 18:32:58 -04:00
Ehsan Akhgari
965e48aeaf
Bug 772518 - Remove nsThread::mShutdownPending because it is unused; r=bsmedberg
2012-07-10 16:12:41 -04:00
Benoit Girard
adc71ae1dd
Bug 766579 - Part 1: Add SP param to NS_StackWalk. r=dbaron
...
--HG--
extra : rebase_source : dd4905ffadf5fe9327449fffdfbc665b05d74a6a
2012-06-27 16:08:21 -04:00
Vladan Djeric
13b1cf5c8b
Bug 763124: Lower chrome hang detector's hang threshold to 5 seconds. r=ehsan
2012-06-20 19:20:24 -04:00
Ehsan Akhgari
bcc9fdc523
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (remaining XPCOM parts); r=bsmedberg
...
--HG--
extra : rebase_source : 578d3ab1fefa2f2268069790a6a75db4580991b2
2012-06-12 23:08:53 -04:00
Ehsan Akhgari
b5161f97b8
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg
2012-06-05 19:51:58 -04:00
Honza Bambas
f29e1ac591
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Brian R. Bondy
1053e27a45
Bug 759449 - Change UI lag telemetry to an EXPONENTIAL histogram. r=taras
2012-05-30 13:25:09 -04:00
Brian R. Bondy
225162afab
Bug 710935 - Measure lag in handling user input. r=bsmedberg
2012-05-25 09:22:19 -04:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Matt Brubeck
f08ab73a53
Back out c209fea124e1 (bug 754198) because of Win64 build failure
2012-05-11 13:23:49 -07:00
Fabrice Desré
fe66918d12
Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg]
2012-05-11 12:34:24 -07:00
Nicholas Nethercote
76a872e30a
Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz.
2012-04-19 14:15:23 +10:00
Serge Gautherie
cb2df952ec
Bug 740769. (Bv1) Convert test_bug325418.js file to LF end-of-lines, Fix nsITimer.idl documentation. r=bzbarsky.
...
DONTBUILD.
2012-04-10 04:32:19 +02:00
Veeraya Pupatwibul
26e9a6a204
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Benjamin Smedberg
697455b3b3
Bug 719154, remove the implementation of chained and filtered event queues now that they are no longer needed, r=jlebar
...
--HG--
extra : rebase_source : 54e3f130dfaf59e67974019e39bf85471b22b4bf
2012-03-23 14:45:41 -04:00
Hessam Salehi
7d69570885
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Vladan Djeric
9343cd86e7
Bug 735829. Report PDB filename in chrome hang reports. r=ehsan
2012-03-19 19:05:25 -04:00
Landry Breuil
f91d1cc11b
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
0c0326c247
Bug 733277 - Prevent firing timers from lock contention with the main thread; r=bsmedberg
2012-03-04 18:56:19 -05:00
Vladan Djeric
31d77b0c5e
Bug 712109 - Implement chrome hang reporting on profiling branch. r=ehsan
2012-03-12 07:07:05 -04:00
Masatoshi Kimura
8cea90b046
Bug 699247 - Remove Win2K related code. r=jimm, sr=neil
2012-02-23 08:53:55 -06:00
Ed Morley
ada565efab
Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression
2012-02-08 21:04:21 +00:00
Masatoshi Kimura
09012b6e7c
Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil
2012-02-08 10:00:45 -06:00
Bobby Holley
0300fb6368
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
3695ee3b7a
Bug 717498 - Clear nsThread::mEventObservers at thread shutdown. r=bsmedberg
2012-01-14 10:31:13 -08:00
Benjamin Smedberg
77d71967a7
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
45e306a8f3
Bug 715162: Add missing nsTArray.h include.
2012-01-05 09:01:01 -05:00
Kyle Huey
c0ec2bddbd
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
d4a4358734
No bug - Remove stray semicolon in nsThread.cpp; rs=bsmedberg
2011-12-18 11:13:56 +01:00
Justin Lebar
5ec4d2eddd
Bug 670967 - Part 1: Add mozilla::ScheduleMemoryPressureEvent(). r=bsmedberg
...
--HG--
extra : rebase_source : d1d8b245aa3b86ae434b0b2694d8781f25ad0683
2011-08-05 18:10:50 -04:00
Jeff Muizelaar
d812d1d6ce
Bug 707800. Add more sampler labels. r=bgirard
2011-12-02 17:05:33 -05:00
Benjamin Smedberg
d814d5293f
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
33df32463a
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
fddedbce14
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Gregory Szorc
de5e3e4887
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Michael Kraft
b7875a3db5
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
2a602a5685
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
b7753477cf
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
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
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
d8e503c38b
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
887ff1b97a
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Chris Pearce
3683db2819
Bug 664341 - Provide API to specify thread stack size. r=bsmedberg
2011-07-27 15:26:47 +12:00
Ben Turner
02f459f359
Bug 665579: Merge nsIThreadInternal and nsIThreadInternal2. r=bsmedberg
2011-06-24 14:12:54 -07:00
wfernandom2004@gmail.com
5963fbfd3b
Bug 338583, implement EventSource, r=smaug,Ms2ger
...
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Ed Morley
aa86759d37
Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg
2011-05-01 20:59:24 +02:00
Chris Jones
6f947aec19
Bug 556214, part 4: TimerThread wants to be using non-reentrant Monitor. r=bz
2011-04-29 14:21:57 -05:00
Chris Jones
ed22df8f64
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
dd94d998a3
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
7653666d53
Bug 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h.
...
r=benjamin.
2011-04-14 12:47:41 +02:00
Matheus Kerschbaum
93480c6366
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)
0bb511a3d7
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
a75fb12531
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)
cc8b4c9c6c
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
b2e59587e8
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
7e2c5ae50d
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
e89c5d6486
Bug 625042 - nsIWeakReferenceUtils.h should include nsIWeakReference.h. r=bsmedberg a=jst
2011-01-19 12:13:54 +01:00
timeless@mozdev.org
454b199d40
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
06f05e75ce
Bug 612807 - 'IndexedDB: Transaction thread observer isn't quite safe'. r=jst, a=blocking+.
2010-11-18 14:19:19 -08:00
Robert Sayre
2d10c1480d
Merge tracemonkey to mozilla-centra. a=blockers.
2010-11-17 13:55:14 -08:00
Benjamin Smedberg
51c8b615be
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
f8d70b12f4
Merge mozilla-central to tracemonkey.
2010-11-16 07:25:10 -08:00
Ben Turner
fca93ac512
Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst
2010-11-11 14:52:30 -08:00
Ben Turner
801c52fd90
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
816c8d40c4
Bug 609501 - Change nsIThreadManager for bug 580096. r=jst
2010-11-03 18:41:06 -07:00
Brad Lassey
8ae1373c7b
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
9298c75766
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
827956ea78
Bug 609501 - Change nsIThreadManager for bug 580096. r=jst
2010-11-03 18:41:06 -07:00
Alon Zakai
e23ded09ec
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
0008acb034
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
311e10e9c9
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
ed70e9fa4b
Bug 581036 - nsTimerImpl.cpp compilation fails on mingw.; r=bzbarsky approval2.0=benjamin
2010-07-22 12:00:26 -04:00
Boris Zbarsky
5e5e0fd66f
Bug 558306 part 2. Switch XPCOM timers to TimeDuration/TimeStamp. r=cjones, sr=brendan
2010-07-15 09:59:24 -04:00
Boris Zbarsky
6dfb868228
Backing out rev b567a93a5086 (bug 558306) to fix test orange
2010-07-15 13:49:28 -04:00
Boris Zbarsky
cfffdefb40
Bug 558306 part 2. Switch XPCOM timers to TimeDuration/TimeStamp. r=cjones, sr=brendan
2010-07-15 09:59:24 -04:00
Saint Wesonga
e7a357dcaf
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Benjamin Smedberg
202aa47626
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
9045c05660
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
a87b134220
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Josh Matthews
0407707bdc
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
9818f00bf2
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
26856f4648
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
941ed3332c
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
16606db5c5
Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg
2010-03-18 10:37:12 +02:00
Brad Lassey
8a554159e8
bug 551882 - Windows Mobile should use the the WINAPI process model r=bsmedberg
2010-03-12 20:56:06 -05:00
Benjamin Smedberg
2dfa353c0b
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
43b1c28f44
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
7d138d4786
Make NS_IsMainThread faster on our major platforms. (Bug 521750) r=dbaron
2009-10-28 10:28:57 -07:00
Mitchell Field
eb31b31d25
Bug 514665 - fix stupid module name differences on windows. r=ted
2009-09-25 18:41:16 +02:00
Benjamin Smedberg
2e9438fd2f
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
0a334199c2
Bug 503469, Support packaging WinCE Firefox builds as zip, complete.mar, r=ted.mielczarek
2009-08-11 15:50:32 +12:00
ben turner
9bf84de2e4
Bug 498010 - Threads should release their observers when they are shut down; r=benjamin
2009-06-22 15:08:04 +02:00
Boris Zbarsky
ecd783a395
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
589f71c968
Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron
2009-05-26 10:53:15 +02:00
Dave Townsend
5aacfd970c
Bug 480427: Remove nsIProcess2 from trunk. r=bsmedberg
2009-04-16 16:46:10 +01:00
Arpad Borsos
e79293b2c0
Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg
2009-04-03 18:43:08 +02:00
Ginn Chen
46e9efd836
Bug 480427 Fix bustage for Solaris
2009-03-27 13:49:22 +08:00
Dave Townsend
3b5be23309
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
0eb00c2ca7
bug 453185 - follow up, fixes wince build bustage r=bsmedberg
2009-03-18 12:35:48 -04:00
Dave Townsend
4eacb936e1
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
2956b59007
Bug 483626: nsIProcess.isRunning doesn't fail correctly and should be boolean. r=bsmedberg
2009-03-18 10:59:32 +00:00
James Boston
091cdf56f0
Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg
2009-03-09 12:47:39 -04:00
James Boston
11d164cec0
Back out patch for bug 442393.
2009-03-06 16:42:07 -06:00
James Boston
9742fc6f99
Improve nsIProcess, fix nsIProcess.kill(). b=442393 r=bsmedberg
2009-03-06 16:19:09 -06:00
Nickolay_Ponomarev
1820b09634
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
54cfb1894f
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
23c1b2d6fe
backout changeset ce8fbd7d222e from bug 455381 to fix windows unit test bustage
2008-12-03 18:49:54 -05:00
Brad Lassey
286dc1da9e
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
719a03bd19
Bug 461594: Interfaces changed without iid updates. r=josh, r=jst
2008-10-31 10:31:43 +00:00
Arpad Borsos
8b11d938d2
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
fd62775c3a
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
9c28406278
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
017866e617
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
d979d4da91
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
f7bdef7d4a
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
42fd53c413
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
591253915b
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
6868cb30a4
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
9530eb4c39
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
1bc8391f85
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