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

17514 Коммитов

Автор SHA1 Сообщение Дата
Phil Ringnalda 2c7a3afd66 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 5599Z7kxjk3
2016-11-07 20:38:29 -08:00
Phil Ringnalda 0b5f008629 Merge autoland to m-c, a=merge
MozReview-Commit-ID: CjyRb7vVnBV
2016-11-07 20:37:27 -08:00
Jim Chen ffd6532bd7 Bug 1123514 - Correctly calculate text replacement offset; r=esawin
Fix a mistake in calculating the correct offset for one of the
replacement steps, which caused the IndexOutOfBoundsException. The old
code used `oldEnd` for the second text replacement without taking into
account the offset change as a result of the first text replacement that
was already performed. The new code correctly takes the offset, `delta`,
into account.
2016-11-06 18:44:09 -05:00
Jim Chen 107b9eb939 Bug 1123514 - Add test for wrong offset calculation; r=esawin
Add a test that creates conditions for wrong offset calculation and
potentially causes an exception.
2016-11-06 18:44:09 -05:00
Dylan Roeh c95da78768 Bug 1279278 - Use domain name as a Toolbar title and behave correctly when Toolbar navigation is used. r=sebastian 2016-11-07 09:21:23 -06:00
James Cheng 0615d200fe Bug 1306572 - Part1 - Implement GeckoMediaDrm API as a glue for native CDMProxy and java impl MediaDrmBridge. r=cpearce,jchen
MozReview-Commit-ID: GUKqWvmaaFl

--HG--
extra : rebase_source : 648a4a966c71d7551fe1e52099096b750bf6adbc
2016-11-01 14:39:01 +08:00
Grisha Kruglov 085d762095 Bug 1301717 - Limit what we extract, store incoming page metadata r=sebastian
We only extract metadata that we'd want to store. For now this is just image_url.

In case we try to store page metadata before corresponding history record has been inserted,
we queue up metadata and wait for an event from GlobalHistory letting us know that history
record is now available, at which point we try inserting metadata again.

MozReview-Commit-ID: 2FpIqc6uHMb

--HG--
extra : rebase_source : 5839e04f82e174f50a61c107d271b4bda3f748c8
2016-11-04 13:39:50 -07:00
Grisha Kruglov 5f0da1927c Bug 1301717 - Dispatch an event informing listeners that uri has been stored in history table r=sebastian
MozReview-Commit-ID: JHv6BO1rJsL

--HG--
extra : rebase_source : ecc499269264ece6413ef8e05658cf2c9a1e4e5b
2016-10-27 15:44:51 -07:00
Grisha Kruglov 14d3094428 Bug 1301717 - Allow querying, inserting and cleaning up page metadata via BrowserProvider r=sebastian
MozReview-Commit-ID: 9SxriBMVgcv

--HG--
extra : rebase_source : c31fa6da650a061f2c6c06642b1f6ec8712846cd
2016-11-03 12:04:31 -07:00
Grisha Kruglov 491dd780a6 Bug 1301717 - Schema migration: add page_metadata table r=sebastian
MozReview-Commit-ID: 5HeqvuqGabM

--HG--
extra : rebase_source : a4e3c46b73ca3482f63269f924d691b2c3653550
2016-11-03 10:33:54 -07:00
Phil Ringnalda c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Phil Ringnalda 0f32b67e2d Merge m-i to m-c, a=merge
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00
Mike Hommey 17153e5c27 Bug 1314894 - Avoid path changes from b6be0e9e3e1e. r=chmanchester
Importing 'os' in python configure functions, on Windows, changes the
separate the various os.path functions use, and that can have
unexpected, badly handled, consequences. While on the long term, it is
desirable to make @imports('os') modify os.path to use the same base
functions as if there were no @imports, let's go with the simpler
workaround of restoring the non-{isfile,isdir,exists} os.path functions
from b6be0e9e3e1e.

--HG--
extra : rebase_source : a1857b5dce2aa818c72a77d0d9727ac6ce16cb8f
2016-11-04 06:50:43 +09:00
Andrzej Hunt cfe379f3ba Bug 1312114 - Post: cleanup imports r=ahunt
MozReview-Commit-ID: 7KaG5fUN4XQ

