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

566636 Коммитов

Автор SHA1 Сообщение Дата
CYBAI fcc845f567 servo: Merge #19051 - style: Move font -moz-script-min-size outside of mako (from CYBAI:moz-script-min-size-no-mako); r=emilio,canaltinova
This is a sub-PR for #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 #19034 (github issue number if applicable).
- [X] These changes do not require tests because _____

Source-Repo: https://github.com/servo/servo
Source-Revision: 10227e3cd28773acad8dd8144afac61bdcf5941b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8fd883e05cd62113998a12e890ea091b8ebceb31
2017-10-30 15:00:05 -05:00
Phil Ringnalda bd249af085 Bug 1412690 followup, add missing file
MozReview-Commit-ID: 49by1OEmGoO
2017-10-30 13:54:45 -07:00
Phil Ringnalda 9770303735 Backed out changeset 91de4b003648 (bug 1360457) for eslint bustage
MozReview-Commit-ID: Dhd8HXw4FNq

--HG--
extra : rebase_source : 6a85ccb8350ce7751971417bcbf6df14fe5c55f5
2017-10-30 13:44:26 -07:00
Mihai Tabara c9a7b22bb6 bug 1412690 - Fix staging bouncer configs.r=aki
MozReview-Commit-ID: 9PJAFoWOqcH

--HG--
extra : rebase_source : fb99c29deefcff9c365f0394624d44cd8c83aee2
2017-10-30 16:50:32 +00:00
Aki Sasaki 5f54aa1f52 bug 1412690 - address review comments. r=mtabara
MozReview-Commit-ID: JKeqeF1hC30

--HG--
extra : rebase_source : 7dc1800dd872a4d60d09856ba2dd92814aa65b13
2017-10-30 11:57:59 -07:00
Aki Sasaki d16d2d20cb bug 1412690 - add task dependencies. r=rail
This patch adds the `release_deps` transform, which adds every
kind-dependency task that has the same product as a task dependency
(with some exceptions).

This patch made it clear that we need a standard way of defining
product.

MozReview-Commit-ID: 4xOJRQSCTgF

--HG--
extra : rebase_source : 4b98b040ac5d8777394cff6f3249ab354fff641b
2017-10-29 17:40:50 -07:00
Rok Garbas a81412addb Bug 1412690 - fennec release driver emails. r=aki
This patch adds the `release-notify-promote` and `release-notify-publish` kinds. It also genericizes all the notifications, and updates the kinds that use those notifications.

MozReview-Commit-ID: 9ymXKzthVF4

--HG--
extra : rebase_source : 6d7db48afa14e4124834321784da65e8d1e84c98
2017-10-29 17:35:03 -07:00
Aki Sasaki 6abeef4e00 bug 1412690 - beetmover-cdns. r=rail
This patch adds the beetmover-cdns kind, and adds it to
`publish_fennec`.

This was the first non-buildbot-bridge, non-dummy relpro task, so this
needed a new transform.

This patch also updates the `previous_graph_kinds` and updates the
beetmover scopes in scriptworker.py.

MozReview-Commit-ID: 3rpkjuLjjXz

--HG--
extra : rebase_source : d491f1ce5d10ee8f2602698236106007e203c358
2017-10-29 17:32:22 -07:00
Rok Garbas ea820a99db Bug 1412690 - fennec per task notifications. r=garbas
This patch adds per-task pulse notifications, as well as general support
to handle them.

Longer term we may move away from pulse-notifications, but this allows
us to proceed with pulse-notifications until that time.

MozReview-Commit-ID: 1uB4X682yLT

--HG--
extra : rebase_source : 360938e4682e3d7ae0874b4a50e41d5f97bf98bb
2017-10-29 17:31:45 -07:00
Rail Aliiev 04db73b08e Bug 1412690 - add release-bouncer-sub to publish_fennec's previous_graph_kinds. r=aki
We currently use `previous_graph_kinds` as a pointer to use a previously
built graph's task instead of generating a new task. We were re-running
`release-bouncer-sub` in the `publish_fennec` release promotion flavor
because we hadn't specified `release-bouncer-sub` as a
`previous_graph_kind`; this patch fixes that error.

