Commit Graph

575067 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
1795108268 servo: Merge #19667 - Revert #19666 since we do create NAC elements and expect them to be inline (from emilio:root-and-item); r=emilio
This reverts commit 1970e82b0d310128eabe8466d39d42cc20e7ae4b, reversing
changes made to e882660ea694f9f12d9d2936012dbdf192f8aec8.

The reparenting logic is still bogus, but I'll figure out how to deal with that
in a bit.

Source-Repo: https://github.com/servo/servo
Source-Revision: be7d13e37fad6eb594a7b8c8ec9b07fa0df11116

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6466a27a0b5271a78c3d00357de1db4e14495b17
2017-12-31 10:01:58 -06:00
Emilio Cobos Álvarez
4291ece36d servo: Merge #19666 - style: Simplify the skip item based display fixup adjustment (from emilio:root-and-item); r=upsuper
In practice the only NAC that possibly inherits from a grid or flex container
are pseudos.

In Gecko, if the root element is an item container, custom anon content would
also sometimes incorrectly inherit from that (see bug 1405635), but that's fixed
in Stylo.

We remove the IS_ROOT_ELEMENT blockification from the "skip display fixup"
check, since the root element is never NAC or anything like that, so there's no
need for the check.

This also fixes some reparenting fishiness related to pseudo-elements. We were
only skipping the fixup when reparenting anon boxes, not when reparenting normal
element styles, nor when reparenting other pseudo styles which are not anon
boxes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1970e82b0d310128eabe8466d39d42cc20e7ae4b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6633420bdbfffc8a284fa7d804cb48ed0ab20cae
2017-12-31 07:01:10 -06:00
Emilio Cobos Álvarez
fd120385c7 Bug 1427001: Move SetXBLBinding and SetShadowRoot to Element. r=smaug
MozReview-Commit-ID: 6FL1HR2Isa
2017-12-31 13:45:58 +01:00
Emilio Cobos Álvarez
09c8911ffe Bug 1427001: Stop duplicating slots. r=smaug
MozReview-Commit-ID: Cq647BcOzbe
2017-12-31 13:45:52 +01:00
Emilio Cobos Álvarez
adbbb69afb servo: Merge #19664 - style: Stop duplicating slots (from emilio:dupe-slots); r=smaug
Reland of #19660 since it was backed out for not landing its Gecko changes on time.

Bug: 1427001
Reviewed-by: smaug
MozReview-Commit-ID: Cq647BcOzbe
Source-Repo: https://github.com/servo/servo
Source-Revision: e882660ea694f9f12d9d2936012dbdf192f8aec8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6c1039bb1853cd340a0170a73d43f8d4331e7bcc
2017-12-31 05:13:47 -06:00
Emilio Cobos Álvarez
04be6ceded servo: Merge #19665 - style_derive: Support parse-time aliases (from emilio:derive-parse-alias); r=Manishearth
This will allow #19659 to use derive on display using:

    #[parse(aliases = "-webkit-flex")]
    Flex,
    #[parse(aliases = "-webkit-inline-flex")]
    InlineFlex,

And such.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4ba795081cd1efa42ce03c996d574cfe96f68ece

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7157dd2b10e6e39595ae090ad40219fd012b7baf
2017-12-31 03:46:22 -06:00
Emilio Cobos Álvarez
2facd37693 servo: Merge #19662 - style: Simplify "prohibit display: contents" adjustment (from emilio:simplify-prohibit-display-contents); r=upsuper
On top of #19661.

The NAC condition is pointless because NAC don't match author rules unless they
are a pseudo-element too.

Source-Repo: https://github.com/servo/servo
Source-Revision: ebff37b80720447044cc38553558e8339512144f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 12bd00a0a939f3b61b22f1db2073dc49e4c58f9b
2017-12-31 02:23:59 -06:00
Narcis Beleuzu
e9ee243a5f Backed out changeset dda1c7951937 for build bustage force-cargo-library-build. r=backout on a CLOSED TREE 2017-12-31 03:15:56 +02:00
Emilio Cobos Álvarez
42b7b3a0a0 servo: Merge #19660 - style: Stop duplicating slots (from emilio:dupe-slots); r=smaug
Bug: 1427001
Reviewed-by: smaug
MozReview-Commit-ID: Cq647BcOzbe
Source-Repo: https://github.com/servo/servo
Source-Revision: d3f603ecbae8c55062142d3979f433a1b6b903a4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 50a7494bbf13646ba014d3a1ca4c8784986086bb
2017-12-30 17:31:38 -06:00
Emilio Cobos Álvarez
9bd39a3393 servo: Merge #19661 - style: Simplify ::-moz-fieldset-content special-casing (from emilio:simplify-fieldset-contents); r=upsuper
The style adjuster knows about the pseudo, so there's no reason to thread that
info down.

