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

530325 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 8151866656 Bug 1341102: Fixup expectations for servo/servo#16384. r=emilio
MozReview-Commit-ID: AzvlNohO10v
2017-04-13 12:16:20 +08:00
Emilio Cobos Álvarez 2a0fcd1d0d Bug 1355014: Update test expectations. r=emilio
MozReview-Commit-ID: HG7klGXxH73
2017-04-13 12:15:19 +08:00
Emilio Cobos Álvarez 3024dc49ee Bug 1341102: Fixup expectations for servo/servo#16364 r=emilio
MozReview-Commit-ID: J86tpkKaJZn
2017-04-13 12:13:31 +08:00
Aneesh Agrawal abbe17a158 servo: Merge #16389 - Allow bootstrapping on Debian (from aneeshusa:support-debian-for-mach-bootstrap); r=jdm
<!-- Please describe your changes on the following line: -->

This is needed for servo/saltfs#631, since the Travis builders are detected as `'debian'` for some reason.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./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 the test will be in saltfs

<!-- 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: 2e82d98afff696dfd574087a0806383a6abc4c78

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 86333237f56fdbd41bfb84a1605efb3fee06b215
2017-04-12 22:22:33 -05:00
Mike Hommey aedebf3f44 Bug 1356064 - Remove the mach artifact print-cache subcommand. r=nalexander
--HG--
extra : rebase_source : b044acc420285ec050196efdf737e59d60269991
2017-04-13 09:50:57 +09:00
Mike Hommey a3c516ed4e Bug 1356064 - Remove the mach artifact last subcommand. r=nalexander
It has been broken for a while (bug 1341205).

--HG--
extra : rebase_source : 85feaf001545642342c54af856fd4dfe6828b35d
2017-04-13 09:47:27 +09:00
cku 3ebdb896d7 Bug 1349741 - Part 2. Reftest. r=mstange
MozReview-Commit-ID: AOKD7BeAUNl

--HG--
extra : rebase_source : fa26d4b0ba4200b8fe60a23f26776625a366f5a1
2017-03-23 14:40:10 +08:00
cku 781ff666e3 Bug 1349741 - Part 1. Correct the transform matrix of a context that pass to nsFilterInstance::PaintFilteredFrame. r=mstange
MozReview-Commit-ID: 9BISQehlSgG

--HG--
extra : rebase_source : b24635e2e9c790906fd823aad456da12a9fdff16
2017-04-13 11:10:58 +08:00
Nico Grunbaum a9c52a60b1 Bug 1241066 - fix mozRtt always 0 or 1;r=jib
My shortest patch to date.

MozReview-Commit-ID: 8r3ZrGUk40D

--HG--
extra : rebase_source : 38cc51ce85e03c03f46e063bf92f594927d1365f
2017-03-20 16:58:53 -07:00
cku dd63025922 Bug 1346618 - Part 2. Test case. r=mstange
MozReview-Commit-ID: FVEqDh9E5DP

--HG--
extra : rebase_source : 3aa8bb0fcb1afc95201c09ae9b117b7f644f408f
2017-03-13 11:19:49 +08:00
cku 494c75d825 Bug 1346618 - Part 1. Remove SVGImageContext::mGlobalOpacity. r=mstange
MozReview-Commit-ID: ByiPa4sreEh

--HG--
extra : rebase_source : 0b86cd57c1c9e6d687a0a4f56c3ccbfe24886e84
2017-04-10 11:59:48 +08:00
JW Wang e6d11e2bb5 Bug 1355393. P2 - write the bytes out when we've collected a whole block. r=cpearce
MozReview-Commit-ID: 3kAk235rZig

--HG--
extra : rebase_source : e7bcb0be101dbe4d3c95140673086e8396ac1b8f
extra : source : f35e9f125bb38c39e093d8958115708cc3dd4487
2017-04-11 16:06:08 +08:00
JW Wang 52344be7f1 Bug 1355393. P1 - let FileBlockCache::WriteBlock() take 2 buffers instead of one. r=cpearce
This allows us to save copies in combining 2 bufffers into one before calling
FileBlockCache::WriteBlock().

