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

28120 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione b7a2002847 Bug 1538643: Fix unintended removal of FxAccountsPush from Android install manifest. r=backout
--HG--
extra : amend_source : 138208b8849e8bb67d1b66af71674c1c061623d0
2019-03-30 13:50:17 -07:00
Kris Maglione 1328b01d50 Bug 1525762: Part 6 - Stop dispatching theme change observers using JSON strings. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D24795

--HG--
extra : rebase_source : 67c14ffc0cc46c041617ae04d39107dd66949f88
extra : histedit_source : 51973c82f0014767c2ae947a00cdb7afe9478c35
2019-03-25 13:52:01 -07:00
Kris Maglione 6d78820c90 Bug 1525762: Part 3e - Get rid of LWTManager theme management code. r=aswan
--HG--
extra : rebase_source : 1dc3cc062f7ef0ce8c80822251b31dbf9cc8f133
extra : histedit_source : 0beb1de14bd4603fa34e7fa8a7178582e3e7d71f
2019-02-08 14:48:54 -08:00
Noemi Erli 73e1da0906 Merge inbound to mozilla-central. a=merge 2019-03-30 11:32:42 +02:00
Chris Manchester 324a762ea1 Bug 1535364 - Turn off jarlog re-ordering for Android PGO due to problems publishing APKs. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D25492

--HG--
extra : moz-landing-system : lando
2019-03-30 02:09:18 +00:00
Oana Pop Rus a16538cfd6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-30 00:11:11 +02:00
L10n Bumper Bot 4ecd91e12a no bug - Bumping Fennec l10n changesets r=release a=l10n-bump DONTBUILD
as -> removed
en-ZA -> removed
mai -> removed
or -> removed
2019-03-29 22:00:30 +00:00
Oana Pop Rus a759d6f62b Merge inbound to mozilla-central. a=merge 2019-03-29 23:54:39 +02:00
Frederik Braun 092461b9a3 Bug 1512511 - Remove extra-privileges for input.mozilla.org. r=Gijs,MattN
There are domains that we give extra permissions.
Those should be hosted and operated by Firefox.
input.mozilla.org isn't and it also doesnt use extra permissions anymore.

Differential Revision: https://phabricator.services.mozilla.com/D13948

--HG--
extra : rebase_source : be9879b6f89ee6979975e697e052220fc839785e
extra : amend_source : 8a45cbbeadcda306313034ac22d6f43612780e3a
2019-03-29 12:47:21 -07:00
Francesco Lodolo (:flod) 7fbff6df10 Bug 1535300 - Remove locales from Nightly and Beta build of Fennec (as, en-ZA, mai, or) r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D25362

--HG--
extra : moz-landing-system : lando
2019-03-29 17:01:37 +00:00
Emily Toop d75296da81 Bug 1532582 - Display autofill popup in correct location.
This autofill popover was being displayed in the incorrect place because the display rect we were providing to the `AutofillManager` was the rect for the `GeckoView` and not the rect for the HTML element that the autofill popover was relating to.

1. Add view dimensions to info passed to autofill in `GeckoViewAutoFill`.
2. Use those view dimensions to calculate the correct location on the screen using `pageToScreenMatrix` in `GeckoSession`.

The resulting locations were incorrect, as the values used by `pageToScreenMatrix` were out of date. The `GeckoSession` was only notified about updated metrics during first composite, which meant that when the metrics changed during zoom and scroll on soft keyboard presentation, `GeckoSession` was unaware of it.

3. Update `GeckoSession` with new screen metrics when they change and not only during first composite.

Despite this change ensuring that `GeckoSession` always had the correct values for the viewport size and location, the request to provide the autofill location was made before the zoom and scroll was complete, meaning that even then out of date values were used during the calculation. The intial solution was to fire an event once zoom was complete, but despite this event being fired after the new screen size had been calculcated in `AsyncCompositionManager`, `GeckoSession` did not receive the values until after the event had been processed (the calls were out by 0.024ms).

5. Call new method `onScreenMetricsUpdated` inside `SessionTextInput` after screen metrics have been updated. Call `AutofillManager#notifyViewEntered` from this function.

