Commit Graph

154 Commits

Author SHA1 Message Date
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