Commit Graph
2302 Commits
Author SHA1 Message Date
maliu fa14753cea Bug 1328515 - Refine fallback margin left/right to include api23, r=sebastian
MozReview-Commit-ID: Ac8FP1fOGa
2017-01-04 12:04:28 +08:00
Adrian Zatreanu 1682d3fa79 Bug 1316008: Use explicit charset encoding r=nechen,sebastian
MozReview-Commit-ID: 3y2CKQZrLtl
2016-11-29 20:42:08 +02:00
Jim Chen d166100d35 Bug 1325155 - 2. Convert text selection events to bundle events; r=sebastian
Convert the "TextSelection:*" events to use BundleEventListener /
GeckoBundle, in both ActionBarTextSelection.java and
FloatingToolbarTextSelection.java. UI events are used because the
listeners require the UI thread. The "TextSelection:Update" listeners
are removed because the event is no longer sent by ActionBarHandler.
2016-12-28 17:49:29 -05:00
Jim Chen 3d9108bc91 Bug 1325154 - Convert NotificationHelper events to bundle events; r=sebastian
Convert NotificationHelper events to use BundleEventListener and
GeckoBundle. UI events are used to perform notification operations, and
to keep access to mClearableNotifications to the UI thread. Also,
refactor some recently-added code in NotificationHelper.
2016-12-28 17:49:28 -05:00
Jim Chen 6cadb97fc7 Bug 1325153 - Convert DoorHangerPopup events to bundle events; r=sebastian
Convert "Doorhanger:Add" and "Doorhanger:Remove" to bundle events. UI
events are used because the listener performs UI operations. As part of
the refactoring, DoorHangerConfig was refactored to use GeckoBundle, and
due to that change, a lot of other doorhanger-related classes also had
to be refactored to use GeckoBundle.
2016-12-28 17:49:28 -05:00
maliu b55e3e13ce Bug 1323763 - Revert setAutomirrored solution and provide drawable in ldrtl folder, r=ahunt
MozReview-Commit-ID: JwHTNbQ1HcN
2016-12-16 18:21:58 +08:00
James Cheng 39650ee39e Bug 1325330 - [EME][Fennec] Create MediaCrypto object inside GeckoMediaDrmBridge's constructor. r=kikuo
MozReview-Commit-ID: 4QmvUxrMe47
2016-12-23 15:42:22 +08:00
Sebastian Kaspari 8e5a8d02e2 Bug 1325380 - Use provider name for AS highlights. r=Grisha
MozReview-Commit-ID: 2vPk2DdrYed
2016-12-22 16:17:28 +01:00
Wes Kocher 16474ee2b4 Merge m-c to autoland, a=merge 2016-12-22 18:45:10 -08:00
Wes Kocher bd2cccd1c5 Merge inbound to central, a=merge
MozReview-Commit-ID: I54WGOLqHI2
2016-12-22 18:37:07 -08:00
Sebastian Hengst 4dfee98483 Bug 1324280 - Revert MarginLayoutParamsCompat with setting margin left/right by current layout direction: lint style fixes. r=lint-fixes 2016-12-22 18:52:34 +01:00
Carsten "Tomcat" Book ef798f401e Merge mozilla-central to mozilla-inbound 2016-12-22 16:25:35 +01:00
maliu bc364d383e Bug 1324280 - Revert MarginLayoutParamsCompat with setting margin left/right by current layout direction, r=sebastian
MozReview-Commit-ID: amwDqXRxE5
2016-12-21 15:27:09 +08:00
Grisha Kruglov 19a79c07b5 Bug 1325446 - Remove "private tab" telemetry from Activity Stream r=liuche
MozReview-Commit-ID: JUHQOxGXvAu
2016-12-22 11:57:42 -08:00
Grisha Kruglov e658b24a77 Bug 1319245 - Post: clean up async tasks and access levels r=sebastian
MozReview-Commit-ID: IWwTqkqa2OH
2016-12-21 23:01:45 -08:00
Grisha Kruglov 85c4aec87f Bug 1319245 - Track rich telemetry data for Activity Stream r=sebastian
General concept is to populate the "extras" field with a stringified JSON object
which contains bunch of additional data which, in aggregate, might give insight
into user's actions.

A builder is used in order to make constructing the extras json string easier.
This builder has a concept of a "global state" which lets us easily include some information
with every A-S telemetry ping.
Currently this is used to track whether or not user has a firefox account.

An instance of a builder is passed around, augmented as more information becomes known,
and is materialized into an "extras" string whenever an action occurs and telemetry
event needs to be sent.

