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

528120 Коммитов

Автор SHA1 Сообщение Дата
Steve Fink 408107d5ed Bug 1350998 - always include windows.h via jswin.h to undo macro damage, r=sstangl
--HG--
extra : rebase_source : 06b740de94743b51c6abd3bc1e03a4257423a859
extra : histedit_source : 047d6c33e370e9bb74a8508c74a5cb66b81c4233
2017-03-27 10:46:03 -07:00
Kartikaya Gupta ec69fdebcf Merge m-c to graphics
MozReview-Commit-ID: I4ehbSXNLmS
2017-03-27 09:18:34 -04:00
Nicolas Silva 4a5a35a9a2 Bug 1347641 - Implement the BlobImageRenderer binding glue. r=jrmuizel 2017-03-27 13:44:52 +02:00
Nicolas Silva 96f05a89cc Bug 1347641 - Add MutByteSlice to pass mutable u8 slices across ffi. r=jrmuizel 2017-03-27 13:44:43 +02:00
Nicolas Silva c95461e37f Bug 1347641 - Add ByteSlice to pass constant u8 slices across ffi. r=jrmuizel 2017-03-27 13:44:22 +02:00
Carsten "Tomcat" Book 8fa2774978 merge mozilla-inbound to mozilla-central a=merge 2017-03-27 12:57:16 +02:00
Boris Chiou f4b25f840f Bug 1336769 - Enable crashtests, 1272475-1.html and 1272475-2.html. r=heycam
MozReview-Commit-ID: 5o4ayOHRm4S

--HG--
extra : rebase_source : 0a7f73c1eeddbb7270783de67593f84cc1c5b8ab
2017-03-27 16:25:48 +08:00
Bobby Holley 491b0baa3d Bug 1350441 - Clear servo data when tearing down frames for DestroyFramesFor. r=heycam
MozReview-Commit-ID: DWwu8FqSjdj
2017-03-29 09:27:24 -07:00
Bobby Holley e76c016430 Bug 1350441 - Make ServoRestyleManager::ClearServoDataFromSubtree a bit smarter. r=heycam
There's no reason to traverse the entire subtree if we encounter an unstyled section.

MozReview-Commit-ID: 7WeMTI73wR9
2017-03-29 09:27:24 -07:00
Bobby Holley 2617d3c41a Bug 341102 - Update test expectations. r=me
MozReview-Commit-ID: 8FNOXog4duD
2017-03-29 09:27:24 -07:00
Gregory Szorc 0bba998825 Bug 1351031 - Fix flake8 failures in taskcluster/docker; r=me
These are trivial, whitespace only fixups. Self reviewing.
2017-03-29 09:25:06 -07:00
Shih-Chiang Chien 500ffabe47 Bug 1351558 - make sure PHttpChannel destroy procedure will only be done once. r=dragana
MozReview-Commit-ID: 34RIiNpwmea

--HG--
extra : rebase_source : cb08c78d5f4af3a79aa2d5b0e4a6d911b2e4c499
2017-03-29 17:34:12 +08:00
Shih-Chiang Chien 61d37d2376 Bug 1351558 - double check mIPCOpen flag before we send IPC message. r=dragana.
MozReview-Commit-ID: 3CqA3e4frd8

--HG--
extra : rebase_source : 813fe86a8721ca3735aee211ba48c0a9d88d0d1b
2017-03-29 16:34:15 +08:00
Gregory Szorc c2e3800988 Bug 1350447 - Use lower compression level for level 1 tasks; r=dustin
A few commits ago, we bumped up the default zstandard compression level
from 3 to 10 when we switched to multi-threaded compression. Even with
multiple threads, this was a bit slower.

For images that will be built once and read multiple times, it is
worthwhile to burn extra CPU once and produce a small image. However,
for other tasks where the number of reads is limited, it isn't
worth it to use this extra CPU. This commit uses the SCM level as
a proxy for "optimize for speed." If the task is associated with level
1 (a try push), we lower the compression level and optimize for
speed. Otherwise, we keep the higher compression level and
optimize for image size.

Credit goes to Jonas for this terrific idea.

