Benjamin Smedberg
b341414c8f
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
6f37861531
bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride
2012-07-11 08:56:34 -07:00
Aryeh Gregor
c78113906d
Bug 771873 part 2 - Assert on addition overflow in nsTArray::RemoveElementsAt; r=bsmedberg
2012-07-09 11:13:23 +03:00
Honza Bambas
356f7e8cc6
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
529270a8ba
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
13fc9bf9b8
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
bb9eb9ae8c
Switch HangMonitor.cpp to use Unix line endings (no bug; DONTBUILD)
2012-07-10 19:12:40 -04:00
Vladan Djeric
1788b77043
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
cf912de8e4
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
6640c590c3
Bug 766579 - Part 3: Follow up fix. r=dbaron
2012-07-10 17:39:10 -04:00
Ehsan Akhgari
a65931aaf4
Bug 772518 - Remove nsThread::mShutdownPending because it is unused; r=bsmedberg
2012-07-10 16:12:41 -04:00
Benoit Girard
325b77e999
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
f202c8637b
Bug 769607 - dependentlibs.py depends on dumpbin r=glandium
2012-07-10 14:29:53 +02:00
Ehsan Akhgari
617bcfa1a1
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
105492776f
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
69607e384f
Bug 771048: fix typo in nsAutoRef::swap, r=khuey
2012-07-10 00:19:59 +08:00
Makoto Kato
b1f0381abe
Bug 769533 - Part 2. get rid of AppendWithConversion. r=jlebar
2012-07-06 18:44:20 +09:00
Ryan VanderMeulen
0a40268f1f
Merge m-c to inbound.
2012-07-05 21:07:54 -04:00
Ryan VanderMeulen
36f3902ed9
Merge the last PGO-green inbound changeset to m-c.
2012-07-05 20:26:55 -04:00
Ryan VanderMeulen
841d9758fa
Merge the last PGO-green inbound changeset to m-c.
2012-07-05 20:15:12 -04:00
Jeff Muizelaar
cd56fffd20
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
4951d76b67
Merge mozilla-central into mozilla-inbound
2012-07-05 11:13:45 -04:00
Benoit Jacob
e3783dda32
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
72a25f630d
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
1bdfc194e2
Backout changeset 34c8a2369cbc (bug 771266) because the fastcall annotation actually matters
2012-07-05 18:19:07 -04:00
Ehsan Akhgari
5906a56d51
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
a643785d84
Bug 767519 - Add NS_flooredModulo to nsMathUtils. r=bz
...
--HG--
extra : rebase_source : d16e5d8e94a50c1e3319d866e3aa27ae6160edd8
2012-07-05 16:18:37 +02:00
Ehsan Akhgari
a608ba681b
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
6236bad8d7
Bug 771266 - Inline nsCOMPtr_base's destructor; r=jlebar
2012-07-05 15:12:13 -04:00
Rafael Ávila de Espíndola
bc46f77176
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
5ba066f3bb
Bug 758034 - Clean up browser GC API (r=smaug)
2012-06-30 14:16:32 -07:00
Ms2ger
afc7a3b381
Merge m-c to m-i.
2012-06-30 14:50:23 +02:00
L. David Baron
9e2b8313b4
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
a13be59eca
Bug 709747: Fix COMPtr logging for .forget(). r=dbaron
2012-06-29 10:10:31 -07:00
Bonnie Surender
2b42bacc22
Fixing bug 715041. Add support for Idle API. r=bent, jst
2012-06-29 01:32:21 -07:00
Vladan Djeric
2e4f27310a
Bug 763138: Telemetry should indicate whether a debugger is attached. r=bsmedberg,smichaud
2012-06-28 14:57:52 -04:00
Andrew McCreight
ffbaa85872
Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug
2012-06-27 08:09:56 -07:00
Landry Breuil
2f9178226a
Bug 767403 - also match readelf case on *.so.* to fix *BSDs. r=glandium
2012-06-26 22:48:57 +02:00
Bill McCloskey
db6b5999cb
Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8)
2012-06-26 13:11:39 -07:00
Nicholas Nethercote
e23d7588a7
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
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
7a6a991007
Bug 765326 - atom-table numbers should include the static atom table; r=njn
2012-06-15 15:51:42 -04:00
Mike Hommey
4f54c3b9c9
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
205eff8cdd
Bug 766349 - ClearOnShutdown_Internal::ShutdownObserver needs a virtual destructor; r=bsmedberg
2012-06-19 18:23:35 -04:00
Oleg Romashin
1100114507
Bug 767034 - xpcom/glue/arm.cpp:165: error: expected declaration before '}' token. r=derf
2012-06-21 13:01:22 -07:00
Gregor Wagner
c7221b4636
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
1bdf8bc56d
Bug 763893 - Generate dependentlibs.list from actual library dependencies. r=ted
2012-06-20 09:00:48 +02:00
Vladan Djeric
70b3e8bfd6
Bug 763124: Lower chrome hang detector's hang threshold to 5 seconds. r=ehsan
2012-06-20 19:20:24 -04:00
Michael Wu
1ca4d29c7b
Bug 764712 - Open files readonly when reading typelibs in xpt.py, r=khuey
2012-06-20 14:45:11 -04:00
Mike Hommey
894a244c4f
Merge last PGO green changeset from mozilla-inbound to mozilla-central
2012-06-20 10:53:31 +02:00
Benjamin Smedberg
7b269a47ba
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
b95d1d1421
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
0ab8670a51
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
da162f0e8a
Bug 765344 - xpti-working-set numbers should include xptiWorkingSet's hashtables; r=njn,jlebar
2012-06-18 20:10:08 -04:00
Jeff Walden
3b720a666b
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Martin Stransky
2e3eaebbc4
Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg
2012-06-16 18:05:00 +12:00
Mike Hommey
cc362780fd
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Ed Morley
e76a671d8e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-15 13:32:55 +01:00
Mike Hommey
41e8007adc
Fixup for bug 616262 to avoid Windows PGO bustage. r=me
2012-06-15 10:49:53 +02:00
Mike Hommey
c94455deff
Bug 764021 - Add Startup Timeline probe for when entering main(). r=taras,r=bsmedberg
2012-06-15 08:23:08 +02:00
Nathan Froyd
70bf86d653
Bug 764985 - make memory reporter helper macros ever-so-slightly more efficient; r=njn
2012-06-14 16:29:00 -04:00
Mike Hommey
bda3a28b5d
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
7445a691a7
Merge last green changeset from inbound to mozilla-central
2012-06-13 13:23:54 -07:00
Honza Bambas
a07c8267df
Bug 729182 - Followup - MPL2 headers, r=Ms2ger
2012-06-13 17:35:31 +02:00
Jim Mathies
2bc95dca5d
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
4fd9fd2bdf
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
a9106b5cbe
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
a30ffe2e4d
Bug 765041: Reorder AutoEventTracer init list to fix GCC build warning. r=smaug
2012-06-14 15:26:04 -07:00
Ehsan Akhgari
0c37360e52
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
0507cf0146
Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug
2012-06-14 08:52:54 -07:00
Ehsan Akhgari
df3797a6e7
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
fd7f8a3858
Bug 729182 - Implement visual event tracer, part1 - the core, r=benjamin+ehsan
2012-06-12 19:06:21 +02:00
Honza Bambas
fc7084f564
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
7625c2a0a5
Bug 762758 - Implement underscore-escape in xpidl parser r=khuey
2012-06-12 22:01:06 +09:00
Andrew McCreight
aa90a88409
Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent
2012-05-15 09:56:39 -07:00
Ed Morley
f86da2f0f4
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-08 11:23:53 +01:00
Ehsan Akhgari
ec99d74c58
Bug 737056 - Add some documentation on the mozilla::Version API; r=sparky
...
DONTBUILD
2012-06-07 17:55:46 -04:00
Ed Morley
d1b860bd10
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-07 10:32:36 +01:00
Olli Pettay
8111d06371
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
e62d02a2ef
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
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Lukas Blakk
7fa7186c92
Merging in version bump NO BUG
2012-06-04 12:36:59 -07:00
Jan Varga
513c660911
Bug 726593 - Implement FileHandle. r=bent
2012-06-03 18:33:52 +02:00
Nathan Froyd
2bfe6472eb
Bug 759417 - handle big device numbers in MapsMemoryReporter.cpp; r=jlebar
2012-05-30 15:11:58 -04:00
Doug Turner
3cee32484e
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
3177e8e330
Bug 759061 - nsINIParser.cpp fails to compile on mingw r=tabraldes
2012-05-31 16:09:36 +02:00
Ehsan Akhgari
f2dc7d6d96
Merge mozilla-central into mozilla-inbound
2012-05-30 22:43:10 -04:00
Cameron McCormack
75dbe30fac
Fix a couple of typos in comments. No bug, no review.
2012-05-31 10:32:17 +10:00
Brian R. Bondy
fbae16aaff
Bug 759449 - Change UI lag telemetry to an EXPONENTIAL histogram. r=taras
2012-05-30 13:25:09 -04:00
Gervase Markham
68d38d677f
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
5b9a95ea6a
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Ed Morley
4ff9f1d562
Merge mozilla-central to mozilla-inbound
2012-05-25 22:44:48 +01:00
Daniel Holbert
963c627976
Bug 758735: Remove unused variable 'gFunction' from new file TestSettingsAPI.cpp. r=gwagner
2012-05-25 12:29:05 -07:00
Ed Morley
4a43704eee
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-25 14:25:53 +01:00
Brian R. Bondy
ef3001237f
Bug 710935 - Measure lag in handling user input. r=bsmedberg
2012-05-25 09:22:19 -04:00
Jim Mathies
81bcae808c
Bug 750911 - Add a third 'flags' parameter to XRE_main and add support for WindowsEnvironmentType. r=bsmedberg
2012-05-25 05:01:29 -05:00
Ms2ger
65aa2a4593
Merge m-c to m-i.
2012-05-25 11:15:32 +02:00
Ms2ger
686e870ccd
Bug 757977 - Don't use uint32 in nsCycleCollector::ScanWeakMaps; r=bsmedberg
2012-05-25 09:18:30 +02:00
Michael Tokarev
5637d5d13d
Bug 750207 - pop3 on linux checks quota incorrectly. r=bsmedberg
2012-05-23 20:56:39 -04:00
Tim Abraldes
e58929288d
bug 752756. Read UTF-16le and UTF-8 BOMs in nsINIParser on Windows. Add parameter to nsIINIParserWriter::writeFile() specifying the charset of the file (BOM will be written). r=bsmedberg
2012-05-23 10:09:10 -07:00