MozReview-Commit-ID: 92MAVsG8Jrk

--HG--
extra : rebase_source : cf8411d017de20ef05ba9ac547e94797c88901dd
2017-10-29 17:30:56 -07:00
Aki Sasaki 7011795eaa bug 1412690 - stop building android nightlies on push. r=rail
We were building some Android nightly platforms on push, because we
didn't add them explicitly to the remove list.

I think longer term, we'll want to have `product` and
`release_promotion_action` attributes set in a standard manner, that we
can use to filter these things more intelligently.

MozReview-Commit-ID: KNZ7vxc3gRo

--HG--
extra : rebase_source : dd0c87fe8d050b226db6ba97d22c9089f7bb9430
2017-10-29 17:30:05 -07:00
Rok Garbas 5ef4a1dd30 Bug 1412690 - fennec version bump in-tree task. r=aki
This patch adds the initial `release-version-bump` kind, and adds it to
the `publish_fennec` `target_tasks_method`.

It also adds support for `next_version`.

MozReview-Commit-ID: 9YRswddeuZ3

--HG--
extra : rebase_source : 991cbf89b40c4ef980c42251001e81be5cedaf00
2017-10-29 17:25:01 -07:00
Rail Aliiev 1538ea94d6 Bug 1412690 - Fennec uptake monitoring in-tree task. r=aki
This patch adds the initial `release-uptake-monitoring` kind, and adds
it to the `publish_fennec` `target_tasks_method`.

MozReview-Commit-ID: 3RDMNGrbBwD

--HG--
extra : rebase_source : f504c8e173337d45bc9f374bd0349c6823b50ffb
2017-10-29 17:23:12 -07:00
Aki Sasaki 66cc0d8772 bug 1412690 - add maple fennec configs. r=rail
This patch adds fennec staging and production relpro configs.

MozReview-Commit-ID: AuY21bqU6bl

--HG--
extra : rebase_source : 209c9d9971d2ee18a7c794e0350af90f05d6b705
2017-10-29 17:19:34 -07:00
Rail Aliiev 530a285ff2 Bug 1412690 - Fennec bouncer aliases in-tree task. r=aki
This patch adds the initial `release-bouncer-aliases` kind, and adds it
to the `publish_fennec` `target_tasks_method`.

It also adds the ability to specify the `tuxedo_server_url`
`by-project`.

MozReview-Commit-ID: 9I4IaUlbCCD

--HG--
extra : rebase_source : d0ed88a687ef6fb9f97dc67c0f04742bbfeb201d
2017-10-29 17:18:46 -07:00
Rail Aliiev 9fe373f8ea Bug 1412690 - Fennec mark release as shipped in-tree task. r=aki
This patch adds the initial `release-mark-as-shipped` kind, and adds it to
the `publish_fennec` `target_tasks_method`.

MozReview-Commit-ID: F8AYscJQWlh

--HG--
extra : rebase_source : 9522b95f65b5b373a54bc0fc01a20c72adbee0cb
2017-10-29 17:16:37 -07:00
Aki Sasaki 98dd2a1e7a bug 1412690 - add fennec release bouncer sub. r=rail
This patch adds the first releasetask as a new kind. To support this, we
added a new `release-promotion` flag in the buildbot job. If this is
set, we use the new `bb_release_worker` function; otherwise we fall back
to the `bb_ci_worker` function (this is the old behavior, factored out
into a separate function).

We also added `build_number` and `release_promotion` attributes in the
task definition.  Finally, `build_number` now defaults to 1, allowing us
to create the task graph locally without forcing us to set
`BUILD_NUMBER` in the environment.

MozReview-Commit-ID: 8vNMHJemqAG