There are more simplifications that can be done in followups, cleaning a bit the
cascade flags too, those will come later.

Source-Repo: https://github.com/servo/servo
Source-Revision: fb569f9c159627a058b902bfe820f55c2657e590

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9edac6e97fe86837e59d333cb2ce084cda2ab083
2017-12-30 15:12:23 -06:00
Narcis Beleuzu
25ff55f820 Merge inbound to mozilla-central r=merge a=merge 2017-12-30 23:58:30 +02:00
Narcis Beleuzu
7d80940744 Merge autoland to mozilla-central r=merge a=merge 2017-12-30 23:56:46 +02:00
ffxbld
dd07d453a1 No bug, Automated HPKP preload list update from host bld-linux64-spot-031 - a=hpkp-update 2017-12-30 13:43:47 -08:00
ffxbld
c510020205 No bug, Automated HSTS preload list update from host bld-linux64-spot-031 - a=hsts-update 2017-12-30 13:43:44 -08:00
Robert Longson
018c97b584 Bug 1419250 - check for division by zero in length conversions and fail the conversion in such cases r=dholbert 2017-12-30 17:07:27 +00:00
shindli
fb5422ff98 Merge autoland to mozilla-central r=merge a=merge 2017-12-30 11:52:56 +02:00
Andreea Pavel
949330729a Backed out 1 changesets (bug 1427266) for failing linux toolchain builds r=backout on a CLOSED TREE
Backed out changeset 78f2064b3811 (bug 1427266)
2017-12-30 02:41:11 +02:00
ffxbld
42fc6a7ffa No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-12-29 15:38:33 -08:00
ffxbld
8195cf9180 No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-12-29 15:38:29 -08:00
Andreea Pavel
532470b048 Merge inbound to mozilla-centra r=merge a=merge 2017-12-29 23:31:35 +02:00
Jan Horak
8d50dc0b07 Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo
The nsGIOService now provides GetAppsForURIScheme which is used to append handlers
for specific scheme in handler list dialog (toolkit/mozapps/handling/content/dialog.js)
and also in Applications section in preferences. In case the default system handler
or user added handler has same name as one of the GIO handlers, the GIO handler
is not appended. The check for not adding handler is by using handler name.

The nsGIOMimeApp class now implements nsIHandlerApp interface. Instead overloaded
GetName methods (nsCString and nsString) we now use nsString variant everywhere.
This require change of nsGNOMERegistry::GetFromType which if fact leads to code
simplification.

The implementation of nsGNOMEShellService::SetDefaultBrowser has been changed
because implementation of CreateAppFromCommand has changed.
The CreateAppFromCommand no longer tries to find the application,
for that FindAppFromCommand has been introduced.

MozReview-Commit-ID: KmfFWRPqV3

--HG--
extra : source : 9660ff09c2212cb7456e50cb166752f42e0a0669
extra : amend_source : 3c5fc61fe09b9b68bdfbb9683335cedd4d706744
2017-12-29 07:27:42 +00:00
Rofael Aleezada
06f0974ac0 Bug 1403556 - Remove PNK prefixes. r=jandem 2017-12-28 19:10:00 -05:00
abhinav
b1435911d3 Bug 788438 - Remove extra i from testDirectProxyValidateProperty6.js. r=dbruant 2017-12-29 09:55:45 +05:30
Geoff Brown
06701a61d9 Bug 1243263 - Disable browser_notification_tab_switching.js on windows for ongoing intermittent failures; r=me, a=test-only 2017-12-28 10:57:34 -07:00
Geoff Brown
918200f955 Bug 1425879 - Disable browser_autocomplete_insecure_warning.js on linux and osx, for ongoing intermittent failures; r=me, a=test-only 2017-12-28 10:57:34 -07:00
Geoff Brown
3a17b2e107 Bug 1408609 - Disable test_ext_i18n.js on Linux, for ongoing intermittent failures; r=me, a=test-only 2017-12-28 10:57:34 -07:00
Cosmin Sabou
43e1d34ab4 Backed out changeset 9660ff09c221 (bug 1297686) for xpcshell failures at uriloader/exthandler/tests/unit/test_handlerService_json.js r=backout on a CLOSED TREE 2017-12-28 19:41:50 +02:00
Jan Horak
5b4fd25730 Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo
The nsGIOService now provides GetAppsForURIScheme which is used to append handlers
for specific scheme in handler list dialog (toolkit/mozapps/handling/content/dialog.js)
and also in Applications section in preferences. In case the default system handler
or user added handler has same name as one of the GIO handlers, the GIO handler
is not appended. The check for not adding handler is by using handler name.