This was not my preferred solution to this, but timing issues meant I could not find/think of an alternative way of delaying the calculation of the autofill popover location until after `GeckoSession` had been updated.

This patch currently fixes things on GV apps. Occasionally, on Fennec, the autofill view is out of alignment slightly. This needs further work.

Differential Revision: https://phabricator.services.mozilla.com/D25406

--HG--
extra : moz-landing-system : lando
2019-03-29 15:25:42 +00:00
Dorel Luca a91d673cd5 Backed out changeset b6f5942c42bb (bug 1532582) for Eslint failure. CLOSED TREE 2019-03-29 16:37:21 +02:00
Emily Toop 65bf84e5c6 Bug 1532582 - Display autofill popup in correct location. r=geckoview-reviewers,snorp,kats
This autofill popover was being displayed in the incorrect place because the display rect we were providing to the `AutofillManager` was the rect for the `GeckoView` and not the rect for the HTML element that the autofill popover was relating to.

1. Add view dimensions to info passed to autofill in `GeckoViewAutoFill`.
2. Use those view dimensions to calculate the correct location on the screen using `pageToScreenMatrix` in `GeckoSession`.

The resulting locations were incorrect, as the values used by `pageToScreenMatrix` were out of date. The `GeckoSession` was only notified about updated metrics during first composite, which meant that when the metrics changed during zoom and scroll on soft keyboard presentation, `GeckoSession` was unaware of it.

3. Update `GeckoSession` with new screen metrics when they change and not only during first composite.

Despite this change ensuring that `GeckoSession` always had the correct values for the viewport size and location, the request to provide the autofill location was made before the zoom and scroll was complete, meaning that even then out of date values were used during the calculation. The intial solution was to fire an event once zoom was complete, but despite this event being fired after the new screen size had been calculcated in `AsyncCompositionManager`, `GeckoSession` did not receive the values until after the event had been processed (the calls were out by 0.024ms).

5. Call new method `onScreenMetricsUpdated` inside `SessionTextInput` after screen metrics have been updated. Call `AutofillManager#notifyViewEntered` from this function.

This was not my preferred solution to this, but timing issues meant I could not find/think of an alternative way of delaying the calculation of the autofill popover location until after `GeckoSession` had been updated.

This patch currently fixes things on GV apps. Occasionally, on Fennec, the autofill view is out of alignment slightly. This needs further work.

Differential Revision: https://phabricator.services.mozilla.com/D24397

--HG--
extra : moz-landing-system : lando
2019-03-29 12:49:26 +00:00
Petru Lingurar ca307a61f1 Bug 1506231 - Top Sites tiles will show only one site for the same base url; r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D24487

--HG--
extra : moz-landing-system : lando
2019-03-29 07:57:51 +00:00
Csoregi Natalia c426d9feea Merge mozilla-central to autoland. CLOSED TREE 2019-03-29 07:28:47 +02:00
L10n Bumper Bot ce03c323ae no bug - Bumping Fennec l10n changesets r=release a=l10n-bump DONTBUILD
bn -> default
bn-BD -> removed
bn-IN -> removed
2019-03-29 05:00:29 +00:00
James Willcox 73c7980cb9 Bug 1536044 - Fully disable jacoco builds for Android r=agi
Differential Revision: https://phabricator.services.mozilla.com/D25216

--HG--
extra : moz-landing-system : lando
2019-03-28 20:26:45 +00:00
Geoff Brown 322688e83f Bug 1519580 - Skip test_session_scroll_visual_viewport.html on android/pgo; r=jmaher
Skip mochitest-chrome test failing frequently on android/pgo. This directory of tests
only runs on Android 4.3, so the manifest annotation is simple.

Discussed in bug; see comment 17.

Differential Revision: https://phabricator.services.mozilla.com/D25274

--HG--
extra : moz-landing-system : lando
2019-03-28 19:01:32 +00:00
John Lin 364290c746 Bug 1308405 - p5: Memorize sample buffers in CodecProxy. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D24591

--HG--
extra : moz-landing-system : lando
2019-03-28 18:06:25 +00:00
John Lin c668fd7d06 Bug 1308405 - p4: Separate buffer from sample object. r=snorp
To prevent new buffer object from being created per frame, either
Sample.CREATOR has to keep track of all buffers from every remote codec,
or the client must memorize seen buffers and avoid asking for them again
and again. The former saves client code from modifications but complicates
the implementation of Sample, a data structure class, while the latter
requires changes to client code but avoid overcomplicating Sample.CREATOR
implementation.