--HG--
extra : rebase_source : c8816d3e7b2f5358ea51ee8d5fb12585e67e9853
2017-10-29 17:11:41 -07:00
Aki Sasaki c7f7311793 bug 1412690 - add {promote,publish}_{fennec,firefox} target task methods. r=rail
This hooks up the `target_tasks_method`s and the
`release_promotion_flavor`s for these four release promotion flavors.

We also add some maple support and add `version_display.txt` to the
decision task sparse checkout so we can read the version number during
decision/action task time.

MozReview-Commit-ID: CdxUUXZtXO0

--HG--
extra : rebase_source : 99e4f060a964d34a377aea6a6e36fbcef66c6aec
2017-10-29 17:10:42 -07:00
Aki Sasaki 778c4efb0c bug 1412690 - allow for relpro target_tasks_method. r=rail
This patch creates a new `filter_beta_release_tasks` function. By
pulling this logic out of `mozilla_beta_tasks`, we can reuse it in the
release promotion `target_tasks_method`s.

MozReview-Commit-ID: Kwk3jgtooCS

--HG--
extra : rebase_source : f932f56c40afb39c23233ef885fe7ed45d350e7a
2017-10-29 17:08:54 -07:00
Aki Sasaki 22ad3a2ae4 bug 1412690 - Re-add bouncer config files. r=rail
In bug 1360587, we removed bouncer.apk. We accidentally removed the
mozharness config files for bouncer submission in d72b09c9228c as well.

This patch merely adds the files back.

MozReview-Commit-ID: 8c7lFr6Dpz1

--HG--
extra : rebase_source : 17ef6f2de0b0b6e1f8fde50ff3141e23cda160d3
2017-10-29 16:25:18 -07:00
Jed Davis 6557099666 Bug 1411115 - Allow F_SETLK fcntl in sandboxed content processes. r=gcp
MozReview-Commit-ID: ARc7EpfN73o

--HG--
extra : rebase_source : 21c35a65a7c45387e2bd7fd7aba5f82ecf7c9ab3
2017-10-27 18:05:53 -06:00
Jed Davis ee247f0d5f Bug 1409900 - Handle sandboxed statfs() by replacing it with open+fstatfs. r=gcp
MozReview-Commit-ID: 4Q0XMWcxaAc

--HG--
extra : rebase_source : e6065c91ddb271b71b5577ca0d6c39349565724c
2017-10-27 19:32:37 -06:00
Jed Davis 27d4543313 Bug 1409900 - Disallow quotactl in sandboxed content processes. r=gcp
MozReview-Commit-ID: 3svUgLLTZKL

--HG--
extra : rebase_source : 2f51310f19cff45313cafd2bdcc60f2999b729b3
2017-10-25 12:43:13 -06:00
Andrew McCreight 09ab49e463 Bug 1410471 - Remove StartupCacheWrapper and friends. r=froydnj
This class was needed for testing, but no longer.

MozReview-Commit-ID: AIk0kKlbScs

--HG--
extra : rebase_source : 35eed188e44dc4c9899479b35882461dd2cf4624
2017-10-20 10:40:50 -07:00
Connor Brewster 5bbcc8eb3d servo: Merge #19044 - style: Move text-overflow outside of mako (from cbrewster:text_overflow_nomako); r=emilio
<!-- Please describe your changes on the following line: -->

---
<!-- 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 are apart of #19015 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because refactoring.

<!-- 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: 7f8842f7a9be0a6673654c7b98be4ed529cb7abe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a75a0a99145017926be98620faf0fe1d1930ee2a
2017-10-30 14:04:52 -05:00
tera_1225@hotmail.com 487c19c1d8 Bug 1360457 - moved header into content, created wrapper around header, adapted css, fixed an old test, created new regression test. r=ntim,rickychien
Post-review fixes applied x2

MozReview-Commit-ID: AXNQFZC3fih