--HG--
extra : rebase_source : 8089dcdf5eaec0583110bb8734c77325260f745e
2016-10-21 14:49:27 -07:00
Andrzej Hunt f89df647da Bug 1312114 - Post: centralise AppCompatDrawableManager calls to allow easy replacement r=sebastian
We'll want to switch to AppCompatResources as soon as it's available (i.e. support library 24.2).
Keeping this call in one central location should make that upgrade slightly easier. (Especially
since there is a good chance we will expand VectorDrawable usage to other parts of the app
before we get round to upgrading the support library.)

MozReview-Commit-ID: CvnLzE0mbwz

--HG--
extra : rebase_source : 07155a0755ea98b311bf5a66c75e65d7fa9acf04
2016-11-03 11:45:42 +01:00
Andrzej Hunt fc826bbade Bug 1312114 - Post: make catch more specific to not hide exceptions r=sebastian
Catching everything is annoying, since we want to be able to see non-JSON related
exceptions that happen during icon loading. Specifically: it was harder to debug
issues during the VectorDrawable support upgrade.

MozReview-Commit-ID: 79j7FRxu2hh

--HG--
extra : rebase_source : 4bb14434fce255fea585072e83e3d3723a72611b
2016-10-21 14:55:09 -07:00
Andrzej Hunt 11bfdbe6fb Bug 1312114 - Add VectorDrawable support to GeckoMenu r=sebastian
MozReview-Commit-ID: FDCerhozC1S

--HG--
extra : rebase_source : 1ef542376460e0f532145d7eed668db1c879e449
2016-10-21 14:43:06 -07:00
Andrzej Hunt 68b5d96a14 Bug 1312114 - Support VectorDrawable's in ResourceDrawableUtils r=sebastian
MozReview-Commit-ID: 26jCSWUpiRU

--HG--
extra : rebase_source : 320700cc1c6d0a075f80026d4296f7248861aaf5
2016-11-03 11:47:38 +01:00
Andrzej Hunt 5f25d62ba6 Bug 1312114 - Pre: Move getDrawable() from (geckoview) BitmapUtils into (fennec) MenuBitmapUtils to allow support library access r=nalexander
In order to use VectorDrawable's in this code we need to use AppCompatDrawableManager, which
is in the v7 appcompat support library. GeckoView cannot access that library, hence
we should move getDrawable() into the main Fennec jar in order to let us use
VectorDrawable's.

Similarly we need to move DrawableUtil for the same reasons.

(This commit only takes care of moving the code, the following code adds VectorDrawable support.)

MozReview-Commit-ID: CE2yTMLgBlJ

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/DrawableUtil.java => mobile/android/base/java/org/mozilla/gecko/util/DrawableUtil.java
extra : rebase_source : 7f97964f2944c8062ccbcc2439b001a966a287ee
2016-10-21 15:51:38 -07:00
Nevin Chen 4e6fb33343 Bug 1310621 - Drop the suggestions if search engines are not available. r=sebastian
MozReview-Commit-ID: FtGO45mfSay

--HG--
extra : rebase_source : a53d619ee11cfba00ae657f9433894920e5e23b9
2016-10-28 17:05:53 +08:00
Kilik Kuo f0150be625 Bug 1306196-[P2] Provide RemoteMediaDrmBridge & corresponding stub to underlying GeckoMediaDrmBridge implementation. r=cpearce,jchen
MozReview-Commit-ID: K49zWmuJOpt

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

--HG--
extra : rebase_source : 455b28413e9aa1dcf7ccca7c8934ba7d467982f9
2016-11-01 19:27:18 +08:00
Kilik Kuo 0985109f59 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 : eddde5f597c3ec7a580042f299c18d1abdd9644b
2016-11-01 19:16:17 +08:00
Kilik Kuo db489be2a5 Bug 1306185-[Part2] Provide GeckoMediaDrmBridge implementation for Lollipop(V21)/Mashmallow(V23). r=cpearce,jchen
MozReview-Commit-ID: D53jHRakBxL

--HG--
extra : rebase_source : a8c57654f0d72927f874c5f54ac3348cb8cd08cd
2016-11-03 00:32:59 +08:00
Kilik Kuo eb35a8ab7e 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 : c00f4d79aeca0fbee0cdf16789a7a6ceadab0317
2016-11-01 19:11:38 +08:00
KuoE0 8326d4e877 Bug 1313601 - Disable presentation mode when taps disconnect from Chromecast on Android Notification Bar. r=sebastian
MozReview-Commit-ID: Ge83JjnPSJg