MozReview-Commit-ID: Hui97KsZpgw

--HG--
extra : rebase_source : 5a98e554166b51b8caa62b38d82e91c7b9fcb7ab
2017-03-28 18:40:20 -07:00
Gregory Szorc 2e80374019 Bug 1350447 - Use --no-install-recommends in image_builder; r=dustin
Using --no-install-recommends prevents installation of unwanted
packages and helps reduce image bloat. Using it in image_builder
reduces the image size from ~212.5 MB to ~203.6 MB. Not the
biggest savings. But savings nonetheless.

I kept python-pip separate because using --no-install-recommends with
it fails to pull in setuptools, gcc, and other packages required for
building Python packages. Since these packages are only needed
for generating the Docker image, I didn't feel like teasing out
the actual dependencies. It takes a little longer to install
temporary packages and build the image. But the end result should
mostly be the same.

MozReview-Commit-ID: EVURGKFuWzb

--HG--
extra : rebase_source : e1f953079480c6d898569dc7e14dc97890d4f41e
2017-03-28 16:49:43 -07:00
Gregory Szorc 3eb3ce1bf0 Bug 1350447 - Use python-zstandard for Docker image compression; r=dustin
The goal of this change is to switch to python-zstandard for Docker
image compression so we can employ multi-threaded compression. This will
cut down the wall time it takes to compress images, decreasing end-to-end
times.

In order to use python-zstandard, I needed to write a Python script
for doing the compression. Since I was writing a Python script, I
figured I'd move Docker image downloading to that script as well.
This way, the raw Docker image never hits disk: it is streamed straight
from Docker into a zstandard compressor and that output is written to
disk. For large images, this will eliminate a few gigabytes of disk
writes.

The one extra complication about this I don't care for is you need a
special Python package to teach the "requests" package how to download
from UNIX domain sockets.

MozReview-Commit-ID: EufaRzR6A4Y

--HG--
extra : rebase_source : 2143bfee729bdc075c3a87a1e607eff2f0c164d2
2017-03-28 16:19:24 -07:00
Andrew McCreight 7367aeb120 Bug 1350690 - Add main thread assertion to nsSystemInfo::Init(). r=froydnj
MozReview-Commit-ID: JtlOXqCtJ8Y

--HG--
extra : rebase_source : 99f4d098d4af35c4bbd27e0f99a1a8edff399d32
2017-03-27 08:03:01 -07:00
J. Ryan Stinnett 1cb189a564 Bug 1351537 - devtools-source-map v0.3.0: Update bundle from GitHub. r=jdescottes
MozReview-Commit-ID: 1W9OXHs5pHq

--HG--
extra : rebase_source : a3bc710a0d57816f6a07303c232361d4c60ceac6
2017-03-28 23:07:17 -05:00
Josh Matthews f5ddcf5148 servo: Merge #16176 - Halve number of processes for test runs (from servo:jdm-patch-1); r=mbrubeck
Let's see if this makes the intermittent failure situation improve!

Source-Repo: https://github.com/servo/servo
Source-Revision: 3345b83fb370536a354ce82bb3493576f873d822

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 28e701d2b61b6e40a11cf781d2f5e105e069076a
2017-03-29 09:54:12 -05:00
Ethan Lin adb68a37f8 Bug 1348755 - Part2. Turn the pref on by default and set fuzzy for some reftests. r=mattwoodrow 2017-03-27 16:17:45 +08:00
Ethan Lin caa395107a Bug 1348755 - Part1. Handle clipping region for nsDisplayOutline. r=mattwoodrow 2017-03-27 16:17:45 +08:00
Shawn Huang bea755a58f Bug 1341272 - Set readyState to DONE during synchronous XMLHttpRequest failure, r=baku 2017-03-27 15:21:57 +08:00
Carsten "Tomcat" Book df98772632 Backed out changeset 11c73e8f71bb (bug 1349276) for bustage 2017-03-27 09:02:43 +02:00
Andrea Marchesini dc173b26b1 Bug 1349276 - Paths received by FileSystemRequestParent need to be sanitized before passed to IsDescendantPath, r=haik 2017-03-27 08:18:43 +02:00
JW Wang 2860ecd0e5 Bug 1350814 - Replace use of int64_t for microseconds by TimeUnit in AudioSink. r=kikuo
MozReview-Commit-ID: 3diOpJu7g8i

