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

499552 Коммитов

Автор SHA1 Сообщение Дата
Daosheng Mu b3d0fb146a Bug 1299932 - Part 2: Support gamepadPose in GamepadManager; r=kip,lenzak800
MozReview-Commit-ID: 9wKxQIxaPbI

--HG--
extra : rebase_source : 33775aa408a6688f5d1ec8c277082a6675b0f720
2016-10-24 18:06:52 +08:00
Daosheng Mu 7168326772 Bug 1299932 - Part 1: Implement gamepadPose attribute in Gamepad API; r=kip,qdot
MozReview-Commit-ID: DiJadVc2TyE

--HG--
extra : rebase_source : f4571090518a084b6d4b1e6fccf951510b227fbd
2016-10-24 18:04:41 +08:00
Daisuke Akatsuka b3ef492bb9 Bug 1064937 - Part 2: Add tests. r=birtles
MozReview-Commit-ID: GnFktARb4Z7

--HG--
extra : rebase_source : 17971643d95d299d1eba70c8ada341dccac34457
2016-11-11 16:40:53 +09:00
Daisuke Akatsuka b0388916e5 Bug 1064937 - Part 1: CSS Animations and Transitions should support transitions/animations of non-interpolable properties. r=birtles,pbro
MozReview-Commit-ID: 4kMytRCKK79

--HG--
extra : rebase_source : 864b568a96b399231a1cb75742d8c428f5ee2c5c
2016-11-11 16:40:38 +09:00
Masayuki Nakano 99651541fb Bug 791300 KeyboardLayout should respect following WM_(SYS)DEADCHAR messages for supporting chained dead keys r=m_kato
Currently, KeyboardLayout doesn't support chained dead keys because probably, the initial developer didn't expect there are such keyboard layout.  Additionally, if we'd try to handle them with KeyboardLayout, it'd need to create too big and too complicated table at loading such keyboard layout.  It's really nightmare.  Therefore, this patch takes different approach.

Currently, when WM_(SYS)KEYDOWN is received, KeyboardLayout (and NativeKey) respects following WM_(SYS)CHAR.  Similarly, this patch makes KeyboardLayout respect WM_(SYS)DEADCHAR when it handles dead key.  If WM_(SYS)KEYDOWN is followed by WM_DEADCHAR, that means that the key press is in a dead key sequence and not finishing the existing dead key sequence.  Therefore, when WM_(SYS)KEYDOWN is followed by WM_(SYS)DEADCHAR, KeyboardLayout activates dead key sequence.

For supporting dead key chain, this patch makes KeyboardLayout::mActiveDeadKey and KeyboardLayout::mDeadKeyShiftState arrays.  When dead keydown message is received, KeyboardLayout appends an item to each of them.  (I.e., when the array is not empty, it's in a dead key sequence.)

When WM_(SYS)KEYUP is received, KeyboardLayout checks if it's in mActiveDeadKey.  If it's included in the array, it initializes NativeKey as a dead keyup event.

Otherwise, when non-printable key (probably) is received in a dead key sequence, KeyboardLayout doesn't handle it as a part of the dead key sequence.  For example, a modifier key may be pressed for next key.  (Even if the keyboard layout maps text input to a non-printable key, we can ignore them because such key's KeyboardEvent.key value should be decided only with the virtual keyboard.)

MozReview-Commit-ID: 9n8B0YYuKCO

--HG--
extra : rebase_source : d18ca896829274d35cc8b7744c5e1645a9e78784
2016-11-10 23:24:33 +09:00
Masayuki Nakano e940a313f8 Bug 1315065 When selection is collapsed in an empty text node, Backspace/Delete key press should modify the nearest text node r=smaug
Currently, when selection is collapsed at an empty text node, the behavior of each major browser is different.

When you remove the last character of non-empty text node followed by empty text nodes, Chromium removes all following empty text nodes.  However, Edge never removes empty text nodes even when selection is collapsed at an empty text node.

With this patch, our behavior becomes same as Edge.  I think that we should take this for keeping backward compatibility since Gecko never removes empty text nodes.  So, in other words, this patch makes Backspace key press at an empty text node modify the preceding non-empty text node.