--HG--
extra : rebase_source : 61ab7e78a1ce6006ea5c32b723f66cf7e79a4b1a
2016-10-28 16:26:03 +08:00
Phil Ringnalda 45c34d7e95 Merge m-c to autoland 2016-11-02 20:03:20 -07:00
Phil Ringnalda 393b414467 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Alastor Wu fa0ef8ac10 Bug 1290836 - Re-enable media control for all versions. r=sebastian,snorp
MozReview-Commit-ID: JrMs6akb7He

--HG--
extra : rebase_source : 5ff66b5e48852f198e8ed9d3c41d222f06ff4a09
2016-11-01 15:23:05 +08:00
Tom Klein 316f3c39b2 Bug 1314322 - Create new add animation for tabs list. r=sebastian
Make the TabsListLayoutAnimator a DefaultItemAnimatorBase.

MozReview-Commit-ID: 4vZ93ACPUq

--HG--
extra : rebase_source : 80a103c9115c4cef76fe65282e448da66ba97401
2016-10-26 15:32:50 -05:00
Tom Klein 05da66c3f4 Bug 1314322 - Add DefaultItemAnimatorBase. r=sebastian
MozReview-Commit-ID: HXyaZ7yEyxA

--HG--
extra : rebase_source : 6464a35257ce7b4af3da593f949131deadcfd42e
2016-10-27 00:08:05 -05:00
Tom Klein 75710139a5 Bug 1314322 - Pre: Don't reset view attributes in onBindViewHolder. r=sebastian
MozReview-Commit-ID: 2IKi7dHADx9

--HG--
extra : rebase_source : dbac88c2a119463902554f7936d9b28ac15617cb
2016-11-01 09:20:14 -05:00
Ralph Giles 92e243086a Bug 1266792 - Enable MOZ_RUST_MP4PARSE on fennec. r=snorp
Enable the rust mp4 parser code like we do on desktop.

MozReview-Commit-ID: 92XLeY2VdIM

--HG--
extra : rebase_source : 755b4b4619ff33f061695df023dd9968cabbac07
2016-10-27 12:19:03 -07:00
Geoff Brown ef3f1323fa Bug 1313397 - Move browser/components/sessionstore/Utils.jsm to toolkit/modules; r=mikedeboer
--HG--
rename : browser/components/sessionstore/Utils.jsm => toolkit/modules/sessionstore/Utils.jsm
2016-11-02 10:56:20 -06:00
Sebastian Kaspari 1eeff08b6f Bug 1315206 - BrowserApp: Remove unneeded cast of BrowserAppDelegate objects. r=ahunt,maliu
MozReview-Commit-ID: 22eEGFr4lFo

--HG--
extra : rebase_source : 735021e2ba241fdd52b01427cc9929700c920790
2016-11-02 20:14:28 +01:00
Sebastian Kaspari fd85242c7a Bug 1315206 - Move Adjust related code from BrowserApp to delegate implementation. r=ahunt,nechen
MozReview-Commit-ID: IbTZKdWgPGc

--HG--
extra : rebase_source : 5d311c819b8b5b45c94c5ac821585e7ddba3109d
2016-11-02 20:13:36 +01:00
Sebastian Kaspari d60ea619e8 Bug 1315206 - Move getIsInAutomationFromEnvironment from BrowserApp to IntentUtils. r=ahunt,walkingice
MozReview-Commit-ID: AAFW9PzoVVN

--HG--
extra : rebase_source : d851f919a6c02914b68cf7ff7042c3d2fdbc2382
2016-11-02 20:00:45 +01:00
Andrzej Hunt 5715dbdd0e Bug 1315594 - Add missing break r=sebastian
I'm not quite sure when this slipped in - and I probably didn't test carefully enough.

MozReview-Commit-ID: Ki1VC693NHQ

--HG--
extra : rebase_source : acde4f9c2cae7eef7b8f6db601fa335677a3ee7c
2016-11-07 13:39:49 +01:00
Jonathan Almeida (:jonalmeida) a77daa0a61 Bug 1279278 - Custom Tabs toolbar using color fron Intent r=sebastian 2016-09-18 13:27:01 -04:00
Dylan Roeh 4c52336d53 Bug 1315359 - Refactor GeckoApp.onBackPressed to allow it to be used by both GeckoApp and CustomTabsActivity. r=snorp 2016-11-04 15:06:09 -05:00
Mike Taylor 93ad132f70 Bug 1314214 - Remove Yahoo! Japan finance and homepage UA overrides. r=karlcow 2016-11-01 07:53:00 +01:00
Wes Kocher df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
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