Commit Graph

25034 Commits

Author SHA1 Message Date
Jim Chen
06dbbe8e81 Bug 1411968 - Only try launching BrowserApp when handling notifications; r=nechen
Usually when we handle notification events, we try to launch whatever
Activity showed the notification so that the user can see results.
However, only BrowserApp supports being launched this way, so we should
restrict launching Activites to BrowserApp. For others like
CustomTabsActivity, we should just handle the notification event
directly. Currently, only download notifications are supported for these
other Activities, so it's okay if we don't display the Activity.

MozReview-Commit-ID: CNVRSEWBOQ6

--HG--
extra : rebase_source : 79392e1d26a969b6a90dcb976b13dae91fc75241
2017-11-10 18:26:18 -05:00
Csoregi Natalia
6d76ab3d79 Backed out 2 changesets (bug 1414406)for ESLINT failures /toolkit/mozapps/extensions/content/extensions.js:1193 r=backout on a CLOSED TREE
Backed out changeset f501182ed44b (bug 1414406)
Backed out changeset f438ce3fc88e (bug 1414406)
2017-11-14 00:02:18 +02:00
Dave Townsend
9c5a18de90 Bug 1414406: Remove the inline options feature for add-ons. r=aswan
MozReview-Commit-ID: 4ycTaMzqWgx

--HG--
extra : rebase_source : 2898d9947489b9a1d8b69364cb6574706e849225
2017-11-06 10:26:40 -08:00
Narcis Beleuzu
24bf9b5ccd Backed out changeset ca5529c5b232 (bug 1411968) for mass failures on Android 4.3 API16+ debug. r=backout on a CLOSED TREE 2017-11-13 20:02:26 +02:00
Jim Chen
2d53382441 Bug 1411968 - Only try launching BrowserApp when handling notifications; r=nechen
Usually when we handle notification events, we try to launch whatever
Activity showed the notification so that the user can see results.
However, only BrowserApp supports being launched this way, so we should
restrict launching Activites to BrowserApp. For others like
CustomTabsActivity, we should just handle the notification event
directly. Currently, only download notifications are supported for these
other Activities, so it's okay if we don't display the Activity.

MozReview-Commit-ID: CNVRSEWBOQ6

--HG--
extra : rebase_source : 79392e1d26a969b6a90dcb976b13dae91fc75241
2017-11-10 18:26:18 -05:00
Michael Kaply
1a22aca3b3 Bug 1416484 - Add and update some engines for later testing. r=mconnor
MozReview-Commit-ID: 3797KN2Bq52

--HG--
extra : rebase_source : 9311e75586ad31f6d20766b7f440eccb49a778e3
2017-11-11 10:23:03 -06:00
Andreea Pavel
7fb4cc447c Merge inbound to mozilla-central r=merge a=merge 2017-11-11 11:59:20 +02:00
Ryan VanderMeulen
ef843a0e30 Merge m-c to inbound. a=merge 2017-11-10 16:14:16 -05:00
Ryan VanderMeulen
b16410f51c Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
Dylan Roeh
ebd39f9ce0 Bug 1337078 - Improve the use of Android API in OSPreferences r=snorp
Add BrowserLocaleManager.refreshLocales, a native function which calls OSPreferences::Refresh, and BrowserLocaleManager.getLocale, which returns the current locale string. Use these in place of observing modification of the intl.locale.os pref.
2017-11-10 09:20:04 -06:00
Makoto Kato
4fa452ee6e Bug 1416113 - Unnecessary to set LOCALE_THOUSANDS_SEP, LOCALE_DECIMAL_POINT and LOCALE_GROUPING. r=snorp
LOCALE_THOUSANDS_SEP, LOCALE_DECIMAL_POINT and LOCALE_GROUPING are only used by
old code without ICU.  Since we turn on ICU with ECMA-402 support, it is
unnecessary to set LOCALE_THOUSANDS_SEP, LOCALE_DECIMAL_POINT and
LOCALE_GROUPING in GeckoLoader.setupLocaleEnvironment.

MozReview-Commit-ID: LlGQdLlM7I2

--HG--
extra : rebase_source : 559fafd4ded9e351805fdd7b10e7aaebfc09637e
2017-11-10 13:55:56 +09:00
Geoff Brown
cbb956e0c3 Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh 2017-11-10 07:03:36 -07:00
Margareta Eliza Balazs
7e070192d7 Merge inbound to mozilla-central r=merge a=merge 2017-11-10 11:55:43 +02:00
Nicholas Nethercote
f4dd5e2636 Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Andrea Marchesini
a4ddff0ca6 Bug 1347515 - Get rid of dom/json, r=qdot 2017-11-10 00:27:36 +01:00
Eugen Sawin
41e3646a3a Bug 1415929 - [1.0] Move Android app data directory out of setting to an environment variable. r=snorp 2017-11-09 21:37:24 +01:00
Michael Comella
4b81416ab1 Bug 1414995: Crash when publicsuffixlist could not be opened. r=nechen
MozReview-Commit-ID: 2agnVzKLkzd

