Commit Graph

6305 Commits

Author SHA1 Message Date
mavduevskiy
89f5e96d73
For #18160: Show a prompt when trying to leave private browsing with active downloads (#22912)
Co-authored-by: mike a <mavduevskiy@gmail.com>
2021-12-22 00:12:44 -08:00
Mozilla L10n Automation Bot
105a2e5fc6 Import l10n. 2021-12-22 00:34:24 +00:00
Grisha Kruglov
5bbfd49e1d 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
836ff1151b Closes #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
34c0a17b4d For #22852 - Add a new "Storage access" permission 2021-12-21 17:45:19 +00:00
Arturo Mejia
cf31bc408a For #22931 Only enable wallpapers on normal mode 2021-12-21 09:49:12 -05:00
mcarare
00280d3b65 For #20513: Use UrlMetricType for search engine submission url. 2021-12-21 11:25:00 +00:00
Roger Yang
22bcdeafe0 Closes #22736: Do not remove focus from toolbar when scrolling 2021-12-20 20:38:04 +00:00
Arturo Mejia
7a44412619 For #22851 toggle wallpapers when tap on the Firefox logo 2021-12-20 15:53:44 +00:00
rxu
073fd89390 Add default topsite MeiTuan for MozillaOnline builds 2021-12-20 01:42:41 +00:00
Mozilla L10n Automation Bot
ee34b07ecc Import l10n. 2021-12-20 00:39:20 +00:00
Mozilla L10n Automation Bot
606f2eb100 Import l10n. 2021-12-19 00:32:51 +00:00
Mozilla L10n Automation Bot
dd64d92b12 Import l10n. 2021-12-18 00:36:17 +00:00
Matt Tighe
db71d8dfe7 fixes #22889: add bottom spacer to onboarding adapter 2021-12-17 22:31:18 +00:00
Mugurell
eb2ec677ca For #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
26198330e9 Closes #22671: Show correct time groups header in history 2021-12-17 16:32:56 +00:00
mcarare
bbf0ccca54 For #22450: Replace quit icon with AC one. 2021-12-16 09:00:25 +00:00
Mozilla L10n Automation Bot
1c34db22f4 Import l10n. 2021-12-16 00:46:56 +00:00
Grisha Kruglov
33af7d8729 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
8de4c0b4db For #22569: Remove allopen plugin and Mockable annotations 2021-12-15 12:59:57 +00:00
rxu
b41542dc5e Modify strings for Privacy notice for MozillaOnline builds 2021-12-15 02:54:14 +00:00
Mozilla L10n Automation Bot
b96dda5c89 Import l10n. 2021-12-15 00:42:58 +00:00
Gabriel Luong
9e647fd821 For #22858 - Set all @color/tab_tray_item_media_stroke usages to @color/photonWhite 2021-12-14 23:38:53 +00:00
Matt Tighe
edcccc2f4c fixes #20833: move home recycler bottom margin into standalone item 2021-12-14 22:31:05 +00:00
Gabriel Luong
59a17894f2 For #22842 - Use gradient color tokens for Reader mode gradient 2021-12-14 21:53:28 +00:00
Gabriel Luong
2c22622edb For #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
8ca1a7e271 For #22832 - Added parameters to base Text composables 2021-12-14 18:59:09 +00:00
Arturo Mejia
0ac2899570 For #22851 add wallpapers feature flag 2021-12-14 18:20:43 +00:00
Gabriel Luong
cd83cfdda7 For #22839 - Remove unused tabTrayHeadingIcon and tabTrayHeadingIconInactive attributes 2021-12-14 17:07:43 +00:00
Gabriel Luong
07828aa979 For #22839 - Remove @color/tab_tray_heading_icon_inactive_dark_theme redirection 2021-12-14 17:07:43 +00:00
Gabriel Luong
d45c092f11 For #22839 - Remove @color/tab_tray_heading_icon_dark_theme redirection 2021-12-14 17:07:43 +00:00
Mozilla L10n Automation Bot
6669363ed9 Import l10n. 2021-12-14 10:23:24 +00:00
Gabriel Luong
b8bc14c0ff For #22808 - Add private theme design tokens 2021-12-13 20:05:38 +00:00
Gabriel Luong
da0cb197ac For #22809 - Use the design tokens for the Scrim Start/End colors 2021-12-13 17:13:24 +00:00
Gabriel Luong
d457050da2 For #22812 - Remove unused shadow attribute 2021-12-13 16:46:07 +00:00
Gabriel Luong
9dd3f58241 For #22800 - Remove unused tabTrayToolbarBackground attribute 2021-12-13 16:12:23 +00:00
Gabriel Luong
8fee873d40 For #22800 - Remove unused tabTrayItemSelectedBackground attribute 2021-12-13 16:12:23 +00:00
Gabriel Luong
0a9590cb23 For #22800 - Remove unused tabTrayItemBackground attribute 2021-12-13 16:12:23 +00:00
Mozilla L10n Automation Bot
f7d0c2831a Import l10n. 2021-12-13 00:35:55 +00:00
Mozilla L10n Automation Bot
6cfe332e18 Import l10n. 2021-12-12 00:33:02 +00:00
Gabriel Luong
41fd47fc06 For #22793 - Update the colors for Scrim Start/End design tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
35454ec674 For #22793 - Swap the colors for Gradient Start/End design tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
29fc9c4ea5 For #22793 - Add Icon Gradient Start/End color tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
543f2000af For #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
fee26e62a8 Fixes #22688: remove inactive_tabs_recently_closed probe 2021-12-10 23:20:26 +00:00
Gabriel Luong
986a48b1db For #22777 - Replace about_link_normal_theme with fx_mobile_text_color_action 2021-12-10 17:31:52 +00:00
Gabriel Luong
d6091c9ea4 For #22779 - Remove @color/inset_light_theme redirection 2021-12-10 15:53:50 +00:00
mcarare
b4bf7abfb3 For #22784: Show collection snackbar only if fragment is still attached. 2021-12-10 15:09:04 +00:00
mcarare
0cb4059b12 For #17130: Replace hardcoded strings with string resources. 2021-12-10 14:44:39 +00:00
Mozilla L10n Automation Bot
3058f52578 Import l10n. 2021-12-10 02:12:25 +00:00