Commit Graph

20758 Commits

Author SHA1 Message Date
Tom Klein
693ac9734a Bug 1264347 - Refactor SnackbarHelper to use builder pattern. r=sebastian
MozReview-Commit-ID: 9WZBhhJIdNq

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/SnackbarHelper.java => mobile/android/base/java/org/mozilla/gecko/SnackbarBuilder.java
extra : rebase_source : f5bccb838b015fcb40709ab71a5ab8d42a75153e
2016-07-11 09:42:01 -05:00
Jan Henning
67ad36aff0 Bug 1253654 - Part 2 - Don't show the item divider in the history panel after a section header. r=liuche
That way, the section headers (e.g. "Today", "Yesterday", "Last 7 days" etc.) blend better with the following item.

The correct hiding of the divider depends on the view type reported for the respective RecylerView child items. Because the view type is stored a simple number, this means that any other RecylerView wanting to use this divider decoration implementation must use the same item types as the history panel in order to remain compatible, otherwise the divider could be unexpectedly hidden. Therefore, we rename the DividerItemDecoration to underline its intended usage scope.

MozReview-Commit-ID: 8JUS6ke3RBL

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/widget/DividerItemDecoration.java => mobile/android/base/java/org/mozilla/gecko/widget/HistoryDividerItemDecoration.java
extra : transplant_source : %E8%B7%8E%9F%C9%E5%CCmX%22r%D7%D2%8A%DF%2A%D0%83%9Bw
2016-07-14 20:57:43 +02:00
Jan Henning
1f9969116c Bug 1253654 - Part 1 - Update home panels section header styling. r=liuche
MozReview-Commit-ID: EflkRCg0Xby

--HG--
extra : transplant_source : %F3%BEm%AD%91%26/m%5E7%90%0F%01%C9%82_HZIU
2016-07-09 15:38:23 +02:00
Carsten "Tomcat" Book
a61e84c9f3 merge fx-team to mozilla-central a=merge 2016-07-17 09:16:38 +02:00
Kris Maglione
63c5aef93a Bug 1272222: Use larger icons for browser actions in the menu panel. r=Gijs
MozReview-Commit-ID: 26lmlcrngPk

--HG--
extra : rebase_source : b9d6bfb7669d3cb826ccaa6728e153ad3e3b2b8b
2016-07-13 15:16:00 -07:00
Sebastian Kaspari
e753074c83 Bug 1285926 - Post: Remove trailing whitespace from string. r=flod
MozReview-Commit-ID: KuNXcoiAJV5

--HG--
extra : amend_source : 7c935772626f3d5d394d50de5a46749ed5b28af7
2016-07-14 14:50:12 +02:00
Carsten "Tomcat" Book
297c287adc Backed out changeset 576835bcf8e3 (bug 1285063) 2016-07-14 14:18:53 +02:00
Matthew Wein
0aa659b7d2 Bug 1285063 - Part 2 - Switch to using the Category Manager to register scripts/schemas in order to load them in time for Fennec. r=kmag
MozReview-Commit-ID: AviHoenUfwY

--HG--
extra : transplant_source : %DEB%ED%86D%ED6%85%D1%5E%9FhS%BAd%40/%D0f%B7
2016-07-11 15:30:50 -07:00
Nicholas Rosbrook
61858cc00e Bug 1261980 - Added checks in GeckoProfileDirectories to prevent null dereferencing. r=mcomella
--HG--
extra : rebase_source : 5c8d3734b688b9606bf9d593adea96bf25b7e6ee
2016-06-17 18:22:26 -07:00
Jan Henning
dd79a6bb8c Bug 1284017 - Add telemetry for damaged session store files. r=sebastian
Just watching for a SessionRestoreException during startup can introduce some false positives, because that exception is triggered in any case where we can't restore tabs, not just when the session file has been damaged, e.g.:
- on first startup
- on builds affected by bug 1228593, users who are (theoretically) restoring their tabs, but clearing their history on exist end up with a deleted sessionstore.js
- should we implement bug 1275662, we'd hit that exception in that case, too.

