Граф коммитов

25050 Коммитов

Автор SHA1 Сообщение Дата
Jim Chen c9c8f7024a Bug 1415994 - 7. Migrate existing gfx code to use LayerSession; r=snorp
Remove most of the Compositor and Surface management code in LayerView.
And use LayerSession.Compositor in rest of the gfx code.

MozReview-Commit-ID: 5E9pj3eGHlv

--HG--
extra : rebase_source : 0b0a64113db58aaf376c98d5480f5cf31174a3d3
2017-11-14 18:18:35 -05:00
Jim Chen db59a90277 Bug 1415994 - 6b. Track GeckoDisplay origin changes; r=snorp
Add a `screenOriginChanged` callback to GeckoDisplay.Listener, which
informs Gecko of changes in the origin of the display. The origin
translates to coordinates for web APIs like screenX/screenY and certain
other calculations.

Also, make GeckoDisplay listen to layout changes in the view tree (by
overriding gatherTransparentRegion as an optimization), and call
`screenOriginChanged` accordingly.

MozReview-Commit-ID: C72EHCkbV3T

--HG--
extra : rebase_source : 240c5c8fb3c2938ae966f40e86f7c5a0ca66526c
2017-11-14 18:18:35 -05:00
Jim Chen eb9152fe63 Bug 1415994 - 6. Implement GeckoDisplay in GeckoView; r=snorp
Make GeckoView implement GeckoDisplay for its own SurfaceView, and use
that with GeckoSession.

MozReview-Commit-ID: LXllQGlCxaB

--HG--
extra : rebase_source : 1b41e411b2c293797d572d584c4f2b7036e83b23
2017-11-14 18:18:35 -05:00
Jim Chen ff6c25061a Bug 1415994 - 5. Use LayerSession from GeckoSession; r=snorp
Make GeckoSession inherit from LayerSession, and connect its Compositor
to native code as part of the GeckoSession routine.

MozReview-Commit-ID: wQaH1A0a7z

--HG--
extra : rebase_source : ee4ae96e974d15c8cb9ad569ea9abf0ace4d0fa5
2017-11-14 18:18:35 -05:00
Jim Chen 3ef19c1765 Bug 1415994 - 3. Add LayerSession; r=snorp
Add a LayerSession class that's split off LayerView. Currently,
LayerSession takes over Surface management and the Compositor class from
LayerView. Eventually, all of LayerView will migrate to LayerSession.

MozReview-Commit-ID: F1ozOfZGY2g

--HG--
extra : rebase_source : eaf42122db1238c99b0da1e689bc365180a2835f
2017-11-14 18:18:34 -05:00
Jim Chen 915defe322 Bug 1415994 - 2. Introduce GeckoDisplay; r=snorp
Introduce a GeckoDisplay interface for interaction with GeckoSession.

MozReview-Commit-ID: 13prgWaPqKU

--HG--
extra : rebase_source : 282b27a1f7c11cf4e559b1f25946c3f4574e900a
2017-11-14 18:18:34 -05:00
Jim Chen 11dc67a595 Bug 1415994 - 1. Don't report screen size in GeckoLayerClient; r=rbarker
We don't actually use the screen size through GeckoLayerClient anymore.
Getting rid of it lets us get rid of the Context field in
GeckoLayerClient as well.

MozReview-Commit-ID: GM1jlhAZm4T

--HG--
extra : rebase_source : 04827eb61d6304d4782a7a935d5528013255726f
2017-11-14 18:18:34 -05:00
Grigory Kruglov 2c2f325436 Bug 1408585 - Remove RepositorySession createSession delegates r=rnewman
MozReview-Commit-ID: KezYHeSWDiL

--HG--
extra : rebase_source : c63f69a7d5b16d152fa809560a70c14ae1da5715
2017-11-14 14:37:05 -05:00
Grigory Kruglov 45de7880f9 Bug 1408585 - Remove RepositorySession begin delegates r=rnewman
'begin' now throws in case things go wrong.

MozReview-Commit-ID: 8jcxYiPcsii

--HG--
extra : rebase_source : 3a6cd6b5dd68f8674d4de827a4228f1e3807724a
2017-11-13 14:29:49 -05:00
Dave Townsend 9b2e25316e Bug 1414406: Remove the inline options feature for add-ons. r=aswan
MozReview-Commit-ID: 4ycTaMzqWgx

--HG--
extra : rebase_source : 9176d61244a140a5c4fde953302e9fb72aebff5a
2017-11-13 15:09:00 -08:00
Nick Alexander 0d056acc9a Bug 1415778 - Part 3: Fix up Gradle. r=jchen
This patch makes the :geckoview Gradle project only use
o.m.geckoview.BuildConfig, and makes the :app Gradle project use all
of the preprocessed code coming from the moz.build system.
Eventually, we'll reduce that set of preprocessed code to only
o.m.gecko.BuildConfig, which will then be produced by Gradle.

MozReview-Commit-ID: Dnkde7axyZL

--HG--
extra : rebase_source : dc0b7f9fa542cbfd9c665bfac761d45f5957f7b8
2017-11-09 09:44:40 -08:00
Nick Alexander 4d8546e06b Bug 1415778 - Part 2: Move AppConstants to o.m.geckoview.BuildConfig. r=jchen
Some of these make no sense for GeckoView, but perfect is the enemy of
the good here.

MozReview-Commit-ID: 9MwRkc61v9P

--HG--
extra : rebase_source : 8e7fa8102c615f34dbd76394fb6877188007c3c7
2017-11-08 21:14:44 -08:00
Nick Alexander 26c00638a1 Bug 1415778 - Part 1: Stop using AppConstants.Versions. r=jchen
Versions is no more efficient than checking android.os.Build, and it
actually interferes with the Android lint that checks API
compatibility.

MozReview-Commit-ID: Cl1227uHWKZ

--HG--
extra : rebase_source : 91ceba45906ad5fbb47d55c982ecbb65569a3f00
2017-11-08 20:41:57 -08:00
Nick Alexander 6f9dfe6900 Bug 1415778 - Pre: Don't use ANDROID_PACKAGE_NAME in GeckoView. r=jchen
MozReview-Commit-ID: FswHnEIBM35

--HG--
extra : rebase_source : 0dcccaab5e907dfb415a3626cc353ff7de823ea3
2017-11-08 21:15:12 -08:00
Coroiu Cristina 6a04305b5d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-14 12:31:45 +02:00
Jim Chen fe020808ec Bug 1416576 - Correctly handle Tab:OpenUri; r=me
Correctly handle the Tab:OpenUri event introduced in bug 1412872. r=me
for trivial patch.

MozReview-Commit-ID: BIpKcLCi8sV
2017-11-13 22:50:43 -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
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
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