The 2nd approach is taken:
- move SampleBuffer out of Sample, and update clients accordingly
- add a new IPC method for clients to get the buffers only when needed

Differential Revision: https://phabricator.services.mozilla.com/D24590

--HG--
extra : moz-landing-system : lando
2019-03-28 18:06:23 +00:00
John Lin 529784a956 Bug 1308405 - p3: Use sample buffer class directly. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D24589

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/SharedMemBuffer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/SampleBuffer.java
extra : moz-landing-system : lando
2019-03-28 18:06:19 +00:00
John Lin 385270e9ab Bug 1308405 - p2: Nodify and recycle sample objects. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D24588

--HG--
extra : moz-landing-system : lando
2019-03-28 18:05:08 +00:00
James Willcox 781081cb06 Bug 1538702 - Allow recreating GeckoSession.SessionState from String r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D24709

--HG--
extra : moz-landing-system : lando
2019-03-28 16:52:42 +00:00
Brindusan Cristian b2d1b1aad3 Backed out changeset fc86bfeadfde (bug 1538702) as requested by snorp on irc for causing a merge conflict. 2019-03-28 18:52:37 +02:00
James Willcox af5af0a0d1 Bug 1538702 - Allow recreating GeckoSession.SessionState from String r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D24709

--HG--
extra : moz-landing-system : lando
2019-03-28 16:42:29 +00:00
Francesco Lodolo (:flod) df64b4e33f Bug 1538734 - Add Bengali (bn) to single and multilocales builds, remove bn-BD and bn-IN r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D24722

--HG--
extra : moz-landing-system : lando
2019-03-28 13:13:26 +00:00
Francesco Lodolo (:flod) f26673372a Bug 1539620 - Add a brand product string that doesn't change across different channels r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D25193

--HG--
extra : moz-landing-system : lando
2019-03-28 11:44:41 +00:00
Oana Pop Rus 226e6c59d9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-28 12:23:56 +02:00
Oana Pop Rus 47e94b5d6e Merge inbound to mozilla-central. a=merge 2019-03-28 12:11:35 +02:00
Mark Banner dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Botond Ballo cba0362f99 Bug 1538762 - Ensure the Android session store respects the layout scroll range. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D25144

--HG--
extra : moz-landing-system : lando
2019-03-28 00:38:19 +00:00
Noemi Erli cfaf79673c Backed out changeset e5117d2f9311 (bug 1533051) for Android xpcshell failures CLOSED TREE 2019-03-28 01:33:00 +02:00
Ting-Yu Lin 0dbfbb7dff Bug 1539256 - Remove enabling AccessibleCaret pref in Android robocop test. r=snorp
Bug 1493317 enables AccessibleCaret in unit tests. No need to manually
flip the pref.

Differential Revision: https://phabricator.services.mozilla.com/D24963

--HG--
extra : moz-landing-system : lando
2019-03-27 18:17:03 +00:00
Andrew Swan e5f560a07b Bug 1537723 Enable LWT updates on Android r=mixedpuppy
Also ensure that LightweightThemeManager.updateOneTheme() returns
even if the update request fails.

Differential Revision: https://phabricator.services.mozilla.com/D24981

--HG--
extra : moz-landing-system : lando
2019-03-27 17:07:01 +00:00
Nick Alexander 3dce09e76f Bug 1533051 - Package GeckoView prefs at architecture-specific paths for Android fat AAR/GeckoView multi-architecture builds. r=glandium
Bug 1533425 makes Gecko try to load from $ARCH/greprefs.js, etc on
Android.  This patch teaches the packager to put preferences into
those architecture-specific locations for that code to find.

Differential Revision: https://phabricator.services.mozilla.com/D24984

--HG--
extra : moz-landing-system : lando
2019-03-27 17:35:26 +00:00
Botond Ballo 109671c99f Bug 1531057 - Fix eslint failure due to trailing whitespace (CLOSED TREE).
Differential Revision: https://phabricator.services.mozilla.com/D25136