--HG--
extra : rebase_source : 42411ab50219f7cdfa2e5da0a031c7f448149d0b
2017-10-26 19:41:10 +02:00
Kearwood "Kip" Gilbert ccc6462307 Bug 1410493 - Update Oculus SDK from 1.5 to 1.9, update IPD during VR presentation r=daoshengmu
- Oculus SDK was updated from 1.5 to 1.9
- As the Oculus API now returns quaternion orientations for each
  eye-to-head transform, I needed to send more information to the
  content process.
- Rather than adding the quaternion, we now calculate the view matrices
  on the VR thread in the GPU process rather than calculating it in the
  content thread from parameters.
- OpenVR's full view matrix is now used, for compatibility with more devices.
- IPD adjustments are now updated every frame for both Oculus and OpenVR.


MozReview-Commit-ID: LOtfs4QIqc8

--HG--
extra : rebase_source : 0a69824012ede4bea0e0e709a2d027d0c35730bb
2017-10-23 14:23:03 -07:00
Tom Prince 4b8f90917d Bug 1410475: Add support for detecting whether c-c is topdir in mozconfigs; r=mshal
MozReview-Commit-ID: DYveJX8J3lr

--HG--
extra : rebase_source : d98a7be704dae5058c0e06490e077c81d6b8a781
2017-10-19 13:56:13 -06:00
Simon Sapin ac36ad85a7 servo: Merge #19061 - FreeType: don’t use usable_size() as deallocation size (from servo:ft-alloc); r=mbrubeck
Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it.

Hopefully fixes https://github.com/servo/servo/issues/19058

Depends on https://github.com/alexcrichton/jemallocator/pull/21

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8087ee658a0ca822c6cdc85c00cfc8984b1fa668
2017-10-30 12:40:34 -05:00
Gregory Szorc 879ded9fe7 Bug 1412431 - Remove docs for removed ac_add_app_options; r=me
I didn't remove these docs in earlier commits because the docs
section was incorrectly named. The content obviously refers to
ac_add_app_options and should no longer exist since
ac_add_app_options no longer exists.

MozReview-Commit-ID: 2ZvuMugEslm

--HG--
extra : source : d9da56c60b3d39abb09f77207f6b38e24dae79d2
2017-10-30 11:46:03 -07:00
Andrew Halberstadt fed6622b29 Bug 1400503 - [tryselect] Add an option to open the presets file in an editor, r=armenzg
MozReview-Commit-ID: 2jwdAaNWHH7

--HG--
extra : rebase_source : 8b3d054ce7b6deae439ba657c9c7607043898b3d
2017-10-27 14:58:34 -04:00
Andrew Halberstadt d801a6a681 Bug 1400503 - [tryselect] Separate 'common_arguments' into groups sub-parsers can opt-in to, r=armenzg
This allows subparsers more control over which sets of arguments they need to
implement.  For example, it doesn't make sense for the 'empty' selector to
accept the preset arguments.  Now it can opt-out of those and only implement
the 'push' arguments.

MozReview-Commit-ID: GOfjcFtlfDD

--HG--
extra : rebase_source : 4542adc49e38ff8c450a16363706aba669ad6594
2017-10-27 11:06:24 -04:00
Sebastian Hengst 7eb270c395 Backed out 4 changesets (bug 1410652) for eslint failure at testing/marionette/element.js: Line 1456 exceeds the maximum line length of 78. r=backout
Backed out changeset 97031d4ea2bd (bug 1410652)
Backed out changeset 66754caa4c52 (bug 1410652)
Backed out changeset 48048929bb17 (bug 1410652)
Backed out changeset 265a168b4e37 (bug 1410652)
2017-10-30 19:32:43 +01:00
Andreas Tolfsen 8cd7e47451 Bug 1411307 - Return iterators for element retrieval. r=whimboo
These functions currently return sequences or arrays of elements, which
wastes cycles and memory because we spend time constructing these data
collections in cases where we only need the first element.  This is
the case for WebDriver:FindElement and WebDriver:FindElementFromElement.