MozReview-Commit-ID: 62kQIxp3Ju0

--HG--
extra : rebase_source : a64c160b9ab3d7bbd724be053fea6358ae7885df
extra : source : f699fdb6fdaf1fd5b4dfeb394928c95e33853a53
2017-04-11 15:47:46 +08:00
Emilio Cobos Álvarez e8c2a16b69 servo: Merge #16364 - style: Fix dynamic changes of attributes when combined with :not (from emilio:dynamic-not); r=bholley
This makes the dependency tracker properly recurse into simple selectors inside the current complex selector to find the appropriate dependencies.

We can't still remove the outer visitor because we need it for stuff like `:not(.foo + bar)`, but I plan to get rid of it in a followup as long as try comes back green.

Source-Repo: https://github.com/servo/servo
Source-Revision: 53c47acfc425ac2dcc5d8aa08d4882c4bb0e7251

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fabee92388e2d66ee4ac0512c3469ea3910e423d
2017-04-12 21:39:15 -05:00
J. Ryan Stinnett 65392c8b21 Bug 1085393 - Remove pre-Runtime ADB support. r=ochameau
Removes support for old versions of ADB Helper which haven't been in use for
years.

It also removes `test_telemetry` because it referenced this code and is also
disabled for all configurations in a product we intend to remove.

MozReview-Commit-ID: AUAbwxVczWb

--HG--
extra : rebase_source : 9c6de560a08c97b7a1bca7b2c52e111bf78fe5e4
2017-04-06 20:51:53 -05:00
Nazım Can Altınova c2f328e8c3 Bug 1355003 - stylo: Update test expectations for shape-outside; r=Manishearth
MozReview-Commit-ID: ADUVt5RIBK
2017-04-13 10:34:54 +08:00
Nazım Can Altınova 23976af4ac Bug 1355003 - stylo: Change some binding names to generalize them r=Manishearth
MozReview-Commit-ID: 5O0CevHWbUA
2017-04-13 10:32:40 +08:00
Nazım Can Altınova 2d80ae5112 servo: Merge #16384 - stylo: Implement shape-outside property (from canaltinova:shape-outside); r=Manishearth
shape-outside property implemented.
r=Manishearth in bugzilla

---
<!-- 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 #15958 and [Bug 1355003](https://bugzilla.mozilla.org/show_bug.cgi?id=1355003)

<!-- 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: 9d5dde26040108c4928bd20b34b70c1be36b0cdb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b7f6630e93c62528e83c1fb6f16bbed04babb731
2017-04-12 19:04:28 -05:00
Ray Lin 09b9e6a384 Bug 1346432 - Make the overlay of error page more transparent. r=jaws
After bug 1302656 landed, video would continue even if error occurred.
Instead of convering a solid grey background over video, we should make it
more visible in order not to confuse users as audio would still plays out.

MozReview-Commit-ID: 3Y4taIyCz5M

--HG--
extra : rebase_source : 437ce7e60b783c2b1ca6cbe8529d4b18f04dac14
2017-04-11 15:50:44 +08:00
Evelyn Hung 895079a961 Bug 1355595 - Simplify the default font size calculation; r=dbaron
When calculating the thickness of the spellchecker underline, we can
directly use aPresContext to get default font size, instead of creating
a temporary nsStyleFont object. nsStyleFont does more work than default
font size calculation, and destructing its member mFont object is
expensive (see bug 1355600), so it's better to avoid it on this hot path.

MozReview-Commit-ID: GSvnZHULtL5

--HG--
extra : rebase_source : bf301c74933cf19dac45b52ff0b8b3e3675a9b1b
2017-04-11 18:13:31 -04:00
Makoto Kato a8f8cbc728 Bug 1056322 - Don't run DictionaryFetcher when spllchecker isn't initialized. r=masayuki
When CanSpellCheck isn't called yet, mSpellChecker won't be initialized.  So we should check it before running DictionaryFetcher.

