Commit Graph

590422 Commits

Author SHA1 Message Date
Jeff Walden
be8ccd5a6b Bug 1452619 - Implement mozilla::IsAsciiAlpha. r=froydnj
--HG--
extra : rebase_source : fd1e3284d293edad0bd96cc378eeeeb1bc2c8829
2018-04-09 12:02:43 -07:00
Jeff Walden
a675e51266 Remove unused JS::Value::get{Int32,Double}Ref member functions. No bug, r=me as trivial
--HG--
extra : rebase_source : 3c32ceef0657739f07994929d3cdd3c32df7cf55
2018-04-05 20:45:57 -07:00
Nathan Froyd
14488e954b Bug 1453129 - don't needlessly copy data in nsClipboardProxy; r=smaug
We're already going to copy the data when we initialize the
nsISupportsString here.  There's no need to copy the data into a
temporary object before passing it in to the nsISupportsString.

And as long as we're fixing the big mistakes, we might as well fix the
small ones, like copying the flavor string from the IPC object.
2018-04-10 19:07:40 -04:00
Nicholas Nethercote
fe6068a327 Bug 1451658 - Remove JS_STATIC_CLASS in favour of MOZ_STATIC_CLASS. r=mystor
MozReview-Commit-ID: B2fynvjOSG7

--HG--
extra : rebase_source : 8f2ca40231561e5c7a140bad4f7fe79c89aeef04
2018-04-10 17:31:55 +10:00
Nicholas Nethercote
374e333b76 Bug 1451658 - Add MOZ_STATIC_CLASS. r=mystor
MozReview-Commit-ID: HlbfoQypMcI

--HG--
extra : rebase_source : 3f91229f7190f04a9f512a6ac594674e05829039
2018-04-10 17:31:31 +10:00
Jason Laster
b37082d190 Bug 1453066 - Update Debugger Frontend v34. r=jdescottes 2018-04-10 18:38:13 -04:00
Kris Maglione
08184e1c91 Bug 1452827: Follow-up: Flush the jar cache after fetch()ing a jar: URI at install. r=bustage
MozReview-Commit-ID: BcU9vQrcIvk

--HG--
extra : rebase_source : 4f5911678bb56c7e477cc9da12d051aa102c3f1b
extra : amend_source : 83eacfa483a226bfcf46d8b93c1cbfa313e2eb9e
2018-04-10 15:19:17 -07:00
arthur.iakab
bbca7c7700 Merge mozilla-central to inbound 2018-04-11 01:17:20 +03:00
arthur.iakab
280690d83e Merge mozilla-central to inbound 2018-04-11 01:02:05 +03:00
Nika Layzell
4d3a49a4fb Bug 1445668 - Don't hide includes when -showIncludes is explicitly passed to cl.exe, r=gps 2018-04-10 17:49:51 -04:00
Nika Layzell
6d83ce8024 Bug 1444151 - Part 5: Update rust-url to 1.7.0, r=valentin 2018-04-10 17:49:51 -04:00
Nika Layzell
da7423dfa5 Bug 1444151 - Part 4: Remove the now-unnecessary xpcom-style segment getters, r=valentin 2018-04-10 17:49:50 -04:00
Nika Layzell
4f380cfe7d Bug 1444151 - Part 3: Only create a single allocation for MozURL objects, which is managed by rust, r=valentin
This patch rewrites the rust-url-capi crate as the mozurl crate, which
provides a threadsafe MozURL object which is compatible with the
previous MozURL class.

Creating a MozURL this way performs a single allocation, which contains
only a rust-url Url object and an atomic refcnt, however it is fully
compatible with the C++ RefPtr type.

This patch also exposes methods for accessing dependent substrings of
the serialized spec, meaning that string copies can be avoided in many
situations when inspecting attributes of the MozURL.




--HG--
rename : netwerk/base/rust-url-capi/.gitignore => netwerk/base/mozurl/.gitignore
2018-04-10 17:49:50 -04:00
Nika Layzell
944ff7f16d Bug 1444151 - Part 2: Make Rust's RefPtr::forget safe, r=froydnj 2018-04-10 17:49:49 -04:00
Nika Layzell
9c3d9faeca Bug 1444151 - Part 1: Remove unused rust-url-capi tests, r=valentin 2018-04-10 17:49:49 -04:00
Nika Layzell
48ff89c65b Bug 1443956 - Part 2: Support serializing nsIPrincipal directly over IPDL, r=froydnj 2018-04-10 17:49:49 -04:00
Nika Layzell
9b6f7881f9 Bug 1443956 - Part 1: Support serializing nsIURI directly over IPDL, r=froydnj 2018-04-10 17:49:48 -04:00
Nika Layzell
952f6a915a Bug 1443954 - Part 3: Add support for RefCounted types to IPDL, r=bz,froydnj,baku
This patch was reviewed in parts, however the intermediate states would not build:

