Граф коммитов

579637 Коммитов

Автор SHA1 Сообщение Дата
Marco Bonardo 9645d23bf4 Bug 1434241 - showEditBookmarkPopup should stop accepting itemIds. r=standard8
MozReview-Commit-ID: 8doEkhc8Wyd

--HG--
extra : rebase_source : a08336ea1442752b76132c60af62d41b78b1c01e
2018-01-31 13:49:35 +01:00
Csoregi Natalia d8b0109aae Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-01 20:13:43 +02:00
Csoregi Natalia 5a9ee59e75 Merge inbound to mozilla-central. a=merge 2018-02-01 20:11:41 +02:00
Emilio Cobos Álvarez f85c8218d8 Bug 1434724: Fix computed value serialization of font-feature-settings. r=dholbert
This should make us agree with other browsers re the serialization of
`"vert" 0`, and with servo after https://github.com/servo/servo/pull/19918

Left try running, may need some test adjustments that I'll send for review if
they're non-trivial.

Differential Revision: https://phabricator.services.mozilla.com/D539

MozReview-Commit-ID: LgIPfn4lfrF
2018-02-01 15:48:46 +01:00
Marco Castelluccio a306e990c6 Bug 1434782 - Mark updater tests as passing on Windows coverage builds. r=jmaher
--HG--
extra : rebase_source : da2723bd6023c7281b34057e680fdfb3abb0ba20
2018-02-01 01:18:19 +01:00
Marco Castelluccio 4c242df620 Bug 1417497 - Enable signing for the Windows code coverage build. r=aki
--HG--
extra : rebase_source : 998f9f13cb820b1c6e21ae01e733c45774cdd8c4
2018-01-31 22:39:20 +01:00
Daniel Holbert 3ebdbe2a5b Bug 1434658: Simplify getComputedStyle behavior for "min-{width,height}:auto" to *always* return "auto" for flex/grid items, per CSSWG resolution. r=bradwerth
This change is in response to this CSSWG resolution:
"RESOLVED: compute min-width/min-height: auto to auto"
https://github.com/w3c/csswg-drafts/issues/2230#issuecomment-362009042
...which was later clarified as only being applicable to grid/flex items (in
both axes). Other layout modes may get further min-width/min-height
clarification, but for now we'll leave that behavior the same (returning 0 from
getComputedStyle).

MozReview-Commit-ID: 2wLYDAOj9I6