I think that UpdateCurrentDictionary is called by OnFocus as long as nsEditorSpellCheck::InitSpellChecker isn't called.  But I cannot find test case to reproduce this...

MozReview-Commit-ID: 5H1pJ0AnX5X

--HG--
extra : rebase_source : 5f2a59261c67a7f8f363588c7596e68f6debff9e
2017-04-12 17:43:51 +09:00
Milan Sreckovic 20edf8ccd6 Bug 1257375: If the first adapter found is 0/0, look for a valid device using the alternative approach (already used for the second GPU detection.) r=kats
MozReview-Commit-ID: FryxdDPUBtA

--HG--
extra : rebase_source : 38b04bbb718f20b6b8483be887cf868a0d5e4384
2017-04-11 21:39:20 -04:00
Zibi Braniecki ddeeddec79 Bug 1355308 - Use "User Locale" for ReadDateTimePattern LanguageMatch on Windows. r=jfkthame
MozReview-Commit-ID: G8BA0NYF27P

--HG--
extra : rebase_source : af8cae16d683616c1cdac9576bc7740e1f69f961
2017-04-10 19:36:12 -07:00
Jed Davis 7d599256ca Bug 1354731 - Quietly fail mknod of character devices in content sandbox. r=gcp
MozReview-Commit-ID: 2aehI5V7tQp

--HG--
extra : rebase_source : ea933354e4018542e4dedda63318153c7cfbdd4e
2017-04-11 13:22:26 -06:00
Gregory Szorc f2e9cb2310 Bug 1355630 - Inline specialized version of relpath(); r=chmanchester
Profiling revealed that mozpath.relpath() accounted for a lot of CPU
time when operating on an input of ~42,000 paths.

Due to the nature of the paths we're operating on, we don't need the
full power of mozpath.relpath() here. Instead, we can implement a
specialized version that works given already normalized paths and the
knowledge that context paths must be ancestors of the current path
being examined.

This change drops execution time of a mach command feeding ~42,000
paths to this function from ~90s to ~24s. On an input with 9131 paths,
execution time dropped from ~8.8s to ~3.7s.

MozReview-Commit-ID: EGLiJa10Zj2

--HG--
extra : rebase_source : 8e9d7a957ea3d865a6f18a3b99cca2b22f7a0385
2017-04-11 16:46:55 -07:00
Gregory Szorc 009ab65975 Bug 1355630 - Memoize tests_defaults_for_path call; r=chmanchester
Calling self.test_defaults_for_path() from files_info() with tens
of thousands of paths resulted in a CPU explosion in various path
normalization functions. I don't think it was so much the complexity
of the operations as much as the volume.

For an input with 9131 elements, this reduces execution time of a
mach command from ~25.7s to ~8.8s. With ~42,000 inputs, execution time
drops from <it took too long and I gave up> to ~90s.

MozReview-Commit-ID: pjQQByi2Bc

--HG--
extra : rebase_source : b8307a92e494f128ba3cf29348bc7996cfea4221
2017-04-11 16:24:42 -07:00
Gregory Szorc 4a47739a31 Bug 1355630 - Use a set for membership testing; r=chmanchester
With ~42,000 entries in relpaths, this change drops execution time
of this loop from ~23s to ~0.01s.

MozReview-Commit-ID: Afm245tjWUQ

--HG--
extra : rebase_source : 86ee525b0539c80e47e4326a3f111a3fc84d0a6e
2017-04-11 15:25:13 -07:00
Gerald Squelart 621de1eba8 Bug 1354954 - Adjusted some expiring media-related histograms - r=cpearce,francois
MozReview-Commit-ID: BuT7BRaSAzS

--HG--
extra : rebase_source : 81a7ea0db4a54ea77ddf64d3cd23433173bcf3c0
2017-04-12 14:19:56 +12:00
Andrew Swan a02a18c1e5 Bug 1352152 Fix several issues with optional webextension permissions r=kmag
1. Use the right strings in permission dialogs
2. Don't show permissions dialogs for non-promptable permissions
3. Enable dialogs by default

MozReview-Commit-ID: JJdxxcP7IeU