MozReview-Commit-ID: GDmxkWChnnA
2016-12-21 22:51:27 -08:00
Sebastian Kaspari 1829fdd178 Bug 1323952 - Preferences: Set default 'compact tabs' value based on experiment. r=ahunt,nechen
MozReview-Commit-ID: EbE1Lrk90bc
2016-12-20 19:28:08 +01:00
Sebastian Kaspari 4543899f63 Bug 1323952 - Tabs panel: Update default based on compact tabs experiment. r=ahunt,nechen
MozReview-Commit-ID: GTJ3YMLvHup
2016-12-20 15:43:12 +01:00
Sebastian Kaspari f436fbbc23 Bug 1323952 - Add compact tabs experiment. r=ahunt,nechen
MozReview-Commit-ID: DSoEm62tLRW
2016-12-20 15:41:42 +01:00
Phil Ringnalda 6899018849 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EI1fU13SR79
2016-12-20 20:15:20 -08:00
Jim Chen 53f757d9a7 Bug 1324817 - Fix NPE in setSearchEngineFromBundle; r=me
Fix a NPE in setSearchEngineFromBundle when mIdentifier is null. r=me
for trivial patch.
2016-12-20 17:01:04 -05:00
Wes Kocher e5826ac971 Merge inbound to central, a=merge
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Nevin Chen 2ec9166e7d Bug 1320889 - Tapping the notification for a downloaded file shouldn't open firefox. r=ahunt
MozReview-Commit-ID: FzBk0TmVlm0
2016-12-16 16:30:19 +08:00
Nevin Chen 681e094113 Bug 1241262 - Use resolveInfo.activityInfo.icon instead of resolveInfo.icon to support SDK 23 and later. r=ahunt
MozReview-Commit-ID: nGV2ElQEO2
2016-12-01 15:56:41 +08:00
Wes Kocher e553a20230 Merge m-c to autoland, a=merge 2016-12-20 11:48:21 -08:00
Tom Klein 406e869bf0 Bug 1324034 - Remove TwoWayView. r=sebastian
MozReview-Commit-ID: GaqJEmi4dG7
2016-12-20 00:54:12 -06:00
Phil Ringnalda 73d666a634 Merge m-c to autoland 2016-12-18 20:24:15 -08:00
Phil Ringnalda 25b19a61af Merge m-i to m-c, a=merge
MozReview-Commit-ID: DIIe4uRVqAO
2016-12-18 20:22:37 -08:00
Jim Chen 06bae62628 Bug 1323577 - Convert "SearchEngines:Data" event to bundle event; r=sebastian
Convert "SearchEngines:Data" to use BundleEventListener/GeckoBundle,
including usages in BrowserSearch, SearchPreferenceCategory,
testAddSearchEngine, testDistribution, etc. Also, convert JSON parsing
code in various classes. UI thread is used because the event listeners
perform various UI operations based on the event data.
2016-12-18 08:10:19 -05:00
owais 42f71646b7 Bug 1220316-Removed explicit use of AppCompactCheckBox in the following files Part 2. r=sebastian.
MozReview-Commit-ID: EifGBrM87Xj
2016-12-16 23:42:43 +05:30
Tom Klein 56be8ca3dd Bug 1323951 - Don't show the compact tabs setting on tablets. r=sebastian
preferences_general_tablet.xml actually only applies on tablets with enough room
for multiple panes, otherwise preferences_general.xml is used; so the fix here
is necessary to remove the pref on tablets not large enough for multiple
preferences panes.

MozReview-Commit-ID: Ff7VebVYV10
2016-12-16 15:12:16 -06:00
Tom Klein fcb18c2db2 Bug 1317446 - 3. Add TabStripDividerItem for TabStripView dividers and spacing. r=sebastian
MozReview-Commit-ID: 5OC58tEGQrM
2016-10-16 21:03:50 -05:00
Tom Klein b538e58285 Bug 1317446 - 2. Add TabStripItemAnimator for TabStripView item animations. r=sebastian
MozReview-Commit-ID: AF2pwFMvWDe
2016-10-17 20:45:13 -05:00
Tom Klein 41c19be8ac Bug 1317446 - 1. Make TabStripView a RecyclerView. r=sebastian
MozReview-Commit-ID: EGzDZBpAV3N
2016-11-14 15:02:02 -06:00
Shan 7d1bbb428a Bug 1316021 - Remove unnecessary static fields; r=sebastian 2016-12-19 17:37:33 +01:00
Nick Alexander 13509b604c Bug 1291366 - Part 2: Add o.m.geckoview.BuildConfig. r=sebastian
This is the first, mostly mechanical, introduction of a GeckoView
specific BuildConfig.

We have a few "debug logging" like checks.  I introduced a
MOZILLA_OFFICIAL abstraction and removed some of the checks as I saw
fit.  Subsequent patches will remove more of these checks.

With this change applied, Gradle is broken, because there will be
duplicate BuildConfig files included in the build.  That will be fixed
in subsequent patches.