--HG--
extra : rebase_source : c5f384ef5ae906e20a6e10da20c39b0a5eb226eb
2018-01-31 13:45:11 -05:00
Jonathan Kew c4f709831b Bug 1434697 - patch 2 - Implement variation font support in the Android (gfxFT2Fonts) backend. r=lsalzman 2018-01-31 17:07:49 +00:00
Jonathan Kew 8a9e00e955 Bug 1434697 - patch 1 - Cherry-pick commit 994eb2b34934bc5face9f83b2d3b12cf7a9262ab (fix for FreeType bug https://savannah.nongnu.org/bugs/index.php?52955) from upstream to our in-tree copy, pending a new FreeType release. r=lsalzman 2018-01-31 18:06:18 +00:00
Jonathan Kew 5b9b689254 Bug 1434699 - Don't use dlsym() to look up FreeType functions when building with MOZ_TREE_FREETYPE. r=lsalzman 2018-02-01 15:28:09 +00:00
Ryan Hunt 43118373ed Enable parallel painting on OSX and cap the amount of paint workers to 4. (bug 1430793, r=milan)
--HG--
extra : rebase_source : 9d5c853f84b160819540cc062fb84f4bea8fcb02
2018-01-25 14:12:39 -06:00
Gabriel Luong a87c1eea8d Bug 1434295 - Update CodeMirror to 5.34.0. r=bgrins 2018-02-01 10:19:28 -05:00
Nathan Froyd 38a5bb5c84 Bug 1412006 - part 3 - add an Android NDK repackaging task; r=dustin,nalexander; f=glandium
We'd like to install the NDK through the Android SDK manager.  But we
can't pin versions of the NDK with the SDK manager, and so Google
can silently upgrade the NDK on us.  Since that is undesirable, this is
the next best thing.

With the toolchain task in hand, we can make all the relevant tasks
depend on the toolchain task and remove the download of the NDK from
tooltool as well.
2018-02-01 09:59:23 -05:00
Nathan Froyd a65d0b5a21 Bug 1412006 - part 2 - add an --ndk-only option to mozboot/android.py; r=nalexander
This option will be useful for our NDK repackaging task.
2018-02-01 09:59:23 -05:00
Nathan Froyd 900fb3a463 Bug 1412006 - part 1 - have a single point of truth for the NDK version; r=nalexander
...at least in mozboot/android.py.
2018-02-01 09:59:23 -05:00
Jan de Mooij aac278c57c Bug 1434263 - Refactor JSString to have an IsLinear flag instead of IsFlat. r=luke 2018-02-01 15:29:29 +01:00
Gian-Carlo Pascutto ff91a17fb3 Bug 1386404 - Use the full tmpdir finding logic. r=jld
MozReview-Commit-ID: BDBslEZsctJ

--HG--
extra : rebase_source : 6814c3fc5183083b38bfe651f6c7e9d19965f785
extra : histedit_source : fb71245f51fefcc7c221f951316c16583239aefc%2C71d59492798b368e5d09f295f5e74bb32790c75b
2018-01-30 21:31:07 +01:00
Dylan Stokes 940834210e Bug 1347184 - Add support for colors.icons and colors.icons_attention properties. r=jaws
MozReview-Commit-ID: KX4TIdBvza6

--HG--
extra : rebase_source : 23b1da0a9649bfb91c45c576cb63564305a6990f
2018-01-23 21:00:15 -05:00
Gijs Kruitbosch 2f7614a384 Bug 1391007 - stop giving buttons in customize mode a darker background on focus, r=jaws
MozReview-Commit-ID: 6mtM21WAqEn

--HG--
extra : rebase_source : b959e02de35dac5fd034715521fc6b66635b675d
2018-01-30 22:04:06 +00:00
Narcis Beleuzu aff4a0ff80 Backed out 2 changesets (bug 1422163) for mochitest bc failure on /browser_clearSiteData.js. on a CLOSED TREE
Backed out changeset 7ab250439e7b (bug 1422163)
Backed out changeset 7eed1367d341 (bug 1422163)
2018-02-01 19:46:56 +02:00
Narcis Beleuzu b709f2768b Backed out 2 changesets (bug 1425909) for mochitest C3 failures on test_memoryReporters.xul. on a CLOSED TREE
Backed out changeset 6bcaae60c82e (bug 1425909)
Backed out changeset 0b5d96b317c3 (bug 1425909)
2018-02-01 19:45:22 +02:00
Emilio Cobos Álvarez 54a5db7d0a servo: Merge #19923 - style: Cleanup and remove unused / dubious Length stuff (from emilio:less-crappy-code); r=nox
style: Cleanup and remove unused / dubious Length stuff.

On top of #19918, turns out that the parse_numbers_are_pixels stuff is unused.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bb3befc36837c7f57dd3ed97fe43305147e8b649
2018-02-01 10:27:57 -06:00
Johann Hofmann 013b06d761 Bug 1422163 - Part 2 - Make a new test for clearing all site data with the new dialog. r=Gijs
MozReview-Commit-ID: 6Lt3hPZ1YiO

--HG--
rename : browser/components/preferences/in-content/tests/browser_siteData.js => browser/components/preferences/in-content/tests/browser_clearSiteData.js
extra : rebase_source : 95afde93b99de1b25afd6bd132e006f98089dc2e
2018-01-10 12:25:04 +01:00
Johann Hofmann 1dd2560f1b Bug 1422163 - Part 1 - Make a new confirm dialog for clearing all site data that allows you to clear cache. r=Gijs
MozReview-Commit-ID: G9xQXlfT9Ay

--HG--
extra : rebase_source : 045092865b7ad533174090a05e0282e5c1b30396
2018-01-10 12:24:40 +01:00
Luca Greco a0ff3ed908 Bug 1429425 - contentScripts.register runAt option should be set to document_idle when missing. r=mixedpuppy,zombie
MozReview-Commit-ID: 1D1J8zmVWqC

--HG--
extra : rebase_source : f17dbf6ec0cab40edee472933fd901c5b44e683f
2018-01-31 20:55:39 +01:00
Alessio Placitelli f585ffad30 Bug 1425909 - Mention the support for scalars in artifact and build-faster workflows. r=chutten
MozReview-Commit-ID: 4sJlNiEVLv7

--HG--
extra : rebase_source : 5766e141968c1f0073b43b592a2303ea9f78f9ad
2018-01-30 18:19:19 +01:00
Alessio Placitelli e39fc7c8b3 Bug 1425909 - Enable adding scalars in artifact builds without rebuilding Firefox. r=chutten,froydnj
This patch enables generating a JSON file that mirrors the scalar definitions
in Scalars.yaml. On local developer builds, this file is loaded when Firefox
starts to register all the scalars. If some change was introduced in the
definition files, the new scalar will be dynamically added.
The JSON definition file will be regenerated every time an artifact build
is performed or the build faster command is invoked.

MozReview-Commit-ID: Do3WjE38aIK

--HG--
extra : rebase_source : 2d9701d77abeb6ce8de096674349b6d071c4b102
2018-01-18 18:25:01 +01:00
Jonas Reinwald 65b1fa2979 servo: Merge #19529 - style: moved css longhand counter-reset out of mako (from DonatJR:counter-reset-out-of-mako); r=emilio
<!-- Please describe your changes on the following line: -->
This is a sub-PR of #19015
Code does not yet compile with `build-geckolib`.
r? emilio

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19387

<!-- Either: -->
- [x] These changes do not require tests

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 38ef515463338d1c562381fd650b80272f552dfb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 544c775ece36dbd68987a435e2df56c462cd64dc
2018-02-01 09:42:40 -06:00
Munro Mengjue Chiang 4197e56037 Bug 1423582 - use UniquePtr to wrap frame. r=pehrsons
MozReview-Commit-ID: 2T7RC1tBbOA

--HG--
extra : rebase_source : e964a73844edb7f10fb94442cc855f7922bb886d
2018-02-01 11:42:28 +01:00
Bogdan Pozderca 646676bc6f Bug 1412591 - Implement Google Chrome frame_inactive property. r=jaws
MozReview-Commit-ID: Dd204fZV7Yh

--HG--
extra : rebase_source : 0084d3b4954d22d6490fbf524f598ebbd558b411
2018-01-23 21:33:57 -05:00
Mauricio Collares 71c435d53d servo: Merge #19924 - style: Move border-image-repeat outside of mako (from emilio:bim); r=emilio
style: Move border-image-repeat outside of mako.

This is a rebased / nitpick-addressed / bug-fixed version of #19021, and with a commit from #19668 renaming the two `RepeatKeyword`s to different names.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dea163128c251d09872f2e929249a01f4c233666
2018-02-01 08:24:12 -06:00
Jan Odvarko da4956859b Bug 1174091 - Output 'load' and 'DOMContentLoaded' event to HAR; r=ochameau
MozReview-Commit-ID: 9bWXf9At2DC

--HG--
extra : rebase_source : a87efc202c76dbe4e7bb307a524ae39ab691038c
2018-02-01 16:37:06 +01:00
Gian-Carlo Pascutto d959ea23b4 Bug 1386404 - Don't try to fetch the content process tmpdir if sandboxing is disabled. r=jld
MozReview-Commit-ID: zaWPy4rt1J

--HG--
extra : rebase_source : 2b4fcf210c986ae9c0f74619df3290e7cd9fbfd0
extra : histedit_source : e2ef0fa68e9a0d544e11ac4475cab4e6e97f74fc
2018-01-09 17:51:55 +01:00
James Graham 3ecd324bdc Bug 1431459 - Update rust_mozrunner to use a Builder API, r=ato
This is a major API revision to replace the Python-like API with
something more idiomatically Rust. In particular you now create a
FirefoxRunner object and then call start() and end up with a
FirefoxProcess. This is pretty similar to the Command builder in std.

MozReview-Commit-ID: DmEfIfKSukA

--HG--
extra : rebase_source : 30fba6b2d9584a8a4128b641747beda1d264f7c5
2017-12-19 18:39:10 +00:00
Narcis Beleuzu 3c03cb8435 Backed out 2 changesets (bug 1422163) for mochitest bc6 failure on /browser_clearSiteData.js. on a CLOSED TREE
Backed out changeset f8a8160484c8 (bug 1422163)
Backed out changeset 60cd03e9c5ac (bug 1422163)
2018-02-01 16:33:52 +02:00
Martin Stransky bdd7d89f6c Bug 1434574 - Build wayland with EGL OpenGL backend, r=glandium
MozReview-Commit-ID: LpGmUVOYqRI

--HG--
extra : rebase_source : f26825fedcf66b6bdb2bcb32093b1d4451fe60e7
2018-01-31 13:13:50 +01:00
Gijs Kruitbosch cf5439d414 Bug 1433420 - fix scrollbox width selector for emulated flex to only apply to tabbrowser scrollbox, r=bgrins,dao
MozReview-Commit-ID: 6WPoJKZFCAD

--HG--
extra : rebase_source : b79162f5907bb79e07557012471ed551944913a5
2018-01-31 11:40:03 +00:00
Emilio Cobos Álvarez 609f5f84dc servo: Merge #19918 - style: Refactor font-feature-settings and font-variation-settings (from emilio:font-stuff-is-a-mess); r=nox
This fixes all known issues with serialization and parsing of these two
properties, and in particular calc handling and such:

  https://bugzilla.mozilla.org/show_bug.cgi?id=1434692
  https://bugzilla.mozilla.org/show_bug.cgi?id=1434724

Also does a fair amount of cleanup and all that, which was needed, this code
was a mess.

There are further cleanups that can be done, like renaming the
font-variation-settings animation stuff.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2162eb0164b4a05f33482417996dedf3ff74825d
2018-02-01 06:45:20 -06:00
Anthony Ramine 3c001b1302 servo: Merge #19903 - Derive more Parse implementations (fixes #19827) (from servo:derive-all-the-things); r=emilio
Fixes #19827.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f93a22318ff5d7c3999c299dd9edb08daa132366
2018-02-01 05:52:08 -06:00
Amit Kumar aa92a7d140 Bug 1431535 Increase timeout for new connection in test_disable_enable_new_connections from timeout 1.0 to 10.0 r=whimboo
MozReview-Commit-ID: KjRu5yMHxFO

--HG--
extra : rebase_source : 81e1dc5d5f6f603f093844e2a5e2c317559a07f1
2018-01-29 18:24:24 +05:30
Mathieu Leplatre 5dccbe9c9c Bug 1399864 - Send If-Modified-Since header when polling for blocklist.xml changes, r=florian
MozReview-Commit-ID: oAM9lDhtlt

--HG--
extra : rebase_source : 22b143db53aaafd155bac825bc74f41f2ae0ed70
2018-01-31 11:45:53 +00:00
Johann Hofmann 7b147bccc2 Bug 1422163 - Part 2 - Make a new test for clearing all site data with the new dialog. r=Gijs
MozReview-Commit-ID: 6Lt3hPZ1YiO

--HG--
rename : browser/components/preferences/in-content/tests/browser_siteData.js => browser/components/preferences/in-content/tests/browser_clearSiteData.js
extra : rebase_source : bc3d209693eaf605f17d03e28cadc833234c4e32
2018-01-10 12:25:04 +01:00
Johann Hofmann e4a63e7dd2 Bug 1422163 - Part 1 - Make a new confirm dialog for clearing all site data that allows you to clear cache. r=Gijs
MozReview-Commit-ID: G9xQXlfT9Ay

--HG--
extra : rebase_source : 045092865b7ad533174090a05e0282e5c1b30396
2018-01-10 12:24:40 +01:00
Jan Steffens 62442dc97a Bug 1424648 - Provide proper face index to FreeType FontDescriptorOutput; r=lsalzman
OpenType font collections (*.ttc) contain multiple faces in a single file,
identified via index. When creating a font descriptor for a FreeType or
Fontconfig font, we mistakenly set the index to zero, always.

This bug became visible when layout and WebRender would disagree on the face in
use, rendering text with the metrics from the proper face but the outlines of
another. Unless, of course, the selected face was the first (or only) in the
font file.

MozReview-Commit-ID: 73qcPOD0HIr

--HG--
extra : rebase_source : b5784ff547bae99186d646dbb92b31660beb3970
2018-01-31 21:42:18 +01:00
Emilio Cobos Álvarez 9a18395a1d Bug 1434474: There's no need to rebuild font / counter styles / font feature values off a runnable. r=bholley
Everything that needs them up-to-date will call flush appropriately, there
should be no need to do it manually.

This way we coalesce all the stylist updates until the next style flush in the
best case, or until one of the consumers actually needs them.

MozReview-Commit-ID: BVsxXxhtcKL

--HG--
extra : rebase_source : a41c14689fdcdb30935e16bdb0e757e7140e88e7
2018-01-31 11:12:36 +01:00
Brindusan Cristian 1698ad0344 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-01 12:15:12 +02:00
Narcis Beleuzu eeb7190f9a Merge inbound to mozilla-central. a=merge 2018-02-01 12:05:39 +02:00
Nicholas Nethercote a9860dbcb8 Bug 1423840 - Temporarily disable a small part of the prefs parser gtest due to failures on Windows. r=me 2018-02-01 19:14:30 +11:00
Nicholas Nethercote eeb14c6c69 Bug 1423840 (attempt 2) - Rewrite the prefs parser. r=glandium,Manishearth
The prefs parser has two significant problems.

- It doesn't separate tokenizing from parsing.

- It is implemented as a loop around a big switch on a "current state"
  variable.

As a result, it is hard to understand and modify, slower than it could be, and
in obscure cases (involving comments and whitespace) it fails to parse what
should be valid input.

This patch replaces it with a recursive descent parser (albeit one without any
recursion!) that has separate tokenization. The new parser is easier to
understand and modify, more correct, and has better error messages. It doesn't
do error recovery, but that would be much easier to add than in the old parser.

The new parser also runs about 1.9x faster than the existing parser. (As
measured by parsing greprefs.js's contents from memory 1000 times in
succession, omitting the prefs hash table construction. If the table
construction is included, it's about 1.6x faster.)

The new parser is slightly stricter than the old parser in a few ways.

- Disconcertingly, the old parser allowed arbitrary junk between prefs
  (including at the start and end of the prefs file) so long as that junk
  didn't include any of the following chars: '/', '#', 'u', 's', 'p'. I.e.
  lines like these:

    !foo@bar&pref("prefname", true);
    ticky_pref("prefname", true);       // missing 's' at start
    User_pref("prefname", true);        // should be 'u' at start

  would all be treated the same as this:

    pref("prefname", true);

  The new parser disallows such junk because it isn't necessary and seems like
  an unintentional botch by the old parser.

- The old parser allowed character 0x1a (SUB) between tokens and treated it
  like '\n'.

  The new parser does not allow this character. SUB was used to indicate
  end-of-file (*not* end-of-line) in some old operating systems such as MS-DOS,
  but this doesn't seem necessary today.

- The old parser tolerated (with a warning) invalid escape sequences within
  string literals -- such as "\q" (not a valid escape) and "\x1" and "\u12"
  (both of which have insufficient hex digits) -- accepting them literally.

  The new parser does not tolerate invalid escape sequences because it doesn't
  seem necessary and would complicate things.

- The old parser tolerated character 0x00 (NUL) within string literals; this is
  dangerous because C++ code that manipulates string values with embedded NULs
  will almost certainly consider those chars as end-of-string markers.

  The new parser treats NUL chars as end-of-file, to avoid this danger and
  because it facilitates a significant optimization (described within the
  code).

- The old parser allowed integer literals to overflow, silently wrapping them.

  The new parser treats integer overflow as a parse error. This seems better,
  and it caught existing overflows of places.database.lastMaintenance, in
  testing/profiles/prefs_general.js (bug 1424030) and
  testing/talos/talos/config.py (bug 1434813).

The first of these changes meant that a couple of existing prefs with ";;" at
the end had to be changed (done in the preceding patch).

The minor increase in strictness shouldn't be a problem for default pref files
such as greprefs.js within the application (which we can modify), nor for
app-written prefs files such as prefs.js. It could affect user-written prefs
files such as user.js; the experience above suggests that integer overflow and
";;" are the most likely problems in practice. In my opinion, the risk here is
acceptable.

The new parser also does a better job of tracking line numbers because it (a)
treats "\r\n" sequences as a single end-of-line marker, and (a) pays attention
to end-of-line sequences within string literals.

Finally, the patch adds thorough tests of both valid and invalid syntax.

MozReview-Commit-ID: JD3beOQl4AJ
2018-02-01 16:21:47 +11:00
Nicholas Nethercote 88664febda Bug 1423840 (attempt 2) - Remove extraneous semicolons in all.js. r=glandium
MozReview-Commit-ID: 2BMfVOoEtQ2
2018-02-01 15:44:29 +11:00