--HG--
extra : rebase_source : b5525cbae3822f3e2727788fd63580e6d5bd8293
2017-04-10 19:12:23 -07:00
Doug Thayer dbf506b14a Bug 1354855 - Set update timer prefs in new update tests r=rstrong
In the log file attached to this bug, we see multiple requests for
background updates come in at the same time. I can't see a way for
this to happen other than notify being called while the test is
running.

MozReview-Commit-ID: Gm0vW32X6mN

--HG--
extra : rebase_source : fe220a940b07bc45c10b460c22408eeecf3a3059
2017-04-12 13:47:42 -07:00
Mike Conley 9a39989c9a Bug 1350917 - Re-apply fix from bug 1012912 onto breakpad-client, since it got lost during the last sync. r=ted
MozReview-Commit-ID: F9a2c6AG9PC

--HG--
extra : rebase_source : 2c248426471d6d09a96b0d5f500d55fd2bb081ac
2017-04-12 15:23:12 -04:00
Rail Aliiev 91a5408399 Bug 1355992 - Firefox snap requires libmirclient9. r=aki a=release DONTBUILD
MozReview-Commit-ID: 3gK7ck87tGr

--HG--
extra : rebase_source : bc48adac48c887b549c24106e98016dacfa0371f
2017-04-12 16:15:42 -04:00
Miko Mynttinen 5a0186840b Bug 1351426 - Part 5: Cleanup style and comments r=kip
MozReview-Commit-ID: HOPY8v4UWKo

--HG--
extra : rebase_source : 3af5c5ed3cabc39a6ecd122f961aba16309518b1
2017-04-04 03:59:31 +02:00
Miko Mynttinen 9ee1c2deba Bug 1351426 - Part 4: Refactor gfx::Polygon to avoid unnecessary work and memory allocations r=kip
MozReview-Commit-ID: ASusoTqZxuY

--HG--
extra : rebase_source : 1967c11e76853297a2ce405e598b3db2b2b0c112
2017-04-04 04:51:29 +02:00
Miko Mynttinen ec2807c91a Bug 1351426 - Part 3: Refactor BSPTree to use list instead of deque and use arena for memory allocations r=kip
MozReview-Commit-ID: F4ezRzbGihI

--HG--
extra : rebase_source : 85c91cac817a733e5b062285d4951996270feabf
2017-04-10 16:35:56 +02:00
Miko Mynttinen 496fccc821 Bug 1351426 - Part 2: Only use 4D points in gfx::Polygon r=kip
MozReview-Commit-ID: 1osQrpwH0WZ

--HG--
extra : rebase_source : e5fef3d096a7780a4a502ca2a7c20ce9d3482d13
2017-04-04 03:15:48 +02:00
Miko Mynttinen 0b813a9c27 Bug 1351426 - Part 1: Move the layer geometry instead of copying r=mattwoodrow
MozReview-Commit-ID: BgSAgBECTui

--HG--
extra : rebase_source : 8a22f67163fd62d547f415ca20a5fe5bbe41e1ad
2017-04-04 03:09:06 +02:00
Matt Howell 64a247fee9 Bug 1354325 - Update the StartMenuInternet registry keys in PostUpdate. r=agashlin
MozReview-Commit-ID: COH5TM5ck7Y

--HG--
extra : rebase_source : 0baee4605d0b629fc4bb19b111ef298ad43155ff
2017-04-10 15:50:21 -07:00
Markus Stange 540d81ab3a Bug 1354842 - Back out bug 1255911 because the subprocess marker time adjustment is now done in perf.html. r=mconley
MozReview-Commit-ID: 5AhYa4axOJX

--HG--
extra : rebase_source : 14489c6993ee462ba897eb2374624367c90eb007
2017-04-08 15:05:41 -04:00
Andrew Swan cd1efb78e1 Bug 1350759 Make unknown optional_permissions non-fatal r=kmag
MozReview-Commit-ID: 8IgV2i4b8Ot

