Commit Graph

12993 Commits

Author SHA1 Message Date
David Major
0509508150 Bug 1007534 - Part 4: Save a memory report when close to OOM. r=bsmedberg 2014-08-30 17:21:22 +12:00
David Major
9cb7f94c04 Bug 1007534 - Part 1: Add a saveMemoryReport method to nsICrashReporter. r=froydnj 2014-08-30 17:21:09 +12:00
Ben Turner
bbf77ff477 Bug 1052740 - Cancel LazyIdleThread timer before shutting down its thread, r=bsmedberg. 2014-08-29 11:23:31 -07:00
Masayuki Nakano
93cf48640e Bug 826657 part.2 Implement NOTIFY_IME_OF_MOUSE_BUTTON_EVENT in XP part r=smaug+ehsan 2014-08-29 19:08:43 +09:00
Botond Ballo
e7dbf26fb2 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
--HG--
extra : rebase_source : 667fc18943d84f1ae28579fc23f846f9350e6fe2
2014-08-26 17:14:51 -04:00
Botond Ballo
717d780f6d Bug 965022 - Define MOZ_FORMAT_PRINTF(...) macro which expands to __attribute__(format(printf, ...)) where supported. r=froydnj
--HG--
extra : rebase_source : bbfc41dccba336ac290710a8c3ead77ae0d1df5f
2014-08-25 16:00:29 -04:00
Joshua Cranmer
03c76f7c7b Bug 1059550 - Add an iterator to PLDHashtable, r=froydnj 2014-08-28 11:29:23 -05:00
Nicholas Nethercote
f57e56e187 Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg.
--HG--
extra : rebase_source : 250ec1323d4097101a8e0331a2bf7fab59f72b1d
2014-08-27 15:47:27 -07:00
Neil Rashbrook
19df0186cb Bug 1054320 Improve the new nsTArray rvalue reference methods r=froydnj 2014-08-28 00:18:42 +01:00
Jacek Caban
e70dbc14e7 Bug 940208 - Unbreak mingw after bug 938437. r=glandium 2014-08-27 16:16:49 +02:00
Nicholas Nethercote
98d51d576f Bug 1058335 (part 2) - Remove unneeded comments and always-ignored warnings about chaining. r=roc.
--HG--
extra : rebase_source : d96d6beabd48da66ae991274b66e93f5d193c61e
2014-08-25 17:43:57 -07:00
Nicholas Nethercote
00a572368f Bug 1058335 (part 1) - Used |mFoo| form for PLDHashTable's private members. r=roc.
--HG--
extra : rebase_source : d5aed65f2c9dcbe288062599282e71ed458872bf
2014-08-25 17:29:14 -07:00
Nicholas Nethercote
df1c26a45e Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Ryan VanderMeulen
a19bf3acbf Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
c8e5c6df06 Bug 965022 - Use MOZ_FORMAT_PRINTF for nsTString::AppendPrintf, and fix incorrect usages. r=jrmuizel 2014-08-26 12:05:41 -04:00
Botond Ballo
e9b504cd9e Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-25 18:28:25 -04:00
Botond Ballo
8b35fc719c Bug 965022 - Define MOZ_FORMAT_PRINTF(...) macro which expands to __attribute__(format(printf, ...)) where supported. r=froydnj 2014-08-25 16:00:29 -04:00
Mark Banner
8edde57996 Bug 763180 - NS_XRE_ENABLE_EXTENSION_MANAGER flag does nothing - remove it. r=glandium 2014-08-26 08:50:07 +01:00
Nicholas Nethercote
5a9589bf20 Bug 1057928 (part 2) - In nsTHashtable, use |ops| instead of |entrySize| to indicate table liveness. r=dbaron.
--HG--
extra : rebase_source : eca0eb98fe01fe6fc1a6a36de9b04bab5c71781d
2014-08-25 00:32:24 -07:00
Ralph Giles
ce4de52e2b Bug 1057224 - Disable MOZ_ASSERT_CLASSNAME on gcc < 4.7. r=ehsan
The new MOZ_ASSERT_CLASSNAME check in MOZ_COUNT_CTOR and friends
fails under gcc 4.4 on the B2G ICS emulator build, because
nsGonkCameraControl calls the COUNT macros from a local class.

This wasn't allowed in C++03, but that was changed in C++11, and
our more recent toolchains either don't reject the code or don't
encounter such a nested class name.

