Ehsan Akhgari
b441f24399
Bug 1309031 - Remove support for prohibiting the background hang monitor; r=froydnj
...
The code that was using this was removed in bug 1284674.
2016-10-11 09:37:46 -04:00
Andrew McCreight
7f21d47f87
Bug 1308652, part 2 - Only allow nsTraceRefcnt::DumpStatistics to be called once. r=froydnj
...
DumpStatistics does not track any objects that are created or
destroyed while it is running, which means that any subsequent calls
to it will produce incorrect results. This can lead to incorrect
positive or negative leaks being reported. See 1271182.
Now that about:bloat has been removed, DumpStatistics should only be
called once, during shutdown.
MozReview-Commit-ID: IjMkExeBRBr
--HG--
extra : rebase_source : 5966789c2febfedc796d17f8589e8c3703d266cb
2016-10-10 11:55:15 -07:00
Sebastian Hengst
cdcc9e20da
Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
...
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Eric Rahm
11d01803a8
Bug 1308036 - Check sizes when growing nsISupportsArray. r=froydnj
...
This adds size checks when growing the nsISupportsArray. It also removes
|InsertElementsAt| and |AppendElements| which are unused notxpcom interfaces
that would need similar modifications.
MozReview-Commit-ID: ET32q0OCrLU
2016-10-07 09:55:32 -07:00
Jon Coppeard
123936bacd
Bug 1306382
- Automatically ExposeToActiveJS when reading out of a TenuredHeap<T> r=sfink r=mccr8
2016-10-07 13:58:37 +02:00
Matt Woodrow
67cd537af3
Bug 1300682 - Part 6: Use SharedThreadPool for GPU process decoders. r=dvander
2016-10-07 21:13:33 +13:00
Phil Ringnalda
0e26fa186a
Backed out changeset 3851e5f51530 (bug 1299489) for unfathomable bustage of Linux32 debug test_peerConnection_capturedVideo.html
...
CLOSED TREE
MozReview-Commit-ID: I6HSmVRtucs
2016-10-05 19:25:24 -07:00
Michael Layzell
c5faf7265c
Bug 1307615 - Avoid depending on potentially-undefined behavior in the rust nsstring bindings, r=froydnj
...
MozReview-Commit-ID: AbISqKM9hcg
2016-10-05 11:54:51 -04:00
Michael Layzell
025811ca63
Bug 1299489 - Change nsTArray to use a custom iterator based on index instead of pointers to improve iterator invalidation safety of ranged for loops, r=froydnj
...
MozReview-Commit-ID: CahPOcRYvES
2016-10-05 11:54:51 -04:00
Valentin Gosu
a6ca82fdd0
Bug 1306920 - Make sure log file is closed when clearing it at runtime r=nfroyd
2016-10-05 11:34:12 +02:00
Wes Kocher
5a2fb874ca
Merge inbound to central, a=merge
2016-10-04 17:32:01 -07:00
Tom Schuster
774a8bf34d
Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan
2016-10-04 17:57:51 +02:00
Byron Campen [:bwc]
060752fb8e
Bug 1306733: Don't crash on release builds if mTimer isn't set here. r=froydnj
...
MozReview-Commit-ID: eupSpSpJU3
--HG--
extra : rebase_source : d943f86b4bc015011f04f26fc8c2190f2472d111
2016-09-30 16:42:45 -05:00
Phil Ringnalda
c1e745733c
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Tom Tromey
7bc8491bea
Bug 1067547 - unify ScopedLogging implementations and use in nsEmbedFunctions; r=bsmedberg
...
MozReview-Commit-ID: 6hDZDaBsNFM
--HG--
extra : rebase_source : 9422c235ebdffd84e06137bb2c63ce106cb39f0b
2016-09-26 11:06:38 -06:00
Nathan Froyd
3ca4c03f1d
Bug 1306616 - part 2 - remove nsWritingIterator<T>::write; r=erahm
...
Iterators shouldn't have methods like write(); if you need to write to
an iterator, that logic should be handled by something outside of the
iterator...which also explains why we have a specialization of
nsCharTraits<nsWritingIterator<T>>. The HTML parser wants this for its
own reasons, so we have to make sure it continues to work.
2016-10-03 17:21:52 -04:00
Nathan Froyd
3806e7bb85
Bug 1306616 - part 1 - don't use write() method of nsWritingIterator in nsReadableUtils; r=erahm
...
Iterators really shouldn't have methods like these; there should be
something else sitting on top of iterators that provides this.
2016-10-03 17:21:52 -04:00
Phil Ringnalda
400813c30b
Merge m-i to m-c, a=merge
2016-09-30 23:24:52 -07:00
Jan de Mooij
825f1f904e
Bug 1306317 - Fix BackgroundHangThread::ReportHang to handle empty mHangStack correctly. r=froydnj
...
--HG--
extra : rebase_source : c96766e4fc071bc119fe946ee86a045f0b1db4f4
2016-09-30 14:46:19 +02:00
Gijs Kruitbosch
926b56b96c
Bug 1279240 - move path parsing of commandline handlers for mimetypes/protocols to nsILocalFileWin, r=froydnj
...
MozReview-Commit-ID: 4CENm3iqGUH
--HG--
extra : rebase_source : 2e208aa73d4c9d6827a11e3ef73fdeca6ed4a348
2016-09-30 17:18:41 +01:00
Carsten "Tomcat" Book
6636b09ddd
merge mozilla-inbound to mozilla-central a=merge
2016-09-30 12:02:16 +02:00
Wes Kocher
485474bedb
Backed out 3 changesets (bug 1279240) for leaks on Windows VM mochitests a=backout
...
Backed out changeset 4b69e32e3a83 (bug 1279240)
Backed out changeset d0d5180dc062 (bug 1279240)
Backed out changeset dc1b725b47d4 (bug 1279240)
2016-09-29 17:44:41 -07:00
Gijs Kruitbosch
c85dd42c4b
Bug 1279240 - move path parsing of commandline handlers for mimetypes/protocols to nsILocalFileWin, r=froydnj
...
MozReview-Commit-ID: 4CENm3iqGUH
--HG--
extra : rebase_source : f9932abcee9f923b58e964ade81f3428181707d5
2016-09-27 11:51:43 +01:00
Nils Ohlmeier [:drno]
565956109b
Bug 1305159: replace NSAddImage with dlopen on OSX. r=froydnj
...
MozReview-Commit-ID: FHZthgRxPha
--HG--
extra : rebase_source : a6f7f61a4016b515ea96073f943aec06fea224b7
2016-09-23 15:31:39 -07:00
Wes Kocher
673a0db365
Backed out changeset 57e78c503c4e (bug 1294450) for build bustage a=backout
2016-09-28 17:38:00 -07:00
Josh Matthews
facc06fda2
Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=froydnj
...
--HG--
extra : rebase_source : 764aa593bd2734ca15d556a0b5ca55e3f69d25bb
2016-09-28 18:38:51 -04:00
Thomas Wisniewski
778b8e1ef7
Bug 1300986 - Improve exception messages for XMLHttpRequest. r=smaug
...
--HG--
extra : rebase_source : 911c543155d894f106b4e32599db89da4d781add
2016-09-28 13:04:17 -04:00
Honza Bambas
eeb66ca287
Bug 1305025 - Don't return error from nsPipe::Status when there are data to read to prevent potentiall loop. r=jduell
...
--HG--
extra : rebase_source : 8362d5f7e6a459d507ba8b7ac8a74afed9242982
2016-09-28 03:32:00 -04:00
Carsten "Tomcat" Book
572e74ee99
merge mozilla-inbound to mozilla-central a=merge
2016-09-28 15:56:33 +02:00
Phil Ringnalda
556a8f6ea1
Backed out 3 changesets (bug 1301301) for crashing
...
Backed out changeset da70c5abd73a (bug 1301301)
Backed out changeset 6186eae0c2b7 (bug 1301301)
Backed out changeset 45fb9c1ce63a (bug 1301301)
2016-09-27 19:49:17 -07:00
Andrew McCreight
068861044a
Bug 1301301, part 5 - In debug builds, check if there are too many calls to JS::TraceChildren. r=smaug
...
This can indicate that we are repeatedly calling TraceChildren on
non-AddToCCKind GC things.
MozReview-Commit-ID: C2udI1zg5R9
2016-09-26 10:19:07 -07:00
Andrew McCreight
5a97b708ad
Bug 1301301, part 4 - Make calls to JS::TraceChildren go through a single method on CCJSContext. r=smaug
...
In this patch I add a new tracer base class, CCJSTracer, and make all
of the code in CycleCollectedJSContext that used to do
JS::TraceChildren depend on it. This will let me record the number of
calls to JS::TraceChildren in one place, in a later patch.
This should not change any behavior.
MozReview-Commit-ID: LdDu5rnpvX0
2016-09-26 10:19:07 -07:00
Andrew McCreight
9d11cb0868
Bug 1301301, part 3 - Implement Begin and EndCycleCollectionCallback in CCJSContext. r=smaug
...
This will let my later patch run code at the start and end of each CC.
This patch should not change any behavior.
MozReview-Commit-ID: Fu6v3wo8qKB
2016-09-26 10:19:07 -07:00
Carsten "Tomcat" Book
ceb8695fd3
Merge mozilla-central to mozilla-inbound
2016-09-27 11:26:17 +02:00
Nathan Froyd
d50eeaffb6
Bug 1305422 - followup - use correct check for memory allocation failure in nsWindowsRegKey.cpp; r=bustage
2016-09-30 01:56:28 -04:00
Nathan Froyd
24fe404f62
Bug 1305422 - part 18 - remove #if 0'd-out code from nsStringIterator.h; r=erahm
...
We don't support IBM VisualAge for OS/2 anymore, and we haven't needed
this code in a long time regardless.
2016-09-29 22:33:57 -04:00
Nathan Froyd
2f1ab0c5e0
Bug 1305422 - part 17 - remove size_{forward,backward} from ns{Reading,Writing}Iterator; r=erahm
2016-09-29 22:33:57 -04:00
Nathan Froyd
9131b203eb
Bug 1305422 - part 11 - don't call size_forward in nsXPCOMStrings.cpp; r=erahm
2016-09-29 22:33:57 -04:00
Nathan Froyd
cc34f85e8b
Bug 1305422 - part 9 - remove {start,end} from ns{Reading,Writing}Iterator; r=erahm
...
These methods are now unused thanks to previous patches.
2016-09-29 22:33:57 -04:00
Nathan Froyd
46e20138db
Bug 1305422 - part 6 - pass explicit end iterators for CopyTo{Upper,Lower}Case; r=erahm
...
This change avoids calling size_forward on the iterator, which we are
trying to eliminate.
2016-09-29 22:33:57 -04:00
Nathan Froyd
7fbe6c830e
Bug 1305422 - part 6a - add operator- support for ns{Reading,Writing}Iterator; r=erahm
...
This change is necessary so we can start using a pair of
iterators (current, end) and subtract them to figure out how far we have
left to go. The current code just uses size_forward and size_backward
for this purpose, and it's quite an unusual iterator that knows how far
it can go until it's done.
2016-09-29 22:33:58 -04:00
Nathan Froyd
17702bc8dd
Bug 1305422 - part 3 - don't call size_forward in nsTStringComparator.cpp; r=erahm
...
Asking for size_forward on an iterator that you haven't started reading
from is just asking for the length of the original string, so use that
instead.
2016-09-29 22:33:58 -04:00
Nathan Froyd
d59bcecbbd
Bug 1305422 - part 2 - don't call size_forward on ns*String::iterators to check for SetLength failure; r=erahm
...
We have better ways of checking for SetLength failure nowadays, and even
if these SetLength calls did fail, the program would crash anyway.
2016-09-29 22:33:58 -04:00
Nathan Froyd
a6c2b19c93
Bug 1305422 - part 1 - remove normalize* methods from ns{Reading,Writing}Iterator; r=erahm
...
They are never called.
2016-09-29 22:33:58 -04:00
Jan de Mooij
e079cbfe2a
Bug 1302914 - Use GetThreadContext after calling SuspendThread to ensure threads are really suspended. r=froydnj
2016-09-29 20:05:36 +02:00
Andrew Osmond
31ad519348
Bug 1275464 - Part 1. Unregister from handling image memory reports when shutting down. r=njn
2016-09-19 13:29:59 -04:00
Josh Matthews
ee8da66177
Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=nfroydj
2016-09-29 06:20:00 +02:00
Iris Hsiao
bea139e001
Merge mozilla-central to autoland
2016-09-26 19:14:57 +08:00
Sylvestre Ledru
5c7328abbb
Bug 1305037 - simplify the getpid usage r=alchen
...
MozReview-Commit-ID: 1ra57AW9xug
--HG--
extra : rebase_source : cfef0e018eb8ec2d59fc0406f39a78ac2c9e50be
2016-09-23 15:02:23 +02:00
Sylvestre Ledru
c0a2402556
Bug 1305037 - Simplify the declaration of slashp r=froydnj
...
MozReview-Commit-ID: BBax5TZdSDt
--HG--
extra : rebase_source : e97cf58802fbd542aa88772f7ced585d59c1a001
2016-09-23 15:00:21 +02:00