Therefore we only send the telemetry event if we hit that exception even though a sessionstore.js file is present. We also exclude the case where the file size of sessionstore.js is 14 bytes, because that is most likely corresponding to a file containing only {"windows":[]}, which means that the session store intentionally wanted to write a file containing no tabs.

Currently this is only the case for users who are clearing their history on exit and are also *not* restoring tabs, however if bug 1275662 should get implemented, we'd probably encounter those empty files for users who have their restore setting set to "Always restore", too.

Because of bug 1261008, we can also end up with no restored tabs (and a SessionRestoreException) if the session file contains only about:home tabs with no history, because we're skipping those and not restoring them. To detect that case and exclude it from telemetry, we have to include additional logic within the SessionParser instance used during startup and pass those results back to the calling site in GeckoApp.

MozReview-Commit-ID: 6pAhDU3d8QA

--HG--
extra : rebase_source : ebf4d902a616c17ba10c645ad8ef469ceafe8cce
2016-07-05 22:40:01 +02:00
Carsten "Tomcat" Book
42c9a619ec merge fx-team to mozilla-central a=merge 2016-07-14 11:44:21 +02:00
Wes Kocher
d01201c94e Merge m-c to fx-team, a=merge 2016-07-13 14:11:54 -07:00
Mike Taylor
4fd54506f8 Bug 1285211. Enable "Report Site Issue" menu item in Aurora + Nightly. r=sebastian 2016-07-13 12:32:54 -04:00
Carsten "Tomcat" Book
564f508e43 merge mozilla-inbound to mozilla-central a=merge 2016-07-13 17:27:34 +02:00
Carsten "Tomcat" Book
d50eba7171 merge fx-team to mozilla-central a=merge 2016-07-13 17:24:54 +02:00
Grigory Kruglov
782ab6a25d Backed out changeset 5e2a5623088f (bug 1278301) because this feature is pending further investigation r=ahunt
MozReview-Commit-ID: ErVAafkRkqh

--HG--
extra : rebase_source : 4be19a6b3561a9b194b0f117b1ddfb5bc1bb82d8
2016-07-11 09:17:24 -07:00
Thom Chiovoloni
838730ae1b Bug 1238128 - Ensure that the details passed to WebChannelMessageToChrome is a string, with a whitelist for messages from existing users r=Margaret,markh,MattN
MozReview-Commit-ID: DpdJ5bUcBdQ

--HG--
extra : rebase_source : b240484b44e9040b2d4e8509589f288e896a4267
2016-07-12 19:34:41 -04:00
Jonathan Almeida (:jonalmeida)
c3adc70e06 Bug 1283478 - Tapping the download notification does not open the downloaded file r=mcomella
We were incorrectly retrieving the cookie from the notification intent
and passing that along which affected the invocation of the notification.

MozReview-Commit-ID: FxL8sw6lByJ

--HG--
extra : rebase_source : 503ab15c58b9403851477b380ffe7ac3bd2f7215
extra : amend_source : 8dd88a72795184f825a1e43f0cb163691cf97181
2016-07-05 15:44:17 -07:00
Carsten "Tomcat" Book
9c84360118 Merge mozilla-central to fx-team 2016-07-13 17:28:49 +02:00
Sebastian Kaspari
19871f936c Bug 1285926 - Add preference for enabling/disabling custom tabs support. r=grisha
MozReview-Commit-ID: 8KmJo5IM7JS

--HG--
extra : rebase_source : 276e646d04b1060f5e0a2575408dac266d94f28d
2016-07-11 15:41:55 +02:00
Carsten "Tomcat" Book
a7e954de09 Merge mozilla-central to fx-team 2016-07-12 16:42:42 +02:00
Carsten "Tomcat" Book
010d84a620 merge mozilla-inbound to mozilla-central a=merge 2016-07-12 16:30:18 +02:00
Sebastian Kaspari
ab950918d5 Bug 1284372 - URL bar: Force LTR for the URL. r=grisha
MozReview-Commit-ID: 3WnPTRmk5VO

