Commit Graph

2931 Commits

Author SHA1 Message Date
Arturo Mejia
fd48173f46 Bug 1806838 - Update extension icon when invalidate is called. 2024-01-03 19:59:42 +00:00
jackyzy823
00bbfd3720 Bug 1858370 - use clearDataFromBaseDomain for clearData 2024-01-03 18:46:31 +00:00
github-actions
0b80e5c1aa Import translations from android-l10n 2024-01-02 20:50:26 -05:00
Olivia Hall
97e144efd8 Bug 1862263 - Translations Error Support
This patch defines different possible translation errors, how they map
from GeckoView, and how they map to errors we display.
2024-01-02 21:53:20 +00:00
github-actions
b6db5efba6 Import translations from android-l10n 2024-01-02 00:30:33 +00:00
github-actions
1bc0d468e5 Import translations from android-l10n 2024-01-01 00:27:56 +00:00
github-actions
624f3c8332 Import translations from android-l10n 2023-12-27 00:27:11 +00:00
github-actions
b6d56616c6 Import translations from android-l10n 2023-12-24 15:35:41 +00:00
github-actions
d09d9537b7 Import translations from android-l10n 2023-12-23 00:37:25 +00:00
github-actions
d7a55bafab Import translations from android-l10n 2023-12-20 02:24:58 +00:00
Olivia Hall
ad400b1d89 Bug 1862288 - Runtime Functions for Never Translating a Site
This bug adds `TranslationsRuntime.getNeverTranslateSiteList` and
`TranslationsRuntime.setNeverTranslateSpecifiedSite`
for use when managing the global never translate sites list.

Please continue to use `EngineSession.getNeverTranslateSiteSetting`
and `EngineSession.setNeverTranslateSiteSetting` when modifying this
same preference on the currently displayed site.
2023-12-19 19:25:48 +00:00
github-actions
560c5cc4ca Import translations from android-l10n 2023-12-19 01:58:10 +00:00
github-actions
b1ed7264fb Import translations from android-l10n 2023-12-16 00:30:45 +00:00
Jeff Boek
a8e3fb21dc Bug 1866927 - Adds ability to enable email tracker blocking protection in private mode 2023-12-14 23:02:38 +00:00
Mark Hammond
c5bdf6fff4 Bug 1858789 - vastly more efficient counting of bookmarks for the home activity. 2023-12-12 23:18:02 +00:00
jackyzy823
572736f974 Bug 1812797 - Add referrerUrl to Request 2023-12-11 21:27:39 +00:00
github-actions
51beee0cdb Import translations from android-l10n 2023-12-11 00:46:55 +00:00
Arturo Mejia
7767cade90 Bug 1868378 - Indicate the installation method when installing an add-on. 2023-12-08 00:56:59 +00:00
mcarare
34282b0d72 Bug 1865357 - Add Global Privacy Control settings. 2023-12-07 21:58:51 +00:00
Jonathan Almeida
0ad2094f77 Bug 1847305 - Fix tests for NestedGeckoView
Fixed the current tests to pass.

The current tests are asserting implementation, so a new test was added
to test the behaviour by wrapping `NestedGeckoView` in a parent `View`
and counts the `onInterceptTouchEvent` calls it receives. When we are
in a gesture (starting with `ACTION_DOWN`) we deny the touch events to
the parent views until we receive a result from APZ.

Co-authored-by: Titouan Thibaud <tthibaud@mozilla.com>
2023-12-07 10:41:53 +00:00
Jonathan Almeida
fb0a590e1a Bug 1847305 - Enabled nested scrolling for GeckoEngineView
With the current design, we have a `NestedGeckoView` inside this
`GeckoEngineView`. In our supported embedders, we wrap this with the
AndroidX `SwipeRefreshLayout` to enable features like Pull-To-Refresh:

```
 SwipeRefreshLayout
└── GeckoEngineView
   └── NestedGeckoView
```

`SwipeRefreshLayout` only looks at the direct child to see if it has
nested scrolling enabled. As we embed `NestedGeckoView` inside
`GeckoEngineView`, we change the hierarchy so that `NestedGeckoView`
is no longer the direct child of `SwipeRefreshLayout`.

To fix this we enable nested scrolling on the GeckoEngineView to
emulate this information. This is required information for
`View.requestDisallowInterceptTouchEvent` to work correctly in
the `NestedGeckoView`.

Co-authored-by: Titouan Thibaud <tthibaud@mozilla.com>
2023-12-07 10:41:53 +00:00
Hiroyuki Ikezoe
6c7bb7a8d2 Bug 1847305 - Re-initialize inputResultDetail at the right time.
And invoke requestDisallowInterceptTouchEvent just before sending a new
ACTION_DOWN and invoke it againg just after receiving the result from
Gecko so that we can properly hold off triggering pull-to-refresh.

