Commit Graph

17622 Commits

Author SHA1 Message Date
Andrzej Hunt
ba8e45b280 Bug 1313990 - Convert non-transparent png to webp for APK size reduction r=sebastian
MozReview-Commit-ID: Cqc7XOcDNdw

--HG--
extra : rebase_source : b92185241eb145a8db00ae981e352954749d3097
extra : source : ac58f70c4b389d60fd5287790149ddfdbb51b14d
2016-11-01 10:56:35 +01:00
Carsten "Tomcat" Book
8fb395770c Backed out changeset 12d6d9c37b2d (bug 1306185) causing lint perma failures
--HG--
extra : rebase_source : 91ec26ccd8fb9f462e97a81ce1f89169dc7c745a
2016-11-02 15:24:58 +01:00
Carsten "Tomcat" Book
3b0e8a44f4 Backed out changeset a40cb9ae8d07 (bug 1306185)
--HG--
extra : rebase_source : 20576ddc7bc99babe49cfc9fdf99def2ce0af8fb
2016-11-02 15:24:13 +01:00
Carsten "Tomcat" Book
97e77f1d51 Backed out changeset 2d8d0579cb0d (bug 1306185)
--HG--
extra : rebase_source : 56be792bbb172e482f221513cfbda411e74cc8e0
2016-11-02 15:24:11 +01:00
Carsten "Tomcat" Book
c4a03c94eb Backed out changeset 4eab781604ad (bug 1306196)
--HG--
extra : rebase_source : ff33705147f15c697ea96ac04a3357dfe0d9de97
2016-11-02 15:24:09 +01:00
Carsten "Tomcat" Book
bcfe49df68 Backed out changeset 0aa5b42dccea (bug 1306196)
--HG--
extra : rebase_source : 14c3336ee8fdd956092c3127ddd9036a5f312506
2016-11-02 15:24:07 +01:00
Sebastian Kaspari
2130ff7058 Bug 1311398 - Load public suffix list from disk and extract activity stream labels asynchronously. r=Grisha
Not really happy about the change but it addresses the problem.

* Loading the list from disk is much faster than parsing the string (2500ms vs. 30-50ms on a Nexus 6P)
* Because of (potential) disk I/O we are required to extract the label asynchronously on a background thread
* We load the list only once and then keep it in memory - like we did before the change.

MozReview-Commit-ID: 9MPGbmIGRnS

--HG--
extra : rebase_source : 8b31f852c6bb90fd57baeb07ba0066421d5a6e46
2016-11-02 13:56:43 +01:00
Kilik Kuo
d1a6311583 Bug 1306196-[P2] Provide RemoteMediaDrmBridge & corresponding stub to underlying GeckoMediaDrmBridge implementation. r=cpearce,jchen
MozReview-Commit-ID: K49zWmuJOpt

--HG--
extra : rebase_source : 8605a44da46bd31b158fe3fd38fa620bc53dbb21
2016-11-01 23:46:34 +08:00
Kilik Kuo
6f5d80e5ab Bug 1306196-[P1] Provide AIDL definiion for EME functionality on Fennec MediaManager Service. r=cpearce,jchen
MozReview-Commit-ID: IPr9WQQbGNB

--HG--
extra : rebase_source : f375ac50d49e8b28906072f99551c9e95841d06b
2016-11-01 19:27:18 +08:00
Kilik Kuo
27f99e13e4 Bug 1306185-[Part3] Provide LocalMediaDrmBrdige as an intermediate which is the entry to actual GeckoMediaDrmBridge implementation. r=cpearce,jchen
MozReview-Commit-ID: I9NH0ibGdEn

--HG--
extra : rebase_source : 19bd12ae6b883f15fdb12a9cfa3fdacc8f475346
2016-11-01 19:16:17 +08:00
Kilik Kuo
f64f1998e7 Bug 1306185-[Part2] Provide GeckoMediaDrmBridge implementation for Lollipop(V21)/Mashmallow(V23). r=cpearce,jchen
MozReview-Commit-ID: 2hfKcWqBqvH

--HG--
extra : rebase_source : 6d0603722b9d84391abd3226ed5134d635da41da
2016-11-01 19:12:23 +08:00
Kilik Kuo
1a798e8329 Bug 1306185-[Part1] Provide Java interface to bridge Gecko's gmp-decryption-like API and MediaDrm API r=cpearce,jchen
MozReview-Commit-ID: 3jxofUxcTA9

--HG--
extra : rebase_source : 7469af6b253af8e52e48492cc3275a67df15a82f
2016-11-01 19:11:38 +08:00
bechen
196191c51c Bug 1286738 - part2-HardwareCodecCapabilityUtils: Add HasHWVP9() function to check the vp9 hw decoder. r=jya
MozReview-Commit-ID: 1a89GQixKrO

--HG--
extra : rebase_source : fdbc3df00ff8792c9e27a5f8fb2e9321fbde3468
2016-10-26 16:57:55 +08:00
Chris AtLee
941233e1d8 Bug 1313670 - Allow per-product duplicate exceptions r=gps
MozReview-Commit-ID: 8BQkfHw2v5D

--HG--
extra : rebase_source : 44d09f30842fbc6196bf73c96bc0277a38477716
2016-10-31 15:54:42 -04:00
Mike Hommey
b89b671cc8 Bug 1313306 - Don't expose os.path.{exists,isdir,isfile} to python configure without an @imports. r=chmanchester
We want functions without an @imports to not have any side effects, and
to not use external resources. So remove the few functions we expose from
os.path without @imports('os') that do.

--HG--
extra : rebase_source : a9485ec269d4de5785d66d7772eda4fae5a84b4a
2016-10-26 11:49:58 +09:00
Alastor Wu
d075282bff Bug 1305869 - don't display media control for very short sound. r=sebastian
For the short sound, we don't want to show the media control interface for them, eg. game effect.
Therefore, we check the media's duration to decide whether need to notify Java side "Tab:MediaPlaybackChange" or not.

MozReview-Commit-ID: 8PlQl2w2BSI

--HG--
extra : rebase_source : c4e5d38eae1dba22af268ea575dd6c9672e7cf9f
2016-11-01 12:22:39 +08:00
Alastor Wu
0b4de10955 Bug 1313559 - Don't need to notify gecko if the media was resumed-from-page. r=sebastian
MozReview-Commit-ID: Cemch546mcS

--HG--
extra : rebase_source : 7fc89123f5682db4ed1c9e6c8197c26102c8ad72
2016-10-28 11:49:22 +08:00
Phil Ringnalda
56dcb2694d Merge m-i to m-c, a=merge
MozReview-Commit-ID: J2Mx0f21eBE
2016-10-31 18:35:14 -07:00
Dylan Roeh
041f83edff Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb 2016-10-31 14:10:25 -05:00
Andrzej Hunt
479cba13d7 Bug 1311842 - Manually set intrinsic bounds on DrawableCompat to ensure visibility r=sebastian
This seems to be a change and/or regression in the 23.4.0 support libraries, which results
in the drawable being treated as having no (or infintely small) bounds, and therefore
no drawable being shown on screen. This workaround is only needed on Android <= 4.4.4, i.e.
pre-Lollipop.

MozReview-Commit-ID: LOg3Dd6gtZx

--HG--
extra : rebase_source : dc653f7dc85135b799d0da3e784913cdd9a3f973
2016-10-20 15:49:09 -07:00
Andrzej Hunt
8dbccb2568 Bug 1312467 - Hide some items for TopSites context menu r=sebastian
MozReview-Commit-ID: JHEr4IraLQB

--HG--
extra : rebase_source : 90c82f20e989985117664cf0976103fb263f7f62
extra : source : 62e2d99d7e90fff134b484bdec3b6882290a0f8c
2016-10-31 15:42:44 +01:00
Andrzej Hunt
06b497d10f Bug 1312467 - Add context menu support to topsites r=sebastian
MozReview-Commit-ID: TQ4gTgRqGq

--HG--
extra : rebase_source : 5874e27694c38d5015ef833a0bf10cf08414589f
extra : source : 205086e17a73a6042528324f946e0b1ded5f71a5
2016-10-25 11:38:52 -07:00
Andrzej Hunt
7c91f7ce75 Bug 1312467 - Pass url-open listeners into TopSitesCard and handle clicks there r=sebastian
This is in preparation for adding context-menu support to TopSitesCard, which requires
the two url-open listeners.

MozReview-Commit-ID: 7ubTCqCqcW9

--HG--
extra : rebase_source : 25d5e3c90e52ce4bca66650bf35887b8411f0b78
extra : source : b2757c2c28993795b6db83924869514a2592a448
2016-10-25 11:29:23 -07:00
Andrzej Hunt
c14afcbec7 Bug 1312467 - Also store topsites title in TopSite data structure r=sebastian
MozReview-Commit-ID: FlWeufLHjPE

--HG--
extra : rebase_source : cba5e91cecf24eed674f71b236d3715339183ba3
2016-10-25 11:20:06 -07:00
Andrzej Hunt
ea8412b88e Bug 1312467 - Move TouchTarget handling into generic helper class r=sebastian
This will allow us to reuse it for other similar menu buttons.

MozReview-Commit-ID: L8pleo8bQp9

--HG--
extra : rebase_source : cf925c13437001d392eb7397835e26029a2426d3
extra : source : cf46aca08e8c9a53df820dff629c6c2f9958aa84
2016-10-31 15:42:30 +01:00
Andrzej Hunt
e4d10e49c6 Bug 1312467 - Move touch target size definition into resources r=sebastian
MozReview-Commit-ID: IKDfFyhQAdS

--HG--
extra : rebase_source : 1f6262c2d796b6999800b433b3e911e50ad2d528
2016-10-25 10:48:22 -07:00
Valentin Gosu
e825b942e9 Bug 1307456 - Remove PackagedAppService/Verifier r=bagder
MozReview-Commit-ID: LgT7RQAbEf8

--HG--
extra : rebase_source : 25ac286f8b0b69dfb0c80966a78926751f955284
2016-10-31 15:21:14 +01:00
Valentin Gosu
b70924b271 Bug 1307456 - Remove dom/newapps r=baku
MozReview-Commit-ID: BjT3IB9AK0E

--HG--
extra : rebase_source : 7d7c8e4ec4a68f52b5c9325d964c25d2d2c7f265
2016-10-31 15:21:11 +01:00
Sebastian Kaspari
104c2f19a6 Bug 1313316 - Show activity stream setting if build flag is enabled or user is enrolled in experiment. r=ahunt
MozReview-Commit-ID: CEchCITzX0O

--HG--
extra : rebase_source : c66b3b7a7b05a6bd84488de4827abd9c3f6225d8
2016-10-28 14:01:02 +02:00
Sebastian Kaspari
2d10d3097d Bug 1313316 - Add 'activity-stream' experiment. r=ahunt
MozReview-Commit-ID: bamyo1Yb1o

--HG--
extra : rebase_source : 3cc6155f05fc6bf603209d50b06afca47e2e1ee8
2016-10-28 14:00:03 +02:00
Sebastian Kaspari
1a9b2949bf Bug 1313391 - Move HLS video playback behind a switchboard flag. r=snorp
This will allow us to ship the feature to a subset of the users or pull the feature without
needing to release a new version of the app.

MozReview-Commit-ID: 3rGLT29wuyC

--HG--
extra : rebase_source : 993b7c34aace5d7a5f7d1c63eb65ce1ed39aab7f
2016-10-28 20:16:56 +02:00
Sebastian Kaspari
e18aec9098 Bug 1313363 - NotificationClient: Use BigTextStyle instead of InboxStyle. r=Grisha
There's no reason to use InboxStyle here. We do not add any items to the list.
Currently the content text is truncated aggressively showing only one line of
text. With BigTextStyle we can show a lot more.

MozReview-Commit-ID: 8CQZVHzc7b8

