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

555911 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen 3c7fa0536e Bug 1395527 part 2 - Delegate IsASCII and IsUTF8 to encoding_rs. r=froydnj
MozReview-Commit-ID: 49AGBPjW4Ca

--HG--
extra : rebase_source : fb20025e98f97210c58c3cf9767eae06ad92349b
2017-09-01 11:53:31 +03:00
Henri Sivonen 521edd3c6a Bug 1395527 part 1 - Add microbenchmarks for IsASCII and IsUTF8. r=froydnj
MozReview-Commit-ID: 3oploVISQ3F

--HG--
extra : rebase_source : 08d184e9b09a6375f6c6ace2b3511d39e9b36691
2017-08-31 14:46:25 +03:00
Dale Harvey 279a18852c Bug 1393054 - Remove extra box-shadow from urlbar. r=dao
MozReview-Commit-ID: GH1LAfxQ2kQ

--HG--
extra : rebase_source : 88354e973599099e9b8fdb8500a77e3885fd16a8
2017-09-01 16:23:50 +01:00
Anthony Ramine 1f6d0698cc servo: Merge #18340 - Use the better TokenStream API in dom_struct (from servo:dom-struct-errors); r=SimonSapin
Before:

```rust
error[E0412]: cannot find type `SourceBuffer` in this scope
  --> /Users/nox/src/servo/components/script/dom/mediasource.rs:25:1
   |
25 | #[dom_struct]
   | ^^^^^^^^^^^^^ did you mean `SourceBufferList`?
```

After:

```rust
error[E0412]: cannot find type `SourceBuffer` in this scope
  --> /Users/nox/src/servo/components/script/dom/mediasource.rs:28:39
   |
28 |     source_buffers: DOMRefCell<Vec<JS<SourceBuffer>>>,
   |                                       ^^^^^^^^^^^^ did you mean `SourceBufferList`?
```

Source-Repo: https://github.com/servo/servo
Source-Revision: 32b04b3f517cebcba34a23e6930860bbedb1431b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 32ff4a9079c10adbd780779a48557ac24d00427d
2017-09-02 00:48:29 -05:00
Manish Goregaokar 6f4975a39c Bug 1394302 - stylo: Add mochitest; r=birtles
MozReview-Commit-ID: DJ3zFqqMNXk
2017-09-01 23:06:25 -07:00
Brad Werth c0e8e6e5a2 Bug 1391169 Part 2: Add a test of cssText with combinations of namespaces, universal selectors, and combinators. r=SimonSapin
MozReview-Commit-ID: GZZEGR0zyp6

--HG--
extra : rebase_source : cf531ddfa86d558f61ae84b3f3b71d64fbae07c5
2017-08-22 16:21:46 -07:00
Brad Werth f99f595da8 servo: Merge #18344 - Change selector::to_css function to handle combinators in between universal selectors (from bradwerth:selectorSerialize); r=SimonSapin
https://bugzilla.mozilla.org/show_bug.cgi?id=1391169
https://reviewboard.mozilla.org/r/172368/

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e1c350aa1d8bbaf896f69e5141125a627999b93f
2017-09-01 23:41:10 -05:00
Zibi Braniecki fff3291681 Bug 1396177 - Do not clobber the langpack in l10n-check. r=aki
MozReview-Commit-ID: HMYpE2mLPtI

--HG--
extra : rebase_source : 2ee4e48da5202823ecfb426a7d69d5121fcaaba5
2017-09-01 20:28:33 -07:00
Mike Hommey e8e9ecbd5d Bug 1395776 - Make _recalloc, _expand and _msize go through replace-malloc when enabled. r=njn
--HG--
extra : rebase_source : 454d6dc58681a9bde3564216d013746c0f189add
2017-08-31 14:17:49 +09:00
Mike Hommey 551fcf616e Bug 1395776 - Share the posix_memalign, aligned_alloc and valloc implementations between mozjemalloc and replace-malloc. r=njn
--HG--
extra : rebase_source : ed41b23993cdee89d28b835ee0ee196c15977427
2017-08-31 14:17:19 +09:00
Mike Hommey e77f51a721 Bug 1395776 - Fold replace-malloc into mozjemalloc. r=njn
Add the MPL 2.0 license header per bug 1395449.