MozReview-Commit-ID: KHhV32o5j5A
2016-12-14 20:26:03 -08:00
Nick Alexander 1d34e5b4c4 Bug 1321638 - Part 3: Add ScreenOrientationDelegate. r=jchen
This patch abstracts setting the screen orientation into an interface
(but not into the already overloaded GeckoInterface).

I feel this form obscures the (eventual) connection between the
GeckoView widget and its embedding Activity, but it removes the
explicit getActivity() and it's certainly simpler than previous
iterations.

MozReview-Commit-ID: 8a8bPTlcp3T
2016-12-16 15:45:27 -08:00
Andrzej Hunt 75f10965f2 Bug 1324051 - Add highlights histogram telemetry r=Grisha
MozReview-Commit-ID: 92m8jYS8b8D
2016-12-16 10:42:04 -08:00
Andrzej Hunt bb3f4d88ef Bug 1324051 - Pre: fix constant name typo r=Grisha
MozReview-Commit-ID: GX9sxnfnnuG
2016-12-16 10:39:02 -08:00
Tom Klein 886dd50b22 Bug 1282763 - Wait for anchor to display before reanchoring tabs menu. r=sebastian
MozReview-Commit-ID: DQGNWQYbTop
2016-11-30 12:00:00 -06:00
Carsten "Tomcat" Book 36a4cd9251 merge mozilla-inbound to mozilla-central a=merge 2016-12-16 16:04:50 +01:00
Phil Ringnalda 66fba0dfc7 Merge m-c to m-i
MozReview-Commit-ID: FArqhSVQLaT
2016-12-15 17:53:14 -08:00
Grisha Kruglov 52a1d7f8c8 Bug 1321368 - Exclude remote-only visits from AS Top Sites r=ahunt
MozReview-Commit-ID: Jacc3SGT2pw
2016-12-14 16:53:31 -08:00
John Lin 2ab137e141 Bug 1323687 - re-query output buffers after format change. r=esawin
MozReview-Commit-ID: 8L1MH3ODU8d
2016-12-15 18:10:14 +08:00
Grisha Kruglov ded40602ff Bug 1319274 - Part 3: Allow pinning and unpinning of both Top Sites and Highlights r=ahunt
This commit introduces a special type of a pin, "Activity Stream pin".
It's identified by a fixed position of -1. Activity Stream pins are displayed inline
with top sites, at the very front. They are "non-positioned", as opposed to regular pins
which have a position on Top Sites grid. This approach was selected (as opposed to creating a
new kind of a "non-positioned pins bookmark folder") because it is simpler, does not
involve any migrations or sync changes, and is thus preferred in light of a moving
target that is the current vision for Activity Stream.

Two types of pins, regular ones and Activity Stream pins, are independent of each other.

Due to the fact that pins and bookmarks are almost the same thing, we can only figure our,
based on the underlying queries, the following ahead of time:
- pinned state of a pinned top site item (trivial case)
- pinned state of a non-pinned top site item (trivial case)
- bookmark state of a "bookmarked" hightlight item (trivial case)
- bookmark state of a non-pinned top site item

For all other combinations, states have to be looked up when user opens a context menu for an item.

MozReview-Commit-ID: 3KbOp9S4Pz7
2016-12-14 16:23:40 -08:00
Grisha Kruglov eeb890257e Bug 1319274 - Part 2: Display a pin icon besides the Top Site title r=ahunt
MozReview-Commit-ID: BGpgJOeuRQn
2016-12-01 19:35:02 -08:00
Grisha Kruglov e7cabf91f0 Bug 1319274 - Part 1: Use regular getTopSites method for A-S top sites r=ahunt
Since we want to include pinned sites in A-S Top Sites, this removes the "plain top sites"
query which excludes pinned sites.

Maximum number of suggested sites displayed is set so that they will fill out at most two "pages".

MozReview-Commit-ID: 8uynmwiaPkt
2016-12-01 18:53:47 -08:00
Jim Chen 004c7c87a4 Bug 1322715 - Convert DownloadsIntegration event; r=sebastian
Convert the "Download:Remove" event listener in DownloadsIntegration
from a NativeEventListener to a BundleEventListener on the background
thread.
2016-12-15 18:23:54 -05:00
Jim Chen 9d5254ae1a Bug 1322714 - Convert RecentTabsAdapter and GeckoPreferences events; r=sebastian
Convert "ClosedTabs:Data" and "Sanitize:Finished" events used in
RecentTabsAdapter and GeckoPreferences from NativeJSObject events to
GeckoBundle events.
2016-12-15 18:23:54 -05:00
Shubham 21f36a7e41 Bug 1155860 - open a shared link -r?ahunt
MozReview-Commit-ID: 6Vwfmpt4UQY
2016-11-18 12:50:53 -05:00