--HG--
extra : rebase_source : c717e0c532d7ee101fac89e12db7961e44e811f7
2016-10-28 17:18:52 +02:00
Eugen Sawin
5999591289 Bug 1307886 - [1.2] Remove szip support. r=glandium 2016-10-28 12:59:23 +02:00
Phil Ringnalda
b6eec64324 Merge m-c to a CLOSED TREE m-i
MozReview-Commit-ID: 2JxLeQ8GYIX
2016-10-27 20:36:38 -07:00
Phil Ringnalda
9fa3ebe028 Backed out changeset 582e5f96a727 (bug 1262251) for Linux serviceworker bustage 2016-10-27 18:50:12 -07:00
Dylan Roeh
df4c14e4bb Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb 2016-10-27 13:58:39 -05:00
Michael Layzell
de29c95ed2 Bug 1303196 - Part 7: Updates to apply correctly after noopener changes, r=smaug
MozReview-Commit-ID: 25Ew2PLpP5c
2016-10-27 15:53:35 -04:00
Michael Layzell
0f986f1b54 Bug 1303196 - Part 6: Correctly set the opener when creating new tabs on android, r=smaug
MozReview-Commit-ID: CLT9G1o6lXv
2016-10-27 15:53:35 -04:00
Wes Kocher
cbc0a94248 Backed out changeset 0349a81229e7 (bug 1262251) for build bustage a=backout CLOSED TREE
--HG--
extra : amend_source : 68bb204192d6e3f0c2ae4287dbbf09b81f676f64
2016-10-27 11:55:12 -07:00
Dylan Roeh
04eecc22e1 Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb 2016-10-27 12:49:50 -05:00
KuoE0
ac8b575853 Bug 1285870 - Show custom presentation on Chromecast. r=sebastian,snorp
MozReview-Commit-ID: 3DlbZMDFySA

--HG--
extra : rebase_source : aef9105a22b8cacc06caf557c0d35050619ac7b9
2016-10-03 17:12:57 +08:00
KuoE0
11677f5c9c Bug 1305351 - Add ChromeCastDisplay for Presentation API. r=snorp
MozReview-Commit-ID: A9yXeADOA0Y

--HG--
extra : rebase_source : cebed59abe241a81e8e116245a85be7488931ba9
2016-09-21 20:24:57 +08:00
Alastor Wu
0b06159c5f Bug 1311245 - part4 : remove redundant state. r=sebastian
After lots changing in media control's code, we don't need 'ACTION_START' anymore.

MozReview-Commit-ID: 3KktTrY4HoR

--HG--
extra : rebase_source : e54e59bdaef38b0f4742b94285fae477dbd02e02
2016-10-27 10:12:32 +08:00
Alastor Wu
95c44cf1ee Bug 1311245 - part3 : mActionState should only store resume/pause/stop. r=sebastian
There is no big difference between 'ACTION_RESUME' and 'ACTION_RESUME_BY_AUDIO_FOCUS', we can simplify it.

MozReview-Commit-ID: 4nqfgoopuJ6

--HG--
extra : rebase_source : adf46ef7f3ccd81ed68c02ba32187a8da8b8c7a0
2016-10-27 10:12:30 +08:00
Alastor Wu
8800fa805c Bug 1311245 - part2 : make sure the mActionState would be modified everytime the UI interface changed. r=sebastian
Make sure the value of |mActionState| is correct after we modified the media control's interface.

MozReview-Commit-ID: 6Nhu1gqCFrD

--HG--
extra : rebase_source : 0f7104698feac19112aa6229108fae6c45261769
2016-10-27 10:12:23 +08:00
Alastor Wu
ef912c4dcd Bug 1311245 - part1 : don't need to dispatch event to gecko again when receving tab event 'MEDIA_PLAYING_CHANGE' and 'CLOSED'. r=sebastian
We don't need gecko to do something when receiving 'MEDIA_PLAYING_CHANGE' and 'CLOSED'. The only thing we need to do in Java side is to modify the media control's UI interface.

MozReview-Commit-ID: 6NrNraVOixg

--HG--
extra : rebase_source : 1342e5f44d9ed62d008cf9298832953b19a98d15
2016-10-27 10:11:46 +08:00
Alastor Wu
0819c4e347 Bug 1302453 - part2 : notify MediaControlService when the media is resumed. r=sebastian
When user resumes media from the page, we should notify MediaControlService so
that it can change the playing icon to the correct status.

MozReview-Commit-ID: 15e2GrxvB6a

--HG--
extra : rebase_source : 3bb6714c6c8e10d83a629dc7dd55d6e8a3070b0f
2016-10-27 10:00:25 +08:00
Phil Ringnalda
f5e82adbfe Backed out changeset baf3f0f96116 (bug 1311960) for Android mochitest, mochitest-media, and crashtest bustage 2016-10-26 20:48:39 -07:00
John Lin
097a82d6ac Bug 1311960 - Turn on remote media decoding preference on Android Nightly. r=snorp
MozReview-Commit-ID: KZ5l7L3rnMu

--HG--
extra : rebase_source : e2840146a857739c6db92bab993dac88e95c63fb
2016-10-21 18:07:52 +08:00
Sebastian Kaspari
1eefd99be6 Bug 1312033 - Activity Stream Top Sites: Never add more sites than returned by the cursor. r=ahunt
MozReview-Commit-ID: JONNSrRPNyW

--HG--
extra : rebase_source : 8f4f6adacc6b95d497a98f693783be5dfe6db94b
2016-10-25 15:16:40 +02:00
Sebastian Kaspari
463d8d9ba6 Bug 1311938 - Activity Stream: Use default base margin for "highlights" label. r=ahunt
MozReview-Commit-ID: BjCchrU6PZt

--HG--
extra : rebase_source : fa92fb3b160e099edaffd2523dc5605b57b9771c
2016-10-25 16:21:11 +02:00
Phil Ringnalda
8cf1367dd8 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FnnOWQ3xKPi
2016-10-25 22:03:31 -07:00
Geoff Brown
93d707e2e0 Bug 1285386 - Guard against NPE and other exceptions in SearchEngine creation; r=sebastian 2016-10-25 10:57:37 -06:00
Geoff Brown
0d6eb4cd88 Bug 1293895 - Guard against more exceptions in createEngineFromLocale; r=sebastian 2016-10-25 10:57:36 -06:00
Jim Chen
5f906265fe Bug 1307816 - 16. Fix charset for robocop_input.html; r=me
Trivial patch to include a meta charset line in robocop_input.html.
2016-10-25 12:28:54 -04:00
Jim Chen
4413af86a7 Bug 1307816 - 14. Save composition update for later; r=esawin
Turns out the Facebook comment box doesn't work well if we send
compositions alongside set/remove span events. This patch adds back the
update composition flag, but only sends composition when necessary,
which is only right before we send key events.

Because onImeUpdateComposition is no longer associated with a separate
action, it no longer sends back a reply using AutoIMESynchronize.
2016-10-25 12:28:54 -04:00
Jim Chen
a2bfe7c444 Bug 1307816 - 12. Fix up selection and composition when replacing text from Gecko; r=esawin
When a Gecko text change spans larger than our original request, we have
to do the replacement in parts in order to preserve any spans from the
original request. There was a bug where the selection is moved to the
wrong offset after the three replacements. This patch switches the order
of the two replacements and manually fixes up the selection.

For any text changes that originated on the Gecko side, this patch also
splits the replacement into two parts (delete + insert), so that old
composing spans are properly cleared first. This new behavior changes
the expected result for the test added by bug 1051556, so the test is
changed as well.. I think this new behavior is more correct, but if it
results in regressions, we can reevaluate.
2016-10-25 12:28:54 -04:00
Jim Chen
7aeb565019 Bug 1307816 - 11. Use GeckoThread for waiting on Gecko; r=esawin
Right now we send a "process-gecko-events" message to
GeckoInputConnection in order to wait on Gecko during testing. However,
now we have GeckoThread.waitOnGecko() to do that, so we can just use
that directly.
2016-10-25 12:28:54 -04:00
Jim Chen
6044706d5d Bug 1307816 - 10. Move text/selection assert methods to InputConnectionTest; r=esawin
Under asynchronous IME, when we check text/selection for correctness, we
have to wait for the IC thread to sync the shadow text first. In order
to do that inside the assert methods, we have to move them to inside
InputConnectionTest, so that they can call processGeckoEvents() and
processInputConnectionEvents().

Also, ignore a single newline character, if present, at the end of the
actual text, because it's a side effect of some editing operations in
Gecko (e.g. clearing all text in an HTML editor).
2016-10-25 12:28:53 -04:00
Jim Chen
5e0f876ff7 Bug 1307816 - 9. Fix IC thread switching after async refactoring; r=esawin
When switching the IC thread from one thread to another, we can no
longer block on the old IC thread waiting for the Gecko thread. However,
we still block on the new IC thread, waiting for the old IC thread to
finish processing any old events.
2016-10-25 12:28:53 -04:00
Jim Chen
34ec3f2d7d Bug 1307816 - 8. Sync shadow text to current text; r=esawin
Sync the shadow text to the current text when the selection or text
changes on the Gecko side, provided we are not in batch mode and if we
don't have pending actions. Otherwise, remember the skipped sync and
re-sync when we exit batch mode and/or finish all pending actions.
2016-10-25 12:28:53 -04:00
Jim Chen
d79992b10f Bug 1307816 - 7. Flush text before sending focus event; r=esawin
We used to flush the Java side text upon receiving the acknowledge-focus
event, at which point the Java side is waiting on the Gecko side.
Because of the async IME refactoring, we can no longer wait on the Java
side, so we have to flush the text early, before sending the first focus
notification. Also, the acknowledge-focus event is no longer needed as a
result.

Our call to InputMethodManager to restart input also has to changed due
to the change in calling sequence between notifyIME and
notifyIMEContext.
2016-10-25 12:28:53 -04:00
Jim Chen
336c81d4d5 Bug 1307816 - 6. Remove ActionQueue and switch to AsyncText; r=esawin
Due to async IME refactoring, we no longer need the blocking mechanism
in ActionQueue. As a result of the simplified code, we can remove
ActionQueue entirely and move its code to under GeckoEditable.
ActionQueue.offer() is now icOfferAction().

This patch also makes mText an instance of AsyncText, and change all
accesses to mText to reflect the new async interface, i.e. accesses on
the Gecko thread go through getCurrentText() and the current*** methods,
and accesses on the IC thread go through getShadowText() and the
shadow*** methods.
2016-10-25 12:28:53 -04:00
Jim Chen
ecc67bcfe8 Bug 1307816 - 5. Add AsyncText class for handling asynchronous text editing; r=esawin
AsyncText keeps two copies of the text - the current copy on the Gecko
thread that is the authoritative version of the text, and the shadow
copy on the IC thread that reflects what we think the current text is.

When editing the text on the IC thread, the shadow copy is modified
directly, and then the modification is sent to the Gecko thread, which
modifies the current copy concurrently. Depending on what Gecko does to
the text, the current copy may diverge from the shadow copy, but
periodically, the shadow copy is synced to the current copy through
AsyncText.syncShadowText() to make the two copies identical again.
2016-10-25 12:28:53 -04:00
Jim Chen
9dc213e960 Bug 1307816 - 4. Stop sending separate composition updates; r=esawin
As part of async IME refactoring, we will no longer send composition
updates separately. Instead, composition updates will be integrated into
the set-span and remove-span events, similar to what we already do for
replace-text events.
2016-10-25 12:28:53 -04:00
Jim Chen
1ee888a6b6 Bug 1307816 - 3. Don't implement GeckoEditableListener in GeckoEditable; r=esawin
GeckoEditable implemented GeckoEditableListener because GeckoAppShell
called its methods through GeckoEditableListener, but now we use JNI to
call GeckoEditable methods directly, so GeckoEditable no longer has to
implement GeckoEditableListener.