--HG--
extra : rebase_source : c85544a178aba7e77b5b8031851b8e16b22a3848
2017-08-31 12:02:01 +09:00
Mike Hommey 24484e3284 Bug 1395776 - Remove useless goto. r=njn
--HG--
extra : rebase_source : 760898d1521d2c27658e0494677cfecd0375894f
2017-08-31 11:47:22 +09:00
Mike Hommey 89443bb39f Bug 1395776 - Add a level of indirection on top of mozjemalloc. r=njn
Practically speaking, with code inlining, this doesn't change anything,
but will allow, in a subsequent change, to easily divert the exported
allocation functions (malloc, etc.) in order to inject replace-malloc
in the pipeline.

The added macro magic is copied from replace-malloc.c.

At the same time, reformat the functions we're touching.

--HG--
extra : rebase_source : f615909101f832f3cc471e23a3cc44a60886843f
2017-08-31 10:29:11 +09:00
Mike Hommey dfc6786a68 Bug 1395776 - Move usable_ptr_t definition to mozjemalloc_types.h. r=njn
Because malloc_decls.h is meant to be included multiple times, it
shouldn't actually declare things itself.

--HG--
extra : rebase_source : 9d6f9b2c61407265377845963a19ace2614160f4
2017-08-31 09:51:23 +09:00
Mike Hommey 72d9b36a8c Bug 1395776 - Uniformize valloc implementations in replace-malloc and mozjemalloc. r=njn
valloc is supposed to page-align data, but mozjemalloc's definition of
pagesize is statically compiled in and might not match the actual page
size at runtime (because of MALLOC_STATIC_SIZES). We change valloc in
mozjemalloc to use the runtime page size.

--HG--
extra : rebase_source : c5b1b56e783b311ac1620a87d910e019e3f18b49
2017-08-31 11:36:09 +09:00
Mike Hommey b0303d9e77 Bug 1395776 - Uniformize posix_memalign implementations in replace-malloc and mozjemalloc. r=njn
--HG--
extra : rebase_source : bbbee18feef2d11b71d5d5a48e98017bfae78722
2017-08-31 11:35:24 +09:00
Glenn Watson db2d96787b servo: Merge #18339 - Update WR (mac driver crash, box shadow sharing) (from glennw:update-wr-misc); r=jdm
* Works around a driver / kernel crash on some mac machines.
* Allow more sharing of box shadow and clip render tasks.
* Some shader tidy ups.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7e3c8dee71214b5244431de64f65b5a1f71c0108

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e2eeb653097659da42e2c3daf4d7139172785bbf
2017-09-01 21:42:28 -05:00
Joone Hur ab50beb8a1 servo: Merge #18242 - Implement Ellipse Canvas 2D API (from joone:ellipse); r=jdm
This patch needs to update rust-azure to 0.21.0.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #17598

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 3a4b98ad38214495ac0f1f1aa1052f0c583ffe5c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5650f24356c24ee80c4ca4e9560c75c6a6813ccd
2017-09-01 20:25:57 -05:00
Mark Hammond 5f4d03ee95 Bug 1391488 - catch and ignore errors fetching the hostname from the DNS service. r=kitcambridge
MozReview-Commit-ID: 5hTDNmzTXdQ

--HG--
extra : rebase_source : 4565d13941fd167d81420e639e7ebc37f94a3a8f
2017-09-01 16:48:24 +10:00
Jim Chen 2ec8c3aaff Bug 1378410 - 3. Update generated bindings; r=jchen
MozReview-Commit-ID: fKCoCqFmZk

