Andrew McCreight
5dec0e0beb
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Eric Rahm
465336e99f
Bug 1333899 - Part 1: Add a fallible NS_UnescapeURL. r=froydnj
...
This adds a fallible version of |NS_UnescapeURL| that can be used to
gracefully handle allocation failures when the string needs to be unescaped.
--HG--
extra : rebase_source : 8d10ca98fb372afe8219d744b147703254e02830
2018-02-02 10:42:42 -08:00
Boris Zbarsky
4f2bf4184c
Bug 1435483
part 21. Remove nsIException::ToString. r=qdot
...
MozReview-Commit-ID: 17yuhlqzbr2
2018-02-05 16:34:06 -05:00
Boris Zbarsky
d023fa0839
Bug 1435483
part 20. Remove nsIException::GetData. r=qdot
...
MozReview-Commit-ID: 9cDzCeddOmh
2018-02-05 16:34:06 -05:00
Boris Zbarsky
2e3807bdc2
Bug 1435483
part 19. Remove nsIException::GetLocation. r=qdot
...
MozReview-Commit-ID: AbVQ7IA4xqp
2018-02-05 16:34:06 -05:00
Boris Zbarsky
3bf93ec28e
Bug 1435483
part 18. Remove nsIException::GetResult. r=qdot
...
MozReview-Commit-ID: JArus2ddEsL
2018-02-05 16:34:06 -05:00
Boris Zbarsky
180fe6930c
Bug 1435483
part 17. Remove nsIException::GetMessageMoz. r=qdot
...
MozReview-Commit-ID: GKzE812BfIF
2018-02-05 16:34:06 -05:00
Boris Zbarsky
12e9f78050
Bug 1435483
part 16. Switch to using dom::Exception, not nsIException, in C++ code. r=qdot
...
nsIException is builtinclass in idl, so whatever code we had to handle
non-dom::Exception nsIExceptions is dead code.
MozReview-Commit-ID: 6VnqDWt0041
2018-02-05 16:34:05 -05:00
Boris Zbarsky
d748458d6f
Bug 1435483
part 14. Remove nsIException::GetFilename/GetLineNumber/GetColumnNumber. r=qdot
...
MozReview-Commit-ID: 6JN7UvkhPgl
2018-02-05 16:34:05 -05:00
Boris Zbarsky
eebfa7dd8a
Bug 1435483
part 13. Remove nsIException::GetName. r=qdot
...
MozReview-Commit-ID: CXnwjeHoGRm
2018-02-05 16:34:05 -05:00
Boris Zbarsky
fc5ae1f4a1
Bug 1435483
part 12. Add an infallible "toString" method on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: CTCawPvw6VZ
2018-02-05 16:34:05 -05:00
Boris Zbarsky
539cfc28e6
Bug 1435483
part 11. Add an infallible "formattedStack" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: KLSzUuWt45x
2018-02-05 16:34:05 -05:00
Boris Zbarsky
c8bd8682bf
Bug 1435483
part 10. Add infallible "asyncCaller" and "caller" getters on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: 8pdMDFHWlVt
2018-02-05 16:34:05 -05:00
Boris Zbarsky
b7eaf4b6ae
Bug 1435483
part 9. Add an infallible "name" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: ADxO2A8nkel
2018-02-05 16:34:05 -05:00
Boris Zbarsky
984978f22d
Bug 1435483
part 8. Add an infallible "asyncCause" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: KpRyt21PF7W
2018-02-05 16:34:04 -05:00
Boris Zbarsky
fc7c1f0034
Bug 1435483
part 7. Add an infallible "columnNumber" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: 7VJvDR0qD3G
2018-02-05 16:34:04 -05:00
Boris Zbarsky
2c00c8c971
Bug 1435483
part 6. Add an infallible "lineNumber" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: 7aYg9kJhiab
2018-02-05 16:34:04 -05:00
Boris Zbarsky
02f7baafc0
Bug 1435483
part 5. Add an infallible "filename" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: D3uuehuDqOB
2018-02-05 16:34:04 -05:00
Nathan Froyd
13f6115da5
Bug 1435702 - specialize copying nsTHashtable elements where possible; r=mystor
...
This saves us a function call to memcpy when the compiler inlines the
memcpy, which is pretty common.
2018-02-05 16:18:12 -05:00
Andrea Marchesini
8cdf705535
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Eric Rahm
707e39aaa9
Bug 1434689 - Part 3: Annotate nsTSubstringTuple as MOZ_TEMPORARY_CLASS. r=froydnj
...
The documentation indicates nsTStringTuple is intended for internal use only
and is designed to be only be used as a temporary. This makes that fact
explicit by annotating the class for static analysis.
--HG--
extra : rebase_source : 737481fb39355c456cf1bbf17b887e35d692c4df
2018-01-31 15:45:04 -08:00
Eric Rahm
55733f8050
Bug 1434789
- Part 2: Remove nsSubstringTuple aliases. r=froydnj
...
This removes nsSubstringTuple.h and nsSubstringTuple.cpp in favor of
nsTSubstringTuple.
--HG--
extra : rebase_source : 4539b7cccd7a6837ca695782200a2e8d19b8436a
2018-01-31 16:45:34 -08:00
Nathan Froyd
ec2a2fe38f
Bug 1434856 - move runnable prioritization checks outside of event queue locks; r=erahm
...
Otherwise, we might enter JS, decide to GC, and deadlock because we were
trying to dispatch tasks to the main thread's event queue while holding
the lock for the event queue.
2018-02-02 13:55:05 -05:00
Coroiu Cristina
e06af9c36a
Merge inbound to mozilla-central a=merge
2018-02-02 19:38:23 +02:00
Boris Zbarsky
13dda50f75
Bug 1435138 part 4. Remove nsIDOMSVGLength. r=qdot
...
MozReview-Commit-ID: HwKT9Bdby6F
2018-02-02 08:21:33 -05:00
Alex Gaynor
7d9591ccdc
Bug 1434911 - when creating temporary files, don't set the executable bit; r=froydnj
...
MozReview-Commit-ID: HxD5z7hm3ra
--HG--
extra : rebase_source : 3bf62b3943e64dca33f79299dd79dbd63dcfdba3
2018-02-01 09:52:01 -05:00
Henri Sivonen
835a606d01
Bug 1432728 - Add a microbenchmark for HasRTLChars(). r=gerv,jfkthame
...
MozReview-Commit-ID: I0sAeNMtR0c
--HG--
extra : rebase_source : f924e604ac2e1398bfdcdf8e306243015833421b
2018-01-23 17:50:50 +02:00
Gurzau Raul
bb16936244
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-02-02 00:25:44 +02:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Boris Zbarsky
ea872de15a
Bug 1434819 part 5. Remove nsIDOMTreeWalker. r=qdot
...
MozReview-Commit-ID: QmxoxVhppG
2018-02-01 14:26:12 -05:00
Boris Zbarsky
8003341ed5
Bug 1434819 part 2. Remove nsIDOMNodeIterator. r=qdot
...
MozReview-Commit-ID: 7ln10gj1cLP
2018-02-01 14:26:12 -05:00
Gian-Carlo Pascutto
6520179659
Bug 1386404
- Enable content-process specific tmpdir on Linux. r=jld
...
MozReview-Commit-ID: 6Hijq0to9MG
--HG--
extra : rebase_source : 8435b8e39d9723c52b0176a7686895185136aa6e
extra : histedit_source : 50c41172788fddead6357f1d566d0e48de8c90d6
2018-01-09 16:29:40 +01:00
David Major
19b37c470f
Bug 1235982: Work around GetProcessHeaps giving us some read-only heaps with CFG. r=froydnj
...
MozReview-Commit-ID: JUq2aJSMemM
--HG--
extra : rebase_source : 93be30862009addb48c695a9ad5bb21acd180ab9
2017-12-30 13:10:54 -06:00
Cosmin Sabou
cbddf62d14
Merge inbound to mozilla-central. a=merge
2018-02-01 01:14:44 +02:00
Boris Zbarsky
8d91b52952
Bug 1434399 part 13. Remove C++ uses of nsIDOMXULDocument. r=mystor
...
MozReview-Commit-ID: KSsXLra5DQk
2018-01-31 14:49:28 -05:00
Cosmin Sabou
94617f91cf
Backed out 19 changesets (bug 1434399) for build bustages on nsXULPopupManager.cpp on a CLOSED TREE
...
Backed out changeset 499f6dffd9cb (bug 1434399)
Backed out changeset 018290612415 (bug 1434399)
Backed out changeset f4c3179f8e59 (bug 1434399)
Backed out changeset f3ce2826b857 (bug 1434399)
Backed out changeset 6d2391af01dd (bug 1434399)
Backed out changeset dc98ed8c609a (bug 1434399)
Backed out changeset 8eaa395d6200 (bug 1434399)
Backed out changeset 19b18f4a53be (bug 1434399)
Backed out changeset 8ff378a6e96a (bug 1434399)
Backed out changeset 60fe73be1a26 (bug 1434399)
Backed out changeset faefb2751fdc (bug 1434399)
Backed out changeset 55cdf8b3a959 (bug 1434399)
Backed out changeset b578cc8efb92 (bug 1434399)
Backed out changeset 54cc4cb2fca1 (bug 1434399)
Backed out changeset f5343ef34d6c (bug 1434399)
Backed out changeset 8fb30e066cbd (bug 1434399)
Backed out changeset 21341b656b0f (bug 1434399)
Backed out changeset fab1f8b087a2 (bug 1434399)
Backed out changeset 55250a54852a (bug 1434399)
2018-01-31 22:45:26 +02:00
Boris Zbarsky
467ed0721d
Bug 1434399 part 13. Remove C++ uses of nsIDOMXULDocument. r=mystor
...
MozReview-Commit-ID: KSsXLra5DQk
2018-01-31 14:49:28 -05:00
Sebastian Hengst
07250813a5
Backed out changeset 5ccb0581b72c (bug 1371699) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux. CLOSED TREE
...
--HG--
extra : amend_source : e773ac9be09b6a87bd906f207f7920ae3b874822
extra : histedit_source : 62306afa6b4d85897d3b0fdd0e056cdcb09087c3
2018-01-31 20:31:35 +02:00
Sebastian Hengst
14018b66f7
Backed out changeset 52b418c8febf (bug 1371699) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
...
--HG--
extra : histedit_source : d98d3d57b04e85bbee527549ecc271e5fc02e21e
2018-01-31 20:31:22 +02:00
Sebastian Hengst
e5cbb643b9
Backed out changeset 782a4eefd04b (bug 1371699) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
...
--HG--
extra : histedit_source : 495c4f1cded17f7980b0551fa72980a89cc304e7
2018-01-31 20:31:09 +02:00
Sebastian Hengst
b27faafcd2
Backed out changeset ba730a1d259a (bug 1371699) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
...
--HG--
extra : histedit_source : 5357e0cb4f0f4dc850cc25287bc4ad75ff55c4f8
2018-01-31 20:30:57 +02:00
Sebastian Hengst
e33e198739
Backed out changeset f1221589e7a6 (bug 1405974) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
...
--HG--
extra : histedit_source : d11737083bf4383b50707e024539f45f174531f9
2018-01-31 20:30:45 +02:00
Sebastian Hengst
b30ef0fc58
Backed out changeset cf81d20f6713 (bug 1371699) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
...
--HG--
extra : histedit_source : cfe4407220971165f82123842f488b9fe48eab66
2018-01-31 20:30:34 +02:00
Andrea Marchesini
ffc69d5c96
Bug 1371699 - Correct canceling of the AsyncWait() callback in NonBlockingAsyncInputStream, r=froydnj
2018-01-31 16:45:21 +01:00
Andrea Marchesini
69f4700dfd
Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot
2018-01-31 16:45:20 +01:00
Andrea Marchesini
11e06fdb47
Bug 1371699 - NonBlockingAsyncInputStream::ReadSegments passes the correct stream to the writer callback, r=froydnj
2018-01-31 16:45:20 +01:00
Andrea Marchesini
d1cf975a06
Bug 1371699 - gtest for NonBlockingAsyncInputStream, r=froydnj
2018-01-31 16:45:20 +01:00
Andrea Marchesini
c16f42b917
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2018-01-31 16:45:20 +01:00
Andrea Marchesini
51af3a8898
Bug 1371699 - Implement NonBlockingAsyncInputStream - nsIAsyncInputStream wrapper for non-blocking non-async streams, r=froydnj
2018-01-31 16:45:20 +01:00
Andreea Pavel
d652648d08
Merge mozilla-central to autoland a=merge on a CLOSED TREE
...
--HG--
rename : dom/media/webrtc/MediaEngine.h => dom/media/webrtc/MediaEnginePrefs.h
extra : rebase_source : 661454de54cac8d23010da02d0c0d68c1856500d
2018-01-31 19:39:52 +02:00