Re-initializing inputResultDetail on ACTION_UP or ACTION_CANCEL is
problematic since Gecko sends the result asynchronously thus it's
possible that Gecko sends the result after re-initialization on
ACTION_CANCEL.

Co-authored-by: Titouan Thibaud <tthibaud@mozilla.com>
2023-12-07 10:41:53 +00:00
Cathy Lu
9d9a2992d7 Bug 1858947 - Expose Shopping API reportBackInStock to AC 2023-12-06 18:53:24 +00:00
William Durand
7a1b7658a8 Bug 1868172 - Add support for UnsupportedAddonType error code 2023-12-05 17:26:15 +00:00
mcarare
60d3978145 Bug 1821005 - Restore reverted Gradle 8 upgrade due to startup crashes"
This reverts commit 592e88b3547d2e96ae04d8b5bd69cbab2ac3e97e.
2023-12-05 03:44:20 +00:00
Calixte Denizet
6f7b475cbe Bug 1864956 - Make Fenix a PDF reader
It makes possible to open a pdf coming from an other app, like a file
browser, in Fenix.
2023-12-04 19:29:49 +00:00
Cathy Lu
933fffe65f Bug 1866241 - Expose Shopping status progress field in AC 2023-12-01 16:06:07 +00:00
github-actions
41476f505d Import translations from android-l10n 2023-12-01 00:58:39 +00:00
Olivia Hall
9308778aad Bug 1862262 - Translations Preferences
This bug adds a few options for translations preferences on the engine,
including:
* (Runtime Setting) Option to get/set translations offer popup
* (Runtime Request) Option to get/set translation language preference
* (Session Request) Option to get/set a site's translation preference
2023-11-30 23:00:07 +00:00
William Durand
40c8b21971 Bug 1867295 - Introduce a new installBuiltInWebExtension method 2023-11-30 20:41:42 +00:00
Arturo Mejia
da8b634981 Bug 1866293 - Add support for installing an add-on a from local file. 2023-11-29 22:37:38 +00:00
Arturo Mejia
cc9532b0ee Bug 1866474 - Incorrect status is displayed after turning off the Cookie Banner Blocker feature from the panel 2023-11-29 16:30:36 +00:00
jackyzy823
824ed5c068 Bug 1856431 - Encode file path in File URI scheme 2023-11-28 15:40:21 +00:00
github-actions
2cc8260f3c Import translations from android-l10n 2023-11-26 02:47:15 +00:00
github-actions
2a7cff0a51 Import translations from android-l10n 2023-11-22 00:26:26 +00:00
Olivia Hall
42b3883a45 Bug 1860844 - Add GeckoTranslateSessionDelegate to Android Components
This bug adds a translation session delegate for receiving information
from GeckoView on the state of the toolkit translation engine and also
when to expect and offer translations on a given page.

It also updates reference browser to use auto-detected defaults for
translating.
2023-11-21 22:24:04 +00:00
Olivia Hall
d904e6a84a Bug 1855976 - Initial Runtime Translations Support
This patch adds some of the core runtime translations functionality
from GeckoView:

* `isTranslationsEngineSupported` - If the toolkit translation engine
is supported or not.
* `checkPairDownloadSize` - A way to check translation pair download
sizes before completing a translation operation.
* `listModelDownloadStates` - List download states of the language
models.
* `manageLanguageModel` - A way to manage the download state of
language models.
* `listSupportedLanguages` - List of supported languages.
* `preferredLanguages` - A list of the user's preferred languages.
2023-11-21 19:19:03 +00:00
Harrison Oglesby
127fb7d013 Bug 1856470 - Add EMAIL filter to TrackingCategory for tracker protection 2023-11-20 17:36:20 +00:00
github-actions
7c40ad1a65 Import translations from android-l10n 2023-11-20 00:26:33 +00:00
Cathy Lu
0d0dd154d7 Bug 1860618 - Shopping "not enough reviews" error card should depend on analysis not_enough_reviews field 2023-11-16 23:44:50 +00:00
Mark Hammond
acac46c032 Bug 1839228 - RemoteTabsStorage now catches the public error rather than InternalError. 2023-11-14 19:08:49 +00:00
t-p-white
e7edc82092 Bug 1821703 - Fix Compose Top Site Sponsored Sites 'flashing' appearance 2023-11-14 15:04:47 +00:00
github-actions
a0fac14440 Import translations from android-l10n 2023-11-14 00:33:28 +00:00
Ben Dean-Kawamura
7f998899ee Bug 1854383 - Increase frequency for StorageMaintenanceWorker
This changes it from running every 24 hours to every 12 as suggested in
https://bugzilla.mozilla.org/show_bug.cgi?id=1854383
2023-11-13 15:14:42 +00:00
Luca Greco
69d1b93ba6 Bug 1859585 - WebExtensionSupport should update installExtensions entries on AddonManagerDelegate.onReady calls. 2023-11-13 14:18:47 +00:00
github-actions
f8593e994f Import translations from android-l10n 2023-11-11 00:30:35 +00:00
Ryan VanderMeulen
c65ab071b9 Bug 1821005 - Revert Gradle 8 upgrade due to startup crashes
Revert "Bug 1863744 - Update Gradle to version 8.4"