I picked gcc 4.7 as the minimum version because that's the version
used by the B2G JB Emulator build, which works. There's no restriction
on clang or msvc version.
2014-08-23 15:32:00 -07:00
Ralph Giles
6a76603421 Bug 1057224 - Assert that MOZ_COUNT_* are passed a class name. r=ehsan
This helps detect typos, which lead to undetected or spurious
leaks in the leak check.
2014-08-22 14:32:00 -07:00
Andrew McCreight
b9712e47f0 Bug 1052626, part 2 - Report the total size of nsXPCWrappedJS. r=bholley,froydnj 2014-08-25 12:34:00 -07:00
Andrew McCreight
7065703fce Bug 1055280 - Move CountingAllocatorBase into its own header file. r=froydnj 2014-08-25 12:34:00 -07:00
Birunthan Mohanathas
77bfad00a6 Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo 2014-08-25 12:17:32 -07:00
Birunthan Mohanathas
e3a6a8dc06 Bug 1046841 - Convert remaining files in xpcom/{ds,glue,sample}/ to Gecko style. r=froydnj 2014-08-25 12:17:28 -07:00
Birunthan Mohanathas
16471161bb Bug 1046841 - Fix more style violations in previously touched .h files in xpcom/. r=froydnj 2014-08-25 12:17:24 -07:00
Birunthan Mohanathas
dffead394b Bug 1046841 - Fix comment style of nsCOMPtr.h. r=froydnj 2014-08-25 12:17:20 -07:00
Birunthan Mohanathas
80ef08ccd8 Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj 2014-08-25 12:17:15 -07:00
Ryan VanderMeulen
81342753e0 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Andrea Marchesini
2076b14085 Bug 1055467 - Rename MozNamedAttrMap to NamedNodeMap, r=smaug
--HG--
rename : dom/webidl/MozNamedAttrMap.webidl => dom/webidl/NamedNodeMap.webidl
2014-08-25 10:25:34 +01:00
Jamin Liu
f895ab8db1 Bug 1032755 - Add NS_ERROR_MODULE_DOM_BLUETOOTH to nsError list and allow it to be used to create dom exception. r=smaug, f=dhylands, btian 2014-08-25 14:51:20 +08:00
Trevor Saunders
fd5e9d1fcc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Andrew McCreight
61760ede9d Bug 1055322 - The realloc for libnestegg should free with size 0. r=froydnj 2014-08-21 14:43:02 -07:00
Kyle Huey
92e6296a70 Bug 1034302: Emit MOZ_OVERRIDE in XPIDL generated macros. r=bsmedberg
--HG--
extra : rebase_source : c2e5c46beb4e630f426dd89630abcf2460cb4772
2014-08-21 10:49:39 -07:00
Ehsan Akhgari
029023110c Bug 1055517 - Fix some more bad implicit constructors in XPCOM; r=froydnj 2014-08-19 15:11:22 -04:00
Lynn Tran
7bec1a6b6d Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Rafael Kourdis
4ac3690226 Bug 1030487 - Don't report main-thread I/O to Telemetry unless it lasts more than 50ms; r=vladan 2014-08-18 18:42:14 -04:00
Mike Hommey
9461e860e6 Bug 1041941 - Use templates for Gecko XPCOM components. r=gps 2014-08-24 09:11:05 +09:00
Eric Rahm
87668897f6 Bug 1056962 - Part 1: Move GetThreadName to LinuxUtils. r=jld 2014-08-22 16:35:29 -07:00
Ralph Giles
68b266f440 Back out 2f60f94d4d3c and d06c2e71aca2 for cross-platform breakage. 2014-08-22 15:13:03 -07:00
Ralph Giles
35a20c876d Bug 1057224 - Assert that MOZ_COUNT_* are passed a class name. r=ehsan
This helps detect typos, which lead to undetected or spurious
leaks in the leak check.
2014-08-22 14:32:00 -07:00
Nicholas Nethercote
415669343b Bug 1050036 (part 3) - Reduce default and minimum capacity of pldhash. r=roc.
--HG--
extra : rebase_source : df598cf5f93fde3791b4bb8ec9807ef2808add46
2014-08-12 18:26:14 -07:00
Bobby Holley
e70ddb7476 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Jim Chen
0900e9257a Bug 1050440 - Remove repeated js::RunScript frames in ThreadStackHelper; r=snorp
--HG--
extra : amend_source : 26d40a84e7a107f328809e4dae94a0bd9db15c8b
2014-08-14 17:17:55 -04:00
Bobby Holley
3e4d70a655 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Eric Rahm
9d7a41f0f8 Bug 1050445 - Part 5: Print stacks. r=mccr8
--HG--
extra : rebase_source : 6397f4a2021944cc114e871c3d9b8ef0ea2636c8
2014-08-13 13:06:07 -07:00
Eric Rahm
4099538971 Bug 1050445 - Part 4: Take stack snapshots. r=njn
--HG--
extra : rebase_source : 0a8ec331cc320c4a6b8289824c3bc1d84a571309
2014-08-13 12:37:40 -07:00
Eric Rahm
ed408db9c7 Bug 1050445 - Part 3: Add stack trace holders. r=froydnj
--HG--
extra : rebase_source : b815025455a60cc321c9003544bab1fb6281f856
2014-08-13 12:37:31 -07:00
Eric Rahm
20585a8533 Bug 1050445 - Part 2: Add ClearAcquisitionState. r=froydnj
--HG--
extra : rebase_source : 0900c1663a9b06bbc68d757f20182513ceb4c35e
2014-08-13 12:37:05 -07:00