When you remove the first character of non-empty text node preceded with empty text nodes, Edge removes all preceding empty text nodes.  However, Chromium and Gecko keeps previous empty text nodes than caret position.  So, we should keep current behavior for backward compatibility.  In other words, this patch makes Delete key press at an empty text node modify the following non-empty text node and keep current behavior.


The fixing approach of this is, making WSRunObject::PriorVisibleNode() and WSRunObject::NextVisibleNode() ignore empty text node.  This should make sense because empty text node is not a visible node. (On the other hand, when the DOMPoint has a null character, it should treat as visible character.  That is visible with Unicode codepoint.)

MozReview-Commit-ID: 11YtqBktEvK

--HG--
extra : rebase_source : 70fa858866cc768179c1ca6a869e1a5c7cfe6e1a
2016-11-11 12:24:21 +09:00
Carsten "Tomcat" Book 56781b3922 Backed out changeset 9cfc41a2869e (bug 1267810) for eslint failures 2016-11-11 09:08:33 +01:00
Carsten "Tomcat" Book bff71a740a Backed out changeset 7ef35cccfd7b (bug 1267810) 2016-11-11 09:08:18 +01:00
Wes Kocher c1a8e22e32 Backed out 2 changesets (bug 1315407) for test-addon-installer.js.test and browser_bug553455.js failures a=backout
Backed out changeset 7f747c8f6c60 (bug 1315407)
Backed out changeset 95ef280ccc1b (bug 1315407)
2016-11-10 23:36:48 -08:00
Wes Kocher 93dca6f437 Backed out changeset 15886f6c3dd1 (bug 1311576) for test_ext_webrequest_filter.html failures a=backout 2016-11-10 23:36:07 -08:00
Alastor Wu d82876475a Bug 1308153 - part4 : add tooltip for unblock icon. r=jaws
MozReview-Commit-ID: LkfYpYGaG0e

--HG--
extra : rebase_source : e317b178dcd4b95d4d25a2708196a9d3da9e6c0a
2016-11-11 10:43:21 +08:00
Alastor Wu 89935ef264 Bug 1308153 - part3 : implement the logic about showing the unblocking icon. r=jaws
Showing unblocking icon when the tab's media is blocked, and hide the icon when user clicks unblocking icon or opens that tab.

MozReview-Commit-ID: LHxop9qL0uf

--HG--
extra : rebase_source : 57070ab5a3e60561c48f6330dbd26f3ecf52f93e
2016-11-11 10:42:40 +08:00
Alastor Wu 2638d094fd Bug 1308153 - part2 : Add media-unblocking icon. r=jaws
Add the new svg for unblocking icon.
See bug1308399 for more UX details.

MozReview-Commit-ID: 6AYXJsFRQTh

--HG--
extra : rebase_source : 8009f1dbefc4e1b7e480e2eb8bafeefa3bc2d4bc
2016-11-11 10:42:38 +08:00
Alastor Wu b2b31d2a59 Bug 1308153 - part1 : notify tabbrowser when the tab was blocked. r=baku,jaws
We need to notify tabbrowser about media-blocking so that we can show the unblocking tab icon.
See bug1308399 for more UX details.

MozReview-Commit-ID: E25lEhZLCZk

--HG--
extra : rebase_source : dcb6cb520bb0983010dfcc728f7251994a886612
2016-11-11 10:42:35 +08:00
Matthew Wein 3a3ce1cac9 Bug 1267810 - Use the new module to implement the omnibox api. r=aswan,robwu
MozReview-Commit-ID: GYzueGSijyd

--HG--
extra : rebase_source : 0d35faa215e9a4f675d20a5a4d550a371382464f
2016-11-11 02:06:43 +00:00
Matthew Wein 1dc56d3c39 Bug 1267810 - Add a module for registering keywords and handling keyword input sessions. r=adw
MozReview-Commit-ID: Ghqe5xLw67Y

--HG--
extra : rebase_source : ef23c5eb90a7e882c09736724ed5b63773be061c
2016-11-11 02:06:14 +00:00
Alastor Wu db0967a435 Bug 1300016 - only suspend web-speech when mUtterance exists. r=eeejay
MozReview-Commit-ID: E29qJ1sgZ5c