--HG--
extra : rebase_source : 8f4b13154f74ac358fea2c2693f546a95b7f46ca
2017-11-06 16:12:15 -08:00
Sebastian Hengst
ad5f08ae5a merge mozilla-central to autoland. r=merge a=merge 2017-11-09 00:52:17 +01:00
L10n Bumper Bot
f945fe7970 no bug - Bumping Fennec l10n changesets DONTBUILD r=release a=l10n-bump
ach -> default
bs -> default
ia -> default
ltg -> default
oc -> default
2017-11-08 14:40:48 -08:00
Sebastian Hengst
a353221537 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
Narcis Beleuzu
57d9eb5fb1 Backed out 1 changesets (bug 1414096) for dt1 failures "devtools/client/commandline/test/browser_cmd_pref3.js" r=backout on a CLOSED TREE
Backed out changeset e843de356b7e (bug 1414096)
2017-11-08 18:04:01 +02:00
Sebastian Hengst
91932e97bd Backed out 2 changesets (bug 1415298) for orphaned pattern 'assets/**' in mobile/android/app/moz.build. r=backout on a CLOSED TREE
Backed out changeset e046373e0dca (bug 1415298)
Backed out changeset 160586d66bcb (bug 1415298)

--HG--
rename : mobile/android/app/src/main/assets/example_asset.txt => mobile/android/app/assets/example_asset.txt
rename : mobile/android/app/src/main/assets/parental_controls_theme.png => mobile/android/app/assets/parental_controls_theme.png
rename : mobile/android/app/src/main/assets/publicsuffixlist => mobile/android/app/assets/publicsuffixlist
2017-11-08 20:11:03 +02:00
Nick Alexander
7094a99a6c Bug 1415298 - Fix finding assets/ in |mach android test| locally. r=maliu
Upgrading to the Android-Gradle plugin 3.0+ broke |mach android test|
locally.  This addresses the issue.

MozReview-Commit-ID: 3vV47ET7d19

--HG--
extra : rebase_source : aaf7a550f8b2776a41d55fdce2c43c0c8c473331
2017-11-07 12:43:40 -08:00
Nick Alexander
0de3e321d4 Bug 1415298 - Pre: Move assets/ into standard Gradle location. r=maliu
This is part of a larger project to standardize our source locations.

MozReview-Commit-ID: Gbh9qSW7RJY

--HG--
rename : mobile/android/app/assets/example_asset.txt => mobile/android/app/src/main/assets/example_asset.txt
rename : mobile/android/app/assets/parental_controls_theme.png => mobile/android/app/src/main/assets/parental_controls_theme.png
rename : mobile/android/app/assets/publicsuffixlist => mobile/android/app/src/main/assets/publicsuffixlist
extra : rebase_source : e73b7d579e02984e6e2a4a3c746c515a69768568
2017-11-07 12:41:21 -08:00
Delphine Lebédel
f9662b26c6 Bug 1413376 - [oc] Search engine setup for Firefox Mobile Occitan, r=flod
MozReview-Commit-ID: 7SPWMd8n2UR

--HG--
extra : rebase_source : b6772ad0d961583393f1c00aafde79f3d15a60b4
2017-11-08 08:35:12 -08:00
Delphine Lebédel
86b74b0c47 Bug 1411102 - Add ach, bs, ia, ltg and oc to Fennec all-locales for single-locales builds, r=flod
MozReview-Commit-ID: BX6azMD9G5c

--HG--
extra : rebase_source : 2e73ec3a5991f35c8a4552d949889408b51fb638
2017-11-08 08:21:09 -08:00
Narcis Beleuzu
e8f9b9e9a8 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-08 12:55:21 +02:00
Narcis Beleuzu
218e1676cb Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
Cervantes Yu
c6bc943ace Bug 1414714 - Part 2: Remove unused gfx.* prefs. r=nical
The following prefs are removed because they are defined in gfxPrefs, but the
resulting gfxPrefs property is used at all.
* gfx.SurfaceTexture.detach.enabled
* gfx.touch.resample.*
* gfx.screen-mirroring.enabled

MozReview-Commit-ID: CyI3JN4TTu5
2017-11-08 15:26:50 +08:00
Delphine Lebédel
e64d4a4e5f Bug 1411110 - [ia] Search plugin set up for Interlingua on Firefox Android, r=flod
MozReview-Commit-ID: 7ayczE2fyQx

--HG--
extra : rebase_source : 4e9590a91cf58f4c82b0d424d7f84515d937ef98
2017-11-07 13:53:23 -08:00
Nicholas Nethercote
8b3d03c666 Bug 1414096 - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : fb7af066adfa0491a79fae6282a62b08661553c8
2017-10-31 16:34:35 +11:00
Margareta Eliza Balazs
130574a8e2 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-08 00:09:29 +02:00
Randall Barker
8cb9ab66e9 Bug 1413362 - part 3: Add support to build system for GoogleVR based WebVR on Android r=froydnj,nalexander
MozReview-Commit-ID: 8BHBnvor5VT
2017-11-07 10:50:15 -08:00
Randall Barker
7fe4594a76 Bug 1413362 - part 1: Add GeckoVRManager to support GVR WebVR implementation on Android r=jchen,snorp
MozReview-Commit-ID: C7XTF8N1W9a
2017-11-07 10:50:14 -08:00
Nick Alexander
8a81d12535 Bug 1415220 - Make Fennec build --with-gradle by default. r=sebastian
This was just an oversight.

