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
Nicholas Nethercote
83c8605309
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
7c7704aa07
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
7c3098f03b
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Jim Chen
8c5804deeb
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
e5da39b71b
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Eric Rahm
209fcd745a
Bug 1050445 - Part 5: Print stacks. r=mccr8
...
--HG--
extra : rebase_source : 6397f4a2021944cc114e871c3d9b8ef0ea2636c8
2014-08-13 13:06:07 -07:00
Eric Rahm
dc49a65472
Bug 1050445 - Part 4: Take stack snapshots. r=njn
...
--HG--
extra : rebase_source : 0a8ec331cc320c4a6b8289824c3bc1d84a571309
2014-08-13 12:37:40 -07:00
Eric Rahm
4f0eebfefb
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
525c4f41a3
Bug 1050445 - Part 2: Add ClearAcquisitionState. r=froydnj
...
--HG--
extra : rebase_source : 0900c1663a9b06bbc68d757f20182513ceb4c35e
2014-08-13 12:37:05 -07:00
Eric Rahm
eb0cc8edce
Bug 1050445 - Part 1: Add AcquisitionState typedef. r=froydnj
...
--HG--
extra : rebase_source : 8c14b4181f022ef739cefc7e97689de1c7ec239c
2014-08-13 12:36:41 -07:00
Birunthan Mohanathas
d0172c0cf4
Bug 1046841 - Convert xpcom/build/ to Gecko style. r=froydnj
2014-08-13 11:45:37 -07:00
Trevor Saunders
48a1a65409
[PATCH] bug 1049781 - add move ctor version of
...
From 43dccd4d360dd2e43182c2f39002dc14567f15c0 Mon Sep 17 00:00:00 2001
nsTArray::InsertElementAt
---
xpcom/glue/nsTArray.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
2014-08-06 14:49:37 -04:00
Jon Coppeard
a4a71fde44
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Eric Rahm
b021cc23d4
Bug 1049051 - Part 5: Make sDeadlockDetector access internal. r=froydnj
...
--HG--
extra : rebase_source : ea7ee17679ca9d616c56376d7360852c37a19249
2014-08-12 11:44:04 -07:00
Eric Rahm
3060d15fdf
Bug 1049051 - Part 4: Make PrintCycle internal. r=froydnj
...
--HG--
extra : rebase_source : 594237c0e3e738078a9e571d9515c6feb0fd7bed
2014-08-12 11:43:27 -07:00
Eric Rahm
f220d151bf
Bug 1049051 - Part 3: DeadlockDetector Add/Remove can take a const param. r=froydnj
...
--HG--
extra : rebase_source : 0ea5e3d9337982c1282a74961f62bc0b4345d7bf
2014-08-12 11:42:55 -07:00
Eric Rahm
e98b60a3f8
Bug 1049051 - Part 2: Remove DeadlockDetectorEntry. r=froydnj
...
--HG--
extra : rebase_source : e87b5b20130508953360b367c76b4d00338f2cdc
2014-08-12 11:42:28 -07:00
Eric Rahm
beea70ce80
Bug 1049051 - Part 1: Remove ResourceAcquisition. r=froydnj
...
--HG--
extra : rebase_source : 86bc896f9c2833996c4c5eebcc034acbadedbd4a
2014-08-12 11:42:10 -07:00
Vladimir Vukicevic
c39725afbf
b=1046222; change XPCOM_DEBUG_BREAK default under Windows to "warn"; r=bsmedberg
2014-08-12 12:04:32 -04:00
Julian Seward
e6b8a4467c
Bug 1050185 - Make ThreadStackHelper::FillThreadContext Valgrind-friendly. r=nchen
2014-08-12 12:15:06 +02:00
Nigel Babu
47632fb3e9
Backed out changeset 54b5997186eb (bug 1050036) for mochitest bustage on A CLOSED TREE
2014-08-12 11:00:15 +05:30
Nicholas Nethercote
72f6b8a657
Bug 1050036 - Reduce default and minimum capacity of pldhash. r=roc.
2014-08-11 18:16:43 -07:00
Ryan VanderMeulen
c3bf627f49
Backed out 5 changesets (bug 1049051) for B2G mochitest leaks.
...
Backed out changeset 4a283d42050c (bug 1049051)
Backed out changeset 06dd873bb3e9 (bug 1049051)
Backed out changeset 96b54c1771b6 (bug 1049051)
Backed out changeset f4fdedef6297 (bug 1049051)
Backed out changeset c4649e6ddd22 (bug 1049051)
2014-08-11 15:19:59 -04:00
Blake Kaplan
164fd2b0e8
Bug 1041822 - Add LookupOrAdd to nsClassHashtable. r=bsmedberg
2014-08-11 11:13:36 -07:00
Eric Rahm
f7583e2300
Bug 1049051 - Part 5: Make sDeadlockDetector access internal
2014-08-11 10:30:48 -07:00
Eric Rahm
831bd5aaf2
Bug 1049051 - Part 4: Make PrintCycle internal
2014-08-11 10:30:08 -07:00
Eric Rahm
1c1f89191f
Bug 1049051 - Part 3: DeadlockDetector Add/Remove can take a const param
2014-08-11 10:29:59 -07:00
Eric Rahm
04c5055264
Bug 1049051 - Part 2: Remove DeadlockDetectorEntry
2014-08-11 10:29:49 -07:00
Eric Rahm
77dae2d4a3
Bug 1049051 - Part 1: Remove ResourceAcquisition
2014-08-11 10:29:43 -07:00
Kyle Huey
1a54dbf30a
Bug 1051122: Don't infinitely recurse in CodeAddressServiceStringAlloc::free. r=dbaron
2014-08-10 09:27:23 -07:00
Bill McCloskey
6b7be2d5f6
Bug 1045847 - Initialize sProcessType really, really early (r=khuey)
2014-08-08 17:52:12 -07:00
Eric Rahm
fb39a2cd56
Bug 1049068 - Part 6: Remove CallStack. r=froydnj
...
--HG--
extra : rebase_source : 353235acfc8bba8c0d7d578bc6cfa19135af1072
2014-08-08 11:44:03 -07:00
Eric Rahm
4f473fd7b2
Bug 1049068 - Part 5: Remove unused CallStack params. r=froydnj
...
--HG--
extra : rebase_source : bb83004815186347253090a334b97f1587997a38
2014-08-08 11:43:58 -07:00
Eric Rahm
64898ca4d4
Bug 1049068 - Part 4: Remove mFirstSeen from OrderingEntry. r=froydnj
...
--HG--
extra : rebase_source : 095bb9298b07cc1308a6b8476ddf9d75e2e7af50
2014-08-08 11:43:51 -07:00
Eric Rahm
ba4ff11036
Bug 1049068 - Part 3: Remove mCallContext from ResourceAcquisition. r=froydnj
...
--HG--
extra : rebase_source : 5b1c0e5b0d0e722af8ca496240e4bc5e080edae6
2014-08-08 11:43:38 -07:00
Eric Rahm
138b553173
Bug 1049068 - Part 2: Store acquisition state as a bool instead of a CallStack. r=froydnj
...
--HG--
extra : rebase_source : 5e182b5261bc80f8df3f77040fa4bfcfe9839ffd
2014-08-08 11:43:26 -07:00
Eric Rahm
05f6577110
Bug 1049068 - Part 1: Remove callstack printing. r=froydnj
...
--HG--
extra : rebase_source : 3f672ee2c07ca17721543e61b010dc000ff4d9a1
2014-08-08 11:43:19 -07:00
Jim Chen
f16ac94bd4
Bug 1049161 - Fix ThreadStackHelper thread handle permissions on Windows; r=snorp
2014-08-08 18:11:53 -04:00
Wes Kocher
ea2ca055ae
Merge m-c to inbound on a CLOSED TREE
2014-08-08 14:15:34 -07:00