Commit Graph

21273 Commits

Author SHA1 Message Date
Eugen Sawin
905a450ea2 Bug 1291424 - [1.4] Extract and cache libs on first run. r=glandium,snorp 2016-09-27 14:02:37 +02:00
Iris Hsiao
767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
Iris Hsiao
a95e0164c0 merge fx-team to mozilla-central a=merge 2016-09-26 18:29:38 +08:00
Nick Alexander
1a1eb3493b Bug 1255875 - Complain to treeherder if Android checkstyle, lint, or unittest fails. r=grisha
It's not obvious how to listen to individual errors in most cases, so
we just link to the reports for now.  Progress!

MozReview-Commit-ID: 8nGRJdpzZnO

--HG--
extra : rebase_source : e81c9b29cb03c5ba73e793512525b5c9c68ab655
extra : amend_source : ce1e2368d43d37cab8fe41cd7a978342ad3e2ea6
2016-09-23 13:58:10 -07:00
Carsten "Tomcat" Book
a65e4225ef merge mozilla-inbound to mozilla-central a=merge 2016-09-23 12:05:53 +02:00
Jim Chen
7ffb25ebc2 Bug 1304145 - 5. Implement NotificationListener in NotificationClient; r=nalexander
Provide Fennec's implementation of GeckoAppShell.NotificationListener in
NotificationClient. A lot of the code was removed in an earlier patch
from GeckoAppShell, so combined with this patch, we're essentially
moving code from GeckoAppShell to NotificationClient.
2016-09-22 16:38:19 -04:00
Jim Chen
ea53af2ebc Bug 1304145 - 4. Use string names instead of integer IDs for notifications; r=nalexander
Use string names instead of integer IDs to identify notifications. The
integer IDs came from the hashes of the string names, so they are not
guaranteed to be unique. Because the names from Gecko are a combination
of the site origin and notification tag, there can be unintentional
collisions, or worse, a site can intentionally make its notification
collide with and replace another site's notification.
2016-09-22 16:38:19 -04:00
Jim Chen
0841d97060 Bug 1304145 - 3. Move GeckoService and notification package to Fennec; r=nalexander
GeckoService and the notification package have some interdependencies,
so if we want to move the notification package, we have to move
GeckoService also. With that said, it's good to move GeckoService in any
case, because it's a Fennec component just like GeckoApp.

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoService.java => mobile/android/base/java/org/mozilla/gecko/GeckoService.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/AppNotificationClient.java => mobile/android/base/java/org/mozilla/gecko/notifications/AppNotificationClient.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationClient.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationClient.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationHandler.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationHandler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationHelper.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationHelper.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationReceiver.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationReceiver.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationService.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationService.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/ServiceNotificationClient.java => mobile/android/base/java/org/mozilla/gecko/notifications/ServiceNotificationClient.java
2016-09-22 16:38:19 -04:00
Jim Chen
ae3538f775 Bug 1304145 - 2. Change GeckoAppShell's notification interface; r=nalexander
Instead of using NotificationClient directly from GeckoAppShell, add a
NotificationListener interface, which NotificationClient would
implement. This isolates NotificationClient (and the notification
package) from GeckoAppShell and lets us move the notification package to
Fennec. It also makes a cleaner interface for GeckoView consumers to
implement notification support.
2016-09-22 16:38:19 -04:00
Jim Chen
a513529b7c Bug 1304145 - 1. Restrict access for GeckoAppShell JNI methods; r=nalexander
General cleanup patch: make JNI methods in GeckoAppShell private if
possible, because they're not meant to be used in Java from outside of
GeckoAppShell.
2016-09-22 16:38:19 -04:00
Rob Wu
cbe00aff2e Bug 1296900 - Add test for availability of default WebExtension APIs r=kmag
MozReview-Commit-ID: LIr5Nsv51I3

--HG--
extra : rebase_source : 54e4b9169c545cb6359c7a0273dfaa54369da231
2016-08-20 22:21:45 -07:00
Grigory Kruglov
2d973e1eac Bug 1305182 - Release thumbnailClient in the unittest tearDown r=ahunt
MozReview-Commit-ID: KoW42T57gna

