Commit Graph

5456 Commits

Author SHA1 Message Date
Wes Kocher
93c2bf5d43 Backed out changeset d77733726cae (bug 1063318) for b2g mochitest leaks 2014-09-18 16:30:33 -07:00
Josh Aas
22a272981e Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd 2014-09-18 15:52:59 -05:00
Bill McCloskey
0d6c4e831b Bug 1063669 - Don't enable e10s if IME is detected (r=jimm) 2014-09-18 10:26:33 -07:00
Carsten "Tomcat" Book
568c38815e Backed out changeset ba6a9e60d2c6 (bug 1067711) for XPCshell Test failures 2014-09-18 11:50:34 +02:00
Nicholas Nethercote
cb599999ce Bug 1067711 - Fix an assertion failure in the System memory reporter. r=erahm.
--HG--
extra : rebase_source : 06fa4b0d706414901ce2475e987067d5cb4f0f6f
2014-09-17 18:23:33 -07:00
Nicholas Nethercote
a392905edb Bug 1067699 (part 2) - Add mfbt/JSONWriter.h and use it for memory reporting. r=froydnj.
--HG--
extra : rebase_source : 7eb21c4c20c0434b3b236d1c53cbef9cb6a4759c
2014-09-14 23:36:18 -07:00
Nicholas Nethercote
8ec14a3695 Bug 1067699 (part 1) - Export double-conversion.h normally from MFBT. r=froydnj.
--HG--
extra : rebase_source : 14c3d827f4d8015d8326612e82782c52dcf7335d
2014-09-16 23:33:05 -07:00
Ben Turner
26edfb8667 Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Andrew McCreight
6c017937fb Bug 1067505 - Make nsCategoryManager into a strong memory reporter. r=njn
The nsCategoryManager singleton lives until very late in shutdown, so the unregister always fails.

