Commit Graph
2909 Commits
Author SHA1 Message Date
maliu a55c177029 Bug 1312719 - Clear icon by setIcon with null drawable before setIcon with resId, r=sebastian
MozReview-Commit-ID: LTUMIoANQw7
2016-11-05 19:18:59 +08:00
Dylan Roeh 6f4366f744 Bug 1315348 - Handle orientation changes in CustomTabsActivity without losing toolbar color or title. r=sebastian 2016-11-08 11:03:41 -06:00
Dylan Roeh 1df5f79cfe Bug 1305439 - Store the last selected tab in GeckoApp in onPause and switch back to it in onResume. r=sebastian 2016-10-14 14:41:25 -05:00
Phil Ringnalda f65207971b Merge m-i to m-c, a=merge
MozReview-Commit-ID: 5599Z7kxjk3
2016-11-07 20:38:29 -08:00
Dylan Roeh 0418da4112 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
Sebastian Kaspari 2f2ad2fcef Bug 1315206 - BrowserApp: Remove unneeded cast of BrowserAppDelegate objects. r=ahunt,maliu
MozReview-Commit-ID: 22eEGFr4lFo
2016-11-02 20:14:28 +01:00
Sebastian Kaspari fe2a0728da Bug 1315206 - Move Adjust related code from BrowserApp to delegate implementation. r=ahunt,nechen
MozReview-Commit-ID: IbTZKdWgPGc
2016-11-02 20:13:36 +01:00
Sebastian Kaspari 8564ac9007 Bug 1315206 - Move getIsInAutomationFromEnvironment from BrowserApp to IntentUtils. r=ahunt,walkingice
MozReview-Commit-ID: AAFW9PzoVVN
2016-11-02 20:00:45 +01:00
Andrzej Hunt 5d3619d1fb 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
2016-11-07 13:39:49 +01:00
James Cheng 247230a813 Bug 1306572 - Part1 - Implement GeckoMediaDrm API as a glue for native CDMProxy and java impl MediaDrmBridge. r=cpearce,jchen
MozReview-Commit-ID: GUKqWvmaaFl
2016-11-01 14:39:01 +08:00
Grisha Kruglov 3dd6f6d61a 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
2016-11-04 13:39:50 -07:00
Grisha Kruglov e04d4ce452 Bug 1301717 - Dispatch an event informing listeners that uri has been stored in history table r=sebastian
MozReview-Commit-ID: JHv6BO1rJsL
2016-10-27 15:44:51 -07:00
Grisha Kruglov 6f53482bd8 Bug 1301717 - Allow querying, inserting and cleaning up page metadata via BrowserProvider r=sebastian
MozReview-Commit-ID: 9SxriBMVgcv
2016-11-03 12:04:31 -07:00
Grisha Kruglov ee53472263 Bug 1301717 - Schema migration: add page_metadata table r=sebastian
MozReview-Commit-ID: 5HeqvuqGabM
2016-11-03 10:33:54 -07:00
Andrzej Hunt e3c23ed365 Bug 1312114 - Post: cleanup imports r=ahunt
MozReview-Commit-ID: 7KaG5fUN4XQ
2016-10-21 14:49:27 -07:00
Andrzej Hunt a63bcaeb29 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
2016-11-03 11:45:42 +01:00
Andrzej Hunt 62356074a5 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
2016-10-21 14:55:09 -07:00
Andrzej Hunt a71ff36c1d Bug 1312114 - Add VectorDrawable support to GeckoMenu r=sebastian
MozReview-Commit-ID: FDCerhozC1S
2016-10-21 14:43:06 -07:00
Andrzej Hunt f362bd88d5 Bug 1312114 - Support VectorDrawable's in ResourceDrawableUtils r=sebastian
MozReview-Commit-ID: 26jCSWUpiRU
2016-11-03 11:47:38 +01:00
Andrzej Hunt b87a46c199 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
2016-10-21 15:51:38 -07:00
Nevin Chen 9286a78415 Bug 1310621 - Drop the suggestions if search engines are not available. r=sebastian
MozReview-Commit-ID: FtGO45mfSay
2016-10-28 17:05:53 +08:00
Kilik Kuo d285124403 Bug 1306196-[P2] Provide RemoteMediaDrmBridge & corresponding stub to underlying GeckoMediaDrmBridge implementation. r=cpearce,jchen
MozReview-Commit-ID: K49zWmuJOpt
2016-11-01 23:46:34 +08:00
Kilik Kuo 80ac6ce496 Bug 1306196-[P1] Provide AIDL definiion for EME functionality on Fennec MediaManager Service. r=cpearce,jchen
MozReview-Commit-ID: IPr9WQQbGNB
2016-11-01 19:27:18 +08:00
Kilik Kuo ee575dafc6 Bug 1306185-[Part3] Provide LocalMediaDrmBrdige as an intermediate which is the entry to actual GeckoMediaDrmBridge implementation. r=cpearce,jchen
MozReview-Commit-ID: I9NH0ibGdEn
2016-11-01 19:16:17 +08:00
Kilik Kuo 2d21148960 Bug 1306185-[Part2] Provide GeckoMediaDrmBridge implementation for Lollipop(V21)/Mashmallow(V23). r=cpearce,jchen
MozReview-Commit-ID: D53jHRakBxL
2016-11-03 00:32:59 +08:00
Kilik Kuo f9ffb821eb Bug 1306185-[Part1] Provide Java interface to bridge Gecko's gmp-decryption-like API and MediaDrm API r=cpearce,jchen
MozReview-Commit-ID: 3jxofUxcTA9
2016-11-01 19:11:38 +08:00
KuoE0 e59d0f7580 Bug 1313601 - Disable presentation mode when taps disconnect from Chromecast on Android Notification Bar. r=sebastian
MozReview-Commit-ID: Ge83JjnPSJg
2016-10-28 16:26:03 +08:00
Phil Ringnalda 2c3920625f Merge m-c to autoland 2016-11-02 20:03:20 -07:00
Phil Ringnalda 1376833f1c Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Alastor Wu 2f514687d2 Bug 1290836 - Re-enable media control for all versions. r=sebastian,snorp
MozReview-Commit-ID: JrMs6akb7He
2016-11-01 15:23:05 +08:00
Tom Klein 3131225607 Bug 1314322 - Create new add animation for tabs list. r=sebastian
Make the TabsListLayoutAnimator a DefaultItemAnimatorBase.