--HG--
extra : rebase_source : 70a80b90e88a4fb679da8c3907d78a645a7b9eaa
2016-09-23 16:43:10 -07:00
Wes Kocher
b77ba3eb2a Backed out 2 changesets (bug 1296900) for mochitest failures in test_ext_all_apis.html a=backout
Backed out changeset c37cf3cfd39c (bug 1296900)
Backed out changeset 998ed8336288 (bug 1296900)
2016-09-23 16:15:05 -07:00
Grigory Kruglov
9bc2b883fc Bug 1302601 - Fix broken tests - poor method override r=ahunt
MozReview-Commit-ID: DX2gTqXngiq

--HG--
extra : rebase_source : 506c8ac43b3ab39165614815856e4593fb668e64
2016-09-23 13:27:45 -07:00
Rob Wu
e31aa32c80 Bug 1296900 - Add test for availability of default WebExtension APIs r=kmag
MozReview-Commit-ID: LIr5Nsv51I3

--HG--
extra : rebase_source : 00f17e5b9b38b4a658b4b2a011ff6061a3f520b0
2016-08-20 22:21:45 -07:00
Grigory Kruglov
0f27194436 Bug 1300094 - Update robolectric to 3.1.2 r=sebastian
MozReview-Commit-ID: KuvzMbZ2n1q

--HG--
extra : rebase_source : e3e9fde87f69c8aa2c5f74de2c497441962486fd
2016-09-22 13:42:42 -07:00
Grigory Kruglov
1e4e8c6e6e Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian
MozReview-Commit-ID: KDimL7VeEA2

--HG--
extra : rebase_source : 713c680827562400d814ad32233b96d1a47a101a
2016-09-22 14:31:01 -07:00
Michael Comella
d5da1a9162 Bug 1290882 - Remove 'Press back to exit' snackbar when entering fullscreen mode. r=ahunt
We decided to remove it because:
 * Modern video controls include an exit fullscreen button
 * After bug 1031519, you have to swipe down from the top of the screen to
display the soft back button so the copy does not make sense.

Note that the `MozShowFullScreenWarning` event was removed previously in the
platform in [1] so we remove the listener attachment here without replacing it.

[1]: https://hg.mozilla.org/integration/fx-team/rev/a6a5f79e630d

MozReview-Commit-ID: HwyyUkWkUUH

--HG--
extra : rebase_source : 99b81c1f71aca357c3a9ea34e63fc7d20bed994f
2016-09-21 14:47:36 -07:00
Kilik Kuo
dc3bf0fbf7 Bug 1302331 - [Part2] Make CryptoInfo as an argument for method CodecProxy.input. r=jchen,jolin
MozReview-Commit-ID: JeqNNixbRvv

--HG--
extra : rebase_source : c99d875c2a992b098dc4e34d0831f4bb6f8ac7e4
2016-09-22 14:07:56 +08:00
Kilik Kuo
892fcf2a09 Bug 1302331 - [Part1] Support MediaCodec.CryptoInfo in Sample class r=jchen,jolin
MozReview-Commit-ID: LT89uvRxm4z

--HG--
extra : rebase_source : f395efbaeca9271d1574588790f9c68fea8e1335
2016-09-17 13:17:33 +08:00
Kartikaya Gupta
c0e51bca0a Bug 1301593 - Block versions of the Galaxy Note 4 from using the dynamic toolbar as well. r=sebastian
MozReview-Commit-ID: KOlIwP8xLhy

--HG--
extra : rebase_source : cda002731a14235e52e5d4b6644b3aa1bfe4acf7
2016-09-13 11:42:58 -04:00
Carsten "Tomcat" Book
cae9054451 Merge mozilla-central to autoland 2016-09-22 13:44:33 +02:00
Carsten "Tomcat" Book
cce863628d merge fx-team to mozilla-central a=merge 2016-09-22 11:54:05 +02:00
Jan Henning
94429143e5 Bug 1304168 - Use correct function name to remove event listener. r=sebastian
MozReview-Commit-ID: HJgrdLstQ3R