This reverts commit 829795632954148709fbe945c78d55cc62053ac8.

Revert "Bug 1821005 - Apply additional keep rules for missing classes detected while running R8."

This reverts commit 8f3f246cc5ff571323f56d46963d8d176bec91e3.

Revert "Bug 1821005 - Set UI_INJECTION_HOST mode for lint in test."

This reverts commit 6962bf0b5df57781045f68417f76527bcdf521ab.

Revert "Bug 1821005 -  Include sourcesJar as an input of publishing."

This reverts commit 41b2a48da577787c3189eec8c8af71c35cfecbfb.

Revert "Bug 1821005 - Set compileOptions for android subprojects."

This reverts commit fb21df9d0a9cd585e216733dc1bf929636df20f1.

Revert "Bug 1821005 - Replace deprecated project.buildDir"

This reverts commit 6f880de46ec73f7e5240a0279108bbb6aeb0f63b.

Revert "Bug 1821005 - Exclude generated metrics docs from detekt."

This reverts commit f17d2430bf1daabeed2724312354018050f3f52a.

Revert "Bug 1821005 - Exclude build in extensions versioning from detekt."

This reverts commit 34144c5ad1d62e2d85492f8d32341bbcd032690b.

Revert "Bug 1821005 - Add uses-feature tag for camera permission."

This reverts commit 13c80944bd1756cdcaa98eef783b6a23ad12cabd.

Revert "Bug 1821005 - Set nonTransitiveRClass and nonFinalResIds build flags to false."

This reverts commit 219fbc19c54134ad264edc79642fa1799c6f54d6.

Revert "Bug 1821005 - Apply plugin: 'kotlin-android' for UI modules."

This reverts commit ddbd5e18eb9d2b33b4de4a6df48d97ec4ab42963.

Revert "Bug 1821005 - Enable generation of the BuildConfig class"

This reverts commit 65c2b8c63790fbd2352f3f94b99c80d81d18dae1.

Revert "Bug 1821005 - Add namespace to samples-glean-library module"

This reverts commit 0239233efb1cc4e896e4aa0337e3da911eeb2f1c.

Revert "Bug 1821005 - Replace deprecated toLowerCase with lowercase."

This reverts commit 69f2c66aad3aa638a1bab31b2a1e6c597d1f3992.

Revert "Bug 1821005 - Replace deprecated 'toInt' method with 'code' property."

This reverts commit 7adb38a6fbe20de3fdb6723a10e574d183e7fcff.

Revert "Bug 1821005 - Replace deprecated execResult."

This reverts commit bfd02dd16d7e5c9dbcf34858fbbe4176d698f8cd.

Revert "Bug 1849833 - Replace deprecated extractNativeLibs manifest attribute."

This reverts commit a05bc9618457ab2d71a5d3d88d8d3b0318497a54.

Revert "Bug 1821005 - Upgrade AGP to 8.0.2"

This reverts commit fc0fadd63553e2144ce074454d502ecf307eb988.

Revert "Bug 1821005 - Upgrade kotlin-dsl to 4.1.0."

This reverts commit 14e8903e922fa22e28450520be3b6152be6a3a8f.

Revert "Bug 1821005 - Upgrade Gradle to 8.3 version."

This reverts commit f14f447a4d43588d24e4ca3efde0668ddcf7cf08.
2023-11-08 13:35:38 -05:00
t-p-white
a1d508e830 Bug 1821701 - Added SVG decoding for favicons. 2023-11-08 11:57:38 +00:00
mcarare
04345cb27b Bug 1821005 - Enable generation of the BuildConfig class
For modules that use buildConfigField and generate metrics, because BuildConfig is not generated by default after Gradle 8.
2023-11-08 09:10:09 +00:00
github-actions
486f6bcf0a Import translations from android-l10n 2023-11-08 00:26:58 +00:00