Bug 1443954 - Part 3A: Strip pointers from the argument to WriteParam and WriteIPDLParam before selecting the ParamTraits impl, r=froydnj

Bug 1443954 - Part 3B: Move nsIAlertNotification serialization to the refcounted system, r=bz

Bug 1443954 - Part 3C: Move geolocation serialization to the refcounted system, r=bz

Bug 1443954 - Part 3D: Move nsIInputStream serialization to the refcounted system, r=baku

Bug 1443954 - Part 3E: Move BlobImpl serialization to the refcounted system, r=baku

Bug 1443954 - Part 3F: Correctly implement ParamTraits for actors after the ParamTraits changes, r=froydnj
2018-04-10 17:49:48 -04:00
Nika Layzell
15aae6a990 Bug 1443954 - Part 2: Support parsing using refcounted class imports in IPDL, r=froydnj 2018-04-10 17:49:48 -04:00
Nika Layzell
854c39c514 Bug 1443954 - Part 1: Only Move() arguments when necessary, r=froydnj 2018-04-10 17:49:47 -04:00
Nika Layzell
0d56c8977a Bug 1437167 - Part 2: Round submillisecond condition variable waits up to 1ms, r=froydnj 2018-04-10 17:49:47 -04:00
Nika Layzell
0c3ba13e4c Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
Nika Layzell
b286bc10d9 Bug 1443379 - Stop pretending cacheKey can be anything other than uint32_t, r=smaug 2018-04-10 17:49:46 -04:00
Nika Layzell
adc5b074cd Bug 1434768 - Part 5: Add EvictLocalContentViewers to ChildSHistory, r=bz 2018-04-10 17:49:46 -04:00
Nika Layzell
11744e4b91 Bug 1434768 - Part 4: Create a ParentSHistory in nsFrameLoader, r=bz 2018-04-10 17:49:45 -04:00
Nika Layzell
4464c02334 Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz 2018-04-10 17:49:45 -04:00
Nika Layzell
8822e43271 Bug 1434768 - Part 2: Replace nsDocShell::mSessionHistory with ChildSHistory, r=bz 2018-04-10 17:49:45 -04:00
Nika Layzell
c3cbd8710f Bug 1434768 - Part 1: Add Child/ParentSHistory classes which wrap nsISHistory, r=bz 2018-04-10 17:49:44 -04:00
Nika Layzell
58eeb66cb3 Bug 1438026 - Part 4: Remove the old nsPresState code completely, r=baku 2018-04-10 17:49:44 -04:00
Nika Layzell
242c9ce313 Bug 1438026 - Part 3: Replace nsPresState with the new PresState type, r=baku 2018-04-10 17:49:44 -04:00
Nika Layzell
998263091d Bug 1438026 - Part 2: Add IPDL definitions for the PresState data structures, r=baku 2018-04-10 17:49:43 -04:00
Nika Layzell
0b0d005341 Bug 1438026 - Part 1: Add IPDLParamTraits for RefPtr<BlobImpl>, r=baku 2018-04-10 17:49:43 -04:00
Vinothkumar Nagasayanan
8d69150966 Bug 1424023 - Test run time reduced using another new iframe. r=ckerschb
--HG--
extra : rebase_source : f2c2b8ca89c2290ad9a701fb7f7c5cbb1a1bf63c
2018-04-10 17:43:16 -04:00
Christoph Kerschbaumer
c0f8ff4e4d Bug 1451094 - Fix null loadinfo deref. r=mayhemer 2018-04-10 17:26:36 +02:00
Matthew Gaudet
a7ca95c9c6 Bug 1451976 - Temporary fix for --enable-more-deterministic when doing DoubleNot IC. r=tcampbell 2018-04-09 18:23:49 -04:00
Nevin Chen
2e7cc03dde Bug 1399388 - Only when new page is exactly 'about:home' will be treated as default home page. r=sdaswani 2018-04-03 18:45:48 +03:00
David Major
d7203d76cd Bug 1453061: Merge libvpx code size fix. r=drno
https://chromium-review.googlesource.com/c/webm/libvpx/+/841103
2018-04-10 17:00:54 -04:00
David Major
03e4300156 Bug 1453061: Merge libaom code size fix. r=drno
https://aomedia-review.googlesource.com/c/aom/+/39401
2018-04-10 17:00:38 -04:00
Lee Salzman
dc3fc2506c Bug 1450814 - generic implementation of DrawTarget::Blur using LockBits. r=rhunt
MozReview-Commit-ID: 2jROASoiPQd
2018-04-10 16:46:32 -04:00
Kris Maglione
625d71bd40 Bug 1452827: Cleanup a bunch of duplication and cruft in XPIInstall.jsm. r=aswan
MozReview-Commit-ID: 4kmYI2t471E