--HG--
extra : rebase_source : 70eba84abdc10f7ac9736a0b26b3f10b10a85919
2017-04-11 16:05:50 -07:00
Alexandre Poirot acdbbd6e15 Bug 1320939 - Lazy load all tooltip widgets until each is really used. r=jdescottes
MozReview-Commit-ID: 9P93GocdLm8

--HG--
extra : rebase_source : e57883d36c2cbcfa895a3217dea9e82df87874ec
2017-01-31 15:31:37 +01:00
Alexandre Poirot ba94c75930 Bug 1320939 - Lazy load tooltip event helpers. r=jdescottes
MozReview-Commit-ID: 1FXSUprpCN7

--HG--
extra : rebase_source : d641c6d6f27390f9dfaaeecffe2ec86a88617652
2016-12-06 03:50:57 -08:00
Nils Ohlmeier [:drno] 2b6192d5b7 Bug 1355010: temporarily turn off extmap direction verification to avoid Chrome interop issues. r=bwc
MozReview-Commit-ID: 76Zayg9XMi7

--HG--
extra : rebase_source : f5c3a27df5a54db51f18413405ea0e295c82a452
2017-04-11 14:08:32 -07:00
Dan Banner cdf987089d Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
MozReview-Commit-ID: K5TLF92pHq4

--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Anthony Ramine a3add2e504 servo: Merge #16382 - Don't reject out of bound calc() values at parsing-time (from nox:calc-clamping); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 294f44eca03eff39ceb252b32b3412fa67a9d8b0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9d9ee1a9715e5a130cb46cce80bf8a611d784ced
2017-04-12 13:31:21 -05:00
Aneesh Agrawal 244e57058e servo: Merge #16370 - Add env var for local saltfs root during bootstrap (from aneeshusa:enable-using-local-states-for-mach-bootstrap); r=jdm
<!-- Please describe your changes on the following line: -->
This enables using the environment variable `SERVO_SALTFS_ROOT` to use a local copy of the saltfs tree for `./mach bootstrap`. The immediate use case is to add a test for `./mach bootstrap` to saltfs itself, to ensure Salt changes or refactors don't break `./mach bootstrap`.

I tested this locally in an Ubuntu Trusty VM.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./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 the test will be added to saltfs

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 54449518de51bd9af9a9a10dfcca9b47ef08ef78
2017-04-12 12:56:47 -05:00
Matt Howell b51bc18a35 Bug 1353955 - Fix making ourselves the default browser on Windows 7. r=agashlin
This fixes a regression from bug 1324617. We were setting all our file and
protocol associations correctly, but failing to invoke SetAppAsDefaultAll,
meaning we act like the default browser (as in, links and files opened from
external applications go to us), but we don't detect ourselves as the default
browser, and the previous default browser still thinks it's the default.

This only applies to Windows 7 because later versions don't allow us to make
ourselves the default browser anyway.

MozReview-Commit-ID: 29iWvzicce9

--HG--
extra : rebase_source : 1ad06799f1d1447386ec6ce1a242552ccf748f1d
2017-04-06 15:57:32 -07:00
Matt Howell 62cdf603c8 Bug 1354321 - Rename installer-created shortcuts on update if the branding name has changed. r=agashlin
MozReview-Commit-ID: IB74aVjhQ58

--HG--
extra : rebase_source : 7f1b27fa7319a50a82ed85f03d9ba16ce74ee181
2017-04-10 09:07:27 -07:00
Mark Banner d12d56b126 Bug 1355778 - Manual fix of ESLint issues in eslint-plugin-* due to the rule changes. r=mossop
MozReview-Commit-ID: Ieh4qkSORjW

--HG--
extra : rebase_source : 9ad2b0257d578eac6106ee16b97394b4f69d1ef3
2017-04-12 12:19:14 +01:00
Mark Banner c8c632d328 Bug 1355778 - Autofix ESLint issues in eslint-plugin-* due to the rule changes. r=mossop
MozReview-Commit-ID: AGnEkeNuxhx

--HG--
extra : rebase_source : 668e5f11679c909b25d15da08c32ce8a1d05fef2
2017-04-12 12:15:13 +01:00