--HG--
extra : rebase_source : a619627530b5216e591682f18f887ae2797cfeb7
2017-09-01 14:02:44 -04:00
Jim Chen eec1c8ca82 Bug 1378410 - 2. Preprocess generated bindings; r=nalexander
Preprocess the generated bindings to support the new BuildFlag
annotation, so that we can compare bindings despite build flag changes.

The build system preprocessor is used because it's easy-to-use and
invoking the actual C++ preprocessor would require much more work.
However, as a result, we use a MOZ_PREPROCESSOR macro to make the build
system preprocessor not handle `#include` lines in the binding files.

MozReview-Commit-ID: 3Gweuwnb1V3

--HG--
extra : rebase_source : 3a1769e4b45bab3175b3609d08e53534380facce
2017-09-01 14:02:44 -04:00
Jim Chen c3c2bfc408 Bug 1378410 - 2a. Expose `set` to moz.build sandbox; r=gps
To construct an empty set, we need to use the `set()` notation. In order
to do that, we need to expose `set` to the moz.build sandbox.

MozReview-Commit-ID: DMyKnF0FEx2

--HG--
extra : rebase_source : 5cfe8080ec333a1eca70cd3edba2aaaff6406820
2017-09-01 14:02:30 -04:00
Jim Chen f0ca31be3a Bug 1378410 - 1. Support BuildFlag annotation for generated bindings; r=snorp
Add a BuildFlag annotation, which when specified for classes, will wrap
generated code in `#ifdef` or `#ifndef` blocks. This functionality is
used for conditionally excluding generated code when NIghtly becomes
Beta, without the need to regenerate bindings.

MozReview-Commit-ID: L2NFM8CHKqF

--HG--
extra : rebase_source : 6ebc82d11fd1aa4aeb57a46262e678480d23de83
2017-09-01 14:02:29 -04:00
Manish Goregaokar b0873633b7 servo: Merge #18335 - stylo: Compute font-size calcs against appropriate base size (from Manishearth:stylo-calc-anim); r=birtles
r=birtles https://bugzilla.mozilla.org/show_bug.cgi?id=1394302

Source-Repo: https://github.com/servo/servo
Source-Revision: 60daf543524e6c5e6dfb5e309ceae638425f010d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f8d2fd56656732f8ae4512d2718d32cfa7f21871
2017-09-01 19:17:03 -05:00
Xidorn Quan d57b5bd646 Bug 1388911 - Update expectation for this bug after landing servo/servo#18336.
MozReview-Commit-ID: EMKg34csW4l
2017-09-02 11:02:19 +10:00
Michael Comella 196f5f016f Bug 1388377: Add highlights empty state. r=liuche
MozReview-Commit-ID: 1M1nqWSoER3

--HG--
extra : rebase_source : 4c84e431baac1a64876bede36d05c0d3399b0f63
2017-08-31 15:21:43 -07:00
Michael Comella b4266caa6c Bug 1388377: Rm WelcomePanelRow. r=liuche
We show a message:
1) On first run
2) When there are no highlights

However, these are actually the same case (there are no highlights) so I wanted
to defer to that situation.

I felt it was easier to rm the WelcomePanel and rewrite it than it was to try
to morph it into an empty state for the highlights.

MozReview-Commit-ID: CrRbzA0NoRx

--HG--
extra : rebase_source : ed21103350ea13813062e214d3aec22805cfa7d7
2017-08-31 14:39:40 -07:00
Ed Lee c9c38bf7d6 Bug 1395642 - Add placeholders, finalized 57 strings and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: 8x6ez3edtoQ