--HG--
extra : rebase_source : 422f45586bef02499e59864d3f449e48567bb18d
2016-09-20 22:20:23 +02:00
Carsten "Tomcat" Book
dd33962ca2 Merge mozilla-central to fx-team 2016-09-21 12:08:57 +02:00
Carsten "Tomcat" Book
4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Gregory Szorc
08197be0d0 Backed out changeset e6b3befb87a2 (bug 1300807) for eslint bustage 2016-09-20 19:10:41 -07:00
James Cheng
afa895be17 Bug 1297556 - Add telemetry to know how many crashes happens in decoding process. r=bsmedberg, r=jolin
MozReview-Commit-ID: 52hhddXOvL3

--HG--
extra : transplant_source : C%B8D%F2%DF%20%91wV%CC%D8b%5D%97%80%9E%93%92FR
2016-09-19 15:47:55 +08:00
Matthew Wein
00866fea33 Bug 1300807 - Switch to using a uuid for the PageAction ID. r=kmag
MozReview-Commit-ID: 4jlz9gdUuQd

--HG--
extra : transplant_source : %7B%96%12%EB%DF%FCvgv%25%15%EA1Z%E9%5BN%0FM%99
2016-09-13 11:13:40 -07:00
Nick Alexander
b316681623 Bug 1303468 - Follow-up: Unbust Gradle lint. r=me
MozReview-Commit-ID: IWB0CMVuNPr
2016-09-19 14:54:24 -07:00
Nick Alexander
0714ea6615 Bug 1303468 - Follow-up: Unbust Gradle builds. r=me
MozReview-Commit-ID: IbqnIC4L83A

--HG--
extra : rebase_source : 3af27bf38c5e7ec93ba1835fa3f9c6d26675551e
2016-09-19 14:24:13 -07:00
Nick Alexander
2a72ea59a4 Bug 1303468 - Part 2: Move Fennec- and Gradle-specific file back to base/. r=jchen
This is only there to silence the linter.

MozReview-Commit-ID: 8zEDsrbjyeo

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/UnusedResourcesUtil.java => mobile/android/base/java/org/mozilla/gecko/util/UnusedResourcesUtil.java
extra : rebase_source : be9a886cc2d28a4336690255279f9cf50e9ed047
extra : histedit_source : 43c4512d56f5a01f04ecada6a493107b6ac9581f
2016-09-16 15:55:01 -07:00
Nick Alexander
94886d9a99 Bug 1303468 - Part 1: Move more things into GeckoView. r=jchen
MozReview-Commit-ID: CEjyq0TFn6j

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/SysInfo.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/SysInfo.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/JNITarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/JNITarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/ReflectionTarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/ReflectionTarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/RobocopTarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/RobocopTarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/WebRTCJNITarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/WebRTCJNITarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/WrapForJNI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/WrapForJNI.java
extra : rebase_source : aa34c4b5333ed1db01ae5437946e9e48e136c9e4
extra : histedit_source : 75cc1703f895894c1a5a55f1c5cb94d4cbde5b8e
2016-09-16 15:53:39 -07:00
MDTsai
f6383735e1 Bug 1301619 - Update Firefox android User Agent override. r=miket
Remove following domains from ua-update.json.in:
 auctions.yahoo.co.jp
 news.yahoo.co.jp
 shopping.yahoo.co.jp
 travel.yahoo.co.jp
 sports.yahoo.co.jp
 mixi.jp

Update bug number inline
2016-09-12 20:57:00 -04:00
Phil Ringnalda
43631e2cd1 Backed out 2 changesets (bug 1296900) for est_ext_all_apis.html | failures
Backed out changeset fa509c880990 (bug 1296900)
Backed out changeset 06ee8b3640af (bug 1296900)
2016-09-21 18:59:22 -07:00
Rob Wu
e081e458f4 Bug 1296900 - Add test for availability of default WebExtension APIs r=kmag
MozReview-Commit-ID: LIr5Nsv51I3