This patch changes the Marionette element retrieval functions to
consistently provide iterators instead of sequences when looking
up elements.  Making them generator functions means the iterable
can be expanded using [...iterable] when necessary.

MozReview-Commit-ID: FZbKLuRWqgA

--HG--
extra : rebase_source : 1e7dc8c614004444f8b2476cb1a136ed36943374
2017-10-24 16:51:38 +01:00
Jan Henning bba185434e Bug 1410629 - Clear user-entered search term already after location change. r=sebastian
This is to avoid a situation where after searching and then navigating to a different URL, the user can already see the new URL (after location change), but not yet edit it (currently, the search term is only dropped after pageshow).

Because location change is too early for checking the documentURI for the presence of an error page in case the load failed, we switch to checking the request's status instead.

We still have to explicitly check for "about:neterror" as well, though, since the way our intent handling code displays an error page in case of an unknown protocol technically counts as a successful pageload.

MozReview-Commit-ID: 8e6WQlD0sf3

--HG--
extra : rebase_source : fa80f45c2bc7b87934907e0386f8c26cd998eb04
2017-10-30 14:05:32 +01:00
Andrew Halberstadt 4747b91a36 Bug 1412136 - [taskgraph] Don't assume all tasks have a 'tags' attribute in artifact template, r=dustin
MozReview-Commit-ID: IbiD2zbCeh

--HG--
extra : rebase_source : d6d1d8388ba722c47069c1b6906309d4535220f4
2017-10-27 16:04:04 -04:00
Andrew Halberstadt 7bd17db52b Bug 1412136 - [taskgraph] Use 'mergeDeep' in templates, r=dustin
MozReview-Commit-ID: 2foWko3i4NK

--HG--
extra : rebase_source : 8f985d336ced73ad74a857a07af00b66b88776d8
2017-10-27 11:48:23 -04:00
Andrew Halberstadt 795e68f9ef Bug 1412136 - Upgrade third_party/python/jsone to version 2.3.1, r=dustin
This patch was generated by:

