Bobby Holley
a9b149e614
Bug 771074 - Introduce pointer wrapping mechanism for hold references to pointers off-main-thread. r=bsmedberg
2012-07-13 16:47:14 +02:00
Bobby Holley
7ad49e0b59
Backed out changeset 784d3448dfe3 (Bug 771074) for windows bustage. a=me
2012-07-13 15:10:40 +02:00
Bobby Holley
3fd5a14b76
Bug 771074 - Introduce pointer wrapping mechanism for hold references to pointers off-main-thread. r=bsmedberg
2012-07-13 14:54:45 +02:00
Bobby Holley
473b4a8aa9
Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv
2012-07-13 14:33:25 +02:00
Ryan VanderMeulen
7105546cd8
Merge the last PGO-green inbound changeset to m-c.
2012-07-12 20:46:27 -04:00
Benjamin Smedberg
5e47967333
Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
...
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
David Keeler
679f55960f
bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride
2012-07-11 08:56:34 -07:00
Aryeh Gregor
5b5fca0c94
Bug 771873 part 2 - Assert on addition overflow in nsTArray::RemoveElementsAt; r=bsmedberg
2012-07-09 11:13:23 +03:00
Honza Bambas
dc7e672f62
Bug 765158 - Remove naming of main thread, conflicts with process name on Linux, r=bsmedberg
2012-07-11 20:20:17 +02:00
Ehsan Akhgari
f18ffa5e86
Bug 772738 - Avoid "unused variable 'tmp'" warnings for empty CC traverse method implementations; r=smaug
2012-07-11 00:26:56 -04:00
Ryan VanderMeulen
d803ddbb37
Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange.
2012-07-10 19:21:54 -04: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
Honza Bambas
369fd5ef50
Bug 765158 - Remove naming of main thread, conflicts with process name on Linux, r=bsmedberg
2012-07-10 23:49:18 +02:00
Benoit Girard
e0ffcea8b4
Bug 766579 - Part 3: Follow up fix. r=dbaron
2012-07-10 17:39:10 -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
Jacek Caban
d620727817
Bug 769607 - dependentlibs.py depends on dumpbin r=glandium
2012-07-10 14:29:53 +02:00
Ehsan Akhgari
8e0eba9784
Bug 767479 - Handle the case of more than 1024 frames when walking the stack of another thread on Windows, and also use the infallible allocator when walking the stack of your own thread; r=dbaron
2012-06-22 16:31:59 -04:00
Ehsan Akhgari
1e3615f111
Bug 767488 - Cache the current process handle after reading it for the first time during stack walking; r=dbaron
...
The current process handle never changes, so it doesn't make a lot of sense
to read it over and over again. Note that this doesn't close the process
handle explicitly but that's fine, since Windows will release all of the
open handles when the application is terminated.
2012-06-22 17:48:31 -04:00
Vicamo Yang
556541f5f0
Bug 771048: fix typo in nsAutoRef::swap, r=khuey
2012-07-10 00:19:59 +08:00
Makoto Kato
92b7d43eb0
Bug 769533 - Part 2. get rid of AppendWithConversion. r=jlebar
2012-07-06 18:44:20 +09:00
Ryan VanderMeulen
a67fd2635a
Merge m-c to inbound.
2012-07-05 21:07:54 -04:00
Ryan VanderMeulen
6586d4fbe2
Merge the last PGO-green inbound changeset to m-c.
2012-07-05 20:26:55 -04:00
Ryan VanderMeulen
98414eb4cf
Merge the last PGO-green inbound changeset to m-c.
2012-07-05 20:15:12 -04:00
Jeff Muizelaar
eb40f02be7
Bug 771317. Fix comment about FASTCALL and inline functions. r=espindola
...
Calling convention does not make a difference on functions that are inlined,
but that feels obvious because no call is being made. Inline functions are not
necessarily inlined so this comment is somewhat misleading.
--HG--
extra : rebase_source : f634f18d1a6669147f53162a7bc0ab08b145cc43
2012-07-05 17:38:30 -04:00
Ehsan Akhgari
79b4ec6fdf
Merge mozilla-central into mozilla-inbound
2012-07-05 11:13:45 -04:00
Benoit Jacob
d5e77f32fc
Bug 754572 - add option to use fatal assertions in NS_CheckThreadSafe, use it in nsBaseScreen and nsScreenManagerAndroid - r=bsmedberg
2012-07-05 10:32:10 -04:00
Benoit Jacob
d494041006
Bug 754572 - let NS_CheckThreadSafe(x,y) be empty in XPCOM_GLUE case, as opposed to letting it evaluate to (x,y) - r=bz
2012-07-05 10:14:09 -04:00
Ehsan Akhgari
da951cf990
Backout changeset 34c8a2369cbc (bug 771266) because the fastcall annotation actually matters
2012-07-05 18:19:07 -04:00
Ehsan Akhgari
928bac3a6e
Bug 771266 - Part 2: Remove the fastcall annotation from ~nsCOMPtr_base, because it doesn't mean anything now that it's inline; irc-r=Neil
2012-07-05 16:26:59 -04:00
Mounir Lamouri
60cae3665d
Bug 767519 - Add NS_flooredModulo to nsMathUtils. r=bz
...
--HG--
extra : rebase_source : d16e5d8e94a50c1e3319d866e3aa27ae6160edd8
2012-07-05 16:18:37 +02:00
Ehsan Akhgari
64a248714a
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 (more xpcom and gonk parts); r=jrmuizel
2012-06-19 23:41:56 -04:00
Ehsan Akhgari
3b1342d2e3
Bug 771266 - Inline nsCOMPtr_base's destructor; r=jlebar
2012-07-05 15:12:13 -04:00
Rafael Ávila de Espíndola
7f776661b8
Bug 732173 - poison write during shutdown in a debug build. r=ted.
...
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Bill McCloskey
0dd01290a1
Bug 758034 - Clean up browser GC API (r=smaug)
2012-06-30 14:16:32 -07:00
Ms2ger
aae562ed57
Merge m-c to m-i.
2012-06-30 14:50:23 +02:00
L. David Baron
6c96fba7b3
Back out half of the previous patch for bug 709747, since the nsCOMPtr<nsISupports>::forget(nsISupports**) specialization is substantially different from nsCOMPtr<T>::forget(I**), and uses swap which already does the needed logging.
2012-06-29 22:50:45 -07:00
Kyle Huey
350524f82d
Bug 709747: Fix COMPtr logging for .forget(). r=dbaron
2012-06-29 10:10:31 -07:00
Bonnie Surender
6dcaba353f
Fixing bug 715041. Add support for Idle API. r=bent, jst
2012-06-29 01:32:21 -07:00
Vladan Djeric
80c654d7a5
Bug 763138: Telemetry should indicate whether a debugger is attached. r=bsmedberg,smichaud
2012-06-28 14:57:52 -04:00
Andrew McCreight
95a987d18a
Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug
2012-06-27 08:09:56 -07:00
Landry Breuil
0ddcce9080
Bug 767403 - also match readelf case on *.so.* to fix *BSDs. r=glandium
2012-06-26 22:48:57 +02:00
Bill McCloskey
782289afab
Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8)
2012-06-26 13:11:39 -07:00
Nicholas Nethercote
688fb0d230
Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence.
...
--HG--
extra : rebase_source : 492af75618c40eb2a92be2756f67db93834729cf
2012-06-25 17:08:59 -07:00
Jonathan Watt
9ac7bb2267
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
c91e7f86d0
Bug 765326 - atom-table numbers should include the static atom table; r=njn
2012-06-15 15:51:42 -04:00
Mike Hommey
ff3ca94566
Bug 767024 - Allow dependentlibs.py to work when cross-compiling for Android on OSX. r=khuey
2012-06-22 18:33:17 +02:00
Ehsan Akhgari
131b6da040
Bug 766349 - ClearOnShutdown_Internal::ShutdownObserver needs a virtual destructor; r=bsmedberg
2012-06-19 18:23:35 -04:00
Oleg Romashin
09c5bcc28a
Bug 767034 - xpcom/glue/arm.cpp:165: error: expected declaration before '}' token. r=derf
2012-06-21 13:01:22 -07:00
Gregor Wagner
07de917b7a
Bug 742626 - Allow indexedDB parent directory to not be the default profile directory. r=bent
2012-06-21 09:39:12 -07:00
Mike Hommey
ac3370af55
Bug 763893 - Generate dependentlibs.list from actual library dependencies. r=ted
2012-06-20 09:00:48 +02: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
Michael Wu
fdda8f2a36
Bug 764712 - Open files readonly when reading typelibs in xpt.py, r=khuey
2012-06-20 14:45:11 -04:00
Mike Hommey
e1f994d15f
Merge last PGO green changeset from mozilla-inbound to mozilla-central
2012-06-20 10:53:31 +02:00
Benjamin Smedberg
c15c4ed945
Bug 755724 Part C - Move ScopedAppData into the XPCOM glue, r=glandium
...
--HG--
rename : toolkit/xre/nsAppData.cpp => toolkit/xre/CreateAppData.cpp
rename : toolkit/xre/nsAppData.cpp => xpcom/glue/AppData.cpp
extra : rebase_source : 6223397345e77b00f14d93a1f188c042fc5f89ea
2012-06-08 08:41:30 -04:00
Mike Hommey
f600664217
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Makoto Kato
5288567090
Bug 763378 - arm detection should have correct define when -mfpu=neon on gcc or on MSVC. r=tterribe
2012-06-19 12:17:43 +09:00
Nathan Froyd
8587017464
Bug 765344 - xpti-working-set numbers should include xptiWorkingSet's hashtables; r=njn,jlebar
2012-06-18 20:10:08 -04:00
Jeff Walden
fb7e6c0e93
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Martin Stransky
ecf5be87bb
Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg
2012-06-16 18:05:00 +12:00
Mike Hommey
2536fb188a
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Ed Morley
9ef4312c8c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-15 13:32:55 +01:00
Mike Hommey
758b2fe3a0
Fixup for bug 616262 to avoid Windows PGO bustage. r=me
2012-06-15 10:49:53 +02:00
Mike Hommey
b1b7ef4283
Bug 764021 - Add Startup Timeline probe for when entering main(). r=taras,r=bsmedberg
2012-06-15 08:23:08 +02:00
Nathan Froyd
59ad436727
Bug 764985 - make memory reporter helper macros ever-so-slightly more efficient; r=njn
2012-06-14 16:29:00 -04:00
Mike Hommey
3acf5d646d
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Matt Brubeck
889af1a907
Merge last green changeset from inbound to mozilla-central
2012-06-13 13:23:54 -07:00
Honza Bambas
a588ade248
Bug 729182 - Followup - MPL2 headers, r=Ms2ger
2012-06-13 17:35:31 +02:00
Jim Mathies
f034deb55c
Bug 761279 - Temporary work around for a VS 2012 RC compiler crash in nsTArray's Init. r=bsmedberg
2012-06-13 08:37:24 -05:00
Nicholas Nethercote
51b1dd666a
Bug 760352 (part 2) - Treeify non-JS-compartment KIND_OTHER memory reports where appropriate. r=jlebar.
...
--HG--
extra : rebase_source : 886b3d40a8dc5f7092ed35ffe280814576ca021b
2012-06-11 20:32:26 -07:00
Nicholas Nethercote
d09087aa9d
Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar.
...
--HG--
extra : rebase_source : d28d117fbc2c91069222649741f5ef6b567b3e2a
2012-06-11 20:29:12 -07:00
Daniel Holbert
fde1b68d4c
Bug 765041: Reorder AutoEventTracer init list to fix GCC build warning. r=smaug
2012-06-14 15:26:04 -07: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
Andrew McCreight
9731294da3
Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug
2012-06-14 08:52:54 -07: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
c61b56c996
Bug 729182 - Implement visual event tracer, part1 - the core, r=benjamin+ehsan
2012-06-12 19:06:21 +02: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
Masatoshi Kimura
9cf60147b1
Bug 762758 - Implement underscore-escape in xpidl parser r=khuey
2012-06-12 22:01:06 +09:00
Andrew McCreight
9152e14841
Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent
2012-05-15 09:56:39 -07:00
Ed Morley
0e3d0e3d30
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-08 11:23:53 +01:00
Ehsan Akhgari
764d4a251d
Bug 737056 - Add some documentation on the mozilla::Version API; r=sparky
...
DONTBUILD
2012-06-07 17:55:46 -04:00
Ed Morley
13b33a03ed
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-07 10:32:36 +01:00
Olli Pettay
8a62837fdb
Bug 761621 - interfaces inheriting a builtinclass-interface should be builtinclass too, r=khuey
...
--HG--
extra : rebase_source : 5b3379e0c8263846177aa7854547b3809f4b0109
2012-06-06 19:30:58 +03:00
Shriram Kunchanapalli
3f61927d18
Bug 760162: Remove obsolete comment about nsCRT::mem* functions in nsCRT.h; r=dougt f=sgautherie
2012-06-06 13:19:08 +01:00
Geoff Lankow
1214b72681
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Lukas Blakk
08aec736d3
Merging in version bump NO BUG
2012-06-04 12:36:59 -07:00
Jan Varga
f5f6531fb7
Bug 726593 - Implement FileHandle. r=bent
2012-06-03 18:33:52 +02:00
Nathan Froyd
3e46d1764c
Bug 759417 - handle big device numbers in MapsMemoryReporter.cpp; r=jlebar
2012-05-30 15:11:58 -04:00
Doug Turner
a67548c064
Bug 759989 - Add test to ensure device sensors are shutdown when listeners are removed. r=smaug
2012-06-07 10:58:33 -07:00
Jacek Caban
107fa7f73d
Bug 759061 - nsINIParser.cpp fails to compile on mingw r=tabraldes
2012-05-31 16:09:36 +02:00
Ehsan Akhgari
4ca5e487c2
Merge mozilla-central into mozilla-inbound
2012-05-30 22:43:10 -04:00
Cameron McCormack
ddfdfc0a31
Fix a couple of typos in comments. No bug, no review.
2012-05-31 10:32:17 +10: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
Gervase Markham
638c878b13
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Shriram Kunchanapalli
3216ac51ce
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Ed Morley
bffc23481f
Merge mozilla-central to mozilla-inbound
2012-05-25 22:44:48 +01:00
Daniel Holbert
fcb03c0a1a
Bug 758735: Remove unused variable 'gFunction' from new file TestSettingsAPI.cpp. r=gwagner
2012-05-25 12:29:05 -07:00
Ed Morley
984de288d8
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-25 14:25:53 +01:00
Brian R. Bondy
225162afab
Bug 710935 - Measure lag in handling user input. r=bsmedberg
2012-05-25 09:22:19 -04:00