--HG--
extra : rebase_source : 75791499515f797267c397ac2b9e9b0c81339a02
2016-08-20 22:21:45 -07:00
Jim Chen
93c5b51e4a Bug 1303806 - 1. Move classes from geckoview to Fennec; r=nalexander
ANRReporter is a telemetry tool that belongs in Fennec code.

GeckoJavaSampler is a developer tool that belongs in Fennec code.

SwipeDismissListViewTouchListener is only used in FormAssistPopup, which
is no longer referenced in geckoview code.

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/ANRReporter.java => mobile/android/base/java/org/mozilla/gecko/ANRReporter.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoJavaSampler.java => mobile/android/base/java/org/mozilla/gecko/GeckoJavaSampler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/widget/SwipeDismissListViewTouchListener.java => mobile/android/base/java/org/mozilla/gecko/widget/SwipeDismissListViewTouchListener.java
2016-09-20 17:42:08 -04:00
James Willcox
c660f5d482 Bug 1301043 - Remove HLS player if you switch tabs in Fennec r=ahunt 2016-09-20 15:54:00 -05:00
Carsten "Tomcat" Book
17d545681a Merge mozilla-central to mozilla-inbound 2016-09-20 12:02:20 +02:00
Matthew Wein
7c9e612290 Bug 1300807 - Switch to using a uuid for the PageAction ID. r=kmag
MozReview-Commit-ID: 4jlz9gdUuQd

--HG--
extra : rebase_source : e264242501856f7859dd5ca85bc81093d7929a25
2016-09-13 11:13:40 -07:00
James Cheng
8998232dfa Bug 1302336 - Rename ICodecManager into IMediaManager. r=jolin
MozReview-Commit-ID: JGIW3BfAwCI

--HG--
extra : rebase_source : fc520f9badfffaea77d3ed54794ff1c74c453078
2016-09-14 11:07:45 +08:00
Nicholas Hurley
57433e2050 Bug 1296280 (part 3) - Set HPACK receive buffer size appropriately for the platform r=mcmanus
MozReview-Commit-ID: DfckEZfEd10

--HG--
extra : rebase_source : 1c6915382842c35261b8800d73719cd41deb0b8d
2016-09-06 12:48:41 -07:00
Randall Barker
222a065e38 Bug 1294707 - Part 1, Revert Fennec so that it treats mouse clicks as touch events r=kats 2016-09-16 14:37:41 -07:00
Wes Kocher
0677d5dc43 Merge m-c to inbound, a=merge 2016-09-16 14:35:12 -07:00
Wes Kocher
76bf2680e6 Merge inbound to m-c a=merge CLOSED TREE 2016-09-16 14:31:34 -07:00
Jan Henning
9d8c12b79f Bug 1302424 - Check panelStateChangeListener isn't null before using it. r=Grisha
MozReview-Commit-ID: GogUQ4edJvU

--HG--
extra : rebase_source : 9b5072ab2b5b8eea5af4023e3f8de79cafe4b8b5
2016-09-16 17:38:41 +02:00
Jim Chen
cabea0c515 Bug 1291375 - 3. Separate Fennec JNI binding generation; r=nalexander r=snorp
Separate compiled JARs into GECKOVIEW_JARS and FENNEC_JARS, and run
AnnotationProcessor separately on each set. The GeckoView bindings are
put into widget/android/GeneratedJNI* (same as before), while the
Fennec-specific bindings are put into widget/android/fennec/FennecJNI*.
2016-09-16 15:13:48 -04:00
Jim Chen
3965c7e895 Bug 1291375 - 1. Compile separate gecko-view.jar; r=nalexander
Compile geckoview sources into a separate gecko-view.jar file, apart
from gecko-browser.jar. This lets us separate JNI binding generation,
among other things.
2016-09-16 15:13:47 -04:00
Dylan Roeh
0a42c7bfec Bug 1300574 - Use the back button for navigation in custom tabs when possible. r=snorp 2016-09-16 09:21:09 -05:00
Dragana Damjanovic
28e47547d6 Bug 1277895 - Remove one new line from http auth prompt message. r=dolske 2016-09-16 09:24:26 +02:00