Commit Graph

2948 Commits

Author SHA1 Message Date
Bobby Holley
1a88142535 Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv 2012-07-13 14:33:25 +02:00
Ryan VanderMeulen
7b319a5a6b Merge the last PGO-green inbound changeset to m-c. 2012-07-12 20:46:27 -04:00
Benjamin Smedberg
d19c5bb416 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
12645e6e65 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Aryeh Gregor
fd7f652fe8 Bug 771873 part 2 - Assert on addition overflow in nsTArray::RemoveElementsAt; r=bsmedberg 2012-07-09 11:13:23 +03:00
Honza Bambas
ca18892306 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
b3a3876f4b 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
89aff4650d 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
5291985f25 Switch HangMonitor.cpp to use Unix line endings (no bug; DONTBUILD) 2012-07-10 19:12:40 -04:00
Vladan Djeric
896beec481 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
8e5ef0a787 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
168c4b79fb Bug 766579 - Part 3: Follow up fix. r=dbaron 2012-07-10 17:39:10 -04:00
Ehsan Akhgari
d8ef87199c Bug 772518 - Remove nsThread::mShutdownPending because it is unused; r=bsmedberg 2012-07-10 16:12:41 -04:00
Benoit Girard
7aa6b28d00 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
c9548bf1ba Bug 769607 - dependentlibs.py depends on dumpbin r=glandium 2012-07-10 14:29:53 +02:00
Ehsan Akhgari
ec89be8fa6 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
e257354180 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
e192a1390c Bug 771048: fix typo in nsAutoRef::swap, r=khuey 2012-07-10 00:19:59 +08:00
Makoto Kato
9c49d12750 Bug 769533 - Part 2. get rid of AppendWithConversion. r=jlebar 2012-07-06 18:44:20 +09:00
Ryan VanderMeulen
a71ceee899 Merge m-c to inbound. 2012-07-05 21:07:54 -04:00
Ryan VanderMeulen
d0be60fa9c Merge the last PGO-green inbound changeset to m-c. 2012-07-05 20:26:55 -04:00
Ryan VanderMeulen
20c45dac98 Merge the last PGO-green inbound changeset to m-c. 2012-07-05 20:15:12 -04:00
Jeff Muizelaar
cc8b97c5a6 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
41da184d14 Merge mozilla-central into mozilla-inbound 2012-07-05 11:13:45 -04:00
Benoit Jacob
b8d40b05f7 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
9288ac49a4 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
04e53539b4 Backout changeset 34c8a2369cbc (bug 771266) because the fastcall annotation actually matters 2012-07-05 18:19:07 -04:00
Ehsan Akhgari
910d251f2f 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
3b0b1234f1 Bug 767519 - Add NS_flooredModulo to nsMathUtils. r=bz
--HG--
extra : rebase_source : d16e5d8e94a50c1e3319d866e3aa27ae6160edd8
2012-07-05 16:18:37 +02:00
Ehsan Akhgari
49bc93c755 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
32a035f454 Bug 771266 - Inline nsCOMPtr_base's destructor; r=jlebar 2012-07-05 15:12:13 -04:00
Rafael Ávila de Espíndola
c60b1db79c 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
96e4284f11 Bug 758034 - Clean up browser GC API (r=smaug) 2012-06-30 14:16:32 -07:00
Ms2ger
9f56b60843 Merge m-c to m-i. 2012-06-30 14:50:23 +02:00
L. David Baron
9e9f3a474a 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
08ad5220dd Bug 709747: Fix COMPtr logging for .forget(). r=dbaron 2012-06-29 10:10:31 -07:00
Bonnie Surender
e360fa128a Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Vladan Djeric
477f96fa71 Bug 763138: Telemetry should indicate whether a debugger is attached. r=bsmedberg,smichaud 2012-06-28 14:57:52 -04:00
Andrew McCreight
379571f73a Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug 2012-06-27 08:09:56 -07:00
Landry Breuil
be1e0d9e32 Bug 767403 - also match readelf case on *.so.* to fix *BSDs. r=glandium 2012-06-26 22:48:57 +02:00
Bill McCloskey
208d5cc3d0 Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8) 2012-06-26 13:11:39 -07:00
Nicholas Nethercote
26f000b52d 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
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
88be55d049 Bug 765326 - atom-table numbers should include the static atom table; r=njn 2012-06-15 15:51:42 -04:00
Mike Hommey
fc130e8b4b 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
c32c0af957 Bug 766349 - ClearOnShutdown_Internal::ShutdownObserver needs a virtual destructor; r=bsmedberg 2012-06-19 18:23:35 -04:00
Oleg Romashin
17448d799e Bug 767034 - xpcom/glue/arm.cpp:165: error: expected declaration before '}' token. r=derf 2012-06-21 13:01:22 -07:00
Gregor Wagner
4d63545569 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
a909602392 Bug 763893 - Generate dependentlibs.list from actual library dependencies. r=ted 2012-06-20 09:00:48 +02:00
Vladan Djeric
8aefa44c2e Bug 763124: Lower chrome hang detector's hang threshold to 5 seconds. r=ehsan 2012-06-20 19:20:24 -04:00
Michael Wu
c916642910 Bug 764712 - Open files readonly when reading typelibs in xpt.py, r=khuey 2012-06-20 14:45:11 -04:00
Mike Hommey
90d687d851 Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-06-20 10:53:31 +02:00
Benjamin Smedberg
ea4315c1ff 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
c533a83b6c 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
f57c383e1f 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
63d3907cda Bug 765344 - xpti-working-set numbers should include xptiWorkingSet's hashtables; r=njn,jlebar 2012-06-18 20:10:08 -04:00
Jeff Walden
09e6c025d8 Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted 2012-06-07 14:41:11 -07:00
Martin Stransky
e8f7aa8752 Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg 2012-06-16 18:05:00 +12:00
Mike Hommey
311cae060f Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley
6c0104928c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Mike Hommey
988d722ae2 Fixup for bug 616262 to avoid Windows PGO bustage. r=me 2012-06-15 10:49:53 +02:00
Mike Hommey
e18aca6d9a Bug 764021 - Add Startup Timeline probe for when entering main(). r=taras,r=bsmedberg 2012-06-15 08:23:08 +02:00
Nathan Froyd
756b6f5fee Bug 764985 - make memory reporter helper macros ever-so-slightly more efficient; r=njn 2012-06-14 16:29:00 -04:00
Mike Hommey
88257ed076 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
cee86ebe22 Merge last green changeset from inbound to mozilla-central 2012-06-13 13:23:54 -07:00
Honza Bambas
1c2c744520 Bug 729182 - Followup - MPL2 headers, r=Ms2ger 2012-06-13 17:35:31 +02:00
Jim Mathies
e13dc80985 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
4c6045114c 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
fdc3d35af5 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
9c620e115e Bug 765041: Reorder AutoEventTracer init list to fix GCC build warning. r=smaug 2012-06-14 15:26:04 -07:00
Ehsan Akhgari
12418857f6 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
55d2f2cfa5 Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug 2012-06-14 08:52:54 -07:00
Ehsan Akhgari
ddcea4e3b7 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
4ef538c86b Bug 729182 - Implement visual event tracer, part1 - the core, r=benjamin+ehsan 2012-06-12 19:06:21 +02:00
Honza Bambas
41779e1714 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
02f8758b48 Bug 762758 - Implement underscore-escape in xpidl parser r=khuey 2012-06-12 22:01:06 +09:00
Andrew McCreight
f4f0e1a935 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Ed Morley
b5ac48c828 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-08 11:23:53 +01:00
Ehsan Akhgari
584af877ce Bug 737056 - Add some documentation on the mozilla::Version API; r=sparky
DONTBUILD
2012-06-07 17:55:46 -04:00
Ed Morley
5571c78064 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Olli Pettay
50a2b93846 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
372a1fb214 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
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Lukas Blakk
76c1aefa1b Merging in version bump NO BUG 2012-06-04 12:36:59 -07:00
Jan Varga
6e3e5ab48b Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Nathan Froyd
92d5bc874a Bug 759417 - handle big device numbers in MapsMemoryReporter.cpp; r=jlebar 2012-05-30 15:11:58 -04:00
Doug Turner
4f84a9c167 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
d644a5f4a9 Bug 759061 - nsINIParser.cpp fails to compile on mingw r=tabraldes 2012-05-31 16:09:36 +02:00
Ehsan Akhgari
e68423b7a6 Merge mozilla-central into mozilla-inbound 2012-05-30 22:43:10 -04:00
Cameron McCormack
dc816782b7 Fix a couple of typos in comments. No bug, no review. 2012-05-31 10:32:17 +10:00
Brian R. Bondy
6a1a161e57 Bug 759449 - Change UI lag telemetry to an EXPONENTIAL histogram. r=taras 2012-05-30 13:25:09 -04:00
Gervase Markham
d4eb7d5782 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
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Ed Morley
28d48cf58f Merge mozilla-central to mozilla-inbound 2012-05-25 22:44:48 +01:00
Daniel Holbert
dc84a310f4 Bug 758735: Remove unused variable 'gFunction' from new file TestSettingsAPI.cpp. r=gwagner 2012-05-25 12:29:05 -07:00
Ed Morley
18aedf9b51 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-25 14:25:53 +01:00
Brian R. Bondy
67c92b0d6e Bug 710935 - Measure lag in handling user input. r=bsmedberg 2012-05-25 09:22:19 -04:00
Jim Mathies
bd3f82ea02 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
6f9dcfb48d Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
0019d656e3 Bug 757977 - Don't use uint32 in nsCycleCollector::ScanWeakMaps; r=bsmedberg 2012-05-25 09:18:30 +02:00