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

531240 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey d45031b1f1 Bug 1355671 - Build the brotli command line tool as a host program. r=gps
--HG--
extra : rebase_source : 5d8712966146986fce343bb6fa2886fb84e92ee0
2017-04-07 17:02:54 +09:00
Mike Hommey 057318a71f Bug 1355671 - Import brotli encoder and command line tool code. r=gps
--HG--
extra : rebase_source : f7a1326a7d39a34828b596140da8482718828352
2017-04-07 15:57:31 +09:00
Mike Hommey 8f667a0d22 Bug 1355661 - Add support for brotli streams in Jar archives. r=aklotz
Modern compression algorithms are better than zlib both in terms of
space and time. The jar format, used for e.g. omni.ja, addons, etc.
could benefit from using such modern algorithms, but the format only
allows a limited set of compression algorithms.

However, the format in itself is flexible, in that it can be extended
with arbitrary compression algorithms. This breaks compatibility with
programs like unzip, obviously, but we've never promised the files
shipped with Firefox will always remain "valid" zips (which they already
aren't, but they currently work with most zip readers).

With this change, we allow those archives to contain brotli streams,
using an arbitrary large value for the compression type in the Zip local
file header. This only allows to read such archives, but not to produce
them, and, for now, support for brotli streams is kept Nightly-only,
until everything is pieced together and we're happy to ship it.

--HG--
extra : rebase_source : fa637251f460ad0d91d5f5bec392c6e59555e80d
2017-04-07 14:48:25 +09:00
Mike Hommey af3b61e59a Bug 1355661 - Continue inflating even when the Fd was closed, as long as there is still output pending. r=aklotz
This appears to have been "broken" since bug 510844, for some value of
broken where it doesn't actually cause any problem in practice because
of how zlib behaves.

That is, in practice, we always still have input to process when there's
pending output. But while that's true with zlib, that's not necessarily
true for other decompressors (e.g. brotli).

--HG--
extra : rebase_source : 7572139f8e2b3df8c6b68123c0a14524dddb3faf
2017-04-07 14:05:23 +09:00
Mark Banner 58e3fafe78 Bug 1357546 - Fix how relative paths are handled in Windows for the ESLint import-browser-window-globals rule. r=mossop
MozReview-Commit-ID: Q8YcLRSpkQ
2017-04-18 22:11:54 +01:00
Mike Hommey 87c96634a2 Bug 1356932 - Use the same clang as asan builds in normal builds. r=froydnj
They are, in fact, the same version already, built from the same version
of clang-static-analysis-linux64.json, but one comes from a now expired
try build, and the other from a build on mozilla-central, that can still
be traced down:
https://tools.taskcluster.net/task-inspector/#Ro1bUCv4Svu2OWuQsOF_hA/0

--HG--
extra : rebase_source : 776314cecb3cba7043a02f4e1f2f4feb4b51731c
2017-04-17 08:29:22 +09:00
DimiL c18e9c758a Bug 1357207 - Caching duration recorded to telemetry should be milli-second . r=francois
In Bug 1311935, We change positive/negative cache duration from milli-second to second.
But the value doesn't covert back to milli-second when store to telemetry(telemetry use
milli-second).

MozReview-Commit-ID: KR6xn9pwhUd

--HG--
extra : rebase_source : 378149dc29d61cbca31b8aa913df946ceff556f3
2017-04-18 12:01:09 +08:00
Jed Davis e6622cfe8a Bug 1355273 - Allow inotify_init alongside inotify_init1. r=Alex_Gaynor,gcp
MozReview-Commit-ID: 5hAapLdbmeh

--HG--
extra : rebase_source : 2646d97dbdbf8803468c7115b50ae9ab91eae1ca
2017-04-14 16:17:39 -06:00
Matheus Longaray 89917b659f Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: 77pLXhdbpPp

--HG--
extra : rebase_source : 7201f230299c571d6c3a86ce650d6852c43e0943
2017-04-18 22:21:10 +02:00
Francois Marier 6321486d37 Bug 1354713 - Make use of the application reputation allow list on OSX and Linux. r=gcp
Since the allow list contains both hostnames and certificate hashes, it makes sense
to use it on all platforms.

MozReview-Commit-ID: 1icRFYhhnAY

--HG--
extra : rebase_source : bcb6113090546cdca2b4f2dd120db98ffb511b0d
2017-04-07 16:07:41 -07:00
Jared Wein f9d7bab84d Bug 1356508 - Buttons on the right-side of the preferences UI should be mainly uniform in width. r=mconley
MozReview-Commit-ID: I03pYYpYREv