--HG--
extra : rebase_source : c62783ac2bf0d3d7e357542f40504be212c317d6
2016-11-07 17:49:13 +08:00
Haik Aftandilian eec30b1b54 Bug 1303051 - Printing Issue: Page Setup not being respected since upgrade to 48.01 on Mac; r=mconley
Adds serialization of native print settings values so
that correct page size, scaling, orientation are sent
to the child after the print dialog is displayed.

Changes the Mac print dialog code to load native
print settings from the "print.macosx.pagesetup-2"
pref and ignore what is passed in.

Overwrites the scaling percentage specified in
the print dialog when "Ignore Scaling and Shrink to
Fit Page Width" is checked.

Scaling on Nightly (remote printing) needs more work
to be done in a follow up bug.

MozReview-Commit-ID: B12ZeHuiYFJ

--HG--
extra : rebase_source : baa2a5865b29db8914fca1242af59674f9630c8e
2016-11-09 17:37:40 -08:00
Dustin J. Mitchell bee82aef38 Bug 1316249: tooltool: specify binary mode in all open(..) calls; r=gps
From upstream https://github.com/mozilla/build-tooltool/pull/33

MozReview-Commit-ID: FRex4g9OB2x

--HG--
extra : rebase_source : 55561f663aff6ff3bc58cdcd94add8c623069389
2016-11-10 15:08:38 +00:00
Andrzej Hunt 8f4e370c9d Bug 1315938 - Don't crash if tabs aren't initialised yet r=sebastian
getSelectedTab() specifies that it can return null "if we're doing a
session restore after a crash and Gecko isn't ready yet". This seems
to occasionally be happening, resulting in crashes.

(What isn't clear is why this would be happening more regularly in 51,
 it's possible some completely unrelated changes are either making
 the rendering of TopSites faster, causing this call to be made earlier,
 or session restore has simply gotten slower. We have also had a
 crash spike recently due to library loading issues, which would
 likely further exacerbate the whole issue.)

MozReview-Commit-ID: GLFOoXFrAkj

--HG--
extra : rebase_source : e47922ad2b0aa9dc795f0efc1ea477a9805bd4f1
2016-11-08 13:07:24 +01:00
Andrzej Hunt 0680c3fa2f Bug 1315717 - Add ripple feedback to AS context menu buttons on Android >= 5 r=sebastian
The circular ripple is only available on API >= 21. We can fallback to a different solution
for older devices, see following patch.

MozReview-Commit-ID: C0aBqsKsuZ5

--HG--
extra : rebase_source : ae5139daca4a61c1dfe78bdca7d686494d36d482
extra : source : 34e9726d1c21fa1d998f8469175e8b91d849b7e7
2016-11-08 10:11:02 -05:00
Andrzej Hunt ae73913d2a Bug 1315717 - Pre: rearrange higlights padding to increase area for menu button r=sebastian
The ripple added using selectableItemBackgroundBorderless is scaled to the actual View area.
By rearranging our margins+padding we are able to make the empty space around the menu button
part of its padding, which results in a more naturally sized ripple. Without this
patch the circular ripple is tiny and looks odd.

MozReview-Commit-ID: 3jHWiubMtDD

--HG--
extra : rebase_source : 1c5a5f81db1c7eff45145a91b37197eef0a118f4
extra : source : 60235315c78c56655049c6e552a9c25085f1a4e4
2016-11-08 10:09:08 -05:00
Shane Caraveo 086959718c Bug 1311576 fix webrequest filter for tabId and windowId, r=kmag
MozReview-Commit-ID: Gfg3Wv7JGI6

--HG--
extra : rebase_source : 08999bd99d095d1198a9cbaa3eb0c84b051f4473
2016-11-10 09:54:34 -08:00
Andrew Swan 992470914d Bug 1315407 Refactor AddonInstall r=mossop,rhelmer
MozReview-Commit-ID: Hj88zv7cBhI

--HG--
extra : rebase_source : 9b862a1c0c9e357a5f262d36a14689cac1b20f29
extra : intermediate-source : b5554e10bab8c637b4b9974e7e1d94bb2a1c04a9
extra : source : d1002ce40764e6b5465563b08f124882ca815d9e
2016-11-09 13:04:30 -08:00
Andrew Swan 977c5b0df9 Bug 1315407 Revise tracking of active AddonInstalls r=rhelmer
MozReview-Commit-ID: Is3RMjSN6Bw