--HG--
extra : moz-landing-system : lando
2019-03-27 20:54:08 +00:00
Agi Sferro 337193c3e5 Bug 1536929 - [geckoview] Use const when possible and enforce it. r=geckoview-reviewers,esawin
Generated with ./mach eslint mobile/android/modules/geckoview --fix

Differential Revision: https://phabricator.services.mozilla.com/D24246

--HG--
extra : moz-landing-system : lando
2019-03-27 20:56:16 +00:00
Botond Ballo df3b5e6d4a Bug 1531057 - Add a test to check that session history respects the layout scroll range. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D23753

--HG--
extra : moz-landing-system : lando
2019-03-27 20:20:05 +00:00
Eugen Sawin b185068750 Bug 1530050 - [1.0] Add recommended and strict content blocking categories selections for safer app defaults. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D24967

--HG--
extra : moz-landing-system : lando
2019-03-27 14:39:11 +00:00
Nick Alexander 9890db9633 Bug 1533704 - Don't make GeckoView's remote debugging setting control Marionette. r=snorp
We really want GeckoView's single remote debugigng setting to
determine whether the engine can be remote controlled, but we're not
quite there yet.  The devtools use an abstract UNIX socket for this
purpose, but Marionette uses a TCP socket that defaults to port 2828,
and that means we see cross-App clashes for that port.

Functionally this means that enabling Marionette reverts to the "old
method": either pass the "--marionette" command line argument or set
the `MOZ_MARIONETTE=1` environment variable to enable.  Callers remain
responsible for ensuring that the Marionette port is available.

Differential Revision: https://phabricator.services.mozilla.com/D25138

--HG--
extra : moz-landing-system : lando
2019-03-28 20:28:14 +00:00
Kris Maglione e7796b70b4 Bug 1525511: Part 1 - Remove LWT install gunk. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18781

--HG--
extra : rebase_source : cfd98054b2098bc4fee6eeea0736bcd42a036bcf
2019-02-05 21:29:58 -08:00
Csoregi Natalia 888d83038c Merge mozilla-central to autoland. CLOSED TREE 2019-03-26 19:45:08 +02:00
Csoregi Natalia d105b005e8 Merge inbound to mozilla-central. a=merge 2019-03-26 19:43:22 +02:00
Francesco Lodolo (:flod) c648004583 Bug 1535288 - Set up productization for Bengali (bn) on Firefox desktop and Firefox for Android r=mkaply
- Use Bengali (bn-BD) as base
- Keep amazon-in on Desktop (from bn-IN)
- Remove rediff (from bn-IN)

Differential Revision: https://phabricator.services.mozilla.com/D23480

--HG--
extra : moz-landing-system : lando
2019-03-26 12:09:26 +00:00
Ian Moody 50dc489a10 Bug 1538766 - mobile/ manual ESLint no-throw-literal fixes. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D24732

--HG--
extra : moz-landing-system : lando
2019-03-26 08:29:54 +00:00
Ian Moody 2fb24e7073 Bug 1538766 - mobile/ automated ESLint no-throw-literal fixes. r=petru
Result of running:
$ mach eslint -funix mobile/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

Differential Revision: https://phabricator.services.mozilla.com/D24731

--HG--
extra : moz-landing-system : lando
2019-03-26 08:29:37 +00:00
Makoto Kato 8986b3b0e4 Bug 1537885 - Use cmd_copy for copy command r=geckoview-reviewers,snorp
Although I change to use editor by previous fix of bug 676268, it is not
good for non-editable content. cmd_copy can support editable and non-editable.

GV already uses cmd_copy for this.

Differential Revision: https://phabricator.services.mozilla.com/D24642

--HG--
extra : moz-landing-system : lando
2019-03-25 16:34:07 +00:00
Brindusan Cristian 8d646b09cd Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-26 02:28:46 +02:00
Eugen Sawin 51630bd49f Bug 1530789 - [4.0] Fix style. r=me 2019-03-25 17:29:37 +01:00
Randall Barker c98140dbeb Bug 1537964 - Call bindService() with BIND_IMPORTANT r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D24418

--HG--
extra : moz-landing-system : lando
2019-03-25 14:29:54 +00:00