This change also lets us simplify GeckoEditableListener by making
onTextChange and onSelectionChange no longer have any parameters.
2016-10-25 12:28:53 -04:00
Jim Chen
8ad0835dc6 Bug 1307816 - 2. Make clearSpans call go through Gekco; r=esawin
Currently, clearSpans calls are carried out immediately, but that makes
it out of order in relation to other calls, which have to go through
Gecko. This patch fixes this issue.
2016-10-25 12:28:53 -04:00
Jim Chen
db7d4844ae Bug 1307816 - 1. Remove legacy IME code; r=esawin
Remove the event listener in GeckoEditable that was used for old text
selection code. It's no longer relevant for the new accessible carets
code.
2016-10-25 12:28:52 -04:00
Carsten "Tomcat" Book
59a29b8b1c merge mozilla-inbound to mozilla-central a=merge 2016-10-25 10:31:03 +02:00
Carsten "Tomcat" Book
68791df42a merge fx-team to mozilla-central a=merge 2016-10-25 10:28:08 +02:00
Andrzej Hunt
19f83cb748 Bug 1300144 - Implement Activity Stream "context" bottomsheet menu r=sebastian
MozReview-Commit-ID: ARvuWk7H99m

--HG--
extra : histedit_source : 52f83c7f40bb448855e0dc6dd749e9a08efe8c4d
2016-10-24 10:17:14 -07:00
Carsten "Tomcat" Book
b9e15ec151 Merge mozilla-central to mozilla-inbound 2016-10-24 16:56:37 +02:00
Tushar Saini (:shatur)
551edc4ced Bug 1312795 - Remove shouldUseTransactions method and related code. r=sebastian
MozReview-Commit-ID: xRXPi9yvff

--HG--
extra : rebase_source : 822069c5ffe676d1abd6a5d6b07c79a14ae6794a
2016-10-25 22:54:59 +05:30
Kartikaya Gupta
213392281d Bug 1312743 - Remove more code that's unused after the removal of JPZ. r=snorp
MozReview-Commit-ID: 6lbyoAIGP6H

--HG--
extra : rebase_source : 12eab3f8c5d952e88ea03bdac964869aeda50e47
2016-10-25 13:07:22 -04:00
Kartikaya Gupta
0ac93be86f Bug 1301593 - Fix typo in model number. r=sebastian
MozReview-Commit-ID: IZTk57YxCRb
2016-10-24 08:52:23 -04:00
Andrzej Hunt
c14d36e55b Bug 1300144 - Import Activity Stream (VectorDrawable) menu icons r=sebastian
MozReview-Commit-ID: 66TGmjHYkeD

--HG--
extra : histedit_source : 3e53dcb48ca23e7182d8a07c2fb3ef0b5be14b0f
2016-10-07 16:01:26 +02:00
Andrzej Hunt
63cbca5ca4 Bug 1300144 - Pre: pass mUrlOpenInBackgroundListener into HighlightsItem r=sebastian
This will be needed for opening background/private tabs from the highlights menu.

MozReview-Commit-ID: 8wvFuTgl2SP

--HG--
extra : histedit_source : de4024ee986c5a48d9da4206160cf960b1d7bc3c
2016-10-19 15:41:44 -07:00
Andrzej Hunt
38b08f88b4 Bug 1300144 - Increase touch area for menu button r=sebastian
MozReview-Commit-ID: GBdLisIwFuH

--HG--
extra : histedit_source : a07bc6793d299d036b9bbce8d420327ac7698f59
2016-10-19 16:32:29 -07:00
Andrzej Hunt
0c4033a18b Bug 1311741 - Remove "--non-constant-id" from aapt invocations r=nalexander
This flag seems to no longer be needed, and prevents the use of switch statements for resource ID's. It was first introduced for mach based geckoview builds, however geckoview now seems to be built using gradle which is able to invoke aapt to produce better R.java's, resulting in constant Resource ID's in Fennec.

MozReview-Commit-ID: EjWCX4nvlht

--HG--
extra : rebase_source : 3eb30debbc76c39bd8e367bf8709eaaf1592f42a
2016-10-24 09:39:43 -07:00
Rob Wu
67b8230b49 Bug 1287007 - Remove .contentWindow from ProxyContext r=billm
MozReview-Commit-ID: ASNigrM07yz

--HG--
extra : rebase_source : e9169090ec8cb1d9822f235faa15516403576dde
2016-09-13 16:02:03 -07:00
Andrzej Hunt
d5dfc69ce9 Bug 1311561 - Add basic AS context menu robocop tests r=sebastian
MozReview-Commit-ID: A90BvpuHJHb

--HG--
extra : rebase_source : a8cc551a54539cdeb0461f591b10c2b26d3ce302
2016-10-20 09:22:04 -07:00
Andrzej Hunt
f4033b9482 Bug 1311561 - Pre: add design support library to robocop r=nalexander,sebastian
We want to access ActivityStreamContextMenu directly in our new test. That menu
extends BottomSheetDialog which is contained in the design support library, hence
we need to make that library available in robocop builds in order to access
the AS context menu.

MozReview-Commit-ID: EPyv7wvkJAE

--HG--
extra : rebase_source : cafe1e7dd6fbdcfb471cf5f66a1c0522e796c3aa
2016-10-20 09:19:22 -07:00
Tushar Saini (:shatur)
84a83b607a Bug 1264596 - GeckoApp: Remove mCameraView and related code. r=gcp,sebastian
MozReview-Commit-ID: ACgp4iIAigw

--HG--
extra : rebase_source : e0c92b6d8e68d82b7db3c195e22a457dbc43d95d
2016-10-20 19:27:59 +05:30
John Lin
b1959d4411 Bug 1306483 - Part 2: send notification immediately when caller sender shares looper with buffer poller. r=esawin
MozReview-Commit-ID: 9hZB6TI4A6X

--HG--
extra : rebase_source : 721b571b4f606cf2d1766a175d1085d78f61197a
2016-10-20 15:43:25 +08:00
John Lin
beefbc8533 Bug 1306483 - Part 1: use concurrent queue to fix race condition. r=snorp
MozReview-Commit-ID: HRus9Sn7k6q

--HG--
extra : rebase_source : 2b5330bf4e97182e6026aaac85eb9c5dc85a89db
2016-10-20 15:25:44 +08:00
Rob Wu
8a87af36f9 Bug 1287007 - Require "async" in schemas to match name r=billm
In the pageAction and browserAction schemas, several methods are
declared with `"async": true` but without a specified callback in the
`"parameters"` object, so callbacks are not allowed. However, when a
callback is proxied, the `ParentAPIManager` will mirror the call by
passing in an extra callback to the proxied API - and break.

This patch fixes the issue by removing uses of async:true.  Also for
consistency between the browserAction and pageAction methods, the
methods that were not declared as async have also been marked as async.

MozReview-Commit-ID: JQqzmTUAotB

--HG--
extra : rebase_source : 62d1cbc4843dd6c792318337158e4311f8df94a4
2016-09-02 03:37:55 -07:00
Sylvestre Ledru
8a08c99745 Bug 1312421 - Rename of the aurora version in the app launcher r=sebastian
MozReview-Commit-ID: yufnOHQoeG

--HG--
extra : rebase_source : d4f1b9a772e78254d170786a52497e51aa279215
2016-10-24 16:12:40 +02:00
Francesco Lodolo (:flod)
137b1b3a57 Bug 1311693 - Remove Belarusian (be) from nightly single locale builds. r=delphine 2016-10-20 07:12:00 -04:00
Michelangelo De Simone
07411b2cc6 Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA

--HG--
extra : rebase_source : a178eee07034fb2aa1415b64bec1946230fd1c5e
2016-10-17 17:26:51 -07:00
Andrzej Hunt
1b71b782de Bug 1311533 - Switch Activity Stream topsites card back to FilledCardView r=sebastian
This ensures no white borders around the favicons when on Android 4, no changes
on Android 5. Read FilledCardView for the full background on the border/corner
issue that happens on Android <= 4.

MozReview-Commit-ID: IsBcp7xxwjn

--HG--
extra : rebase_source : c37fbfe63eba9d8af4bc0c7b4d4535a380b6d3bd
2016-10-19 14:56:51 -07:00
KuoE0
685b64a883 Bug 1282003 - (Part 3) Add screen ID to nsWindow and GeckoView to get the correct nsScreen and density. r=snorp
MozReview-Commit-ID: Cd9MS2I1RRQ

--HG--
extra : rebase_source : 3e557dc9bb3836cee6ecb86ddeb3c9647221195c
2016-09-29 14:23:56 +08:00
KuoE0
8ebc7fc433 Bug 1282003 - (Part 2) Add screenManagerHelper in Java. r=snorp
MozReview-Commit-ID: BLw6e7dgldt

--HG--
extra : rebase_source : ee5b4bc83e055836b5a739e519d1873252ce6b53
2016-09-23 23:03:00 +08:00
Phil Ringnalda
6c91017f20 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FA9OZyjP59N
2016-10-18 19:36:18 -07:00
Ehsan Akhgari
e3186e29a7 Bug 1310910 - Remove ChromeNotifications; r=baku
This partially backs out bug 967475.
2016-10-18 09:41:56 -04:00
Kartikaya Gupta
d9a7400119 Bug 1311030 - Remove more code unused since the deletion of JPZ. r=snorp
MozReview-Commit-ID: 1p8aWShTrQf

--HG--
extra : rebase_source : 49d83e86dc9c2b38c7486a04bd7e830d165c34db
2016-10-18 12:34:25 -04:00
Benjamin Smedberg
ed2a6c5769 Bug 1307445 part A - Don't ever show "A plugin is needed to display this content." or "This plugin is disabled." - Just always use fallback content or empty content. r=mconley+sebastian
MozReview-Commit-ID: ClnOkK3sWIK

--HG--
extra : rebase_source : 0325b830088bef3a7ee5a506041c8eafafbf50e2
2016-10-18 08:42:12 -04:00
Carsten "Tomcat" Book
5c08a87874 merge mozilla-inbound to mozilla-central a=merge 2016-10-18 10:38:37 +02:00
Wes Kocher
9abb1e1c41 Merge m-c to inbound, a=merge 2016-10-17 15:37:34 -07:00
James Willcox
632ab10f06 Bug 1308534 - Use e10s in GeckoView r=jchen 2016-10-17 15:05:35 -05:00
Ehsan Akhgari
ea467855d3 Bug 1310721 - Remove support for the b2g PAC generator; r=mcmanus
This effectively backs out bug 1115495.
2016-10-17 14:10:45 -04:00
Carsten "Tomcat" Book
54cb47289d Merge mozilla-central to autoland 2016-10-17 11:38:07 +02:00
Carsten "Tomcat" Book
d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
Mike Taylor
08a11e7624 Bug 1310252. Update webcompatURL to point to new simplified reporting endpoint. r=sebastian 2016-10-17 11:44:18 +08:00
Sebastian Kaspari
b600b36c33 Bug 1308525 - Update activity stream panel to follow new UX mocks. r=Grisha
Okay, this patch is much bigger than I anticipated. However at this point it is impossible
to separate all the interweaved changes.

* Update sizes and colors
* Use a dynamic number of top sites tiles to adjust to the screen size
* Do not keep references (to possible outdated) Cursors from every top sites page
* Remove unused bottom panel
* Add menu button to highlights items

MozReview-Commit-ID: 2CeEGCOXBKl

--HG--
extra : rebase_source : a780ec20fa6f87520c3418403ae4fe259ff39d69
2016-10-12 15:07:26 +02:00
Ralph Giles
b6f0cf80ab Bug 1306438 - Update builders to rust 1.12.0 stable; r=mshal
Update builders to repacks of the upstream stable builds.
2016-10-15 22:16:13 +00:00
Sebastian Kaspari
439863da4e Bug 1308631 - UpdateService: Do not apply update without update path. r=Grisha
Update path can be null. In this case we fallback to using the last saved path. However
if this doesn't exist either then we just continue with a null path and eventually crash
the service.

