2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00
Commit Graph

6649 Commits

Author SHA1 Message Date
Arturo Mejia
0b88222bf5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22851: Adjust theme based on the selected wallpaper. 2022-01-05 17:55:02 +00:00
Mozilla L10n Automation Bot
d6cca53ac2 [fenix] Import l10n. 2022-01-05 01:23:18 +00:00
Gabriel Luong
3084f14346 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22978 - Replace @color/foundation_normal_theme with @color/fx_mobile_layer_color_1 2022-01-05 00:39:36 +00:00
Gabriel Luong
ceb30bfaa7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23049 - Update the color for @color/fx_mobile_layer_color_accent_nonopaque 2022-01-05 00:04:18 +00:00
Gabriel Luong
33c8f813a8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23049 - Update the colors of @color/fx_mobile_action_color_primary 2022-01-05 00:04:18 +00:00
Gabriel Luong
1c0b502f97 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23049 - Consolidate @color/fx_mobile_text_color_accent with @color/fx_mobile_text_color_action
- Removes @color/fx_mobile_text_color_action
- Use the colors from @color/fx_mobile_text_color_action in @color/fx_mobile_text_color_accent
2022-01-05 00:04:18 +00:00
Arturo Mejia
b2329b0802 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22995: Address crash when switching languages. 2022-01-04 21:13:00 +00:00
Aaron Train
08a83e287d [fenix] No issue: Try out RetryTestRule in SmokeTest UI test class (https://github.com/mozilla-mobile/fenix/pull/22868)
* Add RetryTestRule to SmokeTest UI tests

* fix: newline in RetryTestRule.kt

fix: switch off generic Throwable

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-04 20:17:02 +00:00
mcarare
1facaaf775 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22879: Filter default engines when sending telemetry.
Filter out custom engines that are not well known search domains.
2022-01-04 10:29:16 +00:00
Gabriel Luong
cb307f7bd3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23017 - Ignore ExtraTranslation in our lint-baseline 2022-01-04 01:28:30 +00:00
Mozilla L10n Automation Bot
579968221c [fenix] Import l10n. 2022-01-04 00:37:13 +00:00
Mozilla L10n Automation Bot
0190e82e9e [fenix] Import l10n. 2022-01-03 00:49:41 +00:00
Mozilla L10n Automation Bot
e752fba41e [fenix] Import l10n. 2022-01-02 00:36:35 +00:00
Mozilla L10n Automation Bot
02318ce631 [fenix] Import l10n. 2022-01-01 00:34:53 +00:00
Mozilla L10n Automation Bot
a742f46a1a [fenix] Import l10n. 2021-12-31 00:40:16 +00:00
mike a
deb174462d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10737: Searching a language/saved password displays a misplaced "x".
Setting max width for the search view in language settings and saved logins screens. Removed SyncAuthClosed event from LocaleSettingsFragment, an apparent copy-paste.
2021-12-30 05:37:58 +00:00
Mozilla L10n Automation Bot
8a591ac6e2 [fenix] Import l10n. 2021-12-30 00:38:58 +00:00
Gabriel Luong
ed58de80f6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22973 - Remove @color/contrast_text_light_theme redirection 2021-12-28 20:06:05 +00:00
Gabriel Luong
dde2d7edd7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22983 - Remove @color/destructive_button_text_color redirection 2021-12-28 19:37:21 +00:00
TasosB
7c78a27e27 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21483 - Remove light theme tinting of folder icon in the Bookmark view 2021-12-28 18:56:36 +00:00
TasosB
59ce66c404 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21483 - Use primaryText attribute for download icons fill color 2021-12-28 18:56:36 +00:00
Gabriel Luong
ea66e3c8a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22971 - Remove @color/above_dark_theme redirection 2021-12-28 16:47:59 +00:00
Mozilla L10n Automation Bot
29534669d6 [fenix] Import l10n. 2021-12-28 00:35:39 +00:00
Mozilla L10n Automation Bot
f8f9be73a5 [fenix] Import l10n. 2021-12-27 00:35:38 +00:00
Mozilla L10n Automation Bot
d0dae450d9 [fenix] Import l10n. 2021-12-25 00:37:17 +00:00
rxu
a8084ee002 [fenix] Pass distribution_id to Socorro crash report 2021-12-24 01:50:32 +00:00
Mozilla L10n Automation Bot
f3e51f1055 [fenix] Import l10n. 2021-12-24 00:44:51 +00:00
Gabriel Luong
0a558bf3bb [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Add Form On, Form Off, Indicator Active, Indicator Inactive color tokens 2021-12-23 21:46:57 +00:00
Gabriel Luong
3079590c50 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Remove Control Active color token 2021-12-23 21:46:57 +00:00
Gabriel Luong
23dfc29dfd [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Update description of Layer Accent color token 2021-12-23 21:46:57 +00:00
Gabriel Luong
5db66444ca [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Update description of Text Inverted color token 2021-12-23 21:46:57 +00:00
Gabriel Luong
47729fd237 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Remove Control Dark design color token 2021-12-23 21:46:57 +00:00
Gabriel Luong
f6f0964023 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Rename Action Disabled to Form Disabled for the design color tokens 2021-12-23 21:46:57 +00:00
Gabriel Luong
2db2c4fb36 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Update Control to Form Surface design colors 2021-12-23 21:46:57 +00:00
Gabriel Luong
c16c812f68 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Add Form Selected design color token 2021-12-23 21:46:57 +00:00
Gabriel Luong
cfa4cc5471 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Update Action Teritary to Form Default design colors 2021-12-23 21:46:57 +00:00
Gabriel Luong
4cf43391b9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Change Pill button to Chip for Action Secondary design color token description 2021-12-23 21:46:57 +00:00
Gabriel Luong
bd932f1fed [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Remove Toolbar background from the description of Layer 3 design color token 2021-12-23 21:46:57 +00:00
Roger Yang
9bb5e0a621 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22754: Customize home button should work on fresh install 2021-12-23 20:34:10 +00:00
Arturo Mejia
8dcd6a7faf [fenix] For https://github.com/mozilla-mobile/fenix/issues/22851: Optimize wallpaper testing images. 2021-12-23 10:24:32 +00:00
Roger Yang
a9360bb98a [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22561: Fix tab group titles colour when in private mode 2021-12-22 22:48:57 +00:00
mcarare
afddd6ec32 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22415: Remove element type from content descriptions.
Adding the type to content description is not advised according to a11y guidelines.
2021-12-22 22:23:37 +00:00
Gabriel Luong
fb8b281431 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/22777 - Replace about_link_normal_theme with fx_mobile_text_color_action"
This reverts commit 18d66ce1e3e246a4c190e03ca07cf85937e1047c.
2021-12-22 14:43:10 -05:00
mavduevskiy
e88bda15df [fenix] For https://github.com/mozilla-mobile/fenix/issues/18160: Show a prompt when trying to leave private browsing with active downloads (https://github.com/mozilla-mobile/fenix/pull/22912)
Co-authored-by: mike a <mavduevskiy@gmail.com>
2021-12-22 00:12:44 -08:00
Mozilla L10n Automation Bot
4a8c0d59cc [fenix] Import l10n. 2021-12-22 00:34:24 +00:00
Grisha Kruglov
c367072d11 [fenix] Refactor History types to eliminate nullability
This introduces a separate HistoryDB type at the PagedHistoryProvider
layer, that doesn't need to deal with positions. Positioning logic in
HistoryDataSource becomes a type conversion between the new type and an
existing History type that UI and ItemKeyedDataSource API is written against.

With this refactor, we entirely eliminate nullability from these types.
2021-12-21 19:54:18 +00:00
Grisha Kruglov
b13e149900 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22764: Convert History.id to an Int position
We were converting Long timestamps into Ints (and getting negative
numbers back), and treating that as, basically, a position for the
paging API; the paging API would pass us back the obscure negative
number back as an offset, and we'll mishandle it resulting in an
infinite loop.

This patch removes all of the Long -> Int conversions, and introduces an
explicit 'position' that is calculated once we have a full page of
results completed.
2021-12-21 19:54:18 +00:00
Mugurell
ae7909671e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22852 - Add a new "Storage access" permission 2021-12-21 17:45:19 +00:00
Arturo Mejia
9e15247269 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22931 Only enable wallpapers on normal mode 2021-12-21 09:49:12 -05:00
mcarare
4e6406e15e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20513: Use UrlMetricType for search engine submission url. 2021-12-21 11:25:00 +00:00
Roger Yang
1735a245c0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22736: Do not remove focus from toolbar when scrolling 2021-12-20 20:38:04 +00:00
Arturo Mejia
5143063813 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22851 toggle wallpapers when tap on the Firefox logo 2021-12-20 15:53:44 +00:00
rxu
de1e52a234 [fenix] Add default topsite MeiTuan for MozillaOnline builds 2021-12-20 01:42:41 +00:00
Mozilla L10n Automation Bot
f110c8eca9 [fenix] Import l10n. 2021-12-20 00:39:20 +00:00
Mozilla L10n Automation Bot
574136432c [fenix] Import l10n. 2021-12-19 00:32:51 +00:00
Mozilla L10n Automation Bot
dad42ce9a1 [fenix] Import l10n. 2021-12-18 00:36:17 +00:00
Matt Tighe
1c898c756c [fenix] fixes https://github.com/mozilla-mobile/fenix/issues/22889: add bottom spacer to onboarding adapter 2021-12-17 22:31:18 +00:00
Mugurell
0244f2156f [fenix] For https://github.com/mozilla-mobile/fenix/issues/22508 - Increase menu height to avoid it become scrollable
Compose enforces a DropdownMenuItem having at least a 64dp height
(48 dp height + 8dp vertical padding) so we need to ensure the parent
doesn't hardcode a smaller height.
2021-12-17 17:38:22 +00:00
Roger Yang
11417996c8 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22671: Show correct time groups header in history 2021-12-17 16:32:56 +00:00
mcarare
4cd7064540 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22450: Replace quit icon with AC one. 2021-12-16 09:00:25 +00:00
Mozilla L10n Automation Bot
67f56b7031 [fenix] Import l10n. 2021-12-16 00:46:56 +00:00
Grisha Kruglov
6b7cdce783 [fenix] Fix breaking change in KeyProvider
`key` was renamed to `getOrGenerateKey` and is now a `suspend`.
2021-12-15 22:57:06 +00:00
Grisha Kruglov
4ad2c1c592 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22569: Remove allopen plugin and Mockable annotations 2021-12-15 12:59:57 +00:00
rxu
803549e11f [fenix] Modify strings for Privacy notice for MozillaOnline builds 2021-12-15 02:54:14 +00:00
Mozilla L10n Automation Bot
6a54899d0c [fenix] Import l10n. 2021-12-15 00:42:58 +00:00
Gabriel Luong
6f331743d0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22858 - Set all @color/tab_tray_item_media_stroke usages to @color/photonWhite 2021-12-14 23:38:53 +00:00
Matt Tighe
817760d64c [fenix] fixes https://github.com/mozilla-mobile/fenix/issues/20833: move home recycler bottom margin into standalone item 2021-12-14 22:31:05 +00:00
Gabriel Luong
816677db45 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22842 - Use gradient color tokens for Reader mode gradient 2021-12-14 21:53:28 +00:00
Gabriel Luong
a9a26965ad [fenix] For https://github.com/mozilla-mobile/fenix/issues/22836 - Replace primary_text_private_theme with fx_mobile_private_text_color_primary color token 2021-12-14 19:30:00 +00:00
Noah Bond
d8bee937cd [fenix] For https://github.com/mozilla-mobile/fenix/issues/22832 - Added parameters to base Text composables 2021-12-14 18:59:09 +00:00
Arturo Mejia
49444cfdf7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22851 add wallpapers feature flag 2021-12-14 18:20:43 +00:00
Gabriel Luong
85d4b025a4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22839 - Remove unused tabTrayHeadingIcon and tabTrayHeadingIconInactive attributes 2021-12-14 17:07:43 +00:00
Gabriel Luong
f0638c8294 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22839 - Remove @color/tab_tray_heading_icon_inactive_dark_theme redirection 2021-12-14 17:07:43 +00:00
Gabriel Luong
e2c76c0ad2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22839 - Remove @color/tab_tray_heading_icon_dark_theme redirection 2021-12-14 17:07:43 +00:00
Mozilla L10n Automation Bot
fc74ae29e8 [fenix] Import l10n. 2021-12-14 10:23:24 +00:00
Gabriel Luong
8ecbffef61 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22808 - Add private theme design tokens 2021-12-13 20:05:38 +00:00
Gabriel Luong
8b0a49c9fd [fenix] For https://github.com/mozilla-mobile/fenix/issues/22809 - Use the design tokens for the Scrim Start/End colors 2021-12-13 17:13:24 +00:00
Gabriel Luong
57b78972f6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22812 - Remove unused shadow attribute 2021-12-13 16:46:07 +00:00
Gabriel Luong
949545d88a [fenix] For https://github.com/mozilla-mobile/fenix/issues/22800 - Remove unused tabTrayToolbarBackground attribute 2021-12-13 16:12:23 +00:00
Gabriel Luong
bbafc879ce [fenix] For https://github.com/mozilla-mobile/fenix/issues/22800 - Remove unused tabTrayItemSelectedBackground attribute 2021-12-13 16:12:23 +00:00
Gabriel Luong
0364ad33e7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22800 - Remove unused tabTrayItemBackground attribute 2021-12-13 16:12:23 +00:00
Mozilla L10n Automation Bot
64157037c5 [fenix] Import l10n. 2021-12-13 00:35:55 +00:00
Mozilla L10n Automation Bot
267118527e [fenix] Import l10n. 2021-12-12 00:33:02 +00:00
Gabriel Luong
7f1918bd32 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22793 - Update the colors for Scrim Start/End design tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
7c9e44b61d [fenix] For https://github.com/mozilla-mobile/fenix/issues/22793 - Swap the colors for Gradient Start/End design tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
eecb775f83 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22793 - Add Icon Gradient Start/End color tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
e0d4f0b496 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22793 - Rename fx_mobile_icon_color_notice color token to fx_mobile_icon_color_information 2021-12-11 01:51:26 +00:00
Matt Tighe
4b6a1d2256 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/22688: remove inactive_tabs_recently_closed probe 2021-12-10 23:20:26 +00:00
Gabriel Luong
861609816d [fenix] For https://github.com/mozilla-mobile/fenix/issues/22777 - Replace about_link_normal_theme with fx_mobile_text_color_action 2021-12-10 17:31:52 +00:00
Gabriel Luong
257c8a0f13 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22779 - Remove @color/inset_light_theme redirection 2021-12-10 15:53:50 +00:00
mcarare
7b2460a2e5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22784: Show collection snackbar only if fragment is still attached. 2021-12-10 15:09:04 +00:00
mcarare
01c4bf049a [fenix] For https://github.com/mozilla-mobile/fenix/issues/17130: Replace hardcoded strings with string resources. 2021-12-10 14:44:39 +00:00
Mozilla L10n Automation Bot
9d53193299 [fenix] Import l10n. 2021-12-10 02:12:25 +00:00
aime Soriano Pastor
37ec88478e [fenix] For https://github.com/mozilla-mobile/fenix/issues/9294: Add option to clear current site data in quick settings dialog. 2021-12-09 23:08:08 +00:00
Gabriel Luong
433ae3f6c5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22694 - Remove primary_text_dark_theme usage 2021-12-09 21:13:35 +00:00
MickeyMoz
4b3e25dcf6 [fenix] Update Android Components version to 97.0.20211208143435. 2021-12-09 11:41:37 +00:00
Mozilla L10n Automation Bot
ab220e2995 [fenix] Import l10n. 2021-12-09 00:36:22 +00:00
Jonathan Almeida
4d889b852a [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22757: Check the parent cast to AbstractBrowserTrayList first
We re-use the same ViewHolders in search term groups, so when we need to
cast to a AbstractBrowserTrayList for tab reordering, we need to check
our parent correctly first.
2021-12-08 23:54:46 +00:00
Christian Sadilek
f32aab496e [fenix] Support tab movement/reordering (https://github.com/mozilla-mobile/fenix/pull/22751)
* Adds basic support for tab reordering via drag-and-drop selected tabs

* ktlint/detekt formatting

* Use defaultTabsFilter (now not private) instead of getter

* Convert from position+filter API to target+placeAfter
Unfortunately I still need the filter passed around a bit

* Handle inactive tabs' holder being children of the RecyclerView of the normal tabs
Don't go through LayoutManager needlessly

* Non-working use tabID the whole way. Does not compile.

* Fix to do direct tab ID and use grid setting directly

* Remove non-null assertion. Now fully works for "other" tabs.

* Prevent grouped tabs from being dragged

* Remove unused import

* Add/fix comments

* Do API version check and use deprecated startDrag if too old.

* Build process fails: both outdated and too new, so reverting to just too new

* Use deprecated function and suppress warning

* fix space

* Suppress "TooManyFunctions" on DefaultTabsTrayController

* Repeatedly update tab movement during drag

* Remove multi-tab movement, only allow dragging if tab groups disabled, fix tab positioning during movement
I'm forced to suppress LongParameterList to get the settings information where it needs to go though

* Remove settings argument and corresponding long args suppression: instead get settings from parent AbstractBrowserTrayList's context

* New UI: Select a tab and then, while holding down, start dragging

* Revert to using before/after boolean to accomodate delays
Move drag transparency to start of drag

* Use new BlankDragShadowBuilder and DraggableItemAnimator to handle tab movement

* Replace Pair<>s with data classes

* Only drag if exactly 1 tab selected, don't consume drag event if not used

* Auto-scroll tab tray while dragging near top/bottom edge

* Remove unexpected scrolling on tab bind (triggered when tab is selected)

* Fix broken scroll behavior during dragging

* Cleanup for ktlint/detekt

* Constantly set elevation during drag in case of update
Clean code at drag start

* Add custom drag start behavior

* Add drag distance constant, do all touch-drag behavior in OnTouchListener

* Disable parent vertical scrolling on drag start, fix detekt ComplexCondition

* Minor cleanup/comments

* Revert removal of scroll on bind, this was related to something different

* Correction to prepareForDrop to match documentation- doesn't seem to have any effect

* Simplify via unchecked typecast, use ViewCompat

* Use ViewConfiguration.scaledTouchSlop instead of arbitrary 30px

* Added tabReorderingFeature flag, split drag interactor to separate function to satisfy complexity requirement

Co-authored-by: Steven Knipe <ssk97@case.edu>
Co-authored-by: ssk97 <knipesteven@gmail.com>
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2021-12-08 16:36:49 +00:00
Christian Sadilek
5daf8934ca [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/21759: Do not render home fragment when launching to tab
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2021-12-08 10:51:06 +00:00