Commit Graph
2909 Commits
Author SHA1 Message Date
Sebastian Hengst 74bd3e1513 Backed out changeset 3e71466a060d (bug 1324530) 2017-01-06 09:49:22 +01:00
Sebastian Hengst 7719050665 Backed out changeset c520d79f9611 (bug 1324530) 2017-01-06 09:49:13 +01:00
John Lin 72574e2fb5 Bug 1324530 - part 4: improve remote manager init wait time. r=snorp
Fix the issue that RemoteManager.init() will be block for 5s when onServiceConnected() is
finished before latch creation.

MozReview-Commit-ID: CYYpLpY7Ns9
2016-12-23 16:28:48 +08:00
John Lin 6374a3bb51 Bug 1324530 - part 2: rewrite the logic of discarding invalid buffers for flush. r=esawin
MozReview-Commit-ID: EwTRMaJOJhK
2016-12-28 15:56:42 +08:00
John Lin 4bc54a0307 Bug 1324530 - part 1: add method to AsyncCodec for resuming receiving input buffers after flush(). r=esawin
2 birds with 1 stone:
 - according to MediaCodec doc, when running in async mode start() must be called after flush() to 'resume receiving input buffers'.
 - in JellyBeanAsyncCodec's case, explicit resuming polling input buffers helps Codec decide which buffers are invalid by flush().

MozReview-Commit-ID: Ee5QbppgsVf
2016-12-28 15:41:55 +08:00
Jan Henning 974edda741 Bug 1266594 - Part 1 - Wait for Java-side sanitizing to be triggered before exiting the UI. r=jchen
When clearing private data on exit, Gecko sends a "Sanitize:ClearHistory" message back to the Java UI, so the latter can clear the history DB if necessary.
For some users, this process is not working, presumably because there is a race condition depending on whether Gecko gets as far as sending that message before the background thread responsible for receiving that message has already shut down/had its listener unregistered, or not.

Therefore, we now wait until the UI's sanitize handlers have been called before starting to shut it down as well.

MozReview-Commit-ID: HoifMYv3spA
2016-12-31 13:35:38 +01:00
Shan 6696794be8 Bug 1320298 - Change mutable array to unmutable list; r=sebastian
MozReview-Commit-ID: 3HkWfzEeZFw
2016-12-13 14:41:10 +05:30
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