--HG--
extra : rebase_source : 87cc0078e73ceae0f0196729c446f56977332637
extra : intermediate-source : c47e12b63929919f9fdecad4aea1aeea0ed41cd0
extra : source : 67088f2c1a9c13b471ddeb57e874ce15c72dc014
2016-11-10 12:49:27 -08:00
Shane Caraveo 93cc71d46e Bug 1314492 refactor webrequest tests, r=kmag
MozReview-Commit-ID: D0dleERLM3K

--HG--
extra : rebase_source : a9e3fd972ffb620231134888988368a756b7b32c
2016-11-10 16:01:50 -08:00
Manish Goregaokar c34e67ff4d Bug 1314200 - stylo: support transform; r=heycam
MozReview-Commit-ID: 50YhZtjF3vH

--HG--
extra : rebase_source : 9aaf3f1bdd317c8c0e541a5ff6ff6d734a3e3f32
2016-10-31 16:30:43 -07:00
Gerald Squelart 0affeb4ab0 Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.

MozReview-Commit-ID: LXiZTu87Ck6

--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Gerald Squelart 10f1b864f2 Bug 1316432 - nsCOMPtr construction/assignment from nullptr - r=froydnj
MozReview-Commit-ID: 4KW3g2WSJaC

--HG--
extra : rebase_source : de8fc2f900abbf7f0bf763ffac8f23f9cde298b4
2016-11-11 07:57:38 +11:00
Gerald Squelart 47f1821983 Bug 1316432 - Replace 0's with nullptr in nsCOMPtr.* - r=froydnj
Just a mechanical find/replace of all zero pointers, before the next patch.

MozReview-Commit-ID: DSzSZunAXWu

--HG--
extra : rebase_source : a5a9a064335254a7456a7ec48805c4ec08fd18af
2016-11-10 14:19:56 +11:00
Jonas Finnemann Jensen 2cd49e189e Bug 1316183 - Compress docker images with zstd. r=dustin
* Compress docker images with zstd
 * Removed need for context.tar from decision task
 * Index images by level rather than project

MozReview-Commit-ID: 4RL4QXNWmpd

--HG--
extra : rebase_source : 677d8030a15af3288866a70fc648a10b22c396a3
2016-11-07 11:26:27 -08:00
Andrzej Hunt 7326351772 Bug 1315716 - Use selectableItemBackground for material ripple on ActivityStream cards r=sebastian
MozReview-Commit-ID: KQvNTB5RVbQ

--HG--
extra : rebase_source : 7c1e3cd0e03d29558bf96ad1085d55104a36c334
2016-11-08 08:00:10 -05:00
Henrik Skupin 6dd0c8733c Bug 1315760 - Use Ubuntu 16.04 docker image for Marionette tests. r=dustin
MozReview-Commit-ID: 9ISchR3EGar

--HG--
extra : rebase_source : 8ce100b3f12576ca23d5485a12c194daece3b051
2016-11-08 13:53:34 +01:00
Tom Tromey 7a77ebc473 Bug 1254295 - add "flushregs" advice to unwinder instructions; r=nbp
MozReview-Commit-ID: A0jtO5yj4Og

--HG--
extra : rebase_source : acfd6020ea2f298583eefa5907ec08024622f423
2016-10-31 11:38:46 -06:00
Tom Tromey d4e5a0320e Bug 1254295 - fix a few typos in JS headers; r=nbp
MozReview-Commit-ID: 3do0PIwCyOy

--HG--
extra : rebase_source : e1cd3c71ec4484837f7452d3cfcd241fd8f63973
2016-10-27 08:39:56 -06:00
Tom Tromey 24a37048aa Bug 1254295 - add function name to gdb frame filter; r=nbp
MozReview-Commit-ID: LJEr9sNtdMV

--HG--
extra : rebase_source : 6fe2dd940feb45c574300da1dd7fb73a5e825ba6
2016-03-07 14:36:06 -07:00
Mark Banner 7d81bfea9f Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
MozReview-Commit-ID: 8svkCKZHxsq

--HG--
extra : rebase_source : 01552e8214f02490aad3cf704757f52a9c3b3959
2016-11-08 12:49:32 +00:00
Mark Banner 257c1b72db Bug 1315951 - Enable no-unused-vars for toolkit/components/places. r=mak
MozReview-Commit-ID: C3IW79fWSSa