--HG--
extra : rebase_source : 883ef94e601c2251db40dc59895289c2af957d61
2016-07-06 13:57:19 +02:00
Carsten "Tomcat" Book
02ea56d596 merge mozilla-inbound to mozilla-central a=merge 2016-07-12 10:58:33 +02:00
Jim Chen
247c8dadf2 Bug 1285570 - Implement VISITED event as native method; r=snorp
Convert the VISITED event in GeckoEvent to a native method call in
GeckoAppShell.
2016-07-11 18:07:35 -04:00
Jim Chen
71a6e62f73 Bug 1283739 - Prevent reentrant calls to showSoftInput and hideSoftInput; r=esawin
Add a check to showSoftInput and hideSoftInput To prevent an infinite
recursive loop of showSoftInput indirectly calling
onCreateInputConnection, which calls showSoftInput again,
2016-07-11 18:07:35 -04:00
Jim Chen
77a100ac1c Bug 1280446 - Follow-up to fix another possible crash; r=me 2016-07-11 17:16:57 -04:00
Carsten "Tomcat" Book
c4f94c21a0 Merge mozilla-central to fx-team 2016-07-11 16:25:10 +02:00
Carsten "Tomcat" Book
bd92616152 merge mozilla-inbound to mozilla-central a=merge 2016-07-11 16:21:15 +02:00
Grigory Kruglov
172be55891 Bug 1245791 - Part 2: Use LocalBroadcastManager for account change broadcasts r=nalexander
MozReview-Commit-ID: 493TXqS29Xt

--HG--
extra : rebase_source : 57499bb32019f5e4268fd02785cc3641785215f6
2016-07-07 18:15:08 -07:00
Grigory Kruglov
a3e84b7d79 Bug 1245791 - Part 1: Start FxAccountDeletedService directly, not through an intent r=nalexander
MozReview-Commit-ID: Ll1YkUhrQTJ

--HG--
extra : rebase_source : f7be09abe5f3950043549cf44ac8d0c092fda9d3
2016-07-07 11:32:52 -07:00
Grigory Kruglov
1e81008e49 Bug 1245791 - Pre: Remove unnecessary AccountLoaderNative r=nalexander
MozReview-Commit-ID: J1kzldfRTjx

--HG--
extra : rebase_source : 7137cc6b2edd1dc642dd31f0ce67ba3d4d94c653
2016-07-07 18:15:23 -07:00
Grigory Kruglov
150370f940 Bug 1245795 - Split Stumbler BroadcastReceivers into Local, System and Safe r=nalexander
SafeReceiver is responsible for registering LocalReceiver with a LocalBroadcastManager.
SystemReceiver is responsible for handling BOOT_COMPLETE and EXTERNAL_APPLICATIONS_AVAILABLE intents.
LocalReceiver is responsible for handling passed in Stumbler preferences (enabled state, API key, user agent).

StumblerPreferences are now sent using LocalBroadcastManager, avoiding any possibility of leaking API key.

MozReview-Commit-ID: J8pRN6pbLOg

--HG--
rename : mobile/android/stumbler/java/org/mozilla/mozstumbler/service/mainthread/PassiveServiceReceiver.java => mobile/android/stumbler/java/org/mozilla/mozstumbler/service/mainthread/LocalPreferenceReceiver.java
extra : rebase_source : 0f11bb5aa38c27849f1a4f35ed51bdf259c418c8
2016-07-07 19:40:11 -07:00
Sebastian Kaspari
071a04afd9 Bug 1283881 - Read homepage from Android's "Partner Customizations" content provider if read_partner_customizations_provider is set. r=grisha
MozReview-Commit-ID: 8He4sv8MoUw

--HG--
extra : rebase_source : 24e06b07c67cfe46383954abe4cef1914524f950
2016-07-05 14:48:23 +02:00
Grigory Kruglov
af2a097cb4 Bug 1245795 - Pre: Purge OrderedBroadcast r=nalexander
MozReview-Commit-ID: Ad1ENG0XJX1

--HG--
extra : rebase_source : dea0a39f6340e84f1fabee5abf8b861b26c92b2e
2016-07-04 17:51:15 -07:00
Sebastian Kaspari
7544d420b6 Bug 1283881 - Add PartnerBrowserCustomizationsClient for reading customizations from Android's "partner browser customizations" content provider. r=grisha
MozReview-Commit-ID: 3qVXGHC6LfE

