David Rajchenbach-Teller
8d9b6b770a
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
702b639d86
Bug 1065670 - Fix more bad implicit ctors in XPCOM; r=froydnj
2014-09-11 16:04:18 -04:00
Kyle Huey
cfc08137ac
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
9b5d5a69cc
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
668f9a0eb5
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
b662348a22
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
cb8defd2fa
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
d64852855e
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
af04cea2d8
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
04a675301a
Bug 473822 - Square brackets not percent-encoded in URI's query-part. r=jduell
2014-09-06 01:32:04 +03:00
Andrew McCreight
06744b6f48
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
1c9fdc95c0
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
6813ce3dab
Bug 1042654: Remove nsITouchEventReceiver r=bz
2014-09-05 23:32:49 -04:00
Anuj Agarwal
09aa8919f5
Bug 1034921 - Remove dangerous public destructor of nsFoo in TestThreadUtils.cpp. r=nfroyd
2014-09-04 07:07:00 +02:00
Nicholas Nethercote
c632d54478
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
ab2d367e37
Bug 1050601 - Remove fix-linux-stack.pl. r=ted.
...
--HG--
extra : rebase_source : f344aa5db9e16575835a7de3df34c311635c128b
2014-09-03 09:24:38 -07:00
Mike Hommey
0060683747
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
ed70c5f377
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
44c8808fe5
Bug 1061385 - Remove |Writer| parameter from CodeAddressService. r=mccr8.
...
--HG--
extra : rebase_source : 0ed67121aac5c9f63ed647e31cd5321eca0b25b7
2014-09-01 20:03:06 -07:00
Ehsan Akhgari
b1b56df2fe
Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg
2014-09-02 18:24:49 -04:00
Ehsan Akhgari
5bffafdd26
Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg
2014-09-02 18:24:24 -04:00
Trevor Saunders
d75ed5bf7f
bug 1059490 - mark more classes MOZ_FINAL r=froydnj
2014-08-27 14:26:48 -04:00
Trevor Saunders
99c54d4b34
bug 1059429 - fix static constructor for FlushEvent r=froydnj
2014-08-27 14:06:55 -04:00
Ryan VanderMeulen
dfd4efa147
Merge inbound to m-c. a=merge
...
CLOSED TREE
2014-09-02 14:23:25 -04:00
ffxbld
e1ad3b108d
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2014-09-02 12:54:33 -04:00
Ehsan Akhgari
6f002e45f7
Bug 1060973 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-09-02 09:50:07 -04:00
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
Eric Rahm
169dd69fe4
Bug 1050445 - Part 1: Add AcquisitionState typedef. r=froydnj
...
--HG--
extra : rebase_source : 8c14b4181f022ef739cefc7e97689de1c7ec239c
2014-08-13 12:36:41 -07:00
Birunthan Mohanathas
1368df8aae
Bug 1046841 - Convert xpcom/build/ to Gecko style. r=froydnj
2014-08-13 11:45:37 -07:00
Trevor Saunders
b9b88628a5
[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
511f6ef1c5
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Eric Rahm
939cad0587
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
9e9c81074a
Bug 1049051
- Part 4: Make PrintCycle internal. r=froydnj
...
--HG--
extra : rebase_source : 594237c0e3e738078a9e571d9515c6feb0fd7bed
2014-08-12 11:43:27 -07:00
Eric Rahm
ac663bd332
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
834c32b5bb
Bug 1049051
- Part 2: Remove DeadlockDetectorEntry. r=froydnj
...
--HG--
extra : rebase_source : e87b5b20130508953360b367c76b4d00338f2cdc
2014-08-12 11:42:28 -07:00
Eric Rahm
d733f0c695
Bug 1049051
- Part 1: Remove ResourceAcquisition. r=froydnj
...
--HG--
extra : rebase_source : 86bc896f9c2833996c4c5eebcc034acbadedbd4a
2014-08-12 11:42:10 -07:00
Vladimir Vukicevic
30ef1c1524
b=1046222; change XPCOM_DEBUG_BREAK default under Windows to "warn"; r=bsmedberg
2014-08-12 12:04:32 -04:00
Julian Seward
39acca7bb0
Bug 1050185 - Make ThreadStackHelper::FillThreadContext Valgrind-friendly. r=nchen
2014-08-12 12:15:06 +02:00
Nigel Babu
a40ca1f89d
Backed out changeset 54b5997186eb (bug 1050036) for mochitest bustage on A CLOSED TREE
2014-08-12 11:00:15 +05:30
Nicholas Nethercote
e8baa9a8c6
Bug 1050036 - Reduce default and minimum capacity of pldhash. r=roc.
2014-08-11 18:16:43 -07:00
Ryan VanderMeulen
51acf27406
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
d0f92bdf21
Bug 1041822 - Add LookupOrAdd to nsClassHashtable. r=bsmedberg
2014-08-11 11:13:36 -07:00
Eric Rahm
a917687861
Bug 1049051
- Part 5: Make sDeadlockDetector access internal
2014-08-11 10:30:48 -07:00
Eric Rahm
5ccf371153
Bug 1049051
- Part 4: Make PrintCycle internal
2014-08-11 10:30:08 -07:00
Eric Rahm
8b1dc0774f
Bug 1049051
- Part 3: DeadlockDetector Add/Remove can take a const param
2014-08-11 10:29:59 -07:00
Eric Rahm
64b760f3a1
Bug 1049051
- Part 2: Remove DeadlockDetectorEntry
2014-08-11 10:29:49 -07:00
Eric Rahm
0da66de767
Bug 1049051
- Part 1: Remove ResourceAcquisition
2014-08-11 10:29:43 -07:00
Kyle Huey
f44be6e473
Bug 1051122: Don't infinitely recurse in CodeAddressServiceStringAlloc::free. r=dbaron
2014-08-10 09:27:23 -07:00
Bill McCloskey
d52ab46335
Bug 1045847 - Initialize sProcessType really, really early (r=khuey)
2014-08-08 17:52:12 -07:00
Eric Rahm
a5a7b80dad
Bug 1049068 - Part 6: Remove CallStack. r=froydnj
...
--HG--
extra : rebase_source : 353235acfc8bba8c0d7d578bc6cfa19135af1072
2014-08-08 11:44:03 -07:00
Eric Rahm
fd41273704
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
fa63ab7ca4
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
6194496e1f
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
0f271b4889
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
379c1f2094
Bug 1049068 - Part 1: Remove callstack printing. r=froydnj
...
--HG--
extra : rebase_source : 3f672ee2c07ca17721543e61b010dc000ff4d9a1
2014-08-08 11:43:19 -07:00
Jim Chen
3fb637553d
Bug 1049161 - Fix ThreadStackHelper thread handle permissions on Windows; r=snorp
2014-08-08 18:11:53 -04:00
Wes Kocher
98f9eac6dd
Merge m-c to inbound on a CLOSED TREE
2014-08-08 14:15:34 -07:00
Kyle Huey
a874f0a039
Bug 1049694: Remove unused mozilla::CharTokenizer. r=froydnj
2014-08-08 11:11:33 -07:00
Nicholas Nethercote
a7cf4142b4
Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
...
* * *
imported patch rm-dummy-params
--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Birunthan Mohanathas
c70ab152cb
Bug 1050003
- Remove unnecessary if checks before delete-ing in xpcom/. r=froydnj
2014-08-08 07:04:45 -07:00
Birunthan Mohanathas
3e8abfd2e8
Bug 1049997
- Separate statements declaring multiple pointers into separate statements. r=froydnj
2014-08-08 07:04:45 -07:00
Terrence Cole
3718c92afc
Bug 1047120 - PurpleBuffer doesn't actually need to use Heap<T>; r=mccr8,jonco
2014-07-31 14:43:45 -07:00
Mike Hommey
89777800f9
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
...
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Nicholas Nethercote
ac2d623ffd
No bug. Remove two "njn: ..." comments I accidentally left in. r=me.
...
DONTBUILD because the patches contains only trivial comment changes.
--HG--
extra : rebase_source : ecc0bd10c43c6d4223f5301ff11cbd2a56c9912b
2014-08-06 16:19:55 -07:00
Bill McCloskey
024b67429e
Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke)
2014-08-05 21:43:36 -07:00
Mike Hommey
d9443ec932
Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal
2014-08-06 07:25:33 +09:00
Andrew McCreight
228d194059
Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn
2014-08-05 13:27:41 -07:00
Ehsan Akhgari
3a6aef3468
Bug 1048280 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-08-05 09:36:59 -04:00
Ehsan Akhgari
4af9c14370
Bug 1048239 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-08-05 09:36:32 -04:00
Ehsan Akhgari
c885140822
Bug 1047781 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-08-05 09:21:27 -04:00
Eric Rahm
4d0205fb6f
Bug 1027921 - Part 9: Add DeadlockDetector memory reporter. r=njn, r=froydnj
2014-08-04 16:20:37 -07:00
Eric Rahm
9961766b9d
Bug 1027921 - Part 8: Remove dead entries. r=froydnj, r=cjones
2014-08-04 16:16:56 -07:00
Eric Rahm
712c1341c7
Bug 1027921 - Part 7: Extend scalability tests. r=froydnj
2014-08-04 16:16:43 -07:00
Eric Rahm
0e0a8f6187
Bug 1027921 - Part 6: Increase scalability test load. r=froydnj
2014-08-04 16:16:33 -07:00
Eric Rahm
0253bbef27
Bug 1027921 - Part 5: Enable DeadlockDetector tests on OS X. r=froydnj
2014-08-04 16:16:20 -07:00
Eric Rahm
0dee464ab4
Bug 1027921 - Part 4: Add SizeOf functions. r=njn, r=froydnj
2014-08-04 16:16:09 -07:00
Eric Rahm
fcf850d6de
Bug 1027921 - Part 3: Remove PLHash wrappers. r=froydnj
2014-08-04 16:15:58 -07:00
Eric Rahm
09201fc8a1
Bug 1027921 - Part 2: Switch to nsClassHashtable. r=froydnj
2014-08-04 16:15:46 -07:00
Eric Rahm
39d5bca650
Bug 1027921 - Part 1: Store ref to resource in the OrderingEntry. r=froydnj
2014-08-04 16:15:24 -07:00
Eric Rahm
c7a5fc07c7
Bug 1047176 - Part 2: Use NS_PTR_TO_UINT32 in nsHashKeys. r=froydnj
...
--HG--
extra : rebase_source : 61e21dd66a5fbf79dbdf78e664f37dbf7967c3a2
2014-08-04 11:29:30 -07:00
Nicholas Nethercote
48406d15bd
Bug 1047220 - Shrink the static atoms table. r=bz.
...
--HG--
extra : rebase_source : a7f8d54cce7f20d784371348f0d0cabdacf43c0a
2014-07-31 22:57:13 -07:00
Nicholas Nethercote
d6833db2a9
Bug 1046529 (part 2) - Ensure static atoms always end up in gStaticAtomTable. r=bz,hsivonen.
2014-07-30 23:22:42 -07:00
Nicholas Nethercote
3a306a87c3
Bug 1046529 (part 1) - Split and simplify AtomTableKey's constructors. r=bz.
2014-07-30 23:22:40 -07:00
Birunthan Mohanathas
be57fcc677
Bug 1046841 - Convert xpcom/components/ to Gecko style. r=froydnj
2014-08-02 13:44:06 -07:00
Jeff Walden
3815e2fdb1
Bug 1047123 - ThreadStackHelper should use UniquePtr<uint8_t[]>, not ScopedDeleteArray. r=jchen
...
--HG--
extra : rebase_source : 11aec2ba0c908a5ad892b832db130a84c562566b
2014-08-01 10:49:37 -07:00
Ben Kelly
f3c30ce8d7
Bug 1025183
P2 Document how UTF16CharEnumerator treats buffer position on error. r=bz
2014-08-01 16:23:48 -04:00
Ryan VanderMeulen
141996a3e9
Merge m-c to inbound on a CLOSED TREE. a=merge
2014-08-01 16:01:07 -04:00
Ryan VanderMeulen
f78709c176
Backed out changeset ce357b802532 (bug 1046841) for merge conflicts with bug 977026.
2014-08-01 16:00:35 -04:00
Ryan VanderMeulen
e953ea9c38
Merge inbound to m-c. a=merge
2014-08-01 15:59:05 -04:00
Ben Kelly
93f746a2f6
Revert bug 1025183
(revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me
2014-08-01 14:10:40 -04:00
Ben Kelly
d0f2be32c0
Bug 1025183
P2 Document how UTF16CharEnumerator treats buffer position on error. r=bz
2014-08-01 13:56:59 -04:00
Ed Morley
bf8ae62798
Merge mozilla-central and b2g-inbound
2014-08-01 18:03:34 +01:00
Andrew McCreight
fb1bd79d45
Bug 1004609, part 8 - Implement a caching version of WalkTheStack using LocationService. r=froydnj
...
Then use it in ref counting.
2014-08-01 09:27:35 -07:00
Ed Morley
93c74c3ede
Backed out changeset 36fb56f9582f (bug 1025183
)
2014-08-01 10:27:36 +01:00
Andrew McCreight
1bc1c6b551
Bug 1004593 - Remove the unused nsTraceRefCnt::Startup(). r=froydnj
2014-08-01 10:02:30 -07:00
Birunthan Mohanathas
c838b087ed
Bug 1046841 - Convert xpcom/components/ to Gecko style. r=froydnj
2014-08-01 09:43:23 -07:00
Jeff Muizelaar
d20849c5bf
Bug 1044241. Discard tile back buffers that haven't been recently used. r=nical
...
Tracks tiles that have a back buffer with a nsExpirationTracker and discards
them after a while. This should help us claim back tile memory for tiles
that have stopped changing.
--HG--
extra : rebase_source : 2528de0a6fac08cb6f97ebd946d9f72a63b7d2b1
2014-07-31 23:25:37 -04:00
Nicholas Nethercote
bfc1f78542
Bug 1046477 (part 2) - Don't measure the heap size of static atoms. r=froydnj.
...
--HG--
extra : rebase_source : c96563845a8a67ee815ba0b84108321cadfa62dd
2014-07-30 23:19:23 -07:00
Nicholas Nethercote
f907318caa
Bug 1046477 (part 1) - Separate the reporting of the main and static atoms tables. r=froydnj.
...
--HG--
extra : rebase_source : c60db11fc39d180e43f22e7f395eea24cd358aa3
2014-07-30 23:06:57 -07:00
Andrew McCreight
7bf01ccf5c
Backout 6bdab42ab879 for breaking S builds
2014-07-31 17:15:17 -07:00
Andrew McCreight
5789405d87
Backed out changeset a9cf5734aff2
2014-07-31 17:14:34 -07:00
Andrew McCreight
43d6f265f1
Bug 1004609, followup - fix non STACKWALKING_AVAILABLE builds. r=bustage
2014-07-31 17:02:02 -07:00
Ben Kelly
9586983b36
Bug 1025183
P2 Document how UTF16CharEnumerator treats buffer position on error. r=bz
2014-07-31 19:40:12 -04:00
Andrew McCreight
7129a441e8
Bug 1004609, part 8 - Implement a caching version of WalkTheStack using LocationService. r=froydnj
...
Then use it in ref counting.
2014-07-31 16:39:25 -07:00
Andrew McCreight
081e25d9f3
Bug 1004609, part 7 - Move LocationService into xpcom. r=njn,froydnj
2014-07-31 16:39:25 -07:00
Andrew McCreight
d195958a97
Bug 1004609, part 6 - Add empty CodeAddressService.h file. r=froydnj
2014-07-31 16:39:25 -07:00
Nathan Froyd
12c76f15f7
Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium
2014-07-24 11:55:33 -04:00
Thinker K.F. Li
0d57c5a21f
Bug 977026 - Part 3: Preload XPT before calling fork. r=bsmedberg
2014-07-25 20:52:00 -04:00
Thinker K.F. Li
e9dc84b5a1
Bug 977026 - Part 2: B2G loader. r=khuey, r=cyu
...
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-30 03:24:00 -04:00
Bill McCloskey
8bcf32b6ed
Back out bug 950745 for crashes
2014-07-30 16:19:46 -07:00
Andrew McCreight
98c826564a
Bug 1045239 - Add a version of nsTHashtable::SizeOfExcludingThis that uses the entry's SizeOfExcludingThis. r=froydnj
2014-07-30 13:00:29 -07:00
Benoit Jacob
c50ccf8dba
Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj
2014-07-30 15:52:05 -04:00
Nicholas Nethercote
c9d9d3f8f5
Bug 1045920 (part 1) - Rename xpcom/tests/TestRefPtr.cpp as TestNsRefPtr.cpp, to avoid clashing with the soon-to-be-added mfbt/tests/TestRefPtr.cpp. r=froydnj.
...
--HG--
rename : xpcom/tests/TestRefPtr.cpp => xpcom/tests/TestNsRefPtr.cpp
2014-07-30 06:59:32 -07:00
Ehsan Akhgari
3fa82c9346
Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-07-29 20:43:56 -04:00
Andrew McCreight
44c42eea7a
Bug 1037510, part 1 - Add nursery size as a parameter of CycleCollectedJSRuntime. r=khuey
2014-07-29 15:38:14 -07:00
Jeff Walden
e9e4aa4f5e
Bug 1044598 - Make nsCOMPtr.h no longer depend on the un-definition of MOZ_HAVE_CXX11_NULLPTR. r=ehsan
...
--HG--
extra : rebase_source : cc737646470e6ebb81f87d3a0751f20b712c9390
2014-07-29 11:41:45 -07:00
Blake Kaplan
ca74ecaa11
Bug 1041881 - Don't take template parameters by value to avoid accidentally constructing objects. r=khuey
...
--HG--
extra : rebase_source : 92bf47631beed8dd0c3f5b29b1cfb0b30e502364
2014-07-29 14:46:16 -04:00
Jim Chen
f2be2c8b3c
Bug 1034138 - a. Get native stack for permahangs in BHM; r=snorp
2014-07-29 10:33:11 -04:00
Jan Beich
85f650feb1
Bug 1045176 - Unbreak build on non-SPS platforms after bug 1016629. r=nchen
2014-07-28 12:29:00 +02:00
Daniel Holbert
ff3ada8eb7
Bug 1045110 - Add parens around assignment in "while" condition, to silence GCC Wparentheses warning. r=njn
2014-07-28 17:09:00 +02:00
Mike Hommey
9424087517
Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE.
2014-07-29 14:50:41 +09:00
Wes Kocher
1ce0c3e306
Merge m-c to inbound on a CLOSED TREE
2014-07-28 18:51:24 -07:00
Mike Hommey
2bab6202af
Bug 1043820 - Remove PARALLEL_DIRS. r=gps
2014-07-29 08:57:59 +09:00
Mike Hommey
5f6ba110e6
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Carsten "Tomcat" Book
aeabc85ae7
Merge mozilla-central to b2g-inbound
2014-07-28 16:06:50 +02:00
Thinker K.F. Li
05f5436a80
Bug 977026 - part 3: preload XPT before calling fork. r=bsmedberg
2014-07-25 20:52:00 +02:00
Thinker K.F. Li
5a9232dbfc
Bug 977026 - part 2: B2G loader. r=khuey,cyu
...
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-25 20:52:00 +02:00
Carsten "Tomcat" Book
527ca8966a
Backed out changeset 4e4358c01816 (bug 1016629)
2014-07-25 15:59:55 +02:00
Carsten "Tomcat" Book
289ad915a3
Backed out changeset 3e869dd7e82a (bug 1016629)
2014-07-25 15:59:52 +02:00
Carsten "Tomcat" Book
8d17345642
Backed out changeset 8d539315541d (bug 1016629)
2014-07-25 15:59:49 +02:00
Carsten "Tomcat" Book
99baad649a
Backed out changeset e008d505335a (bug 1016629)
2014-07-25 15:59:46 +02:00
Carsten "Tomcat" Book
f906a9a939
Backed out changeset 7cae21b839ad (bug 1016629)
2014-07-25 15:59:33 +02:00
Carsten "Tomcat" Book
e84a3adc33
Backed out changeset b0b4205c25e8 (bug 1034138)
2014-07-25 15:59:22 +02:00
Birunthan Mohanathas
c95547c7c8
Bug 1035884 - Follow-up: Use typedef for ns(C){CharSeparated,Whitespace}Tokenizer. r=froydnj
2014-07-27 08:52:52 -07:00
Birunthan Mohanathas
77bec57910
Bug 1035884 - Follow-up: Remove SubstringType template argument for ns{CharSeparated,Whitespace}Tokenizer. r=froydnj
2014-07-27 08:52:52 -07:00
Andrew McCreight
b4fcba544d
Bug 1038887 - Add back null check to nsErrorService::GetErrorStringBundle. r=froydnj
2014-07-25 16:41:24 -07:00
Andrew McCreight
c595fb5556
Bug 1034920, part 3 - nsNativeModuleLoader doesn't need to implement ModuleLoader. r=froydnj
...
It is only used as a field of gComponentManager, so the full nsISupports and COM treatment isn't needed.
2014-07-28 10:15:58 -07:00
Andrew McCreight
dc5aa5c060
Bug 1034920, part 2 - Fix names of NativeLoadData. r=froydnj
2014-07-28 10:15:57 -07:00
Andrew McCreight
8f40f924a8
Bug 1034920, part 1 - Rename nsNativeComponentLoader.{h,cpp} to the actual class name. r=froydnj
...
--HG--
rename : xpcom/components/nsNativeComponentLoader.cpp => xpcom/components/nsNativeModuleLoader.cpp
rename : xpcom/components/nsNativeComponentLoader.h => xpcom/components/nsNativeModuleLoader.h
2014-07-28 10:15:57 -07:00
Jim Chen
ece64c8aec
Bug 1016629 - g. Avoid ASan flag when copying stack; r=snorp
2014-07-28 13:30:22 -04:00
Jim Chen
357f3bc197
Bug 1016629 - e. Implement platform-specific code for filling in context; r=snorp r=jseward
2014-07-28 13:30:21 -04:00
Jim Chen
b0aade637f
Bug 1016629 - d. Add and implement GetNativeStack method in ThreadStackHelper; r=snorp r=jseward
2014-07-28 13:30:21 -04:00
Jim Chen
500bc7575f
Bug 1016629 - c. Add define for ThreadStackHelper pseudostack support; r=snorp
2014-07-28 13:30:20 -04:00
Jim Chen
e15783a41a
Bug 1016629 - b. Use RAII class to assign mStackToFill; r=snorp
2014-07-28 13:30:20 -04:00
Ehsan Akhgari
520fd897ed
Bug 1045065 - Fix some bad implicit constructors in xpcom; r=froydnj
2014-07-28 13:19:06 -04:00
Ms2ger
33f3b92033
Bug 1044657 - Move PYTHON_UNIT_TESTS to moz.build; r=mshal
...
As a first step, this moves PYTHON_UNIT_TESTS to moz.build as a passthru
variable. In the future, we could hook it up to |mach test|.
The __init__.py files may not need to be in the list, but I don't want to
change the list here.
2014-07-28 17:51:12 +02:00
Jon Coppeard
c71e29bdb6
Bug 1043888 - Make GetObjetZone() work on nursery objects and rename GetGCThingZone() to GetTenuredGCThingZone() r=terrence
2014-07-28 10:39:36 +01:00
Jim Chen
9a028cccff
Bug 1034138 - a. Get native stack for permahangs in BHM; r=snorp
2014-07-24 22:33:49 -04:00
Jim Chen
663b6b2b0d
Bug 1016629 - g. Avoid ASan flag when copying stack; r=snorp
2014-07-24 22:33:49 -04:00
Jim Chen
11451edf94
Bug 1016629 - e. Implement platform-specific code for filling in context; r=snorp r=jseward
2014-07-24 22:33:47 -04:00
Jim Chen
4ff9846023
Bug 1016629 - d. Add and implement GetNativeStack method in ThreadStackHelper; r=snorp r=jseward
2014-07-24 22:33:46 -04:00