The nsGIOMimeApp class now implements nsIHandlerApp interface. Instead overloaded
GetName methods (nsCString and nsString) we now use nsString variant everywhere.
This require change of nsGNOMERegistry::GetFromType which if fact leads to code
simplification.

The implementation of nsGNOMEShellService::SetDefaultBrowser has been changed
because implementation of CreateAppFromCommand has changed.
The CreateAppFromCommand no longer tries to find the application,
for that FindAppFromCommand has been introduced.

MozReview-Commit-ID: KmfFWRPqV3

--HG--
extra : rebase_source : 36d254cbc45cbe6929cc469cd531211f7ddd6a64
2017-12-28 15:25:32 +00:00
Cosmin Sabou
f01aa433c2 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-28 15:30:43 +02:00
Cosmin Sabou
6c33dde6ca Backed out 2 changesets (bug 1425688) on request from jorgk for breaking the Certificate Manager r=backout a=backout
Backed out changeset f73324a4d033 (bug 1425688)
Backed out changeset bd2bf7b7fead (bug 1425688)
2017-12-28 15:26:09 +02:00
Andrea Marchesini
910d45154c Bug 1425979 - test_migration2to3 should be executed only if in nightly, r=jkt 2017-12-28 13:56:43 +01:00
Cosmin Sabou
70999128a5 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-28 11:50:49 +02:00
Cosmin Sabou
c13fbd9d48 Merge inbound to mozilla-central. r=merge a=merge 2017-12-28 11:45:59 +02:00
Cosmin Sabou
b15e1e2522 Merge autoland to mozilla-central. r=merge a=merge 2017-12-28 11:44:20 +02:00
Mike Hommey
151b428748 Bug 1427266 - Statically link libdmg-hfsplus against OpenSSL. r=gps
libcrypto, part of OpenSSL, and that dmg links against, has a varying
ABI, and something built against libcrypto on Centos won't run on Debian
and vice versa. It might not even work between versions of the same OS
(e.g. Debian 7 vs. Debian 9).

Because of that, it is desirable to statically link it.

This incorporates https://github.com/mozilla/libdmg-hfsplus/pull/1
and sets OPENSSL_USE_STATIC_LIBS when building libdmg-hfsplus.

--HG--
extra : rebase_source : 21a46f707494f388a899c08d0923f8b393d12cd1
2017-12-28 18:19:31 +09:00
Mike Hommey
a6484528bd Bug 1410148 - Fully re-enable debug info on mac builds. r=gps
--HG--
extra : rebase_source : b6063977691ee68eb8db1bc38b57b6237daee443
2017-12-28 18:01:50 +09:00
Heiher
3a9b434e38 Bug 1427168 - IonMonkey: MIPS: Fix GSImm13 encode. r=yuyin
---
 js/src/jit/mips-shared/Assembler-mips-shared.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2017-12-28 16:12:47 +08:00
Mike Hommey
9f6417f045 Bug 1410148 - Backport llvm r289565 to clang 3.9. r=gps
I was able to reproduce the failure to apply llvm-dsymutil on the last
mozilla-central revision before debug info was temporarily disabled for
rust, and validated that the problem was gone in clang 4.

After some bisection, r289565 was identified as having fixed the
problem, which, reading the commit message, makes sense.

It was however not possible to simply cherry-pick, because of multiple
code changes between 3.9 and 4. However, apart from the volume of
conflicting changes, it was more or less straightforward to backport.