--HG--
extra : rebase_source : 22cf2f7f7d3f9b3a029802e9561415156aadfa69
2017-04-14 17:09:01 -04:00
Sebastian Hengst 1dd0176f22 Backed out changeset 773f5b2cb868 (bug 1355430) for unexpectedly passing own test dom/canvas/test/webgl-mochitest/test_video_fastpath_mp4.html on Windows. r=backout 2017-04-18 21:09:25 +02:00
Sebastian Hengst e4c87ce902 Backed out changeset 661144609b7a (bug 1355430) 2017-04-18 21:08:22 +02:00
Sebastian Hengst 85776c9687 Backed out changeset 98d3518db0a4 (bug 1355430) 2017-04-18 21:08:18 +02:00
Dão Gottwald 35b9a98296 Bug 1356655 - Let adjustTabstrip return early if the tab strip is overflowing. r=florian
MozReview-Commit-ID: LKYuFidCHWa

--HG--
extra : rebase_source : 79102ec02ec5d604ec0bb29d04567d7100a798db
2017-04-16 17:08:42 +02:00
Ralph Giles 927fc2a00a Bug 1357119 - Include aarch64 in rustc package for builders. r=mshal
Add the aarch64-linux-android libstd to the android-cross
repackage of the upstream rust 1.16.0 stable builds.

MozReview-Commit-ID: gmZL7QCodQ

--HG--
extra : rebase_source : dc4072c3214188195aa6abda939d550df4e617d9
2017-04-18 10:24:08 -07:00
Aaron Klotz 92ce20591b Bug 1357194: Use MOZ_UPDATE_CHANNEL to distinguish between local/nightly and beta/release builds for AccessibleHandler CLSIDs; r=mhowell,mshal
MozReview-Commit-ID: Kp8x5o66nrY

I want AccessibleHandler.dll to use different UUIDs based on release channel.
The way I was doing it before wasn't working correctly because I also wanted
local builds to have their own set of UUIDs vs our regular Nightly/Beta/Release
builds.

I also want the beta channel to have its own set of UUIDs that are distinct
from release.

I'm using MOZ_UPDATE_CHANNEL to distinguish between the channels when
NIGHTLY_BUILD and BETA_OR_RELEASE are insufficient.

--HG--
extra : rebase_source : 8cb28a22a3cac16fb743a8fe81db5e120c1fdf6d
2017-04-17 14:47:41 -06:00
Nick Alexander 5918c2009b Bug 1254355 - Part 2: Generate AndroidManifest.xml using GENERATED_FILES. r=gps
MozReview-Commit-ID: 8McGHkPYyhI

--HG--
extra : rebase_source : 0789187e4c3a589060dcd9913f376410a390a6f7
2017-04-17 13:47:41 -07:00
Nick Alexander 7c46e515ed Bug 1254355 - Part 1: Prepare to generalize generate_build_config. r=gps
I'm taking another kick at this.  Since glandium's negative review of
older patches a year ago, generate_build_config.py landed (with your
r+, gps).  These patches extend that mechanism to generate
AndroidManifest.xml.  This sets the stage for that.

This is all in service of Bug 1355625, which will need the
generate_build_config.py extension point to do things that the
preprocessor cannot handle: generating Java code, copying resource
files, and merging resource XML declarations.

MozReview-Commit-ID: AcyC3CBMQl1

--HG--
extra : rebase_source : c379b07de4b9f9b4bfe53e6a0adac13f08a71c73
2017-04-17 13:38:24 -07:00
Andrzej Hunt b06587d13f Bug 1356679 - Add infer-out to .hgignore r=sebastian
Infer dumps a whole load of temporary output, in addition to the actual
report, under infer-out. We don't want to accidentally commit that.

MozReview-Commit-ID: Jtpt4rhDwF5

--HG--
extra : rebase_source : 49c37e3557aaa83a8ab430a6316d624e71df1a4a
2017-04-14 14:46:01 -07:00
Dão Gottwald 24b6ac598b Bug 1356663 - Calculate the status panel's mouse target rectangle lazily in getMouseTargetRect. r=florian
MozReview-Commit-ID: 1g07rylDWkx