MozReview-Commit-ID: 4mHbW3gF4Qn

--HG--
extra : rebase_source : 7af77c4e028561e127f101b92bf8738502325bf9
2017-11-07 09:03:18 -08:00
Luca Greco
ed4206c563 Bug 1414379 - Closing the extension popup tab should select the parent tab only if the popup tab was selected. r=mixedpuppy
MozReview-Commit-ID: KgSTdblvmYe

--HG--
extra : rebase_source : cef256274fc1ae190bdc2e81ec0ab4129033a645
2017-11-01 04:45:50 +01:00
Sebastian Hengst
ae33b526b2 Backed out changeset 1d43c5bf597b (bug 1414379) for eslint failure at mobile/android/components/extensions/test/mochitest/test_ext_popup_behavior.html:162: missing semicolon. r=backout 2017-11-07 15:08:45 +02:00
Luca Greco
ff7dbabc6a Bug 1414379 - Closing the extension popup tab should select the parent tab only if the popup tab was selected. r=mixedpuppy
MozReview-Commit-ID: KgSTdblvmYe

--HG--
extra : rebase_source : c9f825a2d5f36c110c66e3636079f3a5492accc6
2017-11-01 04:45:50 +01:00
Nick Alexander
35681f5451 Bug 1415298 - Fix finding assets/ in |mach android test| locally. r=maliu
Upgrading to the Android-Gradle plugin 3.0+ broke |mach android test|
locally.  This addresses the issue.

MozReview-Commit-ID: 3vV47ET7d19

--HG--
extra : rebase_source : c31e876969b0aff6cf7711fcb2227f6ca0d4fe46
2017-11-07 12:43:40 -08:00
Nick Alexander
b05cd8e8cd Bug 1415298 - Pre: Move assets/ into standard Gradle location. r=maliu
This is part of a larger project to standardize our source locations.

MozReview-Commit-ID: Gbh9qSW7RJY

--HG--
rename : mobile/android/app/assets/example_asset.txt => mobile/android/app/src/main/assets/example_asset.txt
rename : mobile/android/app/assets/parental_controls_theme.png => mobile/android/app/src/main/assets/parental_controls_theme.png
rename : mobile/android/app/assets/publicsuffixlist => mobile/android/app/src/main/assets/publicsuffixlist
extra : rebase_source : dad3ded6a41d60989921b437dcf91181854c7b5a
2017-11-07 12:41:21 -08:00
Narcis Beleuzu
82324f1ffe Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-08 12:57:37 +02:00
Sebastian Hengst
f5e52adeea merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-07 12:43:06 +02:00
Sebastian Hengst
f2944960ec Backed out 3 changesets (bug 1413362) for causing merge conflicts. r=merge a=merge
Backed out changeset 8b15dfaeecaa (bug 1413362)
Backed out changeset 2d9da0d19d04 (bug 1413362)
Backed out changeset 653c66220a5f (bug 1413362)

--HG--
extra : amend_source : e5c12297b0bb6ebe27a2481e4aac6c0ca8160a1b
2017-11-07 12:41:11 +02:00
Jim Chen
832cd8d996 Bug 1415074 - Fix unresponsiveness after restoring GeckoView states; r=jchen
Fix a bug where GeckoView becomes unresponsive to dispatched events
after restoring states, due to the native queue not being restored.
r=me for small, tested patch.

MozReview-Commit-ID: K1cVjjNaZK1

--HG--
extra : rebase_source : b1329c84d82f5bdc06767bf310ca87e52ff6ec9b
2017-11-07 01:53:11 -05:00
Randall Barker
0f56210acd Bug 1413362 - part 3: Add support to build system for GoogleVR based WebVR on Android r=froydnj,nalexander
MozReview-Commit-ID: 8BHBnvor5VT
2017-11-06 17:43:29 -08:00
Randall Barker
75f309874f Bug 1413362 - part 1: Add GeckoVRManager to support GVR WebVR implementation on Android r=jchen,snorp
MozReview-Commit-ID: C7XTF8N1W9a
2017-11-06 17:43:28 -08:00
Dylan Roeh
f9543dc96b Bug 1414395 - Handle blob: and data: URIs better in PWAs and Custom Tabs. r=snorp 2017-11-06 11:12:14 -06:00
Eugen Sawin
dfda7f814f Bug 1375141 - [2.0] Check for null-URI when attaching pending intent data. r=snorp 2017-11-06 20:31:55 +01:00
Eugen Sawin
99ec71c21f Bug 1389926 - [1.0] Reduce timeout clamp for background tabs to 1s. r=snorp 2017-11-06 20:31:55 +01:00
Csoregi Natalia
c79466f107 (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland
--HG--
extra : amend_source : d435c08a762988804bfe23251b8b5f76702eca99
2017-11-06 15:23:47 +02:00