MozReview-Commit-ID: Kuihp496TEo

--HG--
extra : rebase_source : 96e2182571f4b2235b3fea25f449b2dbb3e17bb8
2016-10-17 11:19:14 +02:00
Tom Klein
e321ee77d6 Bug 1116415 - 6. Provide fixed TouchDelegate class. r=sebastian
The Android version of TouchDelegate never resets the value of its
mDelegateTargeted, which means that once an event is delegated, future events
can get delegated as well, regardless of whether the event occurs within the
TouchDelegate's bounds.  Because of the geometry this is more of an issue with
the (future RecyclerView version of) TabsGridLayout, but it can occur on
TabsLinearLayout as well where we use a TouchDelegate to increase the hit size
of the close button on a tab - once a close button is hit by delegation and the
tab is closed, the next time that tab is recycled it will continue to delegate
ACTION_UP events to the close button (in which case they're silently dropped)
even if the ACTION_DOWN was not in the close button's delegation area.

This commit introduces TouchDelegateWithReset, which is simply an override copy
of TouchDelegate with one extra block (commented in the new class) to reset
mDelegateTargeted on each new gesture received.

MozReview-Commit-ID: 5xrPBAdAK6D

--HG--
extra : rebase_source : d1b9c7a443b0590c63433ea6855c8a1ae0662455
extra : source : 0c267676cb0824d916f398155b0d5b7dec6f346c
2016-09-21 17:49:06 -05:00
Tom Klein
00fcb583c9 Bug 1116415 - 5. Send the index of an added tab as data. r=sebastian
Use the index in TabsLayout to specify where a tab was inserted instead of just
replacing the entire tabs list on a tab add.

MozReview-Commit-ID: Feft0RlN97r

--HG--
extra : rebase_source : 1ff47946d9e94d08dfcee34364c65ae7f8c02e7a
2016-10-13 10:26:53 -05:00
Sebastian Kaspari
c895647145 Bug 1310603 - Activity Stream highlights: Add "Visited" and "Bookmarked" icons. r=Grisha
MozReview-Commit-ID: I6lIIRLBXeA

--HG--
extra : rebase_source : eb784ad5efda2bdc8fe3d1cec8447c7efdddac6d
2016-10-13 15:11:21 +02:00
Carsten "Tomcat" Book
2a3218cb9a Merge mozilla-central to autoland 2016-10-18 10:45:57 +02:00
Mark Banner
56a7b3961a Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I

--HG--
rename : .eslintrc => .eslintrc.js
rename : accessible/.eslintrc => accessible/.eslintrc.js
rename : accessible/tests/browser/.eslintrc => accessible/tests/browser/.eslintrc.js
rename : browser/.eslintrc => browser/.eslintrc.js
rename : browser/base/content/test/alerts/.eslintrc => browser/base/content/test/alerts/.eslintrc.js
rename : browser/base/content/test/chrome/.eslintrc => browser/base/content/test/chrome/.eslintrc.js
rename : browser/base/content/test/general/.eslintrc => browser/base/content/test/general/.eslintrc.js
rename : browser/base/content/test/newtab/.eslintrc => browser/base/content/test/newtab/.eslintrc.js
rename : browser/base/content/test/plugins/.eslintrc => browser/base/content/test/plugins/.eslintrc.js
rename : browser/base/content/test/popupNotifications/.eslintrc => browser/base/content/test/popupNotifications/.eslintrc.js
rename : browser/base/content/test/referrer/.eslintrc => browser/base/content/test/referrer/.eslintrc.js
rename : browser/base/content/test/social/.eslintrc => browser/base/content/test/social/.eslintrc.js
rename : browser/components/contextualidentity/test/browser/.eslintrc => browser/components/contextualidentity/test/browser/.eslintrc.js
rename : browser/components/customizableui/test/.eslintrc => browser/components/customizableui/test/.eslintrc.js
rename : browser/components/dirprovider/tests/unit/.eslintrc => browser/components/dirprovider/tests/unit/.eslintrc.js
rename : browser/components/downloads/test/browser/.eslintrc => browser/components/downloads/test/browser/.eslintrc.js
rename : browser/components/downloads/test/unit/.eslintrc => browser/components/downloads/test/unit/.eslintrc.js
rename : browser/components/extensions/.eslintrc => browser/components/extensions/.eslintrc.js
rename : browser/components/extensions/test/browser/.eslintrc => browser/components/extensions/test/browser/.eslintrc.js
rename : browser/components/extensions/test/xpcshell/.eslintrc => browser/components/extensions/test/xpcshell/.eslintrc.js
rename : browser/components/feeds/test/.eslintrc => browser/components/feeds/test/.eslintrc.js
rename : browser/components/feeds/test/chrome/.eslintrc => browser/components/feeds/test/chrome/.eslintrc.js
rename : browser/components/feeds/test/unit/.eslintrc => browser/components/feeds/test/unit/.eslintrc.js
rename : browser/components/migration/tests/unit/.eslintrc => browser/components/migration/tests/unit/.eslintrc.js
rename : browser/components/newtab/tests/browser/.eslintrc => browser/components/newtab/tests/browser/.eslintrc.js
rename : browser/components/newtab/tests/xpcshell/.eslintrc => browser/components/newtab/tests/xpcshell/.eslintrc.js
rename : browser/components/originattributes/test/browser/.eslintrc => browser/components/originattributes/test/browser/.eslintrc.js
rename : browser/components/places/tests/browser/.eslintrc => browser/components/places/tests/browser/.eslintrc.js
rename : browser/components/places/tests/chrome/.eslintrc => browser/components/places/tests/chrome/.eslintrc.js
rename : browser/components/places/tests/unit/.eslintrc => browser/components/places/tests/unit/.eslintrc.js
rename : browser/components/preferences/in-content/tests/.eslintrc => browser/components/preferences/in-content/tests/.eslintrc.js
rename : browser/components/privatebrowsing/test/browser/.eslintrc => browser/components/privatebrowsing/test/browser/.eslintrc.js
rename : browser/components/safebrowsing/content/test/.eslintrc => browser/components/safebrowsing/content/test/.eslintrc.js
rename : browser/components/search/test/.eslintrc => browser/components/search/test/.eslintrc.js
rename : browser/components/selfsupport/test/.eslintrc => browser/components/selfsupport/test/.eslintrc.js
rename : browser/components/sessionstore/test/.eslintrc => browser/components/sessionstore/test/.eslintrc.js
rename : browser/components/sessionstore/test/unit/.eslintrc => browser/components/sessionstore/test/unit/.eslintrc.js
rename : browser/components/shell/test/.eslintrc => browser/components/shell/test/.eslintrc.js
rename : browser/components/shell/test/unit/.eslintrc => browser/components/shell/test/unit/.eslintrc.js
rename : browser/components/tests/browser/.eslintrc => browser/components/tests/browser/.eslintrc.js
rename : browser/components/translation/test/.eslintrc => browser/components/translation/test/.eslintrc.js
rename : browser/components/translation/test/unit/.eslintrc => browser/components/translation/test/unit/.eslintrc.js
rename : browser/components/uitour/test/.eslintrc => browser/components/uitour/test/.eslintrc.js
rename : browser/experiments/test/xpcshell/.eslintrc => browser/experiments/test/xpcshell/.eslintrc.js
rename : browser/extensions/formautofill/.eslintrc => browser/extensions/formautofill/.eslintrc.js
rename : browser/extensions/formautofill/test/browser/.eslintrc => browser/extensions/formautofill/test/browser/.eslintrc.js
rename : browser/extensions/pdfjs/test/.eslintrc => browser/extensions/pdfjs/test/.eslintrc.js
rename : browser/modules/test/.eslintrc => browser/modules/test/.eslintrc.js
rename : browser/modules/test/unit/social/.eslintrc => browser/modules/test/unit/social/.eslintrc.js
rename : browser/modules/test/xpcshell/.eslintrc => browser/modules/test/xpcshell/.eslintrc.js
rename : devtools/.eslintrc => devtools/.eslintrc.js
rename : devtools/.eslintrc.mochitests => devtools/.eslintrc.mochitests.js
rename : devtools/.eslintrc.xpcshell => devtools/.eslintrc.xpcshell.js
rename : devtools/client/aboutdebugging/test/.eslintrc => devtools/client/aboutdebugging/test/.eslintrc.js
rename : devtools/client/animationinspector/test/.eslintrc => devtools/client/animationinspector/test/.eslintrc.js
rename : devtools/client/animationinspector/test/unit/.eslintrc => devtools/client/animationinspector/test/unit/.eslintrc.js
rename : devtools/client/canvasdebugger/test/.eslintrc => devtools/client/canvasdebugger/test/.eslintrc.js
rename : devtools/client/commandline/test/.eslintrc => devtools/client/commandline/test/.eslintrc.js
rename : devtools/client/debugger/new/test/mochitest/.eslintrc => devtools/client/debugger/new/test/mochitest/.eslintrc.js
rename : devtools/client/debugger/test/.eslintrc => devtools/client/debugger/test/.eslintrc.js
rename : devtools/client/dom/.eslintrc => devtools/client/dom/.eslintrc.js
rename : devtools/client/dom/test/.eslintrc => devtools/client/dom/test/.eslintrc.js
rename : devtools/client/framework/test/.eslintrc => devtools/client/framework/test/.eslintrc.js
rename : devtools/client/inspector/.eslintrc => devtools/client/inspector/.eslintrc.js
rename : devtools/client/inspector/components/test/.eslintrc => devtools/client/inspector/components/test/.eslintrc.js
rename : devtools/client/inspector/computed/test/.eslintrc => devtools/client/inspector/computed/test/.eslintrc.js
rename : devtools/client/inspector/fonts/test/.eslintrc => devtools/client/inspector/fonts/test/.eslintrc.js
rename : devtools/client/inspector/markup/test/.eslintrc => devtools/client/inspector/markup/test/.eslintrc.js
rename : devtools/client/inspector/rules/test/.eslintrc => devtools/client/inspector/rules/test/.eslintrc.js
rename : devtools/client/inspector/shared/test/.eslintrc => devtools/client/inspector/shared/test/.eslintrc.js
rename : devtools/client/inspector/test/.eslintrc => devtools/client/inspector/test/.eslintrc.js
rename : devtools/client/jsonview/.eslintrc => devtools/client/jsonview/.eslintrc.js
rename : devtools/client/jsonview/test/.eslintrc => devtools/client/jsonview/test/.eslintrc.js
rename : devtools/client/memory/test/browser/.eslintrc => devtools/client/memory/test/browser/.eslintrc.js
rename : devtools/client/memory/test/unit/.eslintrc => devtools/client/memory/test/unit/.eslintrc.js
rename : devtools/client/netmonitor/.eslintrc => devtools/client/netmonitor/.eslintrc.js
rename : devtools/client/netmonitor/har/test/.eslintrc => devtools/client/netmonitor/har/test/.eslintrc.js
rename : devtools/client/netmonitor/test/.eslintrc => devtools/client/netmonitor/test/.eslintrc.js
rename : devtools/client/performance/test/.eslintrc => devtools/client/performance/test/.eslintrc.js
rename : devtools/client/performance/test/unit/.eslintrc => devtools/client/performance/test/unit/.eslintrc.js
rename : devtools/client/projecteditor/test/.eslintrc => devtools/client/projecteditor/test/.eslintrc.js
rename : devtools/client/promisedebugger/test/.eslintrc => devtools/client/promisedebugger/test/.eslintrc.js
rename : devtools/client/responsive.html/test/browser/.eslintrc => devtools/client/responsive.html/test/browser/.eslintrc.js
rename : devtools/client/responsive.html/test/unit/.eslintrc => devtools/client/responsive.html/test/unit/.eslintrc.js
rename : devtools/client/responsivedesign/test/.eslintrc => devtools/client/responsivedesign/test/.eslintrc.js
rename : devtools/client/scratchpad/test/.eslintrc => devtools/client/scratchpad/test/.eslintrc.js
rename : devtools/client/shadereditor/test/.eslintrc => devtools/client/shadereditor/test/.eslintrc.js
rename : devtools/client/shared/components/.eslintrc => devtools/client/shared/components/.eslintrc.js
rename : devtools/client/shared/components/test/browser/.eslintrc => devtools/client/shared/components/test/browser/.eslintrc.js
rename : devtools/client/shared/components/test/mochitest/.eslintrc => devtools/client/shared/components/test/mochitest/.eslintrc.js
rename : devtools/client/shared/shim/test/.eslintrc => devtools/client/shared/shim/test/.eslintrc.js
rename : devtools/client/shared/test/.eslintrc => devtools/client/shared/test/.eslintrc.js
rename : devtools/client/shared/test/unit/.eslintrc => devtools/client/shared/test/unit/.eslintrc.js
rename : devtools/client/sourceeditor/.eslintrc => devtools/client/sourceeditor/.eslintrc.js
rename : devtools/client/sourceeditor/test/.eslintrc => devtools/client/sourceeditor/test/.eslintrc.js
rename : devtools/client/storage/test/.eslintrc => devtools/client/storage/test/.eslintrc.js
rename : devtools/client/styleeditor/test/.eslintrc => devtools/client/styleeditor/test/.eslintrc.js
rename : devtools/client/webaudioeditor/test/.eslintrc => devtools/client/webaudioeditor/test/.eslintrc.js
rename : devtools/client/webconsole/net/.eslintrc => devtools/client/webconsole/net/.eslintrc.js
rename : devtools/client/webconsole/net/test/mochitest/.eslintrc => devtools/client/webconsole/net/test/mochitest/.eslintrc.js
rename : devtools/client/webconsole/net/test/unit/.eslintrc => devtools/client/webconsole/net/test/unit/.eslintrc.js
rename : devtools/client/webconsole/new-console-output/test/.eslintrc => devtools/client/webconsole/new-console-output/test/.eslintrc.js
rename : devtools/client/webconsole/test/.eslintrc => devtools/client/webconsole/test/.eslintrc.js
rename : devtools/client/webide/test/.eslintrc => devtools/client/webide/test/.eslintrc.js
rename : devtools/server/tests/browser/.eslintrc => devtools/server/tests/browser/.eslintrc.js
rename : devtools/server/tests/mochitest/.eslintrc => devtools/server/tests/mochitest/.eslintrc.js
rename : devtools/server/tests/unit/.eslintrc => devtools/server/tests/unit/.eslintrc.js
rename : devtools/shared/heapsnapshot/tests/unit/.eslintrc => devtools/shared/heapsnapshot/tests/unit/.eslintrc.js
rename : devtools/shared/platform/content/.eslintrc => devtools/shared/platform/content/.eslintrc.js
rename : devtools/shared/platform/content/test/.eslintrc => devtools/shared/platform/content/test/.eslintrc.js
rename : devtools/shared/security/tests/unit/.eslintrc => devtools/shared/security/tests/unit/.eslintrc.js
rename : devtools/shared/tests/browser/.eslintrc => devtools/shared/tests/browser/.eslintrc.js
rename : devtools/shared/tests/unit/.eslintrc => devtools/shared/tests/unit/.eslintrc.js
rename : devtools/shared/transport/tests/unit/.eslintrc => devtools/shared/transport/tests/unit/.eslintrc.js
rename : devtools/shared/webconsole/test/unit/.eslintrc => devtools/shared/webconsole/test/unit/.eslintrc.js
rename : devtools/shared/worker/tests/browser/.eslintrc => devtools/shared/worker/tests/browser/.eslintrc.js
rename : mobile/android/components/extensions/.eslintrc => mobile/android/components/extensions/.eslintrc.js
rename : mobile/android/components/extensions/test/mochitest/.eslintrc => mobile/android/components/extensions/test/mochitest/.eslintrc.js
rename : security/manager/.eslintrc.json => security/manager/.eslintrc.js
rename : security/manager/ssl/tests/.eslintrc.json => security/manager/ssl/tests/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/browser/.eslintrc.json => security/manager/ssl/tests/mochitest/browser/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.json => security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.json => security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.js
rename : security/manager/ssl/tests/unit/.eslintrc.json => security/manager/ssl/tests/unit/.eslintrc.js
rename : security/manager/tools/.eslintrc.json => security/manager/tools/.eslintrc.js
rename : storage/.eslintrc => storage/.eslintrc.js
rename : testing/mochitest/browser.eslintrc => testing/mochitest/browser.eslintrc.js
rename : testing/mochitest/chrome.eslintrc => testing/mochitest/chrome.eslintrc.js
rename : testing/mochitest/mochitest.eslintrc => testing/mochitest/mochitest.eslintrc.js
rename : testing/xpcshell/xpcshell.eslintrc => testing/xpcshell/xpcshell.eslintrc.js
rename : toolkit/.eslintrc => toolkit/.eslintrc.js
rename : toolkit/components/aboutmemory/tests/.eslintrc => toolkit/components/aboutmemory/tests/.eslintrc.js
rename : toolkit/components/aboutperformance/tests/browser/.eslintrc => toolkit/components/aboutperformance/tests/browser/.eslintrc.js
rename : toolkit/components/addoncompat/tests/browser/.eslintrc => toolkit/components/addoncompat/tests/browser/.eslintrc.js
rename : toolkit/components/alerts/test/.eslintrc => toolkit/components/alerts/test/.eslintrc.js
rename : toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc => toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc.js
rename : toolkit/components/autocomplete/tests/unit/.eslintrc => toolkit/components/autocomplete/tests/unit/.eslintrc.js
rename : toolkit/components/captivedetect/test/unit/.eslintrc => toolkit/components/captivedetect/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit/.eslintrc => toolkit/components/commandlines/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_unix/.eslintrc => toolkit/components/commandlines/test/unit_unix/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_win/.eslintrc => toolkit/components/commandlines/test/unit_win/.eslintrc.js
rename : toolkit/components/contentprefs/tests/mochitest/.eslintrc => toolkit/components/contentprefs/tests/mochitest/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit/.eslintrc => toolkit/components/contentprefs/tests/unit/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit_cps2/.eslintrc => toolkit/components/contentprefs/tests/unit_cps2/.eslintrc.js
rename : toolkit/components/crashes/tests/xpcshell/.eslintrc => toolkit/components/crashes/tests/xpcshell/.eslintrc.js
rename : toolkit/components/crashmonitor/test/unit/.eslintrc => toolkit/components/crashmonitor/test/unit/.eslintrc.js
rename : toolkit/components/ctypes/tests/chrome/.eslintrc => toolkit/components/ctypes/tests/chrome/.eslintrc.js
rename : toolkit/components/ctypes/tests/unit/.eslintrc => toolkit/components/ctypes/tests/unit/.eslintrc.js
rename : toolkit/components/downloads/test/unit/.eslintrc => toolkit/components/downloads/test/unit/.eslintrc.js
rename : toolkit/components/extensions/.eslintrc => toolkit/components/extensions/.eslintrc.js
rename : toolkit/components/extensions/test/mochitest/.eslintrc => toolkit/components/extensions/test/mochitest/.eslintrc.js
rename : toolkit/components/extensions/test/xpcshell/.eslintrc => toolkit/components/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/components/feeds/test/.eslintrc => toolkit/components/feeds/test/.eslintrc.js
rename : toolkit/components/filepicker/test/unit/.eslintrc => toolkit/components/filepicker/test/unit/.eslintrc.js
rename : toolkit/components/filewatcher/tests/xpcshell/.eslintrc => toolkit/components/filewatcher/tests/xpcshell/.eslintrc.js
rename : toolkit/components/formautofill/test/browser/.eslintrc => toolkit/components/formautofill/test/browser/.eslintrc.js
rename : toolkit/components/formautofill/test/chrome/.eslintrc => toolkit/components/formautofill/test/chrome/.eslintrc.js
rename : toolkit/components/formautofill/test/xpcshell/.eslintrc => toolkit/components/formautofill/test/xpcshell/.eslintrc.js
rename : toolkit/components/jsdownloads/test/browser/.eslintrc => toolkit/components/jsdownloads/test/browser/.eslintrc.js
rename : toolkit/components/jsdownloads/test/data/.eslintrc => toolkit/components/jsdownloads/test/data/.eslintrc.js
rename : toolkit/components/jsdownloads/test/unit/.eslintrc => toolkit/components/jsdownloads/test/unit/.eslintrc.js
rename : toolkit/components/lz4/tests/xpcshell/.eslintrc => toolkit/components/lz4/tests/xpcshell/.eslintrc.js
rename : toolkit/components/mediasniffer/test/unit/.eslintrc => toolkit/components/mediasniffer/test/unit/.eslintrc.js
rename : toolkit/components/narrate/.eslintrc => toolkit/components/narrate/.eslintrc.js
rename : toolkit/components/narrate/test/.eslintrc => toolkit/components/narrate/test/.eslintrc.js
rename : toolkit/components/osfile/tests/mochi/.eslintrc => toolkit/components/osfile/tests/mochi/.eslintrc.js
rename : toolkit/components/osfile/tests/xpcshell/.eslintrc => toolkit/components/osfile/tests/xpcshell/.eslintrc.js
rename : toolkit/components/passwordmgr/.eslintrc => toolkit/components/passwordmgr/.eslintrc.js
rename : toolkit/components/passwordmgr/test/.eslintrc => toolkit/components/passwordmgr/test/.eslintrc.js
rename : toolkit/components/passwordmgr/test/browser/.eslintrc => toolkit/components/passwordmgr/test/browser/.eslintrc.js
rename : toolkit/components/passwordmgr/test/unit/.eslintrc => toolkit/components/passwordmgr/test/unit/.eslintrc.js
rename : toolkit/components/perf/.eslintrc => toolkit/components/perf/.eslintrc.js
rename : toolkit/components/perfmonitoring/tests/browser/.eslintrc => toolkit/components/perfmonitoring/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/.eslintrc => toolkit/components/places/tests/.eslintrc.js
rename : toolkit/components/places/tests/bookmarks/.eslintrc => toolkit/components/places/tests/bookmarks/.eslintrc.js
rename : toolkit/components/places/tests/browser/.eslintrc => toolkit/components/places/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/chrome/.eslintrc => toolkit/components/places/tests/chrome/.eslintrc.js
rename : toolkit/components/places/tests/expiration/.eslintrc => toolkit/components/places/tests/expiration/.eslintrc.js
rename : toolkit/components/places/tests/favicons/.eslintrc => toolkit/components/places/tests/favicons/.eslintrc.js
rename : toolkit/components/places/tests/history/.eslintrc => toolkit/components/places/tests/history/.eslintrc.js
rename : toolkit/components/places/tests/migration/.eslintrc => toolkit/components/places/tests/migration/.eslintrc.js
rename : toolkit/components/places/tests/network/.eslintrc => toolkit/components/places/tests/network/.eslintrc.js
rename : toolkit/components/places/tests/queries/.eslintrc => toolkit/components/places/tests/queries/.eslintrc.js
rename : toolkit/components/places/tests/unifiedcomplete/.eslintrc => toolkit/components/places/tests/unifiedcomplete/.eslintrc.js
rename : toolkit/components/places/tests/unit/.eslintrc => toolkit/components/places/tests/unit/.eslintrc.js
rename : toolkit/components/promiseworker/tests/xpcshell/.eslintrc => toolkit/components/promiseworker/tests/xpcshell/.eslintrc.js
rename : toolkit/components/prompts/test/.eslintrc => toolkit/components/prompts/test/.eslintrc.js
rename : toolkit/components/remotebrowserutils/tests/browser/.eslintrc => toolkit/components/remotebrowserutils/tests/browser/.eslintrc.js
rename : toolkit/components/satchel/test/.eslintrc => toolkit/components/satchel/test/.eslintrc.js
rename : toolkit/components/satchel/test/browser/.eslintrc => toolkit/components/satchel/test/browser/.eslintrc.js
rename : toolkit/components/satchel/test/unit/.eslintrc => toolkit/components/satchel/test/unit/.eslintrc.js
rename : toolkit/components/search/tests/xpcshell/.eslintrc => toolkit/components/search/tests/xpcshell/.eslintrc.js
rename : toolkit/components/social/test/xpcshell/.eslintrc => toolkit/components/social/test/xpcshell/.eslintrc.js
rename : toolkit/components/sqlite/tests/xpcshell/.eslintrc => toolkit/components/sqlite/tests/xpcshell/.eslintrc.js
rename : toolkit/components/startup/tests/browser/.eslintrc => toolkit/components/startup/tests/browser/.eslintrc.js
rename : toolkit/components/startup/tests/unit/.eslintrc => toolkit/components/startup/tests/unit/.eslintrc.js
rename : toolkit/components/telemetry/tests/unit/.eslintrc => toolkit/components/telemetry/tests/unit/.eslintrc.js
rename : toolkit/components/terminator/tests/xpcshell/.eslintrc => toolkit/components/terminator/tests/xpcshell/.eslintrc.js
rename : toolkit/components/thumbnails/test/.eslintrc => toolkit/components/thumbnails/test/.eslintrc.js
rename : toolkit/components/timermanager/tests/unit/.eslintrc => toolkit/components/timermanager/tests/unit/.eslintrc.js
rename : toolkit/components/url-classifier/tests/mochitest/.eslintrc => toolkit/components/url-classifier/tests/mochitest/.eslintrc.js
rename : toolkit/components/url-classifier/tests/unit/.eslintrc => toolkit/components/url-classifier/tests/unit/.eslintrc.js
rename : toolkit/components/urlformatter/tests/unit/.eslintrc => toolkit/components/urlformatter/tests/unit/.eslintrc.js
rename : toolkit/components/viewsource/test/.eslintrc => toolkit/components/viewsource/test/.eslintrc.js
rename : toolkit/components/viewsource/test/browser/.eslintrc => toolkit/components/viewsource/test/browser/.eslintrc.js
rename : toolkit/components/workerloader/tests/.eslintrc => toolkit/components/workerloader/tests/.eslintrc.js
rename : toolkit/components/xulstore/tests/chrome/.eslintrc => toolkit/components/xulstore/tests/chrome/.eslintrc.js
rename : toolkit/components/xulstore/tests/xpcshell/.eslintrc => toolkit/components/xulstore/tests/xpcshell/.eslintrc.js
rename : toolkit/content/tests/browser/.eslintrc => toolkit/content/tests/browser/.eslintrc.js
rename : toolkit/content/tests/chrome/.eslintrc => toolkit/content/tests/chrome/.eslintrc.js
rename : toolkit/content/tests/unit/.eslintrc => toolkit/content/tests/unit/.eslintrc.js
rename : toolkit/content/tests/widgets/.eslintrc => toolkit/content/tests/widgets/.eslintrc.js
rename : toolkit/crashreporter/test/browser/.eslintrc => toolkit/crashreporter/test/browser/.eslintrc.js
rename : toolkit/crashreporter/test/unit/.eslintrc => toolkit/crashreporter/test/unit/.eslintrc.js
rename : toolkit/crashreporter/test/unit_ipc/.eslintrc => toolkit/crashreporter/test/unit_ipc/.eslintrc.js
rename : toolkit/forgetaboutsite/test/browser/.eslintrc => toolkit/forgetaboutsite/test/browser/.eslintrc.js
rename : toolkit/forgetaboutsite/test/unit/.eslintrc => toolkit/forgetaboutsite/test/unit/.eslintrc.js
rename : toolkit/identity/tests/chrome/.eslintrc => toolkit/identity/tests/chrome/.eslintrc.js
rename : toolkit/identity/tests/unit/.eslintrc => toolkit/identity/tests/unit/.eslintrc.js
rename : toolkit/modules/addons/.eslintrc => toolkit/modules/addons/.eslintrc.js
rename : toolkit/modules/subprocess/.eslintrc => toolkit/modules/subprocess/.eslintrc.js
rename : toolkit/modules/subprocess/test/xpcshell/.eslintrc => toolkit/modules/subprocess/test/xpcshell/.eslintrc.js
rename : toolkit/modules/tests/browser/.eslintrc => toolkit/modules/tests/browser/.eslintrc.js
rename : toolkit/modules/tests/chrome/.eslintrc => toolkit/modules/tests/chrome/.eslintrc.js
rename : toolkit/modules/tests/mochitest/.eslintrc => toolkit/modules/tests/mochitest/.eslintrc.js
rename : toolkit/modules/tests/xpcshell/.eslintrc => toolkit/modules/tests/xpcshell/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/chrome/.eslintrc => toolkit/mozapps/downloads/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/unit/.eslintrc => toolkit/mozapps/downloads/tests/unit/.eslintrc.js
rename : toolkit/mozapps/extensions/.eslintrc => toolkit/mozapps/extensions/.eslintrc.js
rename : toolkit/mozapps/extensions/test/browser/.eslintrc => toolkit/mozapps/extensions/test/browser/.eslintrc.js
rename : toolkit/mozapps/extensions/test/mochitest/.eslintrc => toolkit/mozapps/extensions/test/mochitest/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpcshell/.eslintrc => toolkit/mozapps/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpinstall/.eslintrc => toolkit/mozapps/extensions/test/xpinstall/.eslintrc.js
rename : toolkit/mozapps/update/tests/chrome/.eslintrc => toolkit/mozapps/update/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_aus_update/.eslintrc => toolkit/mozapps/update/tests/unit_aus_update/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_base_updater/.eslintrc => toolkit/mozapps/update/tests/unit_base_updater/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_service_updater/.eslintrc => toolkit/mozapps/update/tests/unit_service_updater/.eslintrc.js
rename : toolkit/profile/test/.eslintrc => toolkit/profile/test/.eslintrc.js
rename : toolkit/themes/osx/mochitests/.eslintrc => toolkit/themes/osx/mochitests/.eslintrc.js
rename : toolkit/xre/test/.eslintrc => toolkit/xre/test/.eslintrc.js
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc.js
extra : rebase_source : 60affc4b9bf436bba7e0e21a8da3a85d16c9fc06
2016-10-18 08:38:10 +01:00
John Lin
9d4d55e04d Bug 1295106 - Part 5: allocate samples from a pool. r=snorp
MozReview-Commit-ID: CIn9CH9k9i4

--HG--
extra : rebase_source : 6e0178881ee8c46832c064027907f43310f6f548
2016-10-06 17:05:20 +08:00
John Lin
ce9e7de84b Bug 1295106 - Part 4: implement JNI methods for shared memory buffers. r=nalexander
MozReview-Commit-ID: 7tXhV6KHzO8

--HG--
extra : rebase_source : c3f97ff1b31011e67c13dbc72a382b0f8bcd53fd
2016-10-06 16:21:24 +08:00
John Lin
4b2aac0604 Bug 1295106 - Part 3: introduce shared memory implemented with MemoryFile and support it in Sample. r=jchen,snorp
MozReview-Commit-ID: H33MJRgFvGB

--HG--
extra : rebase_source : 9b18f469a4e62cd734f081ec8a8a2388fe258651
2016-10-06 15:48:39 +08:00
John Lin
ea7f78cbde Bug 1295106 - Part 2: add dequeueInput() and releaseOutput() to codec interface. r=snorp
MozReview-Commit-ID: 90ga1skGfT2

--HG--
extra : rebase_source : e8a06ad446d7bb7bc423032b03c37293a9a98894
2016-10-04 17:10:36 +08:00
Tom Klein
affe009c82 Bug 1116415 - 4. Add an item animator to the tabs list for removes. r=sebastian
MozReview-Commit-ID: 6MGoEQSlmK1

--HG--
extra : rebase_source : 252707222b13f3d30c33005eeef0439fe879d2fd
extra : source : c7ce98269ea9692c922b11f3d2ec619dc55dccee
2016-09-12 10:50:04 -05:00
Tom Klein
6c54eb4796 Bug 1116415 - 3. Add an ItemTouchHelper to the tabs panel list for swipe to close. r=sebastian
MozReview-Commit-ID: 8QlbSg7qsZK

--HG--
extra : rebase_source : 40f57bbb8f2a97903cf52c5ce5d134d67ab957bb
extra : source : 332092b1cb5ecb3d99f93a21edce5ab3bcb00fd5
2016-09-12 10:46:30 -05:00
Tom Klein
2664442b26 Bug 1116415 - 2. Make the linear tabs list a RecyclerView. r=sebastian
Also make a temporary testing adjustment to handle the fact that TabsListLayout
and TabsGridLayout don't currently share a common usable base.

MozReview-Commit-ID: HPExAnehKRq

--HG--
extra : rebase_source : 4d9d0ce9fff216090ae676163e22645cd45c92a5
extra : source : 411a8ac7368e3b69e8191812fb53f0d1b8aa3247
2016-09-12 10:37:14 -05:00
Tom Klein
7cd84f8bb9 Bug 1116415 - 1. Create new RecyclerView and adapter base classes for tabs panels. r=sebastian
TabsListRecyclerAdapter.java will replace TabsLayoutAdapter.java when the time
comes.

Note from the future: the previous tabs layouts did a scroll each time an item
was added or selected, but GridLayoutManager sometimes does scrolls that aren't
necessary (like even when the position being scrolled to is already completely
in view), so we've adopted the approach of only scrolling when RecyclerView
makes it necessary.


MozReview-Commit-ID: JisX974zt88

--HG--
extra : rebase_source : 4105762cdd743d5120385e246350fc4059b6bcfc
extra : source : e4e74d6ae6da7dddda9a95e50c26656b07e67287
2016-09-12 10:33:02 -05:00
Carsten "Tomcat" Book
e90a683f18 Backed out changeset 9c7364b4579d (bug 1308615) for suspicion that this caused pgo windows test crashes 2016-10-14 14:59:36 +02:00
Carsten "Tomcat" Book
fed18a42c0 Backed out changeset 5af415bbb107 (bug 1308615) 2016-10-14 14:58:51 +02:00
Carsten "Tomcat" Book
b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Eric Rahm
b8cfe3a083 Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva
2016-10-13 22:02:58 -07:00
Eric Rahm
441292eb71 Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59
2016-10-13 22:02:47 -07:00
Sebastian Hengst
675427e45f Backed out changeset 46db039dbe10 (bug 1305439) for failing testAboutPage on Android. r=backout 2016-10-13 22:16:53 +02:00
Dylan Roeh
6415e8f510 Bug 1305439 - Store the last selected tab in GeckoApp in onPause and switch back to it in onResume. r=sebastian 2016-10-13 12:49:44 -05:00
Ehsan Akhgari
9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Sebastian Hengst
83c48072d6 Backed out changeset 6a4cf8732cb1 (bug 1308615) for failing browser-chrome tests like browser_devices_get_user_media.js. r=backout on a CLOSED TREE 2016-10-14 01:17:08 +02:00
Sebastian Hengst
47dffb47bc Backed out changeset dbf7653be16f (bug 1308615) 2016-10-14 01:16:08 +02:00
Eric Rahm
06a26b0b8c Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva

--HG--
extra : rebase_source : afc25d91dfcabf6f8f5c9aca6828d41acac9e97e
2016-10-10 13:14:38 -07:00
Eric Rahm
62ae2ac79e Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59

--HG--
extra : rebase_source : 069b6ec173bb98ab08d93279b5e983494184f8c0
2016-10-10 13:14:34 -07:00
Jan Henning
be957a257a Bug 1308946 - Part 1 - Ensure that empty views not matching the current panel level are hidden. r=liuche
Setting an empty view's visibility only for the view corresponding to the current PanelLevel was intended to make sure the empty view doesn't get hidden because of an unrelated status update - e.g. to prevent the history empty view hiding itself because the recent tabs count changes.

This approach however doesn't work for switching between panel levels (the user moving into and out of the sync/recent tabs folders) - in that case we always need to turn off the empty view of the previous panel level, which is not possible with the above approach.

So instead, we revert to always updating the visibility of the empty views, but at the same time initialise the desired state of current PanelLevel's empty view with its current visibility instead of simply defaulting to false.

MozReview-Commit-ID: 6Xsnuo29srk

--HG--
extra : rebase_source : d540c128df51ae0315f9ee05c3fb87cfcf44877a
2016-10-11 21:00:36 +02:00
Jan Henning
e56a644db8 Bug 1308946 - Part 0 - Import PanelLevel enum. r=liuche
MozReview-Commit-ID: 32Qvym2Neh1

--HG--
extra : rebase_source : 81de12d6c4c0f06353bb65620ba3d330e91b2966
2016-10-11 20:41:47 +02:00
John Lin
ce8e57f426 Bug 1295106 - Part 1: abstract payload in Sample to support both Java byte array and shared memory. r=snorp
MozReview-Commit-ID: GFcwSyHlR4

--HG--
extra : rebase_source : 442487fcee43d86f974f87c69466e5fbb5d2793f
2016-09-08 11:20:34 +08:00
Eric Rahm
e4b0439502 Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva
2016-10-14 10:06:37 -07:00
Eric Rahm
b9acba878d Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59
2016-10-14 10:06:27 -07:00
Andrzej Hunt
3605a0c8df Bug 1309821 - Enable VectorDrawable support r=nalexander, sebastian
This allows us the use of VectorDrawable's (which can be created by converting SVG files) in a
limited set of circumstances.

MozReview-Commit-ID: 4n4dXnZYn9W

--HG--
extra : amend_source : 8fbf2579260590a26ecd0112d6fce1055e929bd7
2016-10-07 15:59:11 +02:00
Sebastian Kaspari
db5236065d Bug 1295340 - Custom tabs string: Use &brandShortName; instead of 'Firefox'. r=flod,Grisha
MozReview-Commit-ID: LNn1WscodjQ

--HG--
extra : rebase_source : 687756c15bde318cbe3dcf5de668f965d11943b1
2016-10-12 11:13:17 +02:00
Sebastian Kaspari
bc505a808c Bug 1299201 - Introduce ActivityStream.extractLabel() to extravt a label from a URL. r=Grisha
MozReview-Commit-ID: 8IM7qppwmJ6

--HG--
extra : rebase_source : 411bd9b8126caf0af06eb37d9c932f20089a2c93
2016-10-11 13:47:45 +02:00
Sebastian Kaspari
99ee5fa11a Bug 1299201 - Add helper method for stripping the public suffix from a domain. r=Grisha
MozReview-Commit-ID: H2ajfSZg6aE

--HG--
extra : rebase_source : 3657e7c88592f01020e4409e1ec902bed4b62268
2016-10-11 12:19:45 +02:00
Sebastian Kaspari
d6301cd000 Bug 1299201 - StringUtils: Add helper method for joining strings with a separator. r=Grisha
MozReview-Commit-ID: Fzrap4wkeWk

--HG--
extra : rebase_source : c0d6495d825ad0a8a80d05a39e38d841d758e115
2016-10-11 11:52:43 +02:00
Sebastian Kaspari
e495b04c9e Bug 1299201 - TestStringUtils: Remove unneeded Assert prefix. r=Grisha
MozReview-Commit-ID: LdxMX8cEU9e

--HG--
extra : rebase_source : 1ac414ebad90113b2f15908111dbee6aeeec02ad
2016-10-11 11:25:50 +02:00
Sebastian Kaspari
28c995ddba Bug 1305984 - Only show "family friendly browsing" first run for restricted profiles. r=Grisha
MozReview-Commit-ID: 9TzMD6eJIxU

--HG--
extra : rebase_source : 1d2e01161e0ad900bfcd667da729d0a0bfef19e0
2016-10-06 13:53:50 +02:00
Kartikaya Gupta
52890eb2b5 Bug 1309228 - Now that the width and height arguments are no longer needed in browser.js, remove those too. r=rbarker
MozReview-Commit-ID: 8F4qiq1qEmk

--HG--
extra : rebase_source : 497851c3b85b00858e493e282157003af75f3ac4
2016-10-11 10:17:28 -04:00
Kartikaya Gupta
b0a89edebb Bug 1309228 - Remove the setScrollClampingSize function in browser.js that's not used since JPZ was replaced by APZ. r=rbarker
Also this makes the gScreenWidth/gScreenHeight variables unused, so those can
come out too and the Window:Resize handler can be simplified a bit.

MozReview-Commit-ID: 96iF16jSKBB

--HG--
extra : rebase_source : 01db1de5cc548db107267d84dda5b774cd652883
2016-10-11 10:17:26 -04:00
Phil Ringnalda
25afef5692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HlGgqNI8vwD
2016-10-10 19:07:58 -07:00
Eugen Sawin
06c47357d2 Bug 1298090 - [1.6] Extract and cache native libraries on APK update. r=glandium,snorp 2016-10-10 22:59:27 +02:00
Dylan Roeh
a216f00000 Bug 1306742 - Use singleton EventDispatcher for ClosedTabs:Data listener. r=jchen 2016-10-04 15:46:29 -05:00
Dylan Roeh
52ad1516c6 Bug 1308633 - Use predefined strings for package name and class name when we cannot get the ComponentName in NotificationClient.showNotification. r=jchen 2016-10-10 15:27:14 -05:00
Mike de Boer
05f70d10ef Bug 1303008 - refactor Fennec Finder.jsm integration to always show the correct match count results in the findbar. r=nalexander
MozReview-Commit-ID: KZIstsbHAyT

--HG--
extra : rebase_source : 24972d38daa947d62410b43d14f0da6c7662e5da
2016-10-10 11:53:25 +02:00
Phil Ringnalda
080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Kartikaya Gupta
23b7dc83e4 Bug 1292034 - Make the StackScroller flywheel detection code more robust to real user behaviour when flinging. r=rbarker
MozReview-Commit-ID: DdI17RyIxiq
2016-10-07 21:43:52 -04:00
Sebastian Hengst
44dd1f666b Backed out changeset 71445b7c3044 (bug 1292034) for GTest failing APZScrollHandoffTester.ScrollgrabFlingAcceleration1. r=backout 2016-10-08 00:43:03 +02:00
Kartikaya Gupta
b34e078007 Bug 1292034 - Make the StackScroller flywheel detection code more robust to real user behaviour when flinging. r=rbarker
MozReview-Commit-ID: 6OBCkd9bwRt
2016-10-07 17:44:18 -04:00
Kit Cambridge
571f3e8c08 No bug - Fix variable shadowing in messageAndCryptoParams. r=me
MozReview-Commit-ID: 5ax6AbENE4l

--HG--
extra : rebase_source : 381f81707c24283ffcb726d45e9c5b94649a0c79
extra : histedit_source : 3a3fd20a67a87cb6d5fee56c57ecacbcee28c9ac
2016-10-07 12:01:32 -07:00
Kartikaya Gupta
9bd097b609 Bug 1308371 - Remove unused files. rs=sebastian
MozReview-Commit-ID: GiKQPYEA3op
2016-10-07 10:46:23 -04:00
Phil Ringnalda
ef58a75ffd Merge m-c to autoland 2016-10-06 20:24:09 -07:00
Phil Ringnalda
fd672b97f1 Merge f-t to m-c, a=merge
MozReview-Commit-ID: HiqZsOM1Bcz
2016-10-06 19:59:02 -07:00
Sebastian Hengst
01979eecf3 Backed out changeset 13db73034f80 (bug 1282003) 2016-10-06 20:37:05 +02:00
Sebastian Hengst
a93f492bd9 Backed out changeset 1d7748535fa3 (bug 1282003) 2016-10-06 20:37:00 +02:00
Andrzej Hunt
49c647af94 Bug 1307534 - Test that homepanel migration keep hidden panels hidden r=sebastian
MozReview-Commit-ID: 3s4aM2g4XTi

--HG--
extra : rebase_source : 285dcc75a8c827d6895b4800af806fe681a28bca
2016-10-05 21:41:38 +02:00
Carsten "Tomcat" Book
0afee402c6 Merge mozilla-central to fx-team 2016-10-06 12:28:52 +02:00
Carsten "Tomcat" Book
5f7f7c6912 merge fx-team to mozilla-central a=merge 2016-10-06 11:57:36 +02:00
Jim Chen
bfe19431c6 Bug 1305498 - Refactor notification code to be more concise; r=sebastian
Bug 1305498 - 1. Remove NotificationClient task queue; r=sebastian

Not sure why we needed a task queue for NotificationClient actions. The
actions all go through IPC and are non-blocking, so it's perfectly fine
to perform them off of whatever thread we're on.

Bug 1305498 - 2. Integrate NotificationHandler et al into NotificationCllient; r=sebastian

There's no reason to have NotificationHandler, AppNotificationClient,
and ServiceNotificationClient all separate from the base
NotificationClient class. This patch adds the functionality of
those three classes to NotificationClient.

The notifications hash map is changed from a ConcurrentHashMap to a
regular HashMap with synchronization because I think the use case here
doesn't warrant the added performance and overhead of ConcurrentHashMap.

NotificationService is changed to match the new NotificationClient. Now
the only job for NotificationService is to set a notification as
foreground, rather than to manage all notifications like before.

NotificationHandler, AppNotificationClient, and
ServiceNotificationClient will be removed in a later patch.

Bug 1305498 - 3. Set NotificationListener in GeckoApplication; r=sebastian

Set NotificationListener once in GeckoApplication.onCreate, instead of
spreading it out in GeckoApp, BrowserApp, and GeckoService. This is
possible because there's no longer a distinction between
AppNotificationClient and ServiceNotificationClient in the new,
consolidated NotificationClient.

Bug 1305498 - 4. Remove obsolete notification classes; r=sebastian

Remove AppNotificationClient, ServiceNotificationClient, and
NotificationHandler, now that they've all been replaced by the new,
consolidated NotificationClient.

Bug 1305498 - 5. Use NotificationReceiver for web notification callbacks; r=sebastian

Previously, web notification callbacks went to GeckoApp directly, but
that presented some problems such as not being able to implement the
on-close callback, because we don't want to launch GeckoApp when the
notification is closed by swiping. This patch makes us use
NotificationReceiver for callbacks, and let NotificationReceiver launch
GeckoApp if necessary.

Bug 1305498 - 6. Don't keep notification cookie in native code; r=sebastian

Keep the notification cookie a single location (in the notification
intent itself), and simplify the native notification handling code.

Bug 1305498 - 7. Use NotificationReceiver for persistent notifications; r=sebastian

Currently, persistent notification callbacks go through a different code
path, but it'd be more consistent and correct to let persistent
notification callbacks go through NotificationReceiver as well.

This takes care of some housekeeping work that was missing for
persistent notifications, such as deleting the mNotifications entry when
the notification is closed.
2016-10-05 21:52:32 -04:00
Carsten "Tomcat" Book
3522f1d38a merge mozilla-inbound to mozilla-central a=merge 2016-10-05 15:42:48 +02:00
Andrzej Hunt
2d6f446c93 Bug 1306784 - Don't set a default panel during fixup migration if all panels are disabled r=sebastian
The fixup migration assumes that there must be a default panel, and sets the history panel as default if not.
This assumption is wrong in the case where no panels are visible: in this case there is no default.
Before this commit, that migration will make the history panel visible for all users who had no
visible panels, with this commit that migration will retain the all-panels-hidden state.

Note: it's impossible for us to recover the all-panels-hidden state for clients that have already
run the migration, however we can at least prevent this issue from happening for users who
have not yet migrated (i.e. in release).

MozReview-Commit-ID: 9JlmltPW2Ly

--HG--
extra : rebase_source : 4e608910775c971ec09c0f9096b8ae36e9f7b877
2016-10-04 09:12:37 -07:00
Alastor Wu
5619d26af8 Bug 1305430 - part2 : replace action checking with isMediaPlaying(). r=sebastian
MozReview-Commit-ID: F2WyASzWAMJ

--HG--
extra : rebase_source : 07a9a41ab745907306baf420a747423d995ab9d4
2016-10-06 14:02:03 +08:00
Alastor Wu
4677833a54 Bug 1305430 - part1 : send the notification again after tab got its favicon. r=sebastian
Sometimes the tab doesn't get its favicon yet when we send the notification.
Therefore, we would listen the FAVICON event and then re-send the notification again if we used the default cover icon in previous notification.

MozReview-Commit-ID: JSphLBEhGy2

--HG--
extra : rebase_source : 55f12e30583480a1d0d7f2743974a05180198ad5
2016-10-06 14:01:43 +08:00
KuoE0
55ce4ad9bf Bug 1282003 - (Part 3) Add screen ID to nsWindow and GeckoView to get the correct nsScreen and density. r=snorp
MozReview-Commit-ID: Cd9MS2I1RRQ

--HG--
extra : transplant_source : %27%C1%B7R%03%F9%CA%BC%8D%9D%8D%28u%FAU%92%B5%B7%0A%C2
2016-09-29 14:23:56 +08:00
KuoE0
2a9698fad6 Bug 1282003 - (Part 2) Add screenManagerHelper in Java. r=snorp
MozReview-Commit-ID: BLw6e7dgldt

--HG--
extra : transplant_source : %A9bl%C1%95q%C8Zv%93%191%9B%CA%2B%0C%CA%2BU%FB
2016-09-23 23:03:00 +08:00
Nick Alexander
b4c52f8bca Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian
We need to bump the Gradle Deps task, which fetches dependencies, to
include new test dependencies; and use freshly uploaded tooltool
archives (manually uploaded) containing the new test dependencies.

MozReview-Commit-ID: 8bNOVQPHlk6

--HG--
extra : rebase_source : 0c80117fb58e43f9c857027941f0a14f03b97f13
2016-10-05 20:23:38 -07:00
Gian-Carlo Pascutto
4ab187d14a Bug 1304975 - Use the renamed gUM permission token. r=florian
MozReview-Commit-ID: 5pJorbXrtkP

--HG--
extra : rebase_source : baaadf6c86ca37993a311a9198b14459fccc291d
extra : histedit_source : 3bd1340f79135058314e9dab3f5b856705c38851
2016-09-23 12:31:53 +02:00
Tushar Saini (:shatur)
d57c05a9ea Bug 1261041 - Remove feature11Plus-feature15Plus flags. r=sebastian
MozReview-Commit-ID: J4uXtUrjuKr

--HG--
extra : rebase_source : e21e02831ddc3c32a2d0be508b217e8c7b08cb12
2016-09-22 21:20:23 +05:30
Sebastian Kaspari
8a899e5b22 Bug 1301715 - Only extract metadata if the Activity Stream or Nightly flag is enabled. r=ahunt
MozReview-Commit-ID: 7Ic8v1M6AAy

--HG--
extra : rebase_source : aec2ce74749b19abf21f5f1f1ed098af60eaf3af
2016-09-30 11:58:25 -04:00
Kit Cambridge
a69ba96059 Bug 1301469 - Add localized decryption errors for invalid headers and padding. r=mt
Web Crypto returns an unhelpful "operation failed for an
operation-specific reason" error if the actual decryption fails, but
we can report more useful errors for missing and invalid header
values.

MozReview-Commit-ID: JRdGHBUodmb

--HG--
extra : rebase_source : 8f1b047b6f01c89a852aefbb1349a608f1178ab8
2016-10-05 08:57:52 -07:00
Wes Kocher
a0ecf84551 Merge m-c to inbound, a=merge 2016-10-04 17:42:22 -07:00
Wes Kocher
5a2fb874ca Merge inbound to central, a=merge 2016-10-04 17:32:01 -07:00
Kartikaya Gupta
eaa695580b Bug 1307098 - Fix the positioning of the floating toolbar so that it doesn't overlap the selection and carets. r=rbarker
MozReview-Commit-ID: SY9c4X4QUf

--HG--
extra : rebase_source : 34e0e7791e7fcea4013211ffb5b564c53d3c70cf
2016-10-04 13:24:22 -04:00
Dylan Roeh
cc503bd207 Bug 1306743 - Make PushService use the singleton EventDispatcher. r=jchen 2016-09-30 17:33:56 -05:00
Kartikaya Gupta
5a688fe072 Bug 1304263 - On Windows, fire the eMouseLongTap event as soon as APZ detects the long-press. r=TYLin
On Windows, the contextmenu event is fired when the finger is lifted after a
long-press. However, there are various bits of code, such as the AccessibleCaret
or potential fixes for bug 1147335, which would benefit from knowing when the
long-press gesture was detected. By moving eMouseLongTap event up we can satisfy
that need. An alternative approach considered was to fire the eMouseLongTap
before the contextmenu on all platforms unconditionally, but that makes it harder
to implement platform-specific text selection behaviour the way we want. In
particular we would have to add an extra message or notification for non-Windows
platforms that initiated text selection if the contextmenu event was not
consumed.

MozReview-Commit-ID: 2lmwxmmGrVD
2016-10-04 09:31:15 -04:00
Christoph Kerschbaumer
bef2aa6909 Bug 1307235 - Import sessionstore/Utils into android/components/SessionStore. r=jchen 2016-10-04 09:54:10 +02:00
Kartikaya Gupta
ce3cbbcf73 Bug 1235513 - Remove the old Fennec SelectionHandler now that it has been replaced by the AccessibleCaret code in platform. r=snorp
MozReview-Commit-ID: FkOmXznyESM

--HG--
extra : rebase_source : 1b3e23eab9d14799b3e60ab2166442667df0b16f
2016-10-06 08:07:02 -04:00
Ryan VanderMeulen
ef3b2f209c Bug 1306732 - Update StringHelper.java with the new branding string to avoid Aurora test failures. r=sebastian 2016-10-04 14:41:36 -04:00
Sebastian Kaspari
2e775e23a6 Bug 1301715 - BrowserApp: Receive metadata from event. r=ahunt
MozReview-Commit-ID: 7rND7R09Pj6

--HG--
extra : rebase_source : cbc2d1dedfcac4177d683eaa038a02f598f88ea2
2016-09-08 10:20:44 +02:00
Sebastian Kaspari
63a89783cc Bug 1301715 - Extract website metadata and make it available. r=ahunt
This patch introduces WebsiteMetadata.jsm which imports fathom and page-metadata-parser.
The code has been slightly modified to not depend on more node libraries.

On DOMContentLoaded the module will extract the metadata asynchronously and send it with
a 'Website:Metadata' event.

MozReview-Commit-ID: LxhYOTvvdsF

--HG--
extra : rebase_source : e31286bd7268ad62d55f1a5318cde79442e9acba
2016-09-08 10:20:24 +02:00
Wes Kocher
b4e6b8fba5 Merge m-c to autoland, a=merge 2016-10-04 17:42:48 -07:00
Andrzej Hunt
8001b5d314 Bug 1307779 - Only start long-press timer for back button r=sebastian
Huge oversight in my original patch. Pressing any hardware button will result
in the history list being shown after the long-press delay (regardless of long-pressing).

MozReview-Commit-ID: KO8u0NzTxaO

--HG--
extra : rebase_source : 6f6932c4f35b9e580a84a2d68a7688abe4da79de
2016-10-05 18:14:12 +02:00
Sylvestre Ledru
f0bf16f1a7 Bug 1306732 - Renaming of the aurora version r=sebastian
MozReview-Commit-ID: GvalAF0ceo6

--HG--
extra : rebase_source : a5807b9aabb433070392057241dcaaea552ccbb3
2016-09-30 22:50:58 +02:00
Ting-Yu Lin
12ef09026a Bug 1307027 - Fix vertical position for caret images. r=mtseng
After the splitting of text overlay and the caret images, the caret image should
be placed from the top of #image div.

Delete those "top" style for Fennec since they're not needed anymore in current
setup.

MozReview-Commit-ID: Dn6jgqaFfek

--HG--
extra : rebase_source : 92b697db26cb7311fbd22a63e9f0ed71e6a434f4
2016-10-03 15:26:40 +08:00
Andrzej Hunt
8f2b2148c6 Bug 1267884 - Update TestColorProcessor to reflect update palette library colour extraction r=sebastian
It looks like the update (23.4) version of palette returns the actual dominant colour
for a red mock (FF0000). Previously it returned a more muted red (F80000).

MozReview-Commit-ID: 5VpRavyooHY

--HG--
extra : rebase_source : ab55e787a305481f890d00739de2843b87063bed
2016-10-04 09:51:18 -07:00
Kartikaya Gupta
1929c7c930 Bug 1307522 - Remove a bunch of unnecessary methods from the PanZoomTarget interface now that JPZ is gone. r=snorp
MozReview-Commit-ID: CPIDkGX3jhr

--HG--
extra : rebase_source : 158f4b5a744d54fa5914589a86db8d2be4786ce9
2016-10-04 14:41:15 -04:00
Kartikaya Gupta
1320fdc1a4 Bug 1307522 - Delete a bunch of classes and related goop no longer used now that JPZ is gone. r=snorp
MozReview-Commit-ID: Jq6xJEO0u9x

--HG--
extra : rebase_source : 3ae338de85676c8c846b393661ce319f3dde86c3
2016-10-04 14:41:13 -04:00
Jim Chen
26526e7e66 Bug 1306083 - 2. Pass in window object for nsIAndroidBridge calls; r=snorp
Make contentDocumentChanged and isContentDocumentDisplayed calls require
the caller to pass in a window object, so that we can get the widget and
GeckoLayerClient from the window object. This way these calls no longer
depend on having a global layer client in AndroidBridge.
2016-10-03 12:26:00 -04:00
Ryan VanderMeulen
e980397fb4 Merge m-c to autoland. a=merge 2016-10-07 23:22:46 -04:00
Phil Ringnalda
e6f43c4543 Backed out 2 changesets (bug 1308615) for failures in browser_devices_get_user_media.js
CLOSED TREE

Backed out changeset 85689c52301c (bug 1308615)
Backed out changeset ec8e67234efb (bug 1308615)
2016-10-07 19:42:01 -07:00
Eric Rahm
28dd079343 Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59

--HG--
extra : rebase_source : a8beed043989f6e69e89d17c0db1864c6d7258ac
2016-10-07 14:52:48 -07:00
Andrzej Hunt
eea171debc Bug 1308390 - Upgrade geckoview_example to support libraries 23.4 r=nalexander
I've also updated espresso versions. For some reason using espress results in test-app
defaulting to annotations 23.0.1 or 23.1.1 (depending on espresso version), but we can
override this with the actual annotations library version to make gradle happy again.

MozReview-Commit-ID: 6rFtvVgceJV

--HG--
extra : rebase_source : 3c9fb20cad396eebbfbd890cc37a4931221488d9
2016-10-07 08:09:35 +02:00
Sebastian Kaspari
5f32403b2b Bug 1301466 - Make Activity Stream highlights clickable. r=ahunt
MozReview-Commit-ID: 1kVxu8aCdiC

--HG--
extra : rebase_source : cc27dc064df354d2095e764f7ced9954fbabcd97
2016-10-05 20:19:29 +02:00
Sebastian Kaspari
249bd223a6 Bug 1306609 - Rename CompactItem to HighlightsItem. r=ahunt
MozReview-Commit-ID: JX76g6HnG7g

--HG--
extra : rebase_source : 304d90556fcb454e992f977b8b34b17e8abcc48e
2016-10-05 14:19:49 +02:00