--HG--
extra : rebase_source : 4b2248d79e172e2096038d5ea83f7bdc3a15461e
2017-04-16 16:43:53 +02:00
Mark Banner 2e1696e256 Bug 1357393 - Correct getting the rootDir in createExports - used for publishing eslint-plugin-mozilla. r=mossop
Bump the version number to match what is currently published.

MozReview-Commit-ID: 8r8otQQBqBo

--HG--
extra : rebase_source : 1b7daac6b2852117ae08927fd5a09b2a7650d683
2017-04-18 13:56:19 +01:00
Andreas Tolfsen 53fa70a502 Bug 1352463 - Increase wdspec timeouts; r=jgraham
Increases WPT wdspec timeouts to more realistic values.  Because wdspec
tests interact with the browser from an OOP program, they require more
time to run.  Interactive browser tests are also known for generally
being more expensive to run.

25 seconds for the default timeout and 120 seconds for the long timeout
are values picked out of the air and likely needs to be further refined
in the future.  It is however the current belief that this moves us in
the right direction.

Further improvements to this approach may involve letting wdspec tests
define timeouts on a per-file or a per-test function level through the
use of pytest-timeouts, but this is purely speculative at this point.
It is the current recommendation to adjust the number of tests and the
runtime duration of the tests in a file according to these new defaults.

MozReview-Commit-ID: 4I3Xz9G6lzv

--HG--
extra : rebase_source : 5ec7439e736dc9978828e420bd31195e63130fed
2017-03-31 17:42:26 +01:00
Andreas Tolfsen 6564760558 Bug 1352463 - Define WPT timeouts on the test type level; r=jgraham
Certain test types have a need for other defaults than the
wpttest.DEFAULT_TIMEOUT and wpttest.LONG_TIMEOUT values.  This patch
changes wptrunner to define default- and long timeouts on a test type
level.  This allows a test type to override the default durations defined
in the abstract Test.default_timeout and Test.long_timeout.

Concrete classes, such as ReftestTest and WdspecTest, may override these
class properties.

MozReview-Commit-ID: IS6df5vuIDC

--HG--
extra : rebase_source : a3f37d4524902f2b0d54e14126b57da327f0ec06
2017-03-31 17:38:35 +01:00
Sebastian Hengst 545cdbc891 Backed out changeset e5e754f197cd (bug 1355481) for breaking many tests, r=backout on a CLOSED TREE 2017-04-18 17:47:34 +02:00
Ray Lin 9800f2b30a Bug 1340483 - Part 5. Add basic layout style for preview node. r=heycam
MozReview-Commit-ID: IuTnIy7r0w8

--HG--
extra : rebase_source : c2b94c3d51a3bf7ff8a066e92329b1aeaf6af91e
2017-03-31 14:02:03 +08:00
Ray Lin acabd05355 Bug 1340483 - Part 4. Update input visibility accordingly. r=heycam
MozReview-Commit-ID: 7eBhj7w4qhP

--HG--
extra : rebase_source : 3610353fbb4e8d4c1abed57536a0bab3a537b134
2017-03-30 17:38:59 +08:00
Gregory Moore 022156f613 Bug 1180799 - Support momentum scrolling after two-fingered pans on pages that don't allow zooming. r=botond,kats
MozReview-Commit-ID: IAhD3jO4NWH

--HG--
extra : rebase_source : 782699a9f501327431bf66645b3313921a864e09
extra : source : 456dbb5c2b93ba738bc5b0e15d7e43cab2d0a856
2017-03-25 18:36:35 -07:00
Wes Kocher b53f4d8806 Merge m-c to inbound, a=merge 2017-04-17 13:03:40 -07:00
Wes Kocher 228c755a80 Merge inbound to central, a=merge 2017-04-17 12:56:25 -07:00
Wes Kocher 0becaff588 Merge autoland to central, a=merge 2017-04-17 12:41:36 -07:00
Kearwood Gilbert c944eed13a Bug 1356387 - Add constructor to VRHMDSensorState
- Also removed some now redundant calls to VRHMDSensorState::Clear()


MozReview-Commit-ID: Kkbvkn3XAP4

--HG--
extra : rebase_source : 0daecf8ad2f4baa8f3d199c65dc7c0cbeb4aceae
2017-04-17 12:15:38 -07:00
Michael Layzell 344f335411 backout bug 1356277 due to failing test_localStorageSessionPrefOverride.html on try
I looked at the wrong try push before pushing this change to inbound. Backing it
out hopefully before it turns too many pushes orange.