$ hg rm third_party/python/jsone/*
$ cd third_party/python/jsone
$ pip wheel jsone
$ unzip <downloaded wheel>

MozReview-Commit-ID: BdjFByECFBT

--HG--
extra : rebase_source : 4e82bd4ff8cad57579c4d3a5a1547878445dfcab
2017-10-27 11:45:07 -04:00
Jamie Nicol 21b5b6db95 Bug 1092294 - Use SurfaceTextures for painted content on android (preffed off). r=nical,snorp
Add a new TextureClientData type, AndroidNativeWindowTextureData,
backed by a SurfaceTexture in single-buffer mode. It uses the
NativeWindow API, which provides producer-side access to the buffer.
This provides a DrawTarget which can be used to paint directly in to
the SurfaceTexture, which can then be composited using a SurfaceTextureHost.

Due to API restrictions it is not possible to read from a NativeWindow
while the corresponding SurfaceTexture has ownership of the
buffer. TiledContentClient now handles that by painting the additional
region that it cannot copy from the front buffer, if required.

MozReview-Commit-ID: 1NZq6MQqwFq

--HG--
extra : rebase_source : 9d1db721d4892f3df033d43127489a85421e8863
2017-10-28 11:59:58 +01:00
Andreas Tolfsen 8c8b85caa1 Bug 1410652 - Let WebDriver:SwitchToFrame take a web element. r=whimboo
The "element" field on the WebDriver:SwitchToFrame command request's
body takes a string web element reference UUID as input.  This patch
changes it so that it can also take a web element JSON Object.

The old behaviour can be removed with Firefox 60.

MozReview-Commit-ID: JcTD3MRxjOe

--HG--
extra : rebase_source : 3da4b30d2689b6416d89bee838df73af40db2686
2017-10-21 19:30:27 +01:00
Andreas Tolfsen d15a90317a Bug 1410652 - Use invalid argument error for web element deserialisation. r=whimboo
For user input we will want to return the appropriate invalid
argument error.  For internal input using TypeError is fine.

MozReview-Commit-ID: AlOnZuhaczN

--HG--
extra : rebase_source : 57992fc62c08736cb24f7ee229a4c8930751e068
2017-10-24 17:42:32 +01:00
Andreas Tolfsen 4b10cb69dd Bug 1410652 - Fix various API documentation in element module. r=whimboo
MozReview-Commit-ID: AaGnolglX5n

--HG--
extra : rebase_source : de1c338530fbbb68f695c2af8de53a9fe9c1c8e0
2017-10-24 17:38:55 +01:00
Andreas Tolfsen 999ba4ba27 Bug 1410652 - Fix API docs of assert functions. r=whimboo
MozReview-Commit-ID: HktgnHoCGZV

--HG--
extra : rebase_source : a7b5586dba2a18d325aac765a9db13de31696095
2017-10-24 17:32:26 +01:00
Sebastian Hengst d67d120cc4 Backed out 4 changesets (bug 1386404) for mass failures, e.g. in browser-chrome's dom/tests/browser/browser_xhr_sandbox.js. r=backout on a CLOSED TREE
Backed out changeset 36556e1a5ac7 (bug 1386404)
Backed out changeset b136f90dc49f (bug 1386404)
Backed out changeset 4600c2d575f9 (bug 1386404)
Backed out changeset c2c40e4d9815 (bug 1386404)
2017-10-30 19:10:01 +01:00
Brad Werth 8fa077f585 Bug 1412868: Remove Gecko_GetLookAndFeelSystemColor from the static analysis whitelist. r=manishearth
MozReview-Commit-ID: 7gf3CZM3ypv

--HG--
extra : rebase_source : fb729b94b1c4c70ee6865053d6fb2a4491749d82
2017-10-30 08:47:01 -07:00
Chris Manchester bd83adf337 Bug 1411787 - Convert MOZBUILD_CFLAGS from passthru variables to computed flags. r=mshal
MozReview-Commit-ID: HOMf4vfFE1n

--HG--
extra : rebase_source : fad33710a5f374f070b4c972c303a6b2ece25758
2017-10-27 10:38:10 -07:00
Gian-Carlo Pascutto 3d94d8e8e1 Bug 1386404 - Only do the tmp remapping if needed. r=jld
This helps with getting the tests that are running out of /tmp
to pass, who get confused if their paths change underneath them.

It's also a bit faster.

MozReview-Commit-ID: CWtngVNhA0t

--HG--
extra : rebase_source : 304481a18c371c3253448971f48064bcbd681a81
2017-10-26 18:02:10 +02:00
Gian-Carlo Pascutto 577b3a7731 Bug 1386404 - Intercept access to /tmp and rewrite to content process tempdir. r=jld
MozReview-Commit-ID: 2h9hw6opYof

--HG--
extra : rebase_source : f3121d7afff22e3f72c66e3a5553e731a83a2e1c
2017-10-26 17:50:49 +02:00
Gian-Carlo Pascutto 6a66615d8d Bug 1386404 - Enable access to the entire chrome dir from content. r=jld
This may be required if people have @import in their userContent.css, and
in any case our tests check for this.

MozReview-Commit-ID: 8uJcWiC2rli

--HG--
extra : rebase_source : 3542ea305aabaca0500d66f8e86f5c12170d793e
2017-10-26 18:57:03 +02:00
Gian-Carlo Pascutto 802f1b9395 Bug 1386404 - Enable content-process specific tmpdir on Linux. r=haik
MozReview-Commit-ID: 6Hijq0to9MG

--HG--
extra : rebase_source : c7a3559e4cbdfd1885d13a489c4eeb311ca973fa
2017-10-12 11:18:25 +02:00