Interestingly, the patch for r313872 was relying on changes from
r289565, which is why it required a variant specifically for 3.9, but
now we can use the same patch as for other versions. Well, except
there's a small difference in the context, and build-clang.py doesn't
allow fuzz, so we manually edit the patch to remove that line from the
context.

--HG--
extra : rebase_source : de0ab262d401c37c0e9300b0ef7923a07c009d87
2017-12-28 14:54:51 +09:00
Mike Hommey
a69d79d672 Bug 1427232 - Install expat-devel before building gtk3. r=gps
fontconfig uses expat by default to read its xml configuration, but when
expat is not there at build time, it falls back to libxml2. We ended up
in this situation, while on Debian, fontconfig is built against expat.

This makes no practical difference, since we're not actually using
fontconfig, but for some reason, the difference in dependencies has an
impact on how ld chooses to arrange the .plt and .got.plt sections,
meaning that even though the code and data is originally identical, in
the .o files, the resulting linked machine code is largely different
because of all the applied relocations changing the offsets of e.g. call
instructions for function calls through the .plt. This results in large
differences in .plt, .init, .text, .data.rel.ro, as well as symbols list
when building on Debian.

This thus is meant to help make the differences more tractable.

--HG--
extra : rebase_source : 7a731c34074a50e84412f73ab9499248345fb14a
2017-12-28 11:23:01 +09:00
Mike Hommey
4aa79652c5 Bug 1427232 - Remove .la files when building gtk3. r=gps
In bug 1426785, Gtk+3 build was moved to docker image creation time, and
at the same time, the removal of .la files was stripped, because it
seemed too broad to do that in /usr/local/lib*, and because I didn't
really remember why it was there in the first place.

I now do remember, and that's because libtool likes to add useless
dependencies on libraries just because direct dependencies transitively
depend on them. For example, this adds a dependency on libffi to
libpangocairo, which doesn't use it directly.

I also happens that /usr/local/lib* is empty at the moment we build
gtk3, so we can just do the cleanup there.

On its own, this change is useless, but:
- it restores the libraries in their state pre-bug 1426785,
- it helps reduce some differences when building on Debian (for bug
1399679), easing the comparison of those builds.

--HG--
extra : rebase_source : 3fa644d8ae5eb4ccac5940c7d3605201f589936d
2017-12-28 11:15:00 +09:00
Tom Prince
739a0defb2 Bug 1427213: Clean up docstrings in mozpack.path; r=glandium
MozReview-Commit-ID: 91cm9XJROy0

--HG--
extra : rebase_source : 1ab1ce1063096651f9095fd221656c852b6892d8
2017-12-27 15:57:32 -07:00
CYBAI
bfd346cb0b servo: Merge #19646 - style: Move touch-action outside of mako (from CYBAI:move-touch-action-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19645
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 446536b9c34b331f5466bfb212be8cb1faa2dee8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 95d2c35265415ad7c93319d1364efa59f49cdaad
2017-12-29 06:08:33 -06:00
Csoregi Natalia
336b7a606c Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-28 23:40:20 +02:00
Csoregi Natalia
a6cfee725b Merge inbound to mozilla-central r=merge a=merge 2017-12-28 23:37:20 +02:00
ffxbld
65b3bb229e No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-12-28 11:09:38 -08:00
ffxbld
33bbc65536 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-12-28 11:09:34 -08:00
Sean Lee
563b632f83 Bug 1426561 - Fix the null pointer issue caused by FormAutofillContent. r=lchang
MozReview-Commit-ID: 6yIYl4NQGuh

--HG--
extra : rebase_source : c806f3c9eb030cdba3aef71939b961230e84449c
2017-12-28 15:59:22 +08:00
Jan Henning
558586f7ec Bug 1427285 - Fix typo in build.gradle to correctly reflect crash reporter state in BuildConfig. r=JanH
MozReview-Commit-ID: DSypUp5s5O9

--HG--
extra : rebase_source : fffa4ece34bad5570586eba0d27a475019eab669
2017-12-28 17:15:05 +01:00
Cosmin Sabou
bf21f60786 Merge mozilla-central to autoland. r=backout a=backout on a CLOSED TREE 2017-12-28 15:29:21 +02:00
Cosmin Sabou
da48e83ed3 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-28 11:49:12 +02:00