It is okay to make it a strong reporter because it will always outlive the memory reporter manager anyways.
2014-09-19 14:07:25 -07:00
Honza Bambas
cbcc956da6 Bug 1034638 - Don't make QPC to GTC fallback in TimeStamp_windows let change differences of previously taken timestamps, r=robarnold 2014-09-16 15:51:51 +02:00
Jeff Walden
21c168f61c Bug 1065774 - Be more precise in PromiseFlatString docs about why assigning PromiseFlatString(...) to a reference is safe. r=froydnj
--HG--
extra : rebase_source : aad06aa3b0a803abb678000f559b4a9d4736813c
2014-09-11 13:25:56 -07:00
Bill McCloskey
d0e68a2fb0 Bug 1047076 - Disable e10s on Nightly if Accessibility is enabled (r=felipe) 2014-09-13 11:20:16 -07:00
Ben Turner
b3c31c0c49 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Phil Ringnalda
3d59947782 Back out 0529fb43bd5f (bug 1047076) for bustage on a CLOSED TREE 2014-09-12 18:25:35 -07:00
Bill McCloskey
32296fa1e8 Bug 1047076 - Disable e10s if a11y is enabled (r=felipe) 2014-09-12 17:37:11 -07:00
Bill McCloskey
e66e5b55bb Bug 1049275 - Don't use IPC for crash reporting after NS_ABORT (r=bsmedberg) 2014-09-12 11:44:38 -07:00
Carsten "Tomcat" Book
9005131aba merge m-i to m-c a=merge 2014-09-12 15:07:38 +02:00
Nicholas Nethercote
0d25148489 Bug 1065834 - Remove long-busted Solaris stack-walking code. r=froydnj. 2014-09-10 19:46:54 -07:00
David Rajchenbach-Teller
c71f1771ef Bug 918317 - nsIAsyncShutdown companion tools. r=froydnj 2014-08-20 04:33:00 -04:00
David Rajchenbach-Teller
a4ff6c3616 Bug 918317 - Implementation of nsAsyncShutdown. r=froydnj, r=glandium
--HG--
rename : toolkit/modules/AsyncShutdown.jsm => toolkit/components/asyncshutdown/AsyncShutdown.jsm
rename : toolkit/modules/tests/xpcshell/test_AsyncShutdown.js => toolkit/components/asyncshutdown/tests/xpcshell/test_AsyncShutdown.js
2014-09-11 09:01:00 -04:00
Bob Owen
3ca87b4d24 Bug 1018988 - Set up a low integrity temp directory when using the Windows content sandbox. r=mrbkap r=tabraldes r=froydnj 2014-09-10 12:36:17 +01:00
Nicholas Nethercote
3c2c84cee0 Bug 1065258 (part 8) - Rename TempDirMemoryFinishCallback. r=jld.
--HG--
extra : rebase_source : c478218da5d45e091156aa4dc9d64514f71d403d
2014-09-10 00:41:50 -07:00
Nicholas Nethercote
0583d3129e Bug 1065258 (part 7) - Move DumpMemoryReportsToNamedFile earlier. r=jld.
--HG--
extra : rebase_source : b9f6289c6ed0010997d1e21fd461a802d1895cf0
2014-09-10 00:40:36 -07:00
Nicholas Nethercote
a7ee66d8fb Bug 1065258 (part 6) - Factor out code shared by DumpMemoryReportsToNamedFile() and DumpMemoryInfoToTempDir(). r=jld.
--HG--
extra : rebase_source : 2f4c9f6da6202169ec480dcbf52047308c25b840
2014-09-10 00:40:10 -07:00
Nicholas Nethercote
b86c71fedd Bug 1065258 (part 5) - Make TempDirMemoryFinishCallback a nsIFinishDumpingCallback object. r=jld.
--HG--
extra : rebase_source : 0a16d0a6193c3de9ae7cc1c68991dbda24171dc7
2014-09-10 00:34:47 -07:00
Nicholas Nethercote
5528ceefbc Bug 1065258 (part 4) - Move FinishReportingCallback earlier. r=jld.
--HG--
extra : rebase_source : e9c5cc0bf8297cfcef9fae1f0b7da5d03afc659c
2014-09-10 00:32:58 -07:00
Nicholas Nethercote
884778ae51 Bug 1065258 (part 3) - Remove TempDirMemoryFinishCallback::mIdentifier, which is dead. r=jld.
--HG--
extra : rebase_source : 7db3562208f78be05b855efcbee7f6182df8bf42
2014-09-10 00:31:40 -07:00
Nicholas Nethercote
a0b8460dc0 Bug 1065258 (part 2) - Rename some variables. r=jld.
--HG--
extra : rebase_source : cd1ff03dbf8ad455529ba763c722cb1ec34162b1
2014-09-10 00:30:17 -07:00
Nicholas Nethercote
1348f6e5ea Bug 1065258 (part 1) - Inline TempDirMemoryFinishCallback(). r=jld.
--HG--
extra : rebase_source : 40f0ebd81d3e4061a4bfde932ef1e55cfd5d7332
2014-09-10 00:27:45 -07:00
Eric Rahm
8e5f2e2313 Bug 1059593 - logcat entries from console logging should include app name. r=dhylands
--HG--
extra : rebase_source : 8e924b6a97b49eee3bfa0c89e81d15cd3b4dfaef
2014-09-09 16:52:08 -07:00
Felipe Gomes
3a6a843e37 Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally. 2014-09-10 15:53:55 -03:00
Bob Owen
061d00b434 Bug 1063455 - Define MOZ_STACKWALKING when NS_StackWalk is available and replace other instances of the same #if logic. r=mshal, r=froydnj 2014-09-08 18:25:20 +01:00
Peter Van der Beken
eddfeb4f1a Bug 982212: Part 4 - Remove explicit from the nsTArray-constructor that takes a r-value and add MoveElementsFrom taking a r-value. r=nfroyd.
--HG--
extra : rebase_source : bf6141fb301fcf19b619c9a4c88ce12f3521a12c
2014-09-02 14:20:14 +02:00
David Rajchenbach-Teller
6ddb4481b3 Bug 1061891 - Make it possible to check whether a nsMainThreadPtr<T> is null. r=bholley 2014-09-11 12:11:44 +02:00
Ehsan Akhgari
e7cf57d85d Bug 1065670 - Fix more bad implicit ctors in XPCOM; r=froydnj 2014-09-11 16:04:18 -04:00
Kyle Huey
e25a4db36c Bug 982212: Part 2 - Implement r-value reference support for nsTArray::AppendElement. r=nfroyd
--HG--
extra : rebase_source : a9235411266a5dad466746d6344c3fd0e8fafca1
2014-03-15 18:56:00 +01:00
Peter Van der Beken
5ad862aa2f Bug 982212: Part 1a - Implement r-value reference support for nsTArray constructors and operator=, make part 1 work on gcc 4.4. r=nfroyd.
--HG--
extra : rebase_source : f188db9d463add8f4622ceef6f0b2332be4acca8
2014-09-03 18:33:03 +02:00
Kyle Huey
58e615583c Bug 982212: Part 1 - Implement r-value reference support for nsTArray constructors and operator=. r=nfroyd
--HG--
extra : rebase_source : 6119f0043a4af61beab08cdeb6ea072222cfac8b
2014-03-15 18:55:00 +01:00
Nicholas Nethercote
e6c7fd21a4 Bug 1061024 (part 3) - Remove a redundant dmd::ClearReports() call. r=jld.
--HG--
extra : rebase_source : 5c79c9187fbffe2b5a8c63184cc9d3f158877a8e
2014-08-31 22:36:01 -07:00
Nicholas Nethercote
91ccc1a10e Bug 1061024 (part 2) - Some minor DMD clean-ups. r=jld.
--HG--
extra : rebase_source : f780376e8803222c92a5a92bc4155600e068ce0c
2014-08-31 22:35:28 -07:00
Nicholas Nethercote
1e51d01858 Bug 1061024 (part 1) - Don't run DMD when about:memory's "Measure" button is pressed. r=jld.
--HG--
extra : rebase_source : ddf0236352c64eb9839dfd0a219451a568aba10e
2014-08-31 20:36:26 -07:00
Jed Davis
1a73e0b7a9 Bug 1059038 - Move mozilla::unused from xpcom/glue to mfbt. r=Waldo
--HG--
rename : xpcom/glue/unused.cpp => mfbt/unused.cpp
rename : xpcom/glue/unused.h => mfbt/unused.h
2014-08-29 10:11:00 +02:00
Valentin Gosu
24863e4c29 Bug 473822 - Square brackets not percent-encoded in URI's query-part. r=jduell 2014-09-06 01:32:04 +03:00
Andrew McCreight
01d312c5b8 Bug 931285, part 2 - Implement a cycle collected version of nsHashPropertyBag and use it from JS. r=froydnj 2014-09-08 09:41:32 -07:00
Andrew McCreight
623aaaa7d9 Bug 931285, part 1 - Factor out a base class for nsHashPropertyBag that does not implement refcounting. r=froydnj
Also remove the unused NS_NewHashPropertyBag.
2014-09-08 09:41:22 -07:00
David Zbarsky
92ca9fab1a Bug 1042654: Remove nsITouchEventReceiver r=bz 2014-09-05 23:32:49 -04:00
Anuj Agarwal
73746d0f51 Bug 1034921 - Remove dangerous public destructor of nsFoo in TestThreadUtils.cpp. r=nfroyd 2014-09-04 07:07:00 +02:00
Nicholas Nethercote
d9eb0443cf Bug 1063321 - Print to the console the paths of all files that DMD opens. r=mccr8.
--HG--
extra : rebase_source : 50a18a0a074f929ab934c5b3eade1c69e6ba4510
2014-09-04 20:45:22 -07:00
Nicholas Nethercote
b818adb5c2 Bug 1050601 - Remove fix-linux-stack.pl. r=ted.
--HG--
extra : rebase_source : f344aa5db9e16575835a7de3df34c311635c128b
2014-09-03 09:24:38 -07:00
Mike Hommey
6258dd8523 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
fc99c53ae5 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Nicholas Nethercote
6fac42e708 Bug 1061385 - Remove |Writer| parameter from CodeAddressService. r=mccr8.
--HG--
extra : rebase_source : 0ed67121aac5c9f63ed647e31cd5321eca0b25b7
2014-09-01 20:03:06 -07:00
Ehsan Akhgari
d8ab3bafa7 Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg 2014-09-02 18:24:49 -04:00
Ehsan Akhgari
66d4d1b849 Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg 2014-09-02 18:24:24 -04:00
Trevor Saunders
f4fbfeeb43 bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Trevor Saunders
c4e5a15667 bug 1059429 - fix static constructor for FlushEvent r=froydnj 2014-08-27 14:06:55 -04:00
Ryan VanderMeulen
d114beb6ed Merge inbound to m-c. a=merge
CLOSED TREE
2014-09-02 14:23:25 -04:00
ffxbld
02d1667716 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-09-02 12:54:33 -04:00
Ehsan Akhgari
099393be66 Bug 1060973 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-09-02 09:50:07 -04:00
David Major
7d5ca445e0 Bug 1007534 - Part 4: Save a memory report when close to OOM. r=bsmedberg 2014-08-30 17:21:22 +12:00
David Major
de17141137 Bug 1007534 - Part 1: Add a saveMemoryReport method to nsICrashReporter. r=froydnj 2014-08-30 17:21:09 +12:00
Ben Turner
94450a4c42 Bug 1052740 - Cancel LazyIdleThread timer before shutting down its thread, r=bsmedberg. 2014-08-29 11:23:31 -07:00
Masayuki Nakano
6f43834088 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
3adfa2126f 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
6254ccfdce 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
095e8ec91b Bug 1059550 - Add an iterator to PLDHashtable, r=froydnj 2014-08-28 11:29:23 -05:00
Nicholas Nethercote
0b39dd481e 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
19ee87dee8 Bug 1054320 Improve the new nsTArray rvalue reference methods r=froydnj 2014-08-28 00:18:42 +01:00
Jacek Caban
079bdd6ccc Bug 940208 - Unbreak mingw after bug 938437. r=glandium 2014-08-27 16:16:49 +02:00
Nicholas Nethercote
9ada84d5a5 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
ff98b37df5 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
8b3951c20f 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
a390eae5a3 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
b3b8a74941 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
18e3296080 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
249d5a91ec 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
df1783f479 Bug 763180 - NS_XRE_ENABLE_EXTENSION_MANAGER flag does nothing - remove it. r=glandium 2014-08-26 08:50:07 +01:00
Nicholas Nethercote
b6b41f70af 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
3f1557189d 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
6e0b4b906e 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
e22baa3a1e Bug 1052626, part 2 - Report the total size of nsXPCWrappedJS. r=bholley,froydnj 2014-08-25 12:34:00 -07:00
Andrew McCreight
eb3502679c Bug 1055280 - Move CountingAllocatorBase into its own header file. r=froydnj 2014-08-25 12:34:00 -07:00
Birunthan Mohanathas
57751773f4 Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo 2014-08-25 12:17:32 -07:00
Birunthan Mohanathas
e5756cb55e 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
87bd70f161 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
9007abe84e Bug 1046841 - Fix comment style of nsCOMPtr.h. r=froydnj 2014-08-25 12:17:20 -07:00
Birunthan Mohanathas
6ea79dfc7c 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
f1e20fb689 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Andrea Marchesini
733f01834b 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
6b579bb28e 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
86b7aff8fc 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
2af9782c37 Bug 1055322 - The realloc for libnestegg should free with size 0. r=froydnj 2014-08-21 14:43:02 -07:00
Kyle Huey
4fed2e9735 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
e2ba2816e6 Bug 1055517 - Fix some more bad implicit constructors in XPCOM; r=froydnj 2014-08-19 15:11:22 -04:00
Lynn Tran
36bc853044 Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Rafael Kourdis
9a452a126c 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
df40db63a5 Bug 1041941 - Use templates for Gecko XPCOM components. r=gps 2014-08-24 09:11:05 +09:00
Eric Rahm
888fc04968 Bug 1056962 - Part 1: Move GetThreadName to LinuxUtils. r=jld 2014-08-22 16:35:29 -07:00
Ralph Giles
4ef6336936 Back out 2f60f94d4d3c and d06c2e71aca2 for cross-platform breakage. 2014-08-22 15:13:03 -07:00
Ralph Giles
196068fbd3 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