MozReview-Commit-ID: 5cREsyfWrmb
2017-04-17 15:44:17 -04:00
Kartikaya Gupta 7a4b7a370e Bug 1356695 - Ensure gfxPrefs is initialized if gfxPlatform::AsyncPanZoomEnabled is called early in startup. r=milan
MozReview-Commit-ID: CnHHcuZRPTc
2017-04-17 11:56:26 -04:00
Kartikaya Gupta 4444fcf4d5 Bug 1356695 - Don't expose DOM touch APIs with autodetection if APZ is disabled. r=smaug
When the dom.w3c_touch_events.enabled pref is set to "2" (autodetect) on Win/Linux,
it checks to see if the hardware supports touch events, and only enables the
DOM touch APIs if so. However, even if the hardware supports touch events, we
might have e10s or APZ disabled for other reasons, and in those cases we don't
actually turn on touch support in the widget (nsBaseWidget::RegisterTouchWindow
will not be called). So in those cases the widget will never actually dispatch
touch events, and the DOM touch APIs shouldn't be exposed either. This patch
implements this by checking the APZ state when deciding whether or not to
expose the DOM touch APIs.

MozReview-Commit-ID: EIvJh030b0X
2017-04-17 11:56:22 -04:00
Jeff Muizelaar 67e82cd2a7 Bug 1356689. Add pref to highlight painted layers. r=mchang
This is valuable for looking at pages to see where we're still using
painted layers.
2017-04-17 11:10:02 -04:00
Lee Salzman 03ed17e42f Bug 1357009 - add missing UnscaledFontGDI::GetFontInstanceData. r=jrmuizel
MozReview-Commit-ID: 21EoCWhkDDu
2017-04-17 10:59:31 -04:00
Kartikaya Gupta 4087e4ae28 Merge m-c to graphics
MozReview-Commit-ID: KwTegQDnKGG
2017-04-17 10:33:46 -04:00
Sebastian Hengst 5a100ecb59 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-17 16:32:14 +02:00
Sebastian Hengst 4bd7a206de merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DZowmCXo7Q
2017-04-17 16:21:05 +02:00
Kartikaya Gupta 41c543ac1b Merge m-c to graphics
MozReview-Commit-ID: G9MmPXdyBxg
2017-04-17 09:40:34 -04:00
sotaro 444f539c4b Bug 1356960 - Avoid to allocate WebRenderTextureHost for TextureHost of VideoBridgeParent and VRManagerParent r=jerry 2017-04-17 22:08:43 +09:00
Sebastian Hengst eacfbf3ac6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: D039X4edhVO
2017-04-16 20:00:50 +02:00
Kris Maglione d60281154f Bug 1356891: Get rid of getAPILevelForWindow. r=mixedpuppy
MozReview-Commit-ID: 4IMnEiC5VAh

--HG--
extra : rebase_source : 47a078bdcd780ee0c13ecd802574eb4096c6d01d
2017-04-16 08:32:59 -07:00
Michael Layzell 7c1713568d Bug 1356277 - Part 2: Add a test for LIMIT_THIRD_PARTY permission with sessionStorage, r=ehsan
MozReview-Commit-ID: 6EI2eynexN0
2017-04-17 15:14:56 -04:00
Michael Layzell 5ce7492734 Bug 1356277 - Part 1: Respect ALLOW_FIRST_PARTY_ONLY and LIMIT_THIRD_PARTY permissions in StorageAllowedFor*, r=ehsan
MozReview-Commit-ID: 7TQSFk7EGmk
2017-04-17 15:14:54 -04:00
Michael Layzell 52e859430e Bug 1352281 - Include KIND_OTHER types in DataTransfer.types, r=baku
MozReview-Commit-ID: EoqzAydaLea
2017-04-17 14:57:25 -04:00
Michael Layzell 0086bd7036 Bug 1168169 - Mark nsThreadShutdownContext::joiningThread as MOZ_UNSAFE_REF, r=froydnj
MozReview-Commit-ID: 16ebijitZcz
2017-04-17 14:57:25 -04:00
Paul Rouget 589fae16f0 servo: Merge #16482 - Add more dependencies to Fedora instructions (from servo:readme-fedora-update); r=Manishearth
Readme update

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 67c00b97e8c0ef7b9649eca815ef4033a70e8b90
2017-04-16 07:29:57 -05:00
Srivatsav Gunisetty 76c4df4bd0 Bug 1354199 - Remove border and background fallback styling from tabbox.css. r=dao 2017-04-16 09:37:09 +02:00