--HG--
extra : rebase_source : 16d7050cd29ea774fce7e76a16ae9100c766b9f8
extra : source : cf6946ba307d04b00e02e353b4724655929eaa69
2017-03-27 11:37:17 +08:00
Makoto Kato dc58093a7b Bug 1283611 - Change order of include path to support NDK r13+ r=froydnj
When using NDK r13+ with part 1, the following build error still occurs when using cmath.

 0:21.01 /mozilla/android-ndk-r14b/sources/cxx-stl/llvm-libc++/include/math.h:661:105: error: 'acosl' was not declared in this scope
 0:21.01  inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __lcpp_x) _NOEXCEPT {return acosl(__lcpp_x);}

To fix this, we need change the order of include path.

MozReview-Commit-ID: AZ3ebx3pAil

--HG--
extra : rebase_source : ca3ef90372a9c2b84f4a9bed3581be0f21e17d77
2017-03-27 12:11:51 +09:00
Hrishikesh Barman 54d7c11e86 Bug 1347111 - Remove border and background fallback styling from checkbox.css. r=dao
--HG--
rename : toolkit/themes/windows/global/checkbox/cbox-check-dis.gif => toolkit/themes/faststripe/global/checkbox/cbox-check-dis.gif
rename : toolkit/themes/windows/global/checkbox/cbox-check.gif => toolkit/themes/faststripe/global/checkbox/cbox-check.gif
2017-03-26 22:26:06 +05:30
Ting-Yu Chou 7a42c3d5bf Bug 1337688 - Update a TODO comment according to the experimental data. r=me
--HG--
extra : rebase_source : 992071259dbfdf0a0a9bc3585c3dcb27938525ff
2017-03-27 13:19:19 +08:00
Timothy Nikkel e4da61a3e1 Bug 1343341. Add a test to check that discarding and redecoding of animated images works. r=aosmond
The test does nothing if the animated images discarding pref isn't enabled.

--HG--
rename : image/test/crashtests/1249576-1.png => image/test/mochitest/infinite-apng.png
2017-03-27 00:17:54 -05:00
Timothy Nikkel e4990d2f23 Bug 1343341. When the animated images discarding pref is enabled Remove the lifetime lock on animated images and adjust code in RasterImage to allow animated images to be discarded. r=aosmond
Mostly asserts and simple book keeping. The complicated things were in FrameAnimator.
2017-03-27 00:17:52 -05:00
Paul Bignier e2808177ef Bug 1350703 - Typo fixes in code-comments within layout/XUL. r=dholbert
DONTBUILD because comment-only.
2017-03-26 18:37:10 +02:00
Alfredo.Yang b6f5ac4f52 Bug 1330243 - update gtest for mp4 rust parser. r=kinetik
MozReview-Commit-ID: 3CfsHkpk625

--HG--
extra : rebase_source : 1f2b54f8c058bb6d9fdb649224d4a09df662c06f
2017-03-25 17:55:06 +08:00
JW Wang 576387b0bc Bug 1350813. use 0 as the sentinel value of MediaSink::GetEndTime(). r=kaku
Since the media timeline is zero-based, 0 is a good value to indicate
no data is played at all.

MozReview-Commit-ID: BiKzSGtbyjn

--HG--
extra : rebase_source : 7abbed32038d2e1d6b49e25319152060802e5dac
extra : intermediate-source : a786a2069cbd9e46901d6d474b00965f1e75893d
extra : source : e4acffc8b3c8e8003e17e62793d50c627cef340e
2017-03-25 13:29:05 +08:00
Iris Hsiao 5bed2bfda5 Backed out changeset 6e4ccddb5c4b (bug 1350671) for build bustage 2017-03-28 15:23:59 +08:00
Gerald Squelart 6c6f29c5e9 Bug 1351094 - gtest - r=alfredo
MozReview-Commit-ID: 7n9ZYSO2ECF