MozReview-Commit-ID: 4vZ93ACPUq
2016-10-26 15:32:50 -05:00
Tom Klein 3258391e60 Bug 1314322 - Add DefaultItemAnimatorBase. r=sebastian
MozReview-Commit-ID: HXyaZ7yEyxA
2016-10-27 00:08:05 -05:00
Tom Klein 118c3084a1 Bug 1314322 - Pre: Don't reset view attributes in onBindViewHolder. r=sebastian
MozReview-Commit-ID: 2IKi7dHADx9
2016-11-01 09:20:14 -05:00
Andrzej Hunt 7d012645ca Bug 1312434 - Move Highlights title into separate RV item for better accessibility traversal r=sebastian
By default, a TextView within e.g. a RelativeLayout will be used as the description for
the entire layout. I.e. traversal of the RecyclerView would begin with the Highlights title
being read, and the entire toppanel (i.e. TopSites + the Highlights title) being focused,
followed by traversing the TopSites pager. Instead we want to make sure TopSites are
traversed _before_ getting to the highlights title.

MozReview-Commit-ID: IIrts6vGouK
2016-11-04 10:53:45 +01:00
Andrzej Hunt 7decb033e8 Bug 1312477 - Post: remove arbitrary peek and max heights from BottomSheet menu r=sebastian
Setting the max height is completely arbitrary, and largely unnecessary - I think it's better
to let the bottom automatically handle this until we know more about how the bottom sheet
is perceived by real users.

The peek height is similarly arbitrary - we'll probably want to discuss a good default height
algorithm with UX, but setting an arbitrary hardcoded value seems wrong, especially since
it doesn't behave well in landscape mode. BottomSheetDialog already does an acceptable
job of finding a default peek height.

MozReview-Commit-ID: LyAYzcytR6H
2016-11-02 21:13:19 +01:00
Andrzej Hunt 7cb0c18af8 Bug 1312477 - Add popupmenu mode to AS context menu for use on tablet r=sebastian
MozReview-Commit-ID: HCym4G8RtcU
2016-11-02 21:01:43 +01:00
Andrzej Hunt 9e7fb58be7 Bug 1312477 - Pre: refactor AS context menu to allow multiple view implementations r=sebastian
This is in preparation for having a popup menu on tablets.

MozReview-Commit-ID: 14thIuhRkgB
2016-11-02 20:57:05 +01:00
James Cheng abffd832ff Bug 1314530 Part2 - Add isRemote flag to MediaDrmProxy::Create function to determine if it is oop case. r=cpearce
MozReview-Commit-ID: Dqf1C5nDHct
2016-11-07 14:01:25 +08:00
Jonathan Almeida (:jonalmeida) 2ce2cd1865 Bug 1279278 - Custom Tabs toolbar using color fron Intent r=sebastian 2016-09-18 13:27:01 -04:00
Dylan Roeh eb240f7c0f 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
Carsten "Tomcat" Book 4e1433ec6e Backed out changeset 12d6d9c37b2d (bug 1306185) causing lint perma failures 2016-11-02 15:24:58 +01:00
Carsten "Tomcat" Book b9f48f6c87 Backed out changeset a40cb9ae8d07 (bug 1306185) 2016-11-02 15:24:13 +01:00
Carsten "Tomcat" Book 1a20063948 Backed out changeset 2d8d0579cb0d (bug 1306185) 2016-11-02 15:24:11 +01:00
Carsten "Tomcat" Book d11c7480af Backed out changeset 4eab781604ad (bug 1306196) 2016-11-02 15:24:09 +01:00
Carsten "Tomcat" Book 2c1396486a Backed out changeset 0aa5b42dccea (bug 1306196) 2016-11-02 15:24:07 +01:00
Sebastian Kaspari 98ef805ae6 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
2016-11-02 13:56:43 +01:00
Kilik Kuo 68cb2af491 Bug 1306196-[P2] Provide RemoteMediaDrmBridge & corresponding stub to underlying GeckoMediaDrmBridge implementation. r=cpearce,jchen
MozReview-Commit-ID: K49zWmuJOpt
2016-11-01 23:46:34 +08:00
Kilik Kuo 363b7db9fc Bug 1306196-[P1] Provide AIDL definiion for EME functionality on Fennec MediaManager Service. r=cpearce,jchen
MozReview-Commit-ID: IPr9WQQbGNB
2016-11-01 19:27:18 +08:00
Kilik Kuo 23493fb632 Bug 1306185-[Part3] Provide LocalMediaDrmBrdige as an intermediate which is the entry to actual GeckoMediaDrmBridge implementation. r=cpearce,jchen
MozReview-Commit-ID: I9NH0ibGdEn
2016-11-01 19:16:17 +08:00
Kilik Kuo c6620623cf Bug 1306185-[Part2] Provide GeckoMediaDrmBridge implementation for Lollipop(V21)/Mashmallow(V23). r=cpearce,jchen
MozReview-Commit-ID: 2hfKcWqBqvH
2016-11-01 19:12:23 +08:00