--HG--
extra : rebase_source : 49b8383ffba5325c513ca67b24de29400ae5fe6a
extra : amend_source : 00afef115bed78df1d145e8fe1a0bc49af6d1cf8
2018-04-09 17:21:13 -07:00
Ben Kelly
8e02995e8a Bug 1452373 Only allow one runnable to write to serviceworker.txt at a time. r=asuth 2018-04-10 12:31:18 -07:00
Markus Stange
f0fdc9bdc6 Bug 1449641 - Always use mDrawTarget when merging the buffered region into the window DrawTarget. r=sotaro
If we have a non-null mTarget, we already set mDrawTarget to mTarget. So "mTarget ? mTarget : mDrawTarget" will always evaluate to mDrawTarget.

MozReview-Commit-ID: BlGYEdlL50Q

--HG--
extra : rebase_source : 214baea43d160c85d06cc11931c1c10d9a6ae4d2
2018-03-28 13:23:35 -04:00
Markus Stange
56547dba64 Bug 1449641 - Remove extraneous "if (mRenderTarget->mDrawTarget != mDrawTarget)". r=sotaro
The same condition is checked just before this if, so it's always true.

MozReview-Commit-ID: 9Vscnkz7AoY

--HG--
extra : rebase_source : d4209c6eb3963762c76a7dc4e1344147ae63f71a
2018-03-28 13:13:03 -04:00
Markus Stange
8ce851058b Bug 1449641 - Use the correct parameter when computing the clear rect. r=sotaro
This was incorrectly using the invalid rect, so it was clearing more than
necessary and not taking advantage of the opaque region that the caller computes.
The idea is that we don't need to clear parts of the invalid region that will be
covered by something opaque.

MozReview-Commit-ID: LhEkVUMnjC9

--HG--
extra : rebase_source : 97e0124684fbe6f3231795abf0591d25db0768db
2018-03-28 13:11:44 -04:00
Razvan Caliman
f25ae8281b Bug 1435373 - Shapes editor: update tests for new implementation. r=pbro
MozReview-Commit-ID: KUVacaWD5lv

--HG--
extra : rebase_source : 313d79cf10b1540c20b3df9aa7144cae42c4c4d7
extra : source : 03b412c9e45e0b293af9050543b3f1e69df88e7c
2018-04-05 12:21:59 +02:00
Gijs Kruitbosch
1f9f49c09b Bug 1446522 - don't return NS_ERROR_FAILURE for cut/copy/paste even when there's no selection, r=enndeakin+6102
MozReview-Commit-ID: AhToM4sAjJn

--HG--
extra : rebase_source : 5ec00b9dbeff4c5e8c557bab78a9bed618130391
2018-03-26 20:18:05 +01:00
Matt Woodrow
5f47a3aed8 Bug 1451971 - Rebuild the whole page when we have perspective or preserve-3d. r=miko
MozReview-Commit-ID: 2SkKvpdLWMi

--HG--
extra : rebase_source : 6b19d557a93fb3e0f2a2faf34f238b96c3e0f0bd
2018-04-11 21:49:30 +12:00
Matt Woodrow
886a720461 Bug 1451971 - Add new reftest for changing content within perspective without breaking sorting. r=miko
MozReview-Commit-ID: BaxNJGStRCM

--HG--
extra : rebase_source : a346c9aa3d582fa8bd5052a963fd01b8b7a3ff22
2018-04-11 21:36:51 +12:00
Andreea Pavel
525c9e7907 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-11 17:38:56 +03:00
Jeff Muizelaar
c9d72fab40 Bug 1453090. Don't PopClip on a different DT. r=jrmuizel
Make sure we PushClip on the same DT as we PopClip

--HG--
extra : rebase_source : 9ddc864f86582410597c82b36190827341c146a3
2018-04-11 10:27:12 -04:00