--HG--
extra : rebase_source : de1778bd585817fcd9cfd4a236f8ea909b6fc050
2017-03-28 12:04:32 +11:00
Gerald Squelart 30bc48ac6f Bug 1351094 - Catch div/0 when hz==0 in MPEG4Extractor's unitsToUs - r=alfredo
MozReview-Commit-ID: KLgUg3UYiNQ

--HG--
extra : rebase_source : 45c26f5cea0e2d11eee785ae3255fe341707a55d
2017-03-28 10:10:05 +11:00
Gerald Squelart 44d96daa9b Bug 1351152 - Run gtest for both Stagefright and Rust MP4 parsers - r=alfredo
MozReview-Commit-ID: BSaMIi6UnVz

--HG--
extra : rebase_source : 25b60c7a5ac97e1f3625324e995723e32e7026be
2017-03-28 13:54:45 +11:00
Kartikaya Gupta 07d2a35e4a Bug 1349949 - Convert another pref to an override pref as part of merging m-c to graphics. r=me
MozReview-Commit-ID: DvIXvd2NxAb
2017-03-24 10:12:22 -04:00
Kartikaya Gupta 3956a6bca3 Merge m-c to graphics
MozReview-Commit-ID: FT418lFT961
2017-03-24 10:10:11 -04:00
Kartikaya Gupta 2f4b68419d Bug 1349643 - Loosen thread assertion slightly. r=nical
When changing the webrender profiler enabled/disabled state, the change propagates
to webrender via the main thread. This violates a thread assertion. However,
the thread assertion is mostly for documentation, so we can loosen it a little
to allow for this scenario.

MozReview-Commit-ID: FWfAchQUEUq
2017-03-24 10:07:00 -04:00
Carsten "Tomcat" Book 7419b36815 merge mozilla-inbound to mozilla-central a=merge 2017-03-24 14:24:21 +01:00
Carsten "Tomcat" Book 9bf0d4533e merge autoland to mozilla-central a=merge 2017-03-24 14:22:11 +01:00
Carsten "Tomcat" Book 0a1fc914ce Backed out changeset d9872fdd25f8 (bug 1337331) for causing build problems for others + on request on bob 2017-03-24 11:24:13 +01:00
Carsten "Tomcat" Book 50ef4d1d1b Backed out changeset 226c893c5d62 (bug 1337331) 2017-03-24 11:23:42 +01:00
Carsten "Tomcat" Book 3a931395eb Backed out changeset 438b6307c802 (bug 1337331) 2017-03-24 11:23:40 +01:00
Carsten "Tomcat" Book 8dd606e5ce Backed out changeset c4aa6b85411d (bug 1337331) 2017-03-24 11:23:37 +01:00
Carsten "Tomcat" Book a69a0cc262 Backed out changeset 5cd2e692ee0c (bug 1337331) 2017-03-24 11:23:35 +01:00
Carsten "Tomcat" Book ed6b3bc409 Backed out changeset 0dd9bae0b6b1 (bug 1337331) 2017-03-24 11:23:33 +01:00
Iris Hsiao 26a234de5d Backed out 6 changesets (bug 1347758) for eslint failure
Backed out changeset 9becd55242c1 (bug 1347758)
Backed out changeset 2abce19f5001 (bug 1347758)
Backed out changeset 80232d4c85d5 (bug 1347758)
Backed out changeset 1fd084ec34d4 (bug 1347758)
Backed out changeset cafb3c12027b (bug 1347758)
Backed out changeset 85846edfe957 (bug 1347758)
2017-03-24 16:58:08 +08:00
Iris Hsiao 5c092525e2 Backed out 5 changesets (bug 1345119) dor mochitest failure in test_inspector_getOffsetParent.html
Backed out changeset c9be65ad95f6 (bug 1345119)
Backed out changeset 4e4817e5b6d4 (bug 1345119)
Backed out changeset 6a01debcc43c (bug 1345119)
Backed out changeset 2c6f67f420d0 (bug 1345119)
Backed out changeset ba020c15393d (bug 1345119)
2017-03-24 15:01:47 +08:00