--HG--
extra : rebase_source : 55820ab30e0408b35e2849c16fafb8daec96cf90
2017-09-01 14:52:57 -07:00
Servo VCS Sync ed507e14c2 No bug - Revendor rust dependencies 2017-09-02 00:17:56 +00:00
Xidorn Quan 08057f5e1e servo: Merge #18336 - Parse at-rule without block in two stages (from upsuper:two-stage-at-rule); r=SimonSapin
This is the Servo side change necessary for servo/rust-cssparser#180.

----

This also pulls in other changes from cssparser 0.20.0.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9c1767c636a6585ed1d552ae8c26376547d2f2fc
2017-09-01 17:56:57 -05:00
Gregory Szorc 54ce1a0575 Backed out changeset 512562477a1e, c5b310c419c4 (bug 1388377) for Android build bustage
--HG--
extra : histedit_source : 45a7c9ad2418f3fbf1f6b3d544806e43e337749e%2C73fe36a02238f02dcac1d1010504fb42a2008701
2017-09-01 17:07:21 -07:00
Xidorn Quan 1538ddc813 Bug 1395725 - Don't add children of <area> as servo restyle root. r=emilio
MozReview-Commit-ID: LI7Lv1aD3PJ

--HG--
extra : rebase_source : 84df4e5ba6493e0db69f6e11e2fee428af427252
extra : source : 099a87c95a58d141f393f17ff27ae8f06a89d413
2017-09-02 09:56:36 +10:00
Nico Grunbaum f9027b2f13 Bug 1381627 - EverySecondTelemetryCallback target r=billm,jib
MozReview-Commit-ID: 2noZLkM4ZjO

--HG--
extra : rebase_source : a5e022b083f7341c26e71314578ea9f0e9023818
2017-08-17 17:39:39 -07:00
Gregory Szorc 0b25d43eaf Bug 1393242 - Use hglib for get_files_in_working_directory(); r=mshal
And convert consumers to context managers because hglib requires that.

MozReview-Commit-ID: Ckf1yBYeUlm

--HG--
extra : rebase_source : 985220032bced1a7077fd9b04ca8ad6de822c887
2017-08-23 15:21:16 -07:00
Gregory Szorc 8634ccb29c Bug 1393242 - Hook up hglib to HgRepository; r=mshal
Because hglib spawns a persistent process, we introduce a context
manager for Repository. It no-ops by default. On HgRepository it
controls the lifetime of the persistent hg process.

A helper method for running an hg command via hglib has been added.
We can't transition existing methods to hglib because hglib
requires a context manager, which no consumer is using yet.

MozReview-Commit-ID: 8z0fcGFeAm5

--HG--
extra : rebase_source : 1cbfe44a5aafe838c25bcde91cc1deaf5e7367de
2017-08-23 15:09:27 -07:00
Gregory Szorc d369594b32 Bug 1393242 - Vendor python-hglib 2.4; r=mshal
python-hglib is a Python client for Mercurial's command server. It
facilitates querying Mercurial efficiently (using a single process)
and without having to parse output in the common case.

Let's vendor it so we can make use of it for more advanced Mercurial
scenarios.

Content vendored from changeset 820d7c1e470a without modifications
(other than deleting unwanted files).

As part of vendoring, we add the package to the virtualenv and make
it available to mach.

MozReview-Commit-ID: F4KLbW1lAvk

--HG--
extra : rebase_source : ad81f3aa4843312d300d80ce563d40736af2c16a
2017-08-23 15:06:18 -07:00
Gregory Szorc b2e9cd1780 Bug 1393242 - Normalize paths in MercurialRevisionFinder; r=mshal
This ensures we use forward slashes, even if Mercurial emits
backslashes (which it can do on Windows).

MozReview-Commit-ID: 2dnWAEvytwn

--HG--
extra : rebase_source : 9ebb454bc9ad11b3eba334e412685e529573a0a1
2017-08-31 10:39:28 -07:00
Gregory Szorc 8a82cba53d Bug 1393242 - Make hglib tests more resilient; r=mshal
These tests weren't running in automation because hglib wasn't
available. An upcoming commit will vendor hglib. This exposed that the
tests can fail if ui.username isn't set.

