Andy Wingo
41ba9c9473
Bug 951483 - Add back nsCycleCollector::ShutdownCollect assertion that was mistakenly removed in bug 945813. r=mccr8
2013-12-18 11:01:32 +01:00
Nils Maier
bf1452f63e
Bug 950391 - Add nsIMemoryReporterManager.unregisterStrongReporter. r=njn
...
Also do not allow to register non-native components as weak reporters.
2013-12-18 13:00:03 -05:00
Andrew McCreight
a8a41fffec
Bug 937818, part 4 - Exceeded refcount nodes should already be black. r=smaug
...
Due to graph mutation during an incremental cycle collection, objects in the CC graph
may end up with more things pointing to them than they have a ref count. However, these
objects should never become garbage.
2013-12-17 19:29:57 -08:00
Andrew McCreight
d8b513724e
Bug 937818, part 3 - Add ScanIncrementalRoots(). r=smaug
...
Any object that has been stored away somewhere in the middle of incremental graph
building must be treated as live, because we can't trust that the CC graph has
accurate information about it. If such an object is truly garbage, we'll unlink it
in the next cycle collection instead.
2013-12-17 19:29:57 -08:00
Andrew McCreight
5bbea5ab96
Bug 937818, part 1 - Add objects to the purple buffer on AddRef. r=smaug
...
ICC uses this to track objects that have been AddRef'd during ICC graph building.
For those objects, we may not have the proper information for them, so treat them
as live.
2013-12-17 19:29:57 -08:00
Carsten "Tomcat" Book
72465c7d55
Backed out changeset 261091719842 (bug 937818) for static rooting hazard analysis bustage on a CLOSED TREE
2013-12-17 09:20:51 +01:00
Carsten "Tomcat" Book
94d78eb137
Backed out changeset a9715a3b0e13 (bug 937818) for static rooting hazard analysis bustage on a CLOSED TREE
2013-12-17 09:20:31 +01:00
Carsten "Tomcat" Book
c0f42c8fcf
Backed out changeset ae01d2862600 (bug 937818) for static rooting hazard analysis bustage on a CLOSED TREE
2013-12-17 09:20:10 +01:00
Andrew McCreight
1793c5a978
Bug 937818, part 4 - Exceeded refcount nodes should already be black. r=smaug
...
Due to graph mutation during an incremental cycle collection, objects in the CC graph
may end up with more things pointing to them than they have a ref count. However, these
objects should never become garbage.
2013-12-16 21:30:54 -08:00
Andrew McCreight
d4062e027d
Bug 937818, part 3 - Add ScanIncrementalRoots(). r=smaug
...
Any object that has been stored away somewhere in the middle of incremental graph
building must be treated as live, because we can't trust that the CC graph has
accurate information about it. If such an object is truly garbage, we'll unlink it
in the next cycle collection instead.
2013-12-16 21:30:53 -08:00
Andrew McCreight
4b4868e59c
Bug 937818, part 1 - Add objects to the purple buffer on AddRef. r=smaug
...
ICC uses this to track objects that have been AddRef'd during ICC graph building.
For those objects, we may not have the proper information for them, so treat them
as live.
2013-12-16 21:30:53 -08:00
Nicholas Nethercote
af95c9e20c
Bug 945973 (part 4) - Add SystemMemoryReporter, which presents Linux-specific, system-wide memory measurements taken from the OS. r=glandium.
...
--HG--
extra : rebase_source : 032d1d2944b790ac9e9e4d7f18c8ac9d79858ef3
2013-12-04 19:32:50 -08:00
Nicholas Nethercote
1b4f5fb9ca
Bug 945973 (part 2) - Don't complain if there aren't any "explicit" reports for a process. r=mccr8.
...
--HG--
extra : rebase_source : 05129260b8a3e7cfbdadcecffe4c18715254323c
2013-12-03 20:19:41 -08:00
Nicholas Nethercote
7ab82a59e3
Bug 945973 (part 1) - Remove about:memory's is-a-sentence description check. r=mccr8.
...
--HG--
extra : rebase_source : bf47145a953a23b73fa1e7c441b695ffeceafbb8
2013-12-03 20:10:59 -08:00
Wes Kocher
a8ec671341
Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE
2013-12-16 18:27:43 -08:00
Ben Turner
cacd7aa212
Bug 914762 - Allow nsThread to be subclassed, r=bsmedberg.
...
--HG--
extra : transplant_source : %BD%C5%CB%7Fx%82q%FC%B6%AA%8B%8E%9Fo%BE%82%DE%09h%FF
2013-11-14 10:06:21 -08:00
Sean Stangl
0a79faf943
Bug 949183 - Fix jsid static constructor explosion. r=Waldo
2013-12-16 14:40:05 -08:00
Nathan Froyd
cef4749188
Bug 950281 - micro-optimize NS_TableDrivenQI by ensuring the table has at least 1 non-null entry; r=bsmedberg
2013-12-13 19:17:18 -05:00
Trevor Saunders
907dfc4528
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Byron Campen [:bwc]
7959d8557c
Bug 949749 - Fix up include guard in SyncRunnable.h. r=froydnj
2013-12-12 16:30:59 -08:00
Bill McCloskey
c4c1d8233a
Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg)
2013-12-12 14:13:20 -08:00
Mike Hommey
3325256d97
Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn
2013-12-09 13:39:26 +09:00
Bobby Holley
f9aa149cb5
Bug 937317 - Implement basic script settings stack machinery. r=bz
2013-12-11 17:51:57 -08:00
Alessio Placitelli
92adedf291
Bug 943511 - Remove allocator parameters from methods using nsSegmentedBuffer. r=bsmedberg
2013-12-11 14:14:56 -05:00
Alessio Placitelli
9f52de8940
Bug 943511 - Use fallible allocations in nsSegmentedBuffer::AppendNewSegment. r=bsmedberg
2013-12-11 14:14:28 -05:00
Ryan VanderMeulen
9a5a3e3614
Merge m-c to inbound.
2013-12-11 13:38:14 -05:00
Ryan VanderMeulen
106d512427
Merge b2g-inbound to m-c.
2013-12-11 13:24:26 -05:00
Jan Beich
2727a2615b
Bug 948833 - Explicitly include <algorithm> for std::max on FreeBSD. r=njn
2013-12-11 10:35:33 -05:00
Andrew McCreight
74b0e52065
Bug 948686 - Remove unused variable declaration. r=njn
2013-12-11 10:35:13 -05:00
Wes Kocher
b7e717b615
Merge m-c to b2g-inbound
2013-12-10 17:14:14 -08:00
Ryan VanderMeulen
6fb3114a62
Merge m-c to inbound.
2013-12-10 15:48:16 -05:00
Ryan VanderMeulen
e6e2bad3d0
Merge fx-team to m-c.
2013-12-10 15:39:40 -05:00
Marina Samuel
25f5738d76
Bug 945842: Show Metro bookmarks folder in Windows 8 only. r=bbondy
2013-12-10 13:42:16 -05:00
Ryan VanderMeulen
ca386608b9
Merge b2g-inbound to m-c.
2013-12-09 17:26:11 -05:00
Ryan VanderMeulen
3083eba130
Merge inbound to m-c.
2013-12-09 16:45:25 -05:00
Alex Keybl
b260957292
Merging in version bump NO BUG
2013-12-09 13:38:06 -05:00
Carsten "Tomcat" Book
d1456b8d0e
Backed out changeset 85196889c598 (bug 945042) PGO Test Bustage
2013-12-09 13:00:59 +01:00
Carsten "Tomcat" Book
488d65b1a9
merge mozilla-inbound to mozilla-central
2013-12-09 09:02:29 +01:00
Mike Hommey
eaa22cd1f1
Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn
2013-12-09 13:39:26 +09:00
Phil Ringnalda
5d8f74916d
Merge m-i to m-c
2013-12-08 18:53:55 -08:00
Phil Ringnalda
f676c9d65c
Backed out 5 changesets (bug 944665, bug 922465, bug 930282) for b2g xpcshell crashes
...
CLOSED TREE
Backed out changeset c4f970dd2a4f (bug 930282)
Backed out changeset 625f5303fc68 (bug 930282)
Backed out changeset bf8e90edd152 (bug 922465)
Backed out changeset a21b57c78253 (bug 944665)
Backed out changeset 9275a2efc9e3 (bug 944665)
--HG--
extra : rebase_source : bfbe3786e0db2073e26dc383b89525d22be0b3bd
2013-12-08 15:32:15 -08:00
Andrew McCreight
6e48581b17
Bug 947626 - Fix index types in nsCOMArray CC helpers and remove whitespace. r=froydnj
2013-12-08 08:56:00 -08:00
Carsten "Tomcat" Book
753b3497e1
merge b2g-inbound to m-c
2013-12-08 12:23:13 +01:00
Phil Ringnalda
be814322b0
Merge m-c to b-i
2013-12-07 15:15:53 -08:00
Phil Ringnalda
f251c5eb20
Merge m-c to m-i
2013-12-07 11:21:52 -08:00
Phil Ringnalda
6a951967dc
Merge m-c to b-i
2013-12-07 11:21:04 -08:00
Phil Ringnalda
e2e1627d17
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08:00
Jon Coppeard
fd24fa430f
Bug 939206 - Fix build error in test code on B2G r=me
2013-12-07 16:09:12 +00:00
Jon Coppeard
8b5902f0f2
Bug 942928 - Add tests for nsTArray postbarriers r=sfink
2013-12-07 12:50:44 +00:00
Jon Coppeard
1001d2a7ba
Bug 939206 - Fix nsTArray post barriers for JS::Heap<T> elements r=bsmedberg
2013-12-07 12:50:28 +00:00
Wes Kocher
ea7a42ee9b
merge m-c to b2g-inbound
2013-12-06 20:49:02 -06:00
Cervantes Yu
abb1abafe9
Bug 930282: Part 2: Mark PACMan thread and BackgroundHangMonitor thread. r=khuey
2013-12-07 10:28:42 +08:00
Benjamin Smedberg
cef6a4d1df
Bustage followup to bug 767343 in non-unified builds
...
On a CLOSED TREE.
--HG--
extra : amend_source : 509032affaebf78b8a0430f2ba8e214639cdcdd1
2013-12-06 16:59:35 -05:00
Ryan VanderMeulen
1d91fde607
Merge b2g-inbound to m-c.
2013-12-06 15:56:46 -05:00
Benjamin Smedberg
549bf9b283
Bug 767343 - Use fallible allocation in nsSupportsString::SetData because people are putting arbitrarily-large data in it, perhaps session-restore data but I'm not sure, r=froydnj
...
--HG--
extra : rebase_source : 2ca78473213f43537886e0108af6f88227278a72
2013-12-06 12:03:47 -05:00
Jim Chen
3f9c471ac7
Bug 946817 - Don't assert mPseudoStack on B2G. r=BenWa
2013-12-06 09:50:21 -05:00
Cameron McCormack
1e7916058d
Bug 947578 - Expose Contains on nsBaseHashtable. r=froydnj
2013-12-08 11:08:58 +11:00
Birunthan Mohanathas
759ab69b0a
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Phil Ringnalda
cce5e27704
Merge m-c to m-i
2013-12-08 17:32:55 -08:00
Nicholas Nethercote
492fe05fb7
Bug 948201 - Use a StaticRefPtr for gInterfaceInfoManager. r=bz.
...
--HG--
extra : rebase_source : be06bb4b77914dd1a5ae2a7e1cced40fcd5850f5
2013-12-07 21:41:32 -08:00
Ehsan Akhgari
d4490ee3c7
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Andy Wingo
37b518d477
Bug 945813 - Paper over cycle collection problem in IndexedDB. r=mccr8, r=khuey
2013-12-04 14:53:25 +01:00
Nicholas Nethercote
1e79a74289
Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8.
...
--HG--
extra : rebase_source : 1c70e838e3600745f69c5772a084398f78d4c477
2013-12-01 16:29:37 -08:00
Nicholas Nethercote
7b9f6814c3
Bug 947802 (part 1) - Inline DumpReport(). r=mccr8.
...
--HG--
extra : rebase_source : f5c8a655e88dc7641c2a9971d1174b0d689bf3b4
2013-12-01 16:14:26 -08:00
Nicholas Nethercote
bdfbbf7bcd
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
0b9a804eb0
Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
...
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Makoto Kato
7f101313f8
Bug 943203 - Remove QNX/NTO from xptcall. r=bsmedberg
2013-12-09 14:26:43 +09:00
Benjamin Smedberg
df726932bc
Bug 946877 followup - move nsDebugImpl.cpp out of unified sources so that it relaly isn't part of PGO, r=ted
2013-12-10 12:26:53 -05:00
Andrew McCreight
f2438191d3
Bug 947719 - Call Checkpoint on every slice in nsCycleCollector::MarkRoots. r=smaug
2013-12-10 08:07:20 -08:00
Benjamin Smedberg
81e6facd1d
Bug 946877 - Don't PGO nsDebugImpl.cpp, to see if that aids stackwalking around NS_OOM_ABORT, r=ted
2013-12-06 09:00:07 -05:00
Carsten "Tomcat" Book
8eed12cc2f
Backed out changeset 004fa11e352a (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:42:40 +01:00
Bobby Holley
95ee5b5404
Bug 937317 - Implement basic script settings stack machinery. r=bz
2013-12-05 21:34:16 -08:00
Anthony Jones
f9b34b9e32
Bug 839911 - Add a convenient forever() time period constructor; r=roc
2013-12-06 16:21:39 +13:00
Ben Turner
6eb088d3a1
Bug 939196 - Allow nsThread to have nested event queues, r=bsmedberg.
...
--HG--
extra : transplant_source : %DE%AF%BF%7E%94%5E%07%CDL%9C%01%28%9F6%8D%90%12%95%06s
2013-11-14 10:06:17 -08:00
Jon Coppeard
dc68689837
Bug 946732 - Reinstate xpcom/glue gtests r=BenWa
2013-12-05 16:48:48 +00:00
Mike Shal
94d19c46f2
Bug 875013 - Remove VPATH; r=glandium
2013-11-21 14:57:06 -05:00
Jan Beich
54fe9a1901
Bug 946560 - Dump about:memory upon receiving a signal on FreeBSD as well. r=njn
2013-12-05 09:38:46 -05:00
Ben Turner
f8558e4665
Bug 939182 - Integrate the chromium MessageLoop into nsThread, r=bsmedberg.
...
--HG--
extra : transplant_source : %82%D3%C5%E1%A4%E5%00%1C%C3%82%97v%7F%BA%20Ja%AA%C7%E5
2013-10-23 05:01:24 -07:00
Ben Turner
5e46d041d5
Bug 939182 - Add 'eventWasProcessed' argument to nsIThreadObserver::afterProcessNextEvent(), r=bsmedberg.
...
--HG--
extra : transplant_source : %5E%80p%D6%C6A%23%0AZ%06%23%16%155%DB%CE%F5%5CEx
2013-10-23 05:01:20 -07:00
Cervantes Yu
d713ee4776
Bug 930282: Part 2: Mark PACMan thread and BackgroundHangMonitor thread. r=khuey
2013-10-15 17:43:08 +08:00
Honza Bambas
c2f0adc9a2
Bug 899620 - Remove FORCE_PR_LOG from Windows implementation of TimeStamp, r=ehsan
2013-12-05 13:09:10 +01:00
Nicholas Nethercote
803d8a5bcc
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Jim Chen
456545fdc7
Bug 940737 - Monitor Compositor thread hangs using BackgroundHangMonitor; r=bsmedberg r=BenWa
2013-12-04 21:24:28 -05:00
Jacek Caban
843b3659fc
Bug 944905 - Fixed char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
2013-12-04 13:19:09 +01:00
Chris Peterson
0c2c02102c
Bug 945613 - Part 2: Mark xpcom/ds as FAIL_ON_WARNINGS. r=ehsan
2013-12-01 12:07:07 -08:00
Chris Peterson
53aeb5d833
Bug 945613 - Part 1: Suppress -Wdelete-non-virtual-dtor warning in nsAtomTable.cpp. r=ehsan
2013-12-01 12:06:29 -08:00
Ryan VanderMeulen
6294317fb8
Backed out changeset 2572592c326d (bug 945813) for Linux64 debug xpcshell crashes.
...
CLOSED TREE
2013-12-03 20:35:03 -05:00
Seth Fowler
6d3953bff9
Bug 940142 - Add a lightweight generic hash key class to nsHashKeys.h. r=bsmedberg
2013-12-03 16:23:32 -08:00
Ehsan Akhgari
a1e350edad
Bug 945592 - Convert the type macros in nsTextFormatter.cpp to enum values; r=froydnj
2013-12-03 15:41:25 -05:00
Andy Wingo
c0c5e99d51
Bug 945813 - Paper over cycle collection problem in IndexedDB. r=mccr8, r=khuey
2013-12-03 18:35:04 +01:00
Andrew McCreight
dc0b895a45
Bug 937751, part 7 - Incrementalize nsCycleCollector::MarkRoots. r=smaug
...
Now that all of MarkRoots's state is stored on the heap, it can be run
incrementally. Like with Collect, it takes a budget to determine how
long it can run. Any residual budget will be available to the caller.
One difference is that Collect calls checkOverBudget() which always checks
the time, but MarkRoots uses isOverBudget() to determine if there is
any time remaining. This only checks the current time every
kNumNodesBetweenTimeChecks nodes, to reduce the overhead of checking.
2013-12-03 10:47:47 -08:00
Andrew McCreight
145f83b008
Bug 937751, part 6 - Allocate the current MarkRoots node on the heap rather than the stack. r=smaug
...
To make nsCycleCollector::MarkRoots incremental, we have to store all of its state on
the heap, so we can resume it. The only remaining state to convert is the NodePool
enumerator.
2013-12-03 10:47:47 -08:00
Andrew McCreight
04314bee87
Bug 937751, part 5 - Add optional phase logging. r=smaug
...
For debugging purposes, it can be useful to see what ICC is currently
being run.
2013-12-03 10:47:47 -08:00
Andrew McCreight
994059dfef
Bug 937751, part 4 - Incrementalize nsCycleCollector::Collect. r=smaug
...
This patch makes it so that Collect takes a time budget that describes
how much longer the collection can be run for. Then we run the current phase.
Once this is done, we check whether we have exceeded our time budget or
if we have finished a collection. If neither of those have happened, we
run the cycle collector some more.
If we're a manually triggered CC, and we were in the middle of an ICC when
the CC started, then once the current CC is complete, we start a new CC
immediately. This is needed to ensure that a manually specified listener
is used, and to ensure that any garbage objects the caller expects to be
collected are in fact collected.
Note that in this patch we are always passing in an unlimited budget to
Collect, so cycle collections will always be run to completion.
2013-12-03 10:47:47 -08:00
Andrew McCreight
5076bf4519
Bug 937751, part 3 - Protect against reentrancy with when incrementally CCing. r=smaug
...
Cycle collection protects against reentrancy by setting a flag to indicate a collection
is in progress. With synchronous CC, it is okay to set this in BeginCollection, and
clear it in CleanupAfterCollection. With ICC, this must be set and cleared in every
slice, so I moved the fixing of it to Collect. I also changed the name of the variable,
because we can be in the middle of an ICC without the CC being actively running,
and it is only the latter we are worried about here.
2013-12-03 10:47:47 -08:00
Andrew McCreight
4411a6d49f
Bug 937751, part 1 - Add and set incremental cycle collection phases. r=smaug
2013-12-03 10:47:46 -08:00
Mike Hommey
bf60896454
Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal
2013-12-03 06:34:21 +09:00
Andrew McCreight
744b82250b
Bug 938407 - Null check FinishReportingCallback::mFinishDumping. r=froydnj
2013-12-02 13:11:43 -08:00
Jan Beich
235cf51f70
Bug 945046 - Implement private and vsize-max-contiguous reporters on FreeBSD. r=njn, r=glandium
2013-12-02 12:51:27 -05:00
Jan Beich
55c4f8b847
Bug 945046 - Move private, vsize-max-contiguous class implementation under their own ifdef. r=njn
2013-12-02 12:51:26 -05:00
Aaron Klotz
17bcff457a
Bug 944529: Obtain HDD info for GRE path and Windows directory; r=froydnj
2013-12-02 10:41:44 -07:00
Ryan VanderMeulen
2866421e0f
Merge m-c to inbound.
2013-12-02 10:34:41 -05:00
Carsten "Tomcat" Book
eaab8af805
merge mozilla-inbound to mozilla-central
2013-12-02 12:41:55 +01:00
Ehsan Akhgari
76f23ad063
Bug 945118 - Build more of XPCOM in unified mode; r=glandium
2013-12-01 10:47:52 -05:00
Brian R. Bondy
47095a68bd
Bug 944434 - Updates from Desktop launch Metro to perform the update. r=emtwo
2013-11-29 07:24:55 -05:00
Carsten "Tomcat" Book
caa77e8a92
merge fx-team to mozilla-central
2013-11-29 10:13:09 +01:00
Makoto Kato
ed24a20324
Bug 942645 - Remove old OS_RELEAE reference. r=glandium
2013-11-29 13:52:22 +09:00
Masatoshi Kimura
563353ee8f
Bug 942402 - Add version test functions for Thunderbird. r=jimm
2013-12-03 00:01:48 +09:00
Landry Breuil
e9ae7af602
Bug 944410 - add missing #include <stdarg.h> for va_list on OpenBSD after bug 942483 r=bgirard
2013-11-30 13:48:34 +01:00
Marina Samuel
4d00f56497
Bug 934032 - Add View on Metro feature to Desktop Firefox in Australis. r=bbondy
2013-11-19 13:06:58 -05:00
Catalin Iacob
e961122fe2
Bug 819839 - Part 1 - Allow NS_StackWalk to be called during static initialization on Windows. r=ehsan
2013-11-29 16:08:43 +01:00
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Nicholas Nethercote
d27c541046
Bug 936964 (part 3, attempt 2) - Make nsCycleCollector ref-counted. r=mccr8.
...
--HG--
extra : rebase_source : ebda496b8cba0464280eb0dc7bae9aca137e2e25
2013-11-25 15:57:53 -08:00
Nicholas Nethercote
b467b2a1c4
Bug 943660 (attempt 2) - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8.
...
--HG--
extra : rebase_source : 4381c3c424e34198b83c45fa0ac0d9a670bab2b8
2013-11-26 18:38:50 -08:00
Mike Hommey
2b828323f2
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Nicholas Nethercote
77419f6a47
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Ehsan Akhgari
c3970a73fb
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
78e4d6490d
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
34fc4ee486
Bug 936964 (part 3) - Make nsCycleCollector ref-counted. r=mccr8.
...
--HG--
extra : rebase_source : f781c197b20354eda4622d436d5ef3429ce2481b
2013-11-25 15:57:53 -08:00
Nicholas Nethercote
e5c372ab44
Bug 943660 - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8.
...
--HG--
extra : rebase_source : f2ccff7972d7161e2290fd3db70463524c55f230
2013-11-26 18:38:50 -08:00
Dan Minor
69e7d3a78d
Bug 943390 - Unit test TestTArray.cpp fails on Windows XP opt builds; r=froydnj
2013-11-29 12:48:08 -05:00
Bobby Holley
7a71089e5d
Bug 911303 - Remove manual Destroy() routine from CycleCollectedJSRuntime. r=billm
2013-11-27 10:10:25 -08:00
Jacek Caban
db001e45e0
Bug 928351 - Char16.h and xpcom/strings/public parts r=ehsan,Waldo
2013-11-27 14:40:54 +01:00
Markus Stange
f0c633ccf9
Bug 924103 - Add a FilterDescription data structure and code that can create FilterNodes from it. r=roc
2013-11-27 12:25:28 +01:00
Mike Hommey
c35f2d3106
Bug 943197 - Remove useless -DIMPL_LIBXUL. r=mshal
2013-11-27 17:13:05 +09:00
Andrew McCreight
82aff86f1c
Bug 937966 - Clean up scan safe assertion in Suspect. r=smaug
2013-11-26 17:30:46 -05:00
Andrew McCreight
a1a437b34d
Bug 931738 - Remove nsPurpleBufferEntry from nsISupportsImpl.h. r=smaug
2013-11-26 14:29:59 -05:00
Daniel Holbert
621989b424
Bug 943238: Mark xpcom/io as FAIL_ON_WARNINGS. r=froydnj
2013-11-26 09:53:54 -08:00
Daniel Holbert
09205b59c4
Bug 943391: Use MOZ_THIS_IN_INITIALIZER_LIST to silence MSVC warning C4355 in nsPipe3.cpp. r=froydnj
2013-11-26 09:42:59 -08:00
Daniel Holbert
388f79a1c8
Bug 943235: undef LOG at the end of nsStorageStream.cpp, to prevent it from polluting other .cpp files and triggering "redefined" build warnings when we build in unified mode. r=froydnj
2013-11-26 09:42:58 -08:00
Ehsan Akhgari
60735d7532
Bug 943035 - Use fallible allocation in nsScriptableInputStream::Read; r=bsmedberg
2013-11-26 11:52:48 -05:00
Ehsan Akhgari
a76144f248
Bug 942635 - Build dom/ipc in unified mode; r=bzbarsky
2013-11-26 11:39:19 -05:00
Benjamin Smedberg
041396b09d
Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj
...
--HG--
extra : rebase_source : f84278dfbba92c6d75458b525a559b6f8598500f
2013-11-25 15:06:17 -05:00
Chris Peterson
842152c206
Bug 942400 - Fix -Wunused-variable warning in xpcom/io/nsMultiplexInputStream.cpp. r=nfroyd
2013-11-22 19:39:47 -08:00
Birunthan Mohanathas
0816e609ee
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00
Jan Beich
b25abb6817
Bug 942488 - Don't report pseudo-stacks without SPS profiler. r=nchen
2013-11-25 09:24:00 -05:00
Benoit Girard
f8fd653be7
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Ehsan Akhgari
5a56056193
Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa
2013-11-24 01:29:24 -05:00
Mike Hommey
b39418250a
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Jim Chen
9d818e8444
Bug 932865 - Collect thread hang stats in BackgroundHangMonitor; r=froydnj
2013-11-22 14:17:31 -05:00
Jim Chen
c9e25f4004
Bug 932865 - Record inactive thread hang stats inside telemetry; r=vladan
2013-11-22 14:17:31 -05:00
Jim Chen
4b4ea979e2
Bug 932865 - Add way for telemetry to iterate over active threads; r=froydnj
2013-11-22 14:17:31 -05:00
Jim Chen
8a6972b958
Bug 935092 - Add ThreadStackHelper to get a thread's pesudo-stack; r=BenWa
2013-11-22 14:17:30 -05:00
Jim Chen
1822d440f4
Bug 909974 - Stop the monitor thread when the BackgroundHangManager instance is destroyed; r=froydnj
2013-11-22 14:17:30 -05:00
Jim Chen
9ec3326fc9
Bug 909974 - Let monitor thread detect hangs in addition to permahangs; r=froydnj
2013-11-22 14:17:29 -05:00
Jim Chen
c64112dbde
Bug 909974 - Add a hang monitor for background threads; r=froydnj
2013-11-22 14:17:29 -05:00
Ed Morley
dd12c93265
Backed out changeset 1eb6ceed2cda (bug 938437) on suspicion of causing WinXP debug jetpack failures on a CLOSED TREE
2013-11-22 16:00:32 +00:00
Ed Morley
0e1036028c
Backed out changeset c30371a66429 (bug 941450)
2013-11-22 15:59:22 +00:00
Ryan VanderMeulen
ae7c01efb4
Merge m-c to inbound.
2013-12-06 16:13:37 -05:00
Bobby Holley
f5cb1b3082
Bug 937317 - Implement basic script settings stack machinery. r=bz
2013-12-06 12:01:41 -08:00
Chris Peterson
d98938d032
Bug 945613 - Part 3: #ifdef pragma for gcc >= 4.7.0. r=ehsan
2013-12-06 09:47:28 -08:00
Andrew McCreight
5900c0c4d6
Bug 937766, part 5 - Implement PrepareForGarbageCollection. r=smaug
...
Running the garbage collector can cause objects in the CC graph to
die, so just finish off an incremental cycle collection when we
start a GC.
2013-12-06 10:17:20 -08:00
Andrew McCreight
d1b570f76d
Bug 937766, part 4 - Add GCGraph::IsEmpty method. r=smaug
2013-12-06 10:17:20 -08:00
Andrew McCreight
40ad83c922
Bug 937766, part 3 - Add mParticipant null checks. r=smaug
...
When an object dies during an incremental cycle collection, we null out
its mParticipant, so we must add various null checks to avoid crashing
when we reach the CC graph representation of an object that has died.
2013-12-06 10:17:20 -08:00
Andrew McCreight
b7c15b3db2
Bug 937766, part 2 - Make SnowWhiteKiller remove dying things from the CC graph. r=smaug
...
If we purge snow white objects while ICC is in progress, we need to
make sure to remove anything from the CC graph to avoid dangling pointers.
We don't need to do that after shutdown.
2013-12-06 10:17:20 -08:00
Mike Hommey
f6b8ef93a4
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Mike Hommey
99fc7c7312
Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder,r=nfroyd
2013-11-19 13:45:31 +09:00
Masatoshi Kimura
b3fb84e281
Bug 925599 - Replace GetVersion() uses. r=bsmedberg
2013-11-22 12:35:42 +09:00
Wes Kocher
e634acaaaf
Merge m-c to inbound
2013-11-21 19:18:18 -08:00
Wes Kocher
2db30ae116
Merge fx-team to m-c
2013-11-21 19:16:50 -08:00
Ehsan Akhgari
0b5494715b
Bug 941739 - Print the current process and thread information on XPCOM assertions and string leaks stats; r=froydnj
2013-11-21 14:17:35 -05:00
Ryan VanderMeulen
bef0cc03d8
Merge m-c to fx-team.
2013-11-21 15:55:03 -05:00
Ryan VanderMeulen
94ddc2e1d9
Merge m-c to inbound.
2013-11-21 11:37:10 -05:00
Carsten "Tomcat" Book
9f47cb96d7
merge mozilla-inbound to mozilla-central
2013-11-21 14:20:21 +01:00
Nicholas Nethercote
c7b9e03143
Bug 940069 - Backout a temporary debugging printf that runs on --enable-valgrind builds only, because it has served its purpose. r=me.
2013-11-20 00:27:00 -08:00
Alexander Surkov
7bb2451052
Bug 935698 - isolate nsIAccessibleValue implementation into separate class, r=tbsaunde
2013-11-19 16:01:15 -05:00
Jim Blandy
f0a0296f91
Bug 896100: Convert all uses of OldMove and MoveRef to true rvalue references and the modern Move and Forward. r=luke, r=waldo
2013-11-19 09:05:36 -08:00
ISHIKAWA, Chiaki
f4e80246c7
Bug 936987 - Propagate the error code of PR_Close() against a file under CIFS-share under Linux. r=froydnj
...
(Network error causes the file share to fail, and read()/close() and possibly write() can return network-related error. close() error was not caught before.)
2013-11-19 14:56:58 -05:00
Andrew McCreight
319fed2c0e
Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug
2013-11-20 14:35:17 -08:00
Andrew McCreight
65d5a7ad90
Bug 935721, part 9 - Move mPtrToNodeMap into GCGraph. r=smaug
...
With ICC, we may have to remove things from the graph after we have finished building
the graph, so move the mapping to graph addresses into the graph itself to create a
more self-contained structure.
2013-11-20 14:35:17 -08:00
Andrew McCreight
06ae914761
Bug 935721, part 8 - Add a reference to the graph to the graph builder. r=smaug
...
This moves towards letting the CC graph outlive the builder.
2013-11-20 14:35:16 -08:00
Andrew McCreight
77917883a8
Bug 935721, part 7 - Inline PrepareForCollection into BeginCollection. r=smaug
...
PrepareForCollection is trivial now, so just inline it.
2013-11-20 14:35:16 -08:00
Andrew McCreight
3eed280708
Bug 935721, part 5 - Invert the control flow of CycleCollectNow's pre- and post-collection work, add CCResults as a field on the CC. r=smaug
...
nsJSEnvironment::CycleCollectNow does work before and after a CC runs. With ICC, nsJSEnv won't
know where in the CC when a CC is about to begin or end, so this patch reorganizes that work
into two separate callback hooks. This requires adding a new struct, CycleCollectorStats, to
hold data nsJSEnv needs between the two calls.
Rather than trying to pass around a pointer to a results structure, this patch just adds
it to the nsCycleCollector struct, and always stores them. The results are passed back
to the end CC callback.
2013-11-20 14:35:16 -08:00
Andrew McCreight
2356ab9a2d
Bug 935721, part 4 - Allocate white nodes array in CollectWhite. r=smaug
...
The white nodes array is only used in CollectWhite, so just allocate it there.
2013-11-20 14:35:16 -08:00
Andrew McCreight
df690c6812
Bug 935721, part 3 - Use RAII to set mScanInProgress, hoist out MarkRoots and ScanRoots. r=smaug
...
With ICC, mScanInProgress gets set and cleared a bunch of times so add an RAII class to turn
it on when we're doing stuff and clear it when we're not.
With that in place, we can easily move MarkRoots and ScanRoots out of BeginCollection
in preparation for making them separate phases in ICC.
2013-11-20 14:35:16 -08:00
Andrew McCreight
c9b8e24ea3
Bug 935721, part 2 - Allocate GCGraphBuilder on the heap. r=smaug
...
With ICC, the graph builder must persist across invocations of the CC,
so store it on the heap.
2013-11-20 14:35:15 -08:00
Andrew McCreight
7b822b21b0
Bug 935721, part 1 - Store the listener pointer on the nsCycleCollector data structure. r=smaug
...
With ICC, the listener must persist across invocations of the CC, so store it on the CC.
2013-11-20 14:35:15 -08:00
Benjamin Smedberg
4e3ab778f0
Bug 672843 part D - make NS_ERROR_INVALID_POINTER an alias of NS_ERROR_INVALID_ARG, r=froydnj
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
9bfc4e98e3
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
f72af0bb16
Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj
2013-11-19 16:27:36 -05:00
Benjamin Smedberg
5f71d47853
Bug 672843 part A - Create the new macro NS_WARN_IF and deprecate NS_ENSURE_* in favor of the explicit warning/return style. Also localize each macro so that it's debug and non-debug versions are local in the file, because that makes it easier for new contributors to understand. r=froydnj sr=jst
2013-11-19 16:27:36 -05:00
Ehsan Akhgari
6053a45785
Follow-up to bug 936912: Fix a compiler warning
2013-11-20 16:01:59 -05:00
Ehsan Akhgari
90fa786c75
Bug 941866 - Exclude files which rely on the known bad patterns from unified builds; r=BenWa
2013-11-21 16:36:59 -05:00
Ehsan Akhgari
6f773eb0a9
Bug 941405 - Remove the usages of the register keyword from XPCOM; r=froydnj
2013-11-21 10:42:40 -05:00
Ryan VanderMeulen
6a90626b1d
Backed out changeset 4887ddabba31 (bug 939231) for mochitest hangs.
...
CLOSED TREE
2013-11-21 09:39:38 -05:00
Chris Kitching
7144e8c767
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
f613a3dd00
Merge inbound to m-c.
2013-11-19 13:21:57 -05:00
James Kitchener
fcb5bd2a1d
Bug 936886 - Account for possibility of non-null terminated strings in nsWindowsRegKey::ReadStringValue(). r=dmajor
2013-11-19 09:09:41 -05:00
Nicholas Nethercote
6f6ecd89ad
Bug 940069 - Land a temporary debugging printf that runs on --enable-valgrind builds only, because Valgrind runs aren't available on tryserver. r=me.
2013-11-18 23:13:15 -08:00
Mike Hommey
a65383e1e9
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e42fd39b2e
Bug 939071 - Kill SHORT_LIBNAME. r=ted
2013-11-19 11:47:47 +09:00
Mike Hommey
b95448fc0b
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
9fe772e7fd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
57a2dfcb91
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +09:00
Mike Hommey
d7b6f95761
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Ehsan Akhgari
5850c6bcff
Bug 936912 - Build xpcom in unified mode; r=froydnj
2013-11-18 21:34:00 -05:00
Jonas Finnemann Jensen
b9058cd9ed
Bug 937201 - Fix Windows builds without MOZ_ENABLE_PROFILER_SPS. r=BenWa
2013-11-18 13:21:26 -05:00
Nicholas Nethercote
4250101d84
Backout 86b5cb334b73 and db7cbf61b001 (bug 810718, parts 1 and 2) for multiple perf regressions.
...
--HG--
extra : rebase_source : c20c81d0cf47b607815c0592d748d4f0a430d430
2013-11-17 20:41:36 -08:00
Chris Peterson
c8a24dd3a5
Bug 939576 - Build netwerk/protocol/http in unified mode. r=mcmanus
2013-11-16 21:19:51 -08:00
Nathan Froyd
d10d402c30
Bug 940160 - constify the PLDHashTableOps struct in nsTHashtable::Init; r=ehsan
2013-11-18 21:34:53 -05:00
Ehsan Akhgari
2524d4cb55
Bug 939231 - Stop requiring trace-malloc for the deadlock detector; r=bent
...
The existing deadlock detector code uses the trace-malloc stack walking
facilities, which is problematic for a few reasons.
1. It is only available in builds with --enable-trace-malloc, which is
not in the default build configuration.
2. It tries to capture a symbolicated stack trace every time that a lock
is acquired or released, which is really slow.
This patch changes the deadlock detector to use the XPCOM stack walking
and symbolification facilities, and avoids the symbolification until the
point where we need to print out the call stack, which makes the
deadlock detector a lot faster than it currently is in trace-malloc
builds.
2013-11-21 07:43:23 -05:00
Mike Hommey
1b21d4aed0
Bug 914274 - Remove MODULE_NAME. r=mshal
2013-11-21 17:31:19 +09:00
Nicholas Nethercote
c090818e77
Bug 810718 (part 2) - Use a uint16_t for PLDHashTable::entrySize.
...
--HG--
extra : rebase_source : 342927bded18e5fa5289608e711cf343cecdcfcc
2013-11-13 18:38:25 -08:00
Nicholas Nethercote
3e8f36b94e
Bug 810718 (part 1) - Enforce pldhash RECURSION_LEVEL checks in all builds and abort on failure. r=bsmedberg.
...
--HG--
extra : rebase_source : 4233dc104d8db99ec19b5b4885a9ddfaa7287427
2013-10-31 19:18:56 -07:00
Mike Hommey
d8d527c143
Bug 937359 - Make all objects built into xul.dll built with -MD/-MDd, not -MT/-MTd. r=bsmedberg
...
--HG--
rename : toolkit/mozapps/update/common/Makefile.in => toolkit/mozapps/update/common-standalone/Makefile.in
2013-11-16 13:37:56 +09:00
Phil Ringnalda
e14f6b3d33
Backed out 4 changesets (bug 672843) for xpcshell bustage
...
Backed out changeset bbb7760083ae (bug 672843)
Backed out changeset eaf2fd75d7fc (bug 672843)
Backed out changeset eb08cc206b8d (bug 672843)
Backed out changeset 6a0e4afd52ab (bug 672843)
2013-11-19 14:38:29 -08:00
Nicholas Nethercote
d7ef1243fd
Bug 939385 (part 4, attempt 2) - Rename some distinguished amount functions. r=froydnj.
...
--HG--
extra : rebase_source : fc5a8b80752156cf8d13908eb2f961d75a954126
2013-11-18 22:37:39 -08:00
Nicholas Nethercote
43a4ea8706
Bug 939385 (part 3, attempt 2) - Expose vsizeMaxContiguous to about:memory. r=froydnj.
...
--HG--
extra : rebase_source : 2a7dcf2121c323bb37094b23e329c322f25dfeeb
2013-11-18 22:37:38 -08:00
Nicholas Nethercote
1393fae24e
Bug 939385 (part 1, attempt 2) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj.
...
--HG--
extra : rebase_source : e5bdf43ab2a228f3ade93e803988f81d4f3a646e
2013-11-18 22:24:12 -08:00
Benjamin Smedberg
236bd9c667
Bug 672843 part D - make NS_ERROR_INVALID_POINTER an alias of NS_ERROR_INVALID_ARG, r=froydnj
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
dcb62489b6
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
1280e2c30b
Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj
2013-11-19 16:27:36 -05:00
Benjamin Smedberg
0755669fec
Bug 672843 part A - Create the new macro NS_WARN_IF and deprecate NS_ENSURE_* in favor of the explicit warning/return style. Also localize each macro so that it's debug and non-debug versions are local in the file, because that makes it easier for new contributors to understand. r=froydnj sr=jst
2013-11-19 16:27:36 -05:00
Gijs Kruitbosch
771cc158cd
Bug 890545 - provide a way to enumerate registered manifests, r=froydnj,f=glandium
...
--HG--
extra : rebase_source : 7534f0d3c0257ff34f1477c0bfdd23b540e7a7c7
2013-07-05 21:20:04 +02:00
Carsten "Tomcat" Book
2cde0939d2
Backed out changeset 002e26035367 (bug 938437) to fix PGO Build Bustage on a CLOSED TREE
2013-11-19 12:28:41 +01:00
Carsten "Tomcat" Book
14b40ea06d
Backed out changeset a06dd3421421 (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE
2013-11-19 11:48:01 +01:00
Carsten "Tomcat" Book
6a77822b1c
Backed out changeset 65048ac4ae6f (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE
2013-11-19 11:47:41 +01:00
Carsten "Tomcat" Book
cb36835c16
Backed out changeset 027fced104dc (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE
2013-11-19 11:47:30 +01:00
Nicholas Nethercote
8f6189f953
Bug 939385 (part 4) - Rename some distinguished amount functions. r=froydnj.
...
--HG--
extra : rebase_source : 7aa40beaaf9f025f361d0a570a2f35d582a151c5
2013-11-18 22:37:39 -08:00
Nicholas Nethercote
910c1214e3
Bug 939385 (part 3) - Expose vsizeMaxContiguous to about:memory. r=froydnj.
...
--HG--
extra : rebase_source : 77331283b56ddf28a137a0165ef9926d6e0f0f42
2013-11-18 22:37:38 -08:00
Nicholas Nethercote
72e4c4fc28
Bug 939385 (part 1) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj.
...
--HG--
extra : rebase_source : 3c364af0442eeabd5951370792f1a467eaa86994
2013-11-18 22:24:12 -08:00
Mike Hommey
3aaab0f347
Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder
2013-11-19 13:45:31 +09:00
Nathan Froyd
cb5c7e226c
Bug 939137 - part 1 - add largestContiguousVMBlock attribute to nsIMemoryReporterManager; r=bsmedberg
2013-11-15 13:04:43 -05:00
Joshua Cranmer
08036d15e9
Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan
...
--HG--
extra : rebase_source : 4c44e60c72e0ece3cea7ed1cf79079bd2a1b6487
2013-11-12 18:22:38 -06:00
Jim Chen
da081c4f7c
Bug 935089 - Make ArrayLength, ArrayEnd, and PodArrayZero accept mozilla::Array argument; r=Waldo
2013-11-12 17:31:15 -05:00
Olli Pettay
d17708e1fb
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
2013-11-12 15:53:51 +02:00
Nelson BenÃÂtez León
44b6331925
Bug 417952 - Open Containing Folder doesn't highlight/select file in Nautilus. r=karlt
...
If the File Manager DBus Interface[1] is present, use it to
launch file manager and select the file, otherwise fallback to
existing code for backwards compatibility.
[1] http://www.freedesktop.org/wiki/Specifications/file-manager-interface/
2013-11-12 08:31:33 -05:00
David Major
198e213e28
Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium
...
--HG--
rename : toolkit/xre/nsWindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
2013-11-12 08:31:32 -05:00
Wes Kocher
df1a729291
Backed out changeset 3d769520a0be (bug 937303) for build bustage
2013-11-11 14:50:00 -08:00
Olli Pettay
855df0dd10
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
...
--HG--
extra : rebase_source : 48545d4c83d88f34773ca84e542aa13316ca38c6
2013-11-12 00:12:00 +02:00
Birunthan Mohanathas
58a91e67d8
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
2013-11-11 14:17:14 -05:00
Nathan Froyd
cbbe215e49
Bug 608915 - part 2 - use MFBT's double-conversion code in nsString::AppendFloat; r=bz,gps
2013-09-24 13:36:55 -04:00
Olli Pettay
bf53185fb9
Bug 936789 - Faster CC logger, r=mccr8
2013-11-09 23:15:44 +02:00
Chris Peterson
fb3751573f
Bug 936336 - Remove unused private member variable MacIOAutoObservation::mFd. r=jonasfj
2013-11-07 20:13:20 -08:00
Olli Pettay
d7b5ba55cb
Bug 732815, make Atom's hash value to be the same what strings use, r=bz
2013-11-09 01:29:09 +02:00
Markus Stange
21ff24fd27
Bug 936074 - Fix nsIHandleReportCallback typo. r=njn.
...
Affects DMD-only builds so DONTBUILD.
--HG--
extra : rebase_source : 3fa91414cd99bca0490682c2619e84cc62e4b1e2
2013-11-08 14:48:31 +11:00
Trevor Saunders
cd02aea365
bug 931792 - only init sCanaryOutputFD once r=bsmedberg
2013-10-29 16:58:09 -04:00
Kamil Jozwiak
c82c2bde4b
Bug 933580 - Will switch to the Desktop when downloading a PDF and the default application is not the Windows App Reader. r=jimm
2013-11-07 13:55:47 -05:00
Mike Hommey
d2778baa7e
Bug 862770 - Fix --disable-compile-environment a little. r=gps
...
--HG--
rename : config/makefiles/target_libs.mk => config/makefiles/target_binaries.mk
rename : js/src/config/makefiles/target_libs.mk => js/src/config/makefiles/target_binaries.mk
2013-11-07 10:37:45 +09:00
Mike Hommey
6b4f0058ce
Bug 935387 - Remove non recursed install targets. r=mshal
2013-11-07 10:37:45 +09:00
Mike Hommey
7adba441b7
Bug 921816 - Handle idls in --with-libxul-sdk builds. r=gps
2013-11-07 10:37:44 +09:00
Andrew McCreight
e38ae1edc4
Bug 934568 - Don't make ScanRoots CC OOM assertion fatal due to Win7 debug M2 failures. s=smaug
2013-11-06 16:58:13 -08:00
Andrew McCreight
b5a0433a5f
Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz
2013-09-26 16:18:27 -07:00
ISHIKAWA, Chiaki
650bfefb8c
Bug 931703 - Add unhandled/missing errno for NSRESULT_FOR_ERRNO macros. r=bsmedberg
2013-11-06 09:06:03 -05:00
Carsten "Tomcat" Book
5b53bf3f1e
merge mozilla-inbound to mozilla-central
2013-11-06 13:07:50 +01:00
Matt Brubeck
041b460c69
Bug 935376 - Back out 2e6063aa9b77 (bug 328755) on suspicion of causing a crash in ntdll
2013-11-05 21:12:56 -08:00
Nicholas Nethercote
d8a3b0f0bb
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Wes Kocher
a5688b698f
Merge m-c to inbound
2013-11-05 18:25:40 -08:00
Wes Kocher
3442c94bfd
Merge inbound to m-c
2013-11-05 17:50:18 -08:00
Wes Kocher
071445529d
Merge fxteam to m-c
2013-11-05 17:38:24 -08:00
Kyle Huey
50ee3b3331
Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz
2013-11-05 22:16:25 +08:00
Benoit Jacob
5812051b69
Bug 934568 - Make cycle collector OOM assertions fatal in debug builds. r=mccr8
2013-10-27 07:51:31 -04:00
Brian R. Bondy
a9b9ac44c1
Bug 924894 - Split prefs files up for Metro and Desktop when running in the same profile. r=jimm
2013-11-05 13:20:39 -05:00
Mike Hommey
ff32f10568
Bug 934337 - Get rid of custom rules fiddling with SHARED_LIBRARY. r=mshal
...
While here, remove other custom rules in the same Makefiles.
2013-11-05 13:28:26 +09:00
James Kitchener
5b0db92cbb
Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg
2013-11-04 14:22:37 -05:00
Nicholas Nethercote
2efdc47a99
Bug 929797 - Implement proper memory reporting for child processes. r=khuey.
...
--HG--
extra : rebase_source : f0788757afc2097830295170120e1e2094993cc7
2013-10-22 22:26:24 -07:00
Jonas Finnemann Jensen
601c303bbe
Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa
...
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-11-05 07:45:20 -05:00
Dan Minor
f9aa32126e
Bug 931062 - Unit test TestPLDHash.cpp fails on Android; r=njn
2013-11-04 09:28:34 -05:00
Nicholas Nethercote
7005c68a5b
Bug 933605 (part 2) - Don't declare all vars at the top of functions in pldhash.cpp. r=jorendorff.
...
--HG--
extra : rebase_source : 53da17b46bd986ceefbc66f23e43d2f5b7290fad
2013-10-31 22:33:29 -07:00
Nicholas Nethercote
14b48dc0f4
Bug 933605 (part 1) - Remove DEBUG_XXXbrendan-only code. r=jorendorff.
...
--HG--
extra : rebase_source : 8ebc751e246cf133f899a8563e75f9bff77d9eda
2013-10-31 22:30:45 -07:00
Nicholas Nethercote
8240e2f282
Bug 933074 - Allow a pldhash to be reasonably overloaded if it cannot be grown further. r=jorendorff.
...
--HG--
extra : rebase_source : 0760f78d5332b4791899c1db649493eeca10b978
2013-10-30 18:22:31 -07:00
Chris Peterson
4d8b1b8633
Bug 933124 - Fix -Wformat warning in nsObjcExceptions.h. r=dougt
2013-10-29 21:04:41 -07:00
Mike Hommey
ff4fa14954
Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal
2013-11-02 08:43:55 +09:00
Mike Hommey
718ee10d1e
Bug 932618 - Use NO_PROFILE_GUIDED_OPTIMIZE to disable PGO for individual files. r=gps
2013-11-02 08:42:53 +09:00
Aaron Klotz
8ddbfac9e4
Bug 827416: Adds profileHDDModel and profileHDDRevision to nsSystemInfo; r=bbondy
...
--HG--
extra : rebase_source : b0d012c1f2767b0002e3daa87294eb675cf8e29b
2013-11-01 16:54:25 -06:00
Ed Morley
8b64bfe0b1
Backed out changeset 38a50c61c285 (bug 931062) for compilation failures on a CLOSED TREE
2013-11-01 14:23:37 +00:00
Nicholas Nethercote
3ff451117b
Bug 931062 - Skip one test in TestPLDHash.cpp on Android because it tends to OOM; r=njn
2013-10-28 12:30:07 -07:00
ISHIKAWA, Chiaki
2d417d2685
Bug 931720 - Return low-level error correctly from nsLocalFile::CopyToNative(). r=bsmedberg
...
Fix copytonative to return better meaningful error (from errno) when PR_Write()/PR_Read() failed (e.g., failed to write to full file system, etc.)
2013-10-31 23:04:11 -04:00
Cykesiopka
beb2b7bb20
Bug 887832 - moz.build: Fix other remaining OS_TEST==arm references in the tree. r=gps
2013-10-31 22:48:45 -04:00
Daniel Holbert
bd6e7083c6
Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg
2013-10-31 19:39:03 -07:00
Nicholas Nethercote
d4be988ff0
Bug 930851 (part 3) - Use |data| instead of |closure| for some callback environment arguments. r=mccr8.
...
--HG--
extra : rebase_source : a96709da6d9a880a03e2e79149ba0e3558b4a355
2013-10-24 21:39:16 -07:00
Nicholas Nethercote
4a605a305c
Bug 930851 (part 1) - Make child process naming consistent in both memory reporting paths. r=khuey.
...
--HG--
extra : rebase_source : 6c212dd1ddc701af8297a6de373c8650b18a1b56
2013-10-24 20:47:48 -07:00
Nicholas Nethercote
9726ac23f3
Bug 815467 - Store pldhash's recursionLevel in a better place, so that debug and non-debug pldhashes take up the same amount of memory. r=dbaron.
...
--HG--
extra : rebase_source : c3c928f6706be4ef55620f05320050991a657a6c
2013-10-30 15:10:06 -07:00
Mike Hommey
7688ee6823
Bug 870406 part n - Move more CSRCS to moz.build. r=mshal
2013-11-01 10:30:45 +09:00
Mike Hommey
6dcd33ed08
Bug 932178 - Move ASFILES to moz.build in xpcom/reflect/xptcall/src/md/unix. r=gps
...
This also cleans up assembler-with-cpp flags, by renaming .s files to .S,
which are preprocessed without requiring additional flags. Also clean up
the generated assembly torture.
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_linux.S
2013-10-30 07:46:17 +09:00
Gabriele Svelto
d48fd3d8ac
Bug 906754 - Ensure that TimeStamp's static fields are initialized only once. r=froydnj
2013-10-28 20:50:09 +01:00
Phil Ringnalda
428c2fc5bc
Merge m-c to m-i
2013-10-28 17:14:46 -07:00
Christian Holler
b88ba8dbad
Bug 829617 - Make access to gTimestamp in HangMonitor atomic. r=froydnj
...
--HG--
extra : rebase_source : d40c8aee4dec4da601d451e29eb84c679ec60e9c
2013-10-29 00:29:00 +01:00
Lukas Blakk
b28a096524
Merging in version bump NO BUG
2013-10-28 13:37:48 -07:00
Gregory Szorc
9ada834d56
Bug 927837 - Don't manage generated files in configure; r=glandium
...
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Nicholas Nethercote
ba1e9bce90
Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
...
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Phil Ringnalda
a1f80ad10b
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
fd4a9f4426
Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical
2013-10-27 17:53:29 -04:00
Phil Ringnalda
8dc12a3b90
Back out 338760b1955c (bug 902922) for discovering that we have a cycle collecter OOM 100% of the time in Win7 mochitest-2 shutdown
2013-10-27 09:38:35 -07:00
Benoit Jacob
6fb52730bd
Bug 902922 - OOM assertions in the cycle collector should be fatal in debug builds - r=mccr8
2013-10-27 07:51:31 -04:00
Ed Morley
61f4aaac0a
Backed out changeset 82d5d92a3eac (bug 915555) for build failures on a CLOSED TREE
2013-10-25 17:59:24 +01:00
Jeff Walden
a57c433700
Bug 915555 - Don't redundantly cast an unnamed expression to an rvalue reference, because 1) it's dumb, and 2) gcc 4.4 warns about casting an rvalue reference to an rvalue reference (which is harmless due to C++11's rvalue semantics). f=hub, r=trivial
2013-09-12 10:55:14 -07:00
Ed Morley
c147bacb01
Backed out changeset 2d6c5cbcc213 (bug 902587) for failures during linking on a CLOSED TREE
...
--HG--
rename : xpcom/build/PoisonIOInterposer.h => xpcom/build/mozPoisonWrite.h
rename : xpcom/build/PoisonIOInterposerBase.cpp => xpcom/build/mozPoisonWriteBase.cpp
rename : xpcom/build/PoisonIOInterposerMac.cpp => xpcom/build/mozPoisonWriteMac.cpp
rename : xpcom/build/PoisonIOInterposerWin.cpp => xpcom/build/mozPoisonWriteWin.cpp
2013-10-25 14:24:34 +01:00
Cykesiopka
a3710e5c11
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Jonas Finnemann Jensen
375ca800b6
Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer r=BenWa
...
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-10-24 17:02:00 +01:00
Carsten "Tomcat" Book
f3d4996b70
Merge Mozilla-Inbound to Mozilla-Central
2013-10-25 10:12:00 +02:00
Karl Tomlinson
727bf8ca64
back out 242bb2279283 from bug 928222 on suspicion of causing bugs 930495 930479 930428
2013-10-25 17:40:39 +13:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
61124c1afc
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Andrew McCreight
34325ec499
Bug 928647 - Remove CycleCollectedRuntime::mObjectToUnlink. r=smaug
2013-10-19 08:59:10 -07:00
Karl Tomlinson
47186024e8
b=928222 remove nsThreadPool per-thread event queues r=bsmedberg
...
The way idle nsThreadPool threads wait with a timeout doesn't work well with
shutdown from nsThreadManager.
nsThreadPool doesn't need to use nsIThread for its threads. The nsIThread
interface is not useful for threads running in an nsThreadPool.
The nsIEventTarget on the nsIThreadPool should be used for dispatching events,
not an interface on the individual threads, and the threads don't need an
nsEventQueue because they use the nsEventQueue on the nsThreadPool.
Shutdown of single event threads is easier than running nested event loops for
nsIThreads, avoiding the multilevel nested event loop situations when several
threads finish and are shutdown. While the ThreadFunc is running, a nested
event loop is still used in Shutdown() in case some consumers might need it
and because that is the documented API.
This also simplifies thread creation, avoiding races that could mean there was
temporarily an extra thread or more.
--HG--
extra : transplant_source : %F7%14%16%12%EF%E9%84%19D%26%3C%FE%1F%EC%FF%A3%BAG%C4%F3
2013-10-24 09:31:15 +13:00
Karl Tomlinson
2364c5394f
b=928222 move ReentrantMonitorAutoExit from VideoUtils.h to ReentrantMonitor.h r=bsmedberg
...
--HG--
extra : transplant_source : %13O%CF%90x%02%B8%B6%A3%EA%AD%03%99%9A7%1B%A0%21%C4%A3
2013-10-24 07:22:53 +13:00
Karl Tomlinson
7dbf5c98ba
b=926522 remove unecessary shutdown code from ~nsThreadPool r=bsmedberg
...
While threads are processing their initial runnable, which is the nsThreadPool, it will not be
destroyed. The threads remove themselves from mThreads before returning from Run().
This includes removal of changes from bug 900711.
--HG--
extra : transplant_source : %EF%E9%94L%E9d%F5%99b%09r%CB%024%86%88%BA%EFi%29
2013-10-24 07:21:37 +13:00
Nathan Froyd
2b87128644
Bug 927551 - make darwin xptcall sources compilable in a singlepass universal build; r=bsmedberg,glandium
2013-10-16 15:25:36 -04:00
Nathan Froyd
f3ae29aae1
Bug 927427 - use __LP64__ in FileUtils.cpp for Linux; r=bsmedberg
2013-10-16 11:14:05 -04:00
Nicholas Nethercote
0fe33eb7d9
Bug 929791 - Fix invalid JSON generation when dumping memory reports to file after viewing about:memory in the presence of child processes. r=mccr8.
2013-10-22 16:58:33 -07:00
Nicholas Nethercote
1bd2044812
Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd.
...
--HG--
extra : rebase_source : 7603eaedbd761c6b231b1b911f719388864755e6
2013-10-22 14:53:26 -07:00
Nathan Froyd
e4ca96efd7
Bug 929494 - use template typedefs, not inheritance, to define nsTArray element copiers; r=ehsan
...
There's no reason to use inheritance here, and using plain typedefs avoids massive
amounts of code duplication for the common case of copying with mem*. Code savings
on Android come in at about 570K (!), or ~2% of libxul .text size, which is a massive
win.
2013-10-22 10:36:34 -04:00
Nicholas Nethercote
ad5dabe541
Bug 927705 (part 3) - Add a C++ unit test for pldhash. r=jorendorff.
...
--HG--
extra : rebase_source : 58cddfff7da6116af7512097c3a6172ca1c06b87
2013-10-21 15:44:03 -07:00
Nicholas Nethercote
0d483a574b
Bug 927705 (part 2b) - Never overload pldhash past 75% full, because performance plummets near the end. r=jorendorff.
...
--HG--
extra : rebase_source : 7d3a0594e49ceb89550861debca03a40d3e479c1
2013-10-21 15:44:01 -07:00
Nicholas Nethercote
6b7f6c5f22
Bug 927705 (part 2a) - Increase pldhash's max capacity from 1<<23 to 1<<26, and protect against uint32_t overflow when computing storage size. r=jorendorff.
...
--HG--
extra : rebase_source : 9293ec75e5ba8ad416d66ad6bf0c0788c0d35b02
2013-10-21 15:36:45 -07:00
Nicholas Nethercote
875220476b
Bug 927705 (part 1) - Remove PL_DHashTableSetAlphaBounds() and the supporting machinery. r=jorendorff.
...
--HG--
extra : rebase_source : 0b97b3276ec91d417fcfc12fe871d93b0cbd2263
2013-10-20 20:17:48 -07:00
Mike Hommey
cf3407e3e6
Bug 927775 - Cleanup xpcom/typelib/xpt/tools/Makefile.in. r=mshal
2013-10-22 10:02:49 +09:00
Benjamin Smedberg
b563c2d421
Bug 927944 part B - move AutoCriticalSection to nsWindowsHelpers.h and use it instead of manual lock handling in nsWindowsDllBlocklist.cpp, r=ehsan
...
--HG--
extra : rebase_source : 54e55b729263bffbb5a92c3336eacf248e99a659
2013-10-18 14:24:51 -04:00
Ms2ger
3e9906c7f2
Merge inbound to m-c.
2013-10-20 10:40:40 +02:00
Ms2ger
20a321f0b5
Bug 908142 - Part c: Move FAIL_ON_WARNINGS to moz.build in xpcom/tests/; r=gps
2013-10-20 09:25:19 +02:00
Ms2ger
3b1af10f4f
Bug 923395 - Part b: Remove makefiles that only set LOCAL_INCLUDES and DEFINES; r=gps
2013-10-20 09:25:19 +02:00
Andrew McCreight
fdee30f2ba
Bug 923486, part 2 - Define NS_IsMainThread out-of-line in ASAN builds. r=ehsan
2013-10-03 11:58:41 -07:00
Andrew McCreight
4b43048358
Bug 923486, part 1 - Harmonize ordering of definitions of NS_IsMainThread(). r=ehsan
2013-10-17 06:24:30 -07:00
Ehsan Akhgari
fdcff62d64
Bug 928434 - Fix the invalid format string in nsMemoryImpl::IsLowMemoryPlatform; r=bsmedgerg
...
--HG--
extra : rebase_source : 115fb93cb90a2004168032a4ad1d998a5dfb192d
2013-10-18 20:34:57 -04:00
Ehsan Akhgari
387a4f7600
Bug 928040 - Remove some prtypes.h inclusions from xpcom/; r=bsmedberg
...
--HG--
extra : rebase_source : 2f238320ba8330a27aa986af1146446dcb5d7128
2013-10-18 20:34:57 -04:00
Masatoshi Kimura
cf9dab7831
Bug 925599 - Introduce version test functions using VerifyVersionInfo(). r=bbondy
2013-10-19 03:14:31 +09:00
Olli Pettay
f61bd1dcf9
Bug 927813 - Some micro-optimizations for Suspect, r=mccr8
2013-10-17 17:05:13 +03:00
Ehsan Akhgari
eb82766684
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
2013-10-17 00:36:13 -04:00
Phil Ringnalda
b6be4e4a2d
Back out ee100983f921 (bug 895047) for build bustage
...
CLOSED TREE
2013-10-16 21:51:55 -07:00
Ehsan Akhgari
2d5e8722de
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
2013-10-17 00:36:13 -04:00
Mike Hommey
6aeae2f437
Bug 926906 - Kill core_abspath, core_realpath and core_winabspath. r=gps
2013-10-17 07:55:16 +09:00
Narihiro Nakamura
347fa6f6f5
Bug 899477 - Remove unused COMPONENT_DIRECTORY macro. r=bsmedberg
2013-10-15 13:54:10 -04:00
Gregory Szorc
e01a77d1ca
Bug 917753 - Add XPIDL files to clean target; r=glandium
2013-10-11 07:32:49 -07:00
Nathan Froyd
aa041ad89e
Bug 925173 - don't depend on HAVE_64BIT_OS in FileUtils.cpp; use the standard __LP64__ macro instead; r=bsmedberg
...
This point in the code is Mac-specific, so we are free to use Mac-specific macros
here. Just use __LP64__ instead of HAVE_64BIT_OS.
2013-10-09 17:15:53 -04:00
Birunthan Mohanathas
8931f631a5
Bug 784739 - Switch from NULL to nullptr in xpcom/ (3/3); r=ehsan
2013-10-10 16:42:16 -04:00
Birunthan Mohanathas
4dce3f3fa6
Bug 784739 - Switch from NULL to nullptr in xpcom/ (2/3); r=ehsan
2013-10-10 16:41:39 -04:00
Birunthan Mohanathas
4f2da6a7bd
Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan
2013-10-10 16:41:00 -04:00
Benjamin Smedberg
aa390431d6
Bug 753687 - nsCategoryCache implementation doesn't free old category entries if their contract mapping is removed using .unregisterFactory. Store the factory objects directly in the map, instead of keeping both a map and a separate list. r=froydnj
2013-10-10 08:48:03 -04:00
Daniel Holbert
d0909dfb05
Bug 925066: Remove unused "#include nsDebug.h" from nsAlgorithm.h. r=jst
2013-10-09 17:13:49 -07:00
Daniel Holbert
5f346edec1
Bug 925129: Remove VC9-and-earlier chunk from nsAlgorithm.h, since we don't support building with VC9 and earlier. r=ehsan
2013-10-09 17:03:34 -07:00
Josh Aas
7f8f74f608
Bug 923893: Use safer and not-deprecated NSFileManager APIs instead of 'fileAttributesAtPath:traverseLink:'. r=smichaud moa=bsmedberg
2013-10-09 12:11:13 -05:00
Arun
60bc4a7e82
Bug 881237- Unlock mLock before logging, r=bsmedberg
2013-10-09 10:38:34 -04:00
Mina Almasry
b9e52edf50
Bug 863966 - Improve perf of querySelector by caching selector list. r=bz
2013-10-09 09:20:45 -04:00
Josh Aas
fce5b1d516
Bug 786118: Use 'stat' and 'lstat' instead of 'stat64' and 'lstat64' on OS X. The '*64' functions are deprecated, regular 'stat' and 'lstat' are 64-bit capable. r=bsmedberg
2013-10-09 01:01:27 -05:00
Josh Aas
b049cd2045
Bug 923894: Fix comparison of integers of different signs in mozPoisonWriteMac.cpp.
2013-10-07 17:12:53 -05:00
Tareq Khandaker
9bd932c8bc
Bug 855847 - Fix misleading console warning. r=yoric
2013-10-04 13:16:53 -04:00
Ms2ger
7ffcd856c2
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Makoto Kato
8e2e42690b
Bug 919874 - Don't export xptcstubs on Win64. r=bsmedberg
2013-10-02 13:48:01 +09:00
Lucas Rocha
2af4c1221a
Bug 906230 - Add HardwareUtils.isLowMemoryPlatform() (r=kats)
2013-10-01 14:22:15 +01:00
Ryan VanderMeulen
4dd576fb2f
Merge m-c to inbound.
2013-09-30 16:51:06 -04:00
Bill McCloskey
8707193434
Bug 921293 - Don't print NS_WARNINGs if an environment variable is set (r=bsmedberg)
2013-09-30 13:30:39 -07:00
Ryan VanderMeulen
439f7d7d01
Merge m-c to b2g-inbound.
2013-09-30 16:30:26 -04:00
Benjamin Smedberg
ac8ae5b462
Bug 920695 part A - move xpcshell code into libxul and make the xpcshell binary just a stub, r=bholley
...
--HG--
rename : js/xpconnect/shell/xpcshell.cpp => js/xpconnect/src/XPCShellImpl.cpp
rename : js/xpconnect/shell/jsshell.msg => js/xpconnect/src/jsshell.msg
extra : rebase_source : 9a2ab7508e3cb7a6bfec6b1e98f49799221d1376
2013-09-30 16:09:28 -04:00
Jon Coppeard
204693e328
Bug 913224 - Fix js::DumpHeapComplete() to work with GGC r=billm r=mccr8
2013-09-30 13:05:32 +01:00