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

528454 Коммитов

Автор SHA1 Сообщение Дата
Servo VCS Sync 26384351bb No bug - Revendor rust dependencies 2017-04-03 12:48:18 +00:00
Xidorn Quan 73064eb8b6 servo: Merge #16241 - Stop passing url as string into Servo side (from upsuper:bug1352763-bug1352025); r=Manishearth,emilio
This is the Servo side changes of [bug 1352763](https://bugzilla.mozilla.org/show_bug.cgi?id=1352763) and [bug 1352025](https://bugzilla.mozilla.org/show_bug.cgi?id=1352025) which have been reviewed on Bugzilla.

Source-Repo: https://github.com/servo/servo
Source-Revision: 679b41893782663f7a2294cdf94dcedcf1337f98

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 135f4003dbf47eab0842f02be2aa9f766e066721
2017-04-03 07:05:42 -05:00
Francesco Lodolo (:flod) c539d3ed0f Bug 1352690 - Remove exceptions for mobile/searchplugins from filter.py r=Pike
MozReview-Commit-ID: Em6BzWM4lqn

--HG--
extra : rebase_source : db9616ec978c4563f840182236d24b5c881abeaf
2017-04-01 16:02:33 +02:00
Boris Chiou e8365c20d7 Bug 1349808 - Add telemetry for cases when we can't run async animations due to layer size being too large. data-review=bsmedberg, r=birtles,botond,bsmedberg
MozReview-Commit-ID: 61DBw1DHbQA

--HG--
extra : rebase_source : 1941cfb9e0a5ce65e4696ef422a642214176bf49
2017-03-24 15:53:54 +08:00
Mark Banner b8e9cadef9 Bug 1305023 - Move ESLint's package.json and node_modules to the top level to improve editor integration. r=gps
Editors generally look for configurations at the top level of a project. For ESLint, they also look for the specific binary in node_modules before defaulting to the system binary. Whilst you can override the location, generally it doesn't work well when switching between projects.

The custom in-tree libraries make setup of a system ESLint more difficult as well.

Therefore to make it simple for developers to pick up the ESLint integrations with Editors, by moving the package.json and associated node_modules to the top-level directory.

MozReview-Commit-ID: 1pQpd7hTQ61

--HG--
rename : tools/lint/eslint/npm-shrinkwrap.json => npm-shrinkwrap.json
rename : tools/lint/eslint/package.json => package.json
extra : rebase_source : 9d69d791f86b5c55b1fcd5f6449f0ab84e56b05c
2017-03-22 12:27:00 +01:00
Simon Sapin 1cb213c02c servo: Merge #16239 - Remove a memory allocation (`iter.collect::<Vec<_>>()`) in `cascade()` (from servo:cascade-collect); r=emilio
This vector was there to pre-acquire locks and give all declarations the same lifetime (which is necessary for custom properties cascading).

https://github.com/servo/servo/pull/16014 introduce a guard to a shared pre-acquired lock, making this vector unnecessary.

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

<!-- Either: -->
- [ ] 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: a5a5abd9f4c8a0a9f0b99f8cefcc12151e537d3e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 561be88a6d42949eaa888ac1293badd2279db565
2017-04-03 05:35:19 -05:00
Jan Henning a4d0b0a000 Bug 1352433 - Part 1 - Don't clear all preferences when all you need to remove is a few keys. r=sebastian
MozReview-Commit-ID: DELmDbTHNLk

--HG--
extra : rebase_source : c01a32a5db5064ffe3bf9ba9e22cb9581e13d998
2017-04-01 23:02:54 +02:00
Jan Henning 715265a62e Bug 1352433 - Part 0 - Change variable name casing for constants. r=sebastian
The shared preferences keys used for storing/retrieving the activity list data are constants, so it is a bit disconcerting to see them named like normal member variables.

MozReview-Commit-ID: GivVloU0pFv

--HG--
extra : rebase_source : e26bcabd1cdf549e8a0ee54f0e6333c76484ca24
2017-04-01 22:51:51 +02:00
Masayuki Nakano 99a1135919 Bug 1351332 gfxDWriteFontList and gfxGDIFontList should ignore italic face of Meiryo for using synthetic italic style r=jfkthame
Meiryo has same glyph for both normal style and italic/oblique style.  Therefore, if we will use it as default Japanese font, italic/oblique style won't be used in Japanese text.  It's too bad for <em>, <i> and backward compatibility with MS PGothic.

This patch makes gfxDWriteFontList and gfxGDIFontList ignore italic style face(s) of Meiryo at creating Meiryo's font face list.

Note that in GDI mode, font names are localized.  Therefore, we need to compare with both English name and Japanese name.  However, in DirectWrite mode, face names are not localized.  Therefore, it's enough to compare only with English face names.

MozReview-Commit-ID: 60tFxB0jcd

--HG--
extra : rebase_source : 45eb61403f97cd765de1b81c290c29632d8174e5
2017-03-29 18:38:41 +09:00
Carsten "Tomcat" Book 2c5e0e8650 Merge mozilla-central to autoland 2017-04-03 12:33:12 +02:00
Carsten "Tomcat" Book 8d910c41e3 merge mozilla-inbound to mozilla-central a=merge 2017-04-03 12:13:46 +02:00
Emilio Cobos Álvarez 6aaa11721c Bug 1341102: Adjust expectations for servo/servo#16224. r=emilio
MozReview-Commit-ID: Lm6CuzHdhGn
2017-04-03 11:39:27 +02:00
Simon Sapin c0c0f9ba4b servo: Merge #16224 - Make the parser accept @font-face rules without font-family or src (from servo:valid-fontface); r=upsuper
Fix #16165.

Also, it turns out that the CSSFontFaceRule IDL specified in the css-fonts spec is not web-compatible. Instead browsers implement a .style attribute like in CSSStyleRule: https://github.com/w3c/csswg-drafts/issues/825

This in turn requires preserving data about which descriptors were set or not (distinguishing unset from set to a value that happens to be the initial value), so this commit also makes every field `Option<_>`.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 53db8dcde3e41e82100219b37ef20b2bc76b9f6b
2017-04-03 03:53:09 -05:00
Carsten "Tomcat" Book ac161c6904 Backed out changeset d9ce5cdb4e5a (bug 1351963) for hopefully fix the dt leaks 2017-04-03 08:19:22 +02:00
Carsten "Tomcat" Book b9e48685b2 Backed out changeset 016c13131fff (bug 1351963) 2017-04-03 08:18:55 +02:00
Timothy Nikkel b211ea35d7 Bug 1350463. Consider visibility: hidden frames to be not visible in nsIFrame::UpdateVisibilitySynchronously to match PresShell::MarkFramesInSubtreeApproximatelyVisible. r=mats 2017-04-03 00:52:17 -05:00
Franziskus Kiefer d040cb9cea Bug 1345368 - land NSS 1fb7e5f584de, r=me
--HG--
extra : rebase_source : 6ac73d3dc219a02194914ae4cfbe2027c258bbfe
2017-04-03 06:00:54 +02:00
Nicholas Nethercote 5ed484057c Bug 1351963 (part 3) - Remove ThreadInfo from ProfilerBacktrace. r=mstange.
At this point the only things in the ThreadInfo it uses are the thread name and
id, which are easy to store instead. This gets a step closer to avoiding the
use of ThreadInfo in profiler_get_backtrace().

--HG--
extra : rebase_source : f4feb08ec9fe7880ee43f784c6878c1c04fd3294
2017-03-31 09:41:42 +11:00
Nicholas Nethercote 9fe90f9b94 Bug 1351963 (part 2) - Move StreamSamplesAndMarkers() out of ThreadInfo. r=mstange.
StreamSamplesAndMarkers() is the only ThreadInfo method called on
ProfilerBacktrace::mThreadInfo. Furthermore, it doesn't use all that much stuff
from ThreadInfo, and what stuff it does use we can instead pass in as
arguments.

This patch moves StreamSamplesAndMarkers() out of the class. It's a little
ugly, but a necessary precursor for removing ProfilerBacktrace::mThreadInfo and
all the subsequent improvements.

--HG--
extra : rebase_source : 417bda4f29a27c525f7240d3427494dd86b9a868
2017-03-31 09:37:24 +11:00
Nicholas Nethercote c6942af645 Bug 1351963 (part 1) - Tidy up ThreadInfo. r=mstange.
It doesn't need any virtual methods, nor the FRIEND_TEST declarations.

--HG--
extra : rebase_source : 973c01f43737d5672b0257bb40e029894857a90d
2017-03-31 09:28:41 +11:00
Botond Ballo 9ebdb4f7f0 Bug 1352564 - Add a method to invert a Matrix4x4 if it's invertible. r=botond
Use it in HitTestingTreeNode::Untransform.

MozReview-Commit-ID: 1JkLh99FD0h

--HG--
extra : rebase_source : ca9836c1999a2af3cac5287a9efa875c415634f7
2017-04-02 17:20:23 -04:00
Nicholas Nethercote 8a81f4a587 Bug 1351136 - Write a gtest for basic features of the Gecko Profiler. r=mstange.
This required a tweak to DoNativeBacktrace() to work around an ASAN false
positive.

--HG--
extra : rebase_source : 2e21ae4c132db812150f42c26aa708aefce311be
2017-03-29 15:49:44 +11:00
Tooru Fujisawa bdbfda64bc Bug 1343417 - Verify bytecode documentation in js/src/vm/Opcodes.h in make check. r=nbp 2017-04-03 10:14:38 +09:00
Olli Pettay ac0ae74439 Bug 1352734, use memcmp for nsIAtom Equals to improve performance, r=hsivonen
--HG--
extra : rebase_source : 1a78863c52f088609a6edcb6b32bf16bc02a4118
2017-04-02 22:40:06 +03:00
Chris Pearce f96fedca29 Bug 1351954 - Change ClearKey CDM to allocate its video frame buffers optimally. r=gerald
The WMF decoder gives us video frames in buffers with the planes 16 row-aligned
for some reason. If we allocate our video frames the same size we waste memory.
So let's have the ClearKey CDM not allocate its video frames with the extra
padding rows.

Excluding the padding in our copy of the decoded data also makes my work in bug
1351953 easier.

MozReview-Commit-ID: 9dD40P6ST68

--HG--
extra : rebase_source : a6c4fea01e8bf2deef8edc78d0a041e8fed0c0b8
extra : source : 433028f9a2055869cd98710f0871d040605c0535
2017-03-28 18:00:01 +13:00
Xidorn Quan e3e4554871 Bug 1351957 - Create URLExtraData for holding base uri, referrer, and principal. r=heycam
MozReview-Commit-ID: 1wqTb3kvvWh

--HG--
extra : rebase_source : cae3dba21c916ab0f52056bd9db215249b650cd3
2017-03-30 18:54:48 +11:00
Xidorn Quan 5ed46cc5d0 servo: Merge #16235 - Create URLExtraData for holding base uri, referrer, and principal (from upsuper:bug1351957); r=heycam
This is the Servo side change of [bug 1351957](https://bugzilla.mozilla.org/show_bug.cgi?id=1351957) which has been reviewed on Bugzilla.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5b037a0aa080799faae93efe59e56938a1eba913

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 263b43f65d0486e4111f2ddcf13f630e82d6ece2
2017-04-02 23:30:56 -05:00
Maja Frydrychowicz 2fbad50890 Bug 1332279 - Test key actions backspace behaviour; r=ato
MozReview-Commit-ID: DhQvVnHTHZk

--HG--
extra : rebase_source : 017833e358aded2b7369fdb9d9728547810155a4
2017-04-01 02:41:56 -04:00
Maja Frydrychowicz 78e66aff46 Bug 1332279 - Test keyDown action for all WebDriver special keys; r=ato
MozReview-Commit-ID: 5jyPCXnACTh

--HG--
extra : rebase_source : ac7a48d33a0198ff3691fa76c25d8398aa1e9d60
2017-04-01 02:38:14 -04:00
Maja Frydrychowicz b3a4d2a5be Bug 1332279 - Include keyCode in KeyboardEvents synthesized for key actions; r=ato
The key dispatch functions now pass the raw key to event.js,
which determines the keyCode for the event.

Note the change in Normalized Key Value for Enter versus Return.
The browser throws an exception when the event key attribute is
set to "Return" and KEY_NON_PRINTABLE_KEY is set, which implies
that the key value isn't valid. Changing it to Enter fixes the
issue.

MozReview-Commit-ID: 831f4EcqI1P

--HG--
extra : rebase_source : 6045b6199c72bcc7a971907d6e1513687d8ed3f9
2017-04-01 02:37:30 -04:00
Phil Ringnalda 7ac3bd5b7e Backed out 3 changesets (bug 1351074) for reftest harness and browser_all_files_referenced.js bustage
CLOSED TREE

Backed out changeset 941e0f9ff9a7 (bug 1351074)
Backed out changeset 4fdf3b87a70b (bug 1351074)
Backed out changeset 586428f69838 (bug 1351074)
2017-04-02 19:46:49 -07:00
Hiroyuki Ikezoe 54547a4abe Bug 1352891 - Update mochitest expectations for animation. r=hiro
MozReview-Commit-ID: GXY0HXJjdCj

--HG--
extra : rebase_source : 85e2e5ce23349505e3aeaf4b09513824a2418ab4
2017-04-03 09:59:47 +09:00
Hiroyuki Ikezoe 849dc59d14 servo: Merge #16233 - Set each control points when converting specified keyworded timing fu… (from hiikezoe:timing-function-fix); r=emilio
…nction to nsTimingFunction.

Gecko's timing function (nsTimingFunction) needs to be specified
each control points if timing function can be represented as cubic-bezier
function. To avoid scattering control points values (e.g. 0.25, 0.1, ...)
we convert specified value to computed value and then use control points
values of the computed value.

<!-- Please describe your changes on the following line: -->

This is a PR of  https://bugzilla.mozilla.org/show_bug.cgi?id=1352891

---
<!-- 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: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it's for stylo.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 14edec23a870490ec149b634b7887c32c1b7d3bd
2017-04-02 20:12:09 -05:00
Makoto Kato cb61bf3b0e Bug 1351074 - Part 3. Include AsyncSpellCheckTestHelper.jsm in reftest. r=masayuki
reftest cannot use testing-common, so we should include AsyncSpellCheckTestHelper.jsm in reftest.jar.

MozReview-Commit-ID: KeyDLjc9AUI

--HG--
extra : rebase_source : 0c967b38faf506c2e93abc8707e27cfa5388de00
2017-03-31 14:20:55 +09:00
Makoto Kato cd8761e0f4 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : 2143fcdf33c428c82c6b2e00b542649b958aeccc
2017-03-29 15:34:49 +09:00
Makoto Kato 8426259e4a Bug 1351074 - Part 1. AsyncSpellCheckTestHelper.jsm should not be shipped. r=masayuki
AsyncSpellCheckTestHelper.jsm uses on mochitest and reftest, so we shouldn't ship it in release package

MozReview-Commit-ID: CT8f8DRVwb

--HG--
extra : rebase_source : fec37ae258f7c0d8ff76143da79ca182b66f0a52
2017-03-31 14:17:26 +09:00
Makoto Kato 9f71d5e63f Bug 1351543 - Remove nsIPlatformCharset::GetDefaultCharsetForLocale. r=jfkthame
After landing bug bug 943283, no one uses nsIPlatformCharset::GetDefaultCharsetForLocale.  Also, nsIPlatformCharset isn't scriptable interface, so it is unnecessary now.

MozReview-Commit-ID: Giy68AS9yK2

--HG--
extra : rebase_source : a0ae86c5472e1ed74b41c2f6af5cdace353b335d
2017-03-31 10:40:19 +09:00
Kris Maglione 6a150bced4 Bug 1350522: Part 7 - Merge pageAction/browserAction/sidebarAction/commands helper classes into API instances. r=aswan
MozReview-Commit-ID: 6aRQ1uybAmg

--HG--
extra : source : 069dbaa8300ef045b157d6fa081829d4b2a77cd5
extra : histedit_source : 03f0e98ac60626380247f3b8b3bf8afec67548b3
2017-03-26 18:42:59 -07:00
Kris Maglione 56c459b23c Bug 1350522: Part 6 - Cleanup per-api-instance state logic. r=aswan
MozReview-Commit-ID: 5ixBA34fvFf

--HG--
extra : source : 650808cfe044339ceae30dbd79ef931330f78049
extra : histedit_source : 30316d0b7321bdceaf93fa9dde096579b6251354
2017-03-25 11:36:56 -07:00
Kris Maglione 2c9d3185dc Bug 1350522: Part 5 - Remove registerSchemaAPI(). r=aswan
MozReview-Commit-ID: 5yK2wUms86G

--HG--
extra : source : 8f8891e5193623da5630324041ba1533b4e0b2c7
extra : histedit_source : 1c23c3f107950a5b634c3600a29a70c5eac9638d
2017-03-25 13:59:14 -07:00
Kris Maglione e6d84db845 Bug 1350522: Part 4 - Convert browser APIs to lazy loading. r=aswan
MozReview-Commit-ID: BQoWF9nHOuF

--HG--
rename : browser/components/extensions/ext-desktop-runtime.js => browser/components/extensions/ext-browser.js
extra : source : 7fd4ade8811856e835506310a57725dbd355c786
extra : histedit_source : c1775902971f858bfaa386977ca8d579c0ce3c61%2C489e3ed33d4c1bb47c3afbe30849b42e83771f48
2017-04-02 11:59:55 -07:00
Kris Maglione 0bde08bed9 Bug 1350522: Part 3 - Convert android APIs to lazy loading. r=aswan
MozReview-Commit-ID: GaxLICqzdXz

--HG--
extra : source : 42015d3bfe49a09a28435ca3691358848c9dc2e5
2017-03-31 18:45:45 -07:00
Kris Maglione bb351ebfca Bug 1350522: Part 2 - Convert toolkit APIs to lazy loading. r=aswan
MozReview-Commit-ID: 8TbTIM4WX2d

--HG--
extra : source : a3ed5ad1bc338e7fd8055c2efcf73695c25e09e5
2017-03-31 19:36:00 -07:00
Kris Maglione 4ef4a153de Bug 1350522: Part 1 - Allow lazily loading and instantiating API modules. r=aswan
MozReview-Commit-ID: 7ETOJL6ERkg

--HG--
extra : source : 1b4e77a9d11d97779fce333dbc1fdf73489c78dc
2017-03-31 17:16:39 -07:00
Bas Schouten 1949ab75e0 Bug 1352547: Do not use IsWindows10OrGreater() on older SDKs. r=mattwoodrow
MozReview-Commit-ID: C0uOAKy0bOr
2017-04-02 18:45:08 +00:00
Sebastian Hengst 990055a490 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EjvlThqFc40
2017-04-02 18:52:13 +02:00
Sebastian Hengst d818a4d165 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6lQbMSMbLfu
2017-04-02 18:49:58 +02:00
ffxbld de880295b7 No bug, Automated HPKP preload list update from host bld-linux64-spot-309 - a=hpkp-update 2017-04-02 07:47:41 -07:00
ffxbld c5fb8d9bde No bug, Automated HSTS preload list update from host bld-linux64-spot-309 - a=hsts-update 2017-04-02 07:47:38 -07:00
Sebastian Hengst 37b9c6c8e5 Bug 1324045 - Move mobile searchplugins into mozilla-central. Whitelist wikipedia-pt.xml to fix fennec nightlies. r=bustage-fix a=bustage-fix
MozReview-Commit-ID: DQn5IDdoJ3P
2017-04-02 16:08:31 +02:00