--HG--
extra : rebase_source : 29d545e4e6ac606558a4f4cdf3f8f474d0606af0
2016-07-04 16:14:36 +02:00
Shih-Chiang Chien
004be13dbc Bug 1272197 - Part 3, backward compatibility for connecting TV 2.5 devices. r=junior
MozReview-Commit-ID: 1znjwuoO27b

--HG--
rename : dom/presentation/provider/MulticastDNSDeviceProvider.cpp => dom/presentation/provider/LegacyMDNSDeviceProvider.cpp
rename : dom/presentation/provider/MulticastDNSDeviceProvider.h => dom/presentation/provider/LegacyMDNSDeviceProvider.h
2016-07-04 18:27:09 +08:00
Sebastian Kaspari
8c58d6891e Bug 1283025 - Add support for PartnerBookmarksProvider. r=grisha
If a distribution sets "distribution.read_partner_bookmarks_provider" (Android preference)
to 'true' then Fennec will read from Android's PartnerBookmarksProvider [1] and add them
to the bookmarks panel UI.

[1] https://android.googlesource.com/platform/packages/providers/PartnerBookmarksProvider/+/master/src/com/android/providers/partnerbookmarks/PartnerBookmarksProvider.java

MozReview-Commit-ID: Lr50X4HhoC8

--HG--
extra : rebase_source : dae3ab3b1808db09eb82785c43e11c4e00f8f117
2016-07-04 20:00:01 +02:00
Wes Kocher
bacab7c0f8 Merge m-c to autoland, a=merge 2016-07-12 16:54:34 -07:00
Wes Kocher
0dcab503c5 Merge m-c to inbound, a=merge CLOSED TREE 2016-07-12 17:16:47 -07:00
Justin Wood
27f34d80f1 Bug 1223385 - use in-tree compare-locales in Makefiles, r=gps
Also fix that the default merge dir in the mach command creates a directory
that's the merge make target, and thus keeps that make target from actually
running.

MozReview-Commit-ID: HWZBPxWuHSy

--HG--
extra : rebase_source : a39157ad9eb99f3eef5d149d003e62a235f92fc1
2016-07-08 11:59:27 -04:00
Yoshi Huang
e24cc195d9 Bug 1274893 - remove -forbid- list from SafeBrowsing. r=francois 2016-07-11 16:11:32 +08:00
Phil Ringnalda
bc94fc8653 Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
Wes Kocher
f5f39f87cc Merge m-c to inbound, a=merge CLOSED TREE 2016-07-08 15:04:23 -07:00
Wes Kocher
2a800a6763 Merge fx-team to central, a=merge CLOSED TREE 2016-07-08 15:02:31 -07:00
Jim Chen
ff2fd08d62 Bug 1283882 - Implement LOCATION_EVENT as native call; r=snorp
Convert LOCATION_EVENT in GeckoEvent to a native method call in
GeckoAppShell.
2016-07-08 11:39:10 -04:00
Jim Chen
976590c3b2 Bug 1283882 - Move location listener to GeckoAppShell; r=snorp
Move LocationListener implementation from GeckoApp to GeckoAppShell
because the LocationListener consumer is in GeckoAppShell.
2016-07-08 11:39:09 -04:00
Jim Chen
e01ee0921d Bug 1283844 - Implement SENSOR_EVENT as native call; r=snorp
Remove SENSOR_EVENT from GeckoEvent and implement it as a native method
in GeckoAppShell that is invoked by the sensor event listener in
GeckoAppShell.
2016-07-08 11:39:09 -04:00
Jim Chen
2b7ff3f3e5 Bug 1283844 - Implement sensor event listener in GeckoAppShell; r=snorp
Implement SensorEventListener directly in GeckoAppShell instead of
indirectly through GeckoInterface and GeckoApp, because the
SensorEventListener consumer is in GeckoAppShell.
2016-07-08 11:39:09 -04:00
Nicholas Rosbrook
8e773e93eb Bug 1280794 - Updated WebURLFinder to use new WebURL regular expression that supports new TLDs r=nalexander,ahunt
MozReview-Commit-ID: 42dfexg5qCs

--HG--
extra : rebase_source : 1f9461868c1d7ba251f16119cb616c95a1825b69
2016-07-04 16:56:07 -04:00