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
Jim Chen
bfe0382b88
Bug 1016629 - c. Add define for ThreadStackHelper pseudostack support; r=snorp
2014-07-24 22:33:46 -04:00
Jim Chen
a1a10edac9
Bug 1016629 - b. Use RAII class to assign mStackToFill; r=snorp
2014-07-24 22:33:45 -04:00
Jeff Walden
235c1f7500
Bug 1037100 - Remove all use of ScopedDeleteArray from miscellaneous places. r=jcranmer
...
--HG--
extra : rebase_source : 937557b819742ee62e10a4afa6c5152b910cd8b2
2014-07-10 20:37:40 -07:00
Eric Rahm
64c1102336
Bug 1038888
- Extend system memory reporter to report ion memory. r=njn
...
--HG--
extra : rebase_source : 39dbc0a696d67c1a239876ec8ca412527fc2712e
2014-07-23 16:36:27 -07:00
Mike Hommey
7cab62150a
Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps
2014-07-23 13:33:09 +09:00
Mike Hommey
95063176fa
Bug 1036894
part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
...
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.
Always pass EXTRA_LIBS before OS_LIBS on linker command lines.
Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5fab42fcaf
Bug 1036894
part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps
2014-07-23 13:30:52 +09:00
Mike Hommey
6d6d400ea1
Bug 1036894
part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps
2014-07-23 13:29:44 +09:00
Mike Hommey
a33d7d67e6
Bug 1036894
part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
...
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Mike Hommey
622bf09730
Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal
2014-07-23 08:39:56 +09:00
Mike Hommey
bc5d6801bb
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Eric Rahm
99c9bcaeba
Bug 1038921 - Extend system memory reporter to report kgsl memory. r=njn
2014-07-21 17:25:21 -07:00
Birunthan Mohanathas
fbc73fc3b9
Bug 1041208 - Flatten chrome/{public,src}/ directories. r=mossop
...
--HG--
rename : chrome/src/Makefile.in => chrome/Makefile.in
rename : chrome/src/RegistryMessageUtils.h => chrome/RegistryMessageUtils.h
rename : chrome/src/nsChromeProtocolHandler.cpp => chrome/nsChromeProtocolHandler.cpp
rename : chrome/src/nsChromeProtocolHandler.h => chrome/nsChromeProtocolHandler.h
rename : chrome/src/nsChromeRegistry.cpp => chrome/nsChromeRegistry.cpp
rename : chrome/src/nsChromeRegistry.h => chrome/nsChromeRegistry.h
rename : chrome/src/nsChromeRegistryChrome.cpp => chrome/nsChromeRegistryChrome.cpp
rename : chrome/src/nsChromeRegistryChrome.h => chrome/nsChromeRegistryChrome.h
rename : chrome/src/nsChromeRegistryContent.cpp => chrome/nsChromeRegistryContent.cpp
rename : chrome/src/nsChromeRegistryContent.h => chrome/nsChromeRegistryContent.h
rename : chrome/public/nsIChromeRegistry.idl => chrome/nsIChromeRegistry.idl
rename : chrome/public/nsIToolkitChromeRegistry.idl => chrome/nsIToolkitChromeRegistry.idl
2014-07-19 12:43:38 -07:00
Birunthan Mohanathas
0c6b4675d1
Bug 1035884 - Template-ify nsWhitespaceTokenizer to remove duplicate code. r=froydnj
2014-07-18 14:52:29 -07:00
Birunthan Mohanathas
f8536cf3a0
Bug 1035884 - Template-ify nsCharSeparatedTokenizer to remove duplicate code. r=froydnj
2014-07-18 14:52:29 -07:00
Jeff Muizelaar
06de3f589e
Bug 1039521 - nsTArray: Add an AppendElement take taking a r-value reference. r=froydnj
...
This lets us store UniquePtr's in nsTArrays
--HG--
extra : rebase_source : d7ea9ef710bd2451d0e2e9ba1aaefa9559315875
2014-07-18 09:43:42 -04:00
Jan Keromnes
f0379ce0c3
Bug 1035396 - Make Linux USS reporting 2x faster. r=nbp,njn
2014-07-21 18:23:49 -07:00
ffxbld
13e1f93153
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2014-07-21 14:19:15 -07:00
Nicholas Nethercote
c07ebda3e2
Bug 1035570 (part 3) - DMD: Add DMDAnalyzeHeap(), a heap snapshot function. r=erahm,mccr8.
...
The patch also adds DMDAnalyzeReports() as a synonym for DMDReportAndDump(),
and deprecates the latter.
--HG--
extra : rebase_source : 651246aa7a0a301f804c124f25beb0e8ed6cd67f
2014-05-29 23:46:09 -07:00
Bill McCloskey
d0e49be19d
Bug 1040726 - Urgent message assertion in ProcessNextEvent shouldn't fire off the main thread (r=bsmedberg)
2014-07-18 09:16:15 -07:00
Bill McCloskey
c87bbeeeda
Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke)
2014-07-17 21:09:45 -07:00
Ehsan Akhgari
696561ed21
Bug 1040041 - Give FakeInputStream a private destructor; r=bjacob
...
--HG--
extra : rebase_source : 84714cdecb28b2dbbac6ffc98adfc079c8e87a2f
2014-07-17 16:48:00 -04:00
Ehsan Akhgari
b22accab74
Bug 1040042 - Give nsDirEnumerator a private destructor; r=bsmedberg
...
--HG--
extra : rebase_source : 31eb282adf3891323fc2295ffa69a04e7ec97301
2014-07-17 16:39:41 -04:00
Benjamin Smedberg
80cf96cd26
Bug 1033522 - Only initialize the Windows Group ID for plugin processes: other process types don't need it. Refactor the saved GRE dir to use a path rather than a non-threadsafe nsIFile object, r=jimm
...
--HG--
extra : rebase_source : d15c56da6cc5679516b259a6fc7efb31b070f715
2014-07-17 11:15:09 -04:00
Carsten "Tomcat" Book
3bf8efc62d
Backed out changeset 3325b46334d9 (bug 988464) for xpcshell test failure
2014-07-17 08:49:57 +02:00
Randell Jesup
7385a3fcfb
Bug 988464: log nsThreads still active at nsThreadManager::Shutdown() r=bsmedberg
2014-07-17 00:38:51 -04:00
Birunthan Mohanathas
a4ac396211
Bug 1038535 - Flatten caps/{idl,include,src}/ directories. r=bholley,gps
...
--HG--
rename : caps/src/DomainPolicy.cpp => caps/DomainPolicy.cpp
rename : caps/include/DomainPolicy.h => caps/DomainPolicy.h
rename : caps/idl/nsIDomainPolicy.idl => caps/nsIDomainPolicy.idl
rename : caps/idl/nsIPrincipal.idl => caps/nsIPrincipal.idl
rename : caps/idl/nsIScriptSecurityManager.idl => caps/nsIScriptSecurityManager.idl
rename : caps/src/nsJSPrincipals.cpp => caps/nsJSPrincipals.cpp
rename : caps/include/nsJSPrincipals.h => caps/nsJSPrincipals.h
rename : caps/src/nsNullPrincipal.cpp => caps/nsNullPrincipal.cpp
rename : caps/include/nsNullPrincipal.h => caps/nsNullPrincipal.h
rename : caps/src/nsNullPrincipalURI.cpp => caps/nsNullPrincipalURI.cpp
rename : caps/src/nsNullPrincipalURI.h => caps/nsNullPrincipalURI.h
rename : caps/src/nsPrincipal.cpp => caps/nsPrincipal.cpp
rename : caps/include/nsPrincipal.h => caps/nsPrincipal.h
rename : caps/src/nsScriptSecurityManager.cpp => caps/nsScriptSecurityManager.cpp
rename : caps/include/nsScriptSecurityManager.h => caps/nsScriptSecurityManager.h
rename : caps/src/nsSystemPrincipal.cpp => caps/nsSystemPrincipal.cpp
rename : caps/include/nsSystemPrincipal.h => caps/nsSystemPrincipal.h
2014-07-15 11:12:59 -07:00
Andrew McCreight
fa0eb3c609
Bug 1036629 - Take a deathgrip on the runnable passed to NS_DispatchToCurrentThread. r=bsmedberg
...
This will prevent a leak of the runnable if it is passed in with a refcount of zero and the dispatch fails.
2014-07-15 14:29:14 -07:00
Ehsan Akhgari
b05f9ad91b
Bug 1038213 - Give nsTestComFactory a private destructor; r=bjacob
2014-07-15 14:58:34 -04:00
Ehsan Akhgari
1defb58838
Bug 1038150 - Make nsAnonTempFileRemover's destructor private and also remove the useless ctor/dtor counting macros; r=bjacob
2014-07-15 14:54:15 -04:00
Ehsan Akhgari
b505b3890c
Bug 1038149 - Make nsDriveEnumerator's destructor private; r=bjacob
2014-07-14 21:47:36 -04:00
Ehsan Akhgari
992c52982c
Bug 1038148 - Give LowEventsReporter a private destructor; r=bjacob
2014-07-14 21:47:01 -04:00
Boris Zbarsky
a0954ac75c
Bug 857648 part 4. Add a formattedStack attribute on nsIStackFrame. r=khuey
2014-07-04 01:25:16 -04:00
Valentin Gosu
14c0879417
Bug 1036070 - Remove dangerous public destructor of VisualEventTracer r=froydnj
2014-07-13 21:16:55 +03:00
Kyle Huey
421f16973d
Bug 1034304: Remove nsIDOMHTMLAudio/VideoElement. r=smaug
2014-07-12 19:20:42 -07:00
Jan de Mooij
2a7ce8f885
Bug 1034689
part 2 - Add AssignJSFlatString and use it. r=bz,terrence
2014-07-12 09:43:06 +02:00
Bobby Holley
de1ac1f4bd
Bug 1036777 - Stop relying on useAllocator for 'in' string classes in ConvertIndependentParam. r=neil
2014-07-11 19:21:22 -07:00
Ed Morley
15de8c4224
Backed out changeset d89a7ed61c19 (bug 1035396) for asan failures
2014-07-11 15:58:21 +01:00
Jan Keromnes
d416feecc8
Bug 1035396 - Make Linux USS reporting 2x faster. r=nbp, r=njn
2014-07-11 05:03:00 -04:00
Jan de Mooij
cda5c814db
Bug 1034627 part 6 - Fix XPCVariant to work with Latin1 strings and nursery strings. r=bholley
...
--HG--
extra : rebase_source : be029c174195192570da688250583157825e9e06
2014-07-11 09:38:55 +02:00
Mike Hommey
70a5917917
Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal
2014-07-11 19:06:55 +09:00