--HG--
extra : rebase_source : 0461940fead1dfc50f39beaeb664c111cf2db4d3
2016-11-08 13:54:20 +00:00
Manish Goregaokar e765ae5d96 Bug 1316172 - Add a reftest for logical properties; r=dbaron
MozReview-Commit-ID: J9PZVBoK0Fg

--HG--
extra : rebase_source : 9df60509e5c0e19a857dafed538a34444912e77b
2016-11-08 15:03:08 -08:00
J. Ryan Stinnett ab2eff3136 Bug 1316381 - Re-enable browser_toolbox_swap_browsers.js test. r=ochameau
MozReview-Commit-ID: LNwvso1tBL8

--HG--
extra : rebase_source : 16ce3e36dd6dd76eb1acdfcf9c5b72369297ab3d
2016-11-07 19:35:30 -06:00
Andrzej Hunt b78c01df71 Bug 1314546 - Always putenv(MOZ_LINKER_EXTRACT) for Android r=esawin,glandium
This allows artifact builds to load the new compressed native libraries correctly,
without requiring build config changes.

MozReview-Commit-ID: 3xZzoV3wFda

--HG--
extra : rebase_source : 5fffe02efc38af9024ca72654153deed3c4ef757
2016-11-04 15:48:58 +01:00
Ralph Giles 8b80e11ff1 Bug 1316477 - Mention adding `extern crate` references. r=froydnj
MozReview-Commit-ID: G1DxiQ410W1

--HG--
extra : rebase_source : a6432048f5b8134e0715ed9ff42cbb9be6b60b0a
2016-11-09 18:30:03 -08:00
Andreas Tolfsen e21585e1c0 Bug 1313865 - Employ common assertions in GeckoDriver; r=automatedtester
MozReview-Commit-ID: EkDV0lJxx1i

--HG--
extra : rebase_source : 3aa776da1ce419e0fe9a944ff429b02a314d18d7
2016-10-31 22:12:30 +00:00
Andreas Tolfsen ecce373354 Bug 1313865 - Remove unused logger; r=maja_zf
MozReview-Commit-ID: H208URxkUkV

--HG--
extra : rebase_source : 5ddd46970365ab1ba37e67c8b52c07af0b53220a
2016-10-31 22:11:39 +00:00
Andreas Tolfsen 1b0af3460d Bug 1313865 - Employ common assertions in action module; r=maja_zf
MozReview-Commit-ID: 4WIc6QEjoEf

--HG--
extra : rebase_source : 2f98292d040046296279c65a8a3f6df0c452b6cc
2016-10-31 22:11:25 +00:00
Andreas Tolfsen e5010028a2 Bug 1313865 - Centralise common Marionette assertions; r=automatedtester,maja_zf
Many tests that result in throwing errors, amongst those many type-
and platform checks, are repeated throughout the Marionette code base.
This patch centralises the most common of these, typically reducing
consumer calls from three to one line.

Example usage:

	assert.defined(cmd.parameters.value);
	assert.postiveInteger(cmd.parameters.value,
	    error.pprint`Expected 'value' (${value}) to be a signed integer`);
	// InvalidArgumentError: Expected 'value' ([object Object] {"foo": "bar"}) to be a positive integer

MozReview-Commit-ID: BHOaDazeGer

--HG--
extra : rebase_source : 1d35c10e29d4fd536829e9714ae65bcd14ad21f8
2016-10-31 22:00:21 +00:00
Jared Wein 4b027e3645 Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
MozReview-Commit-ID: 1mhCWplknyN

--HG--
extra : rebase_source : ab47e6e1bc2ba94fa26179ec18053fa798d9b778
2016-11-07 22:34:25 -05:00
Carsten "Tomcat" Book 06289a8493 Merge mozilla-central to autoland 2016-11-10 17:11:00 +01:00
Carsten "Tomcat" Book 4b6cab91f9 merge mozilla-inbound to mozilla-central a=merge 2016-11-10 16:59:38 +01:00
Carsten "Tomcat" Book ebe55e2d67 merge autoland to mozilla-central a=merge 2016-11-10 16:57:59 +01:00