In this commit, we introduce a helper function to obtain an hglib
client with ui.username set. We also convert tests to use the context
manager form of the client so resources are cleaned up immediately
without relying on refcounting or garbage collection.

MozReview-Commit-ID: HRSBDlYgqpC

--HG--
extra : rebase_source : 83deb56a0c2efefa883d6df104cd67194a811907
2017-08-30 10:42:35 -07:00
Gregory Szorc 7b34d836e2 Bug 1393242 - Return a Repository using configure preferences; r=mshal
If configure has defined VCS binaries, we should use those.

MozReview-Commit-ID: DVnsSaJC8eN

--HG--
extra : rebase_source : 6a940b6b4f7986eece350ab692242701dfbf41dd
2017-08-23 15:04:46 -07:00
Gregory Szorc 0b2782154b Bug 1393242 - Helper function to obtain a repository from a build config; r=mshal
Some callers already have a build config object. Let's not
make them call a function that imports buildconfig.

MozReview-Commit-ID: J22HhyVma9y

--HG--
extra : rebase_source : fe5151925aee76508d26a9368e7a2ebec7e23ddb
2017-08-23 15:03:36 -07:00
Michael Comella c256431aed Bug 1388377: Add highlights empty state. r=liuche
MozReview-Commit-ID: 1M1nqWSoER3

--HG--
extra : rebase_source : d3047131d6e5fa9bc7a6973bd7d8a78065d1901e
2017-08-31 15:21:43 -07:00
Michael Comella 291c25858a Bug 1388377: Rm WelcomePanelRow. r=liuche
We show a message:
1) On first run
2) When there are no highlights

However, these are actually the same case (there are no highlights) so I wanted
to defer to that situation.

I felt it was easier to rm the WelcomePanel and rewrite it than it was to try
to morph it into an empty state for the highlights.

MozReview-Commit-ID: CrRbzA0NoRx

--HG--
extra : rebase_source : da48e11003d8decb8216d1439a9ca475f56cbb7e
2017-08-31 14:39:40 -07:00
Hiroyuki Ikezoe d040208aa6 Bug 1395832 - Drop expectation data for po-disconnect.any.js.ini since the tests don't cause any timeout. r=jgraham
MozReview-Commit-ID: BnTl2r8qPaJ

--HG--
extra : rebase_source : 7d589feaa51ff9f12f3698f0c69e248ebf09a7a8
2017-09-01 16:04:52 +09:00
Wes Kocher 8b84853ed6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: GcHZLNPPNnI
2017-09-01 16:34:14 -07:00
Wes Kocher 5f157c17dc Merge inbound to central, a=merge
MozReview-Commit-ID: 3JxUEFuinHY
2017-09-01 16:29:10 -07:00
Wes Kocher 2aa0806c59 Merge autoland to central, a=merge
MozReview-Commit-ID: 6ipD9ZUDi4q
2017-09-01 14:59:17 -07:00
Luke Wagner af782a1283 Bug 1395100 - Don't pass around a mutable Iter*. r=jandem
MozReview-Commit-ID: Syy4Qtt55F
2017-09-01 15:24:14 -04:00
Ehsan Akhgari 530c747a80 Bug 1395795 - Convert RemoteController.jsm into a normal JS script in order to avoid paying the cost of wrapping the arrays passed in the arguments; r=Mossop 2017-09-01 15:12:08 -04:00
Sebastian Hengst fcc7a3bf37 Backed out changeset 1299a669f1aa (bug 1391003) for failing devtools' browser_animation_target_highlight_select.js. r=backout 2017-09-01 20:21:34 +02:00
Sebastian Hengst a895d4ae49 Backed out changeset 0eb505a8ac7c (bug 1395329) for Windows static bustage in Interceptor.obj. r=backout 2017-09-01 19:58:06 +02:00