Commit Graph

559 Commits (e547c9331137329439c01aa654ef997e99e518c8)

Author SHA1 Message Date
Abhijit Valluri e547c93311 Merge remote-tracking branch 'mozilla/master' into mozilla_main 4 years ago
Jonathan Almeida 23d9951e78 Upgrade to Android Component 62.0.20201006190820 with breaking changes 4 years ago
Abhijit Valluri e04fbe2419 Merge branch 'mozilla_main' into fork 4 years ago
Andrew Gaul cfbad1dae9 Show undo snackbars with padding with static bottom toolbar
This specifically fixes the close tab snackbar.  This commit mirrors
the logic when not using Undo from
9e876ebc44.  References #14982.
4 years ago
TrianguloY b07af9ccd3
For #13856 - Prevent overscroll in swipe to switch tabs gesture 4 years ago
Michael Comella f19c9920f9 For #13959: move resetAfter into StrictModeManager.
In a followup PR, we need to add state to strictModeManager (the
number of suppressions). This is much simpler to do when this is defined
as a class rather than an object. However, when this is defined as a
class, `resetAfter` needs access to the strictModeManager. Instead of
passing it in as an argument, it made sense to move this function onto
the strictModeManager instead.

Since folks are used to calling:
```
StrictMode.ThreadPolicy.allowThreadDiskReads().resetAfter
```

We're going to have to add a lint check to prevent them from doing that.
4 years ago
Sebastian Kaspari 3983c509dc Use "undo" implementation from Android Components.
This is not the super fancy version yet - since we still need to restore into SessionManager and
haven't fully switched to BrowserStore yet. However AC having knowledge about "undo" and whether
it was performed or not, will help us with features like "recently closed tabs". And once we
can improve "undo", Fenix will get all the nice things automatically.

Requires:
https://github.com/mozilla-mobile/android-components/pull/8449
4 years ago
Abhijit Valluri 8d84ec8ef5 Merge branch 'mozilla_main' into fork 4 years ago
ekager 7d5c199e51 For #12383 #15407 #12860 - Switch to using shared view model for session to delete on home 4 years ago
Elise Richards 1adf467248
For #14280, #14743: Remove old search fragment (#15169)
* Remove search fragment

* Use new folder to search dialog

* Rebase and lint

* Update tests with search dialog nav directions

* Rename interactor to match naming convention. Remove old controller and point everything to the dialog controller.
4 years ago
Sawyer Blatz 0fa2509bef
For #14243: Pre-land visuals for Close Tabs CFR (#15171) 4 years ago
ekager 24983af94e For #15291 - Limit current CFRs to show max one every 3 days 4 years ago
ekager a9075ff87b For #15272 - Remove bottom margin for toolbar on enter fullscreen 4 years ago
ekager 030d6a5b36 For #15121 - Ensure tabs removed while on browser select an available parent session 4 years ago
Abhijit Valluri ea7c8255ae Merge branch 'fork' into mozilla_main 4 years ago
ekager 9a2103a9a7 For #13934 - Make TabHistory work on PWA/Custom Tabs 4 years ago
ekager 407c31fdb3 No issue: Fixes strict mode death in debug custom tab 4 years ago
Tiger Oakes b563576335
Closes #14131: Move constants to dimens.xml (#14135)
Co-authored-by: Elise Richards <erichards@mozilla.com>
4 years ago
mcarare cc9667f722 For #15150: Do not show open banner if open in app is ON in settings. 4 years ago
Abhijit Valluri 48ea10cd9d Merge remote-tracking branch 'mozilla/master' into fork 4 years ago
Mugurell 75aa2d413a For #14974 - Ensure website bottom elements stay at bottom
engineView.setDynamicToolbarMaxHeight(0) vs
engineView.setDynamicToolbarMaxHeight(toolbarHeight)
ensures webpage's bottom elements are aligned to the bottom of the browser.

We also need to make sure that when the toolbar is static it does not cover the
bottom of the page - something desired when the toolbar was dynamic.
For this the engineView will have a toolbarHeight bottom margin.
4 years ago
ekager 09fbb43f80 For #2486 - Adds Recently Closed Tabs 4 years ago
Mugurell a6a50d78e0 For #14903 - Prevent BrowserFragment's view leak 4 years ago
Adam Novak 030f0d5369 Merge remote-tracking branch 'upstream/master' into fork 4 years ago
Gabriel Luong 6d133c8d0c For #14529 - Show a dialog when the top sites limit has been reached 4 years ago
Mugurell d8d896c500 For #10240 - New preferences to control gesture based features
Three new settings and one for which this patch just pre-lands the strings.
The behavior for the "Swipe toolbar up to open tabs" is to be added as part of
a later ticket.
4 years ago
Tiger Oakes 113241e8ce
Enforce IO thread inside of components (#14704)
* Automatically run PermissionStorage on IO thread

* Run TabCollectionStorage on dedicated scope + IO

* Update findSitePermissionsBy calls
4 years ago
Sebastian Kaspari e0071341c7 Update to new state API and update Mozilla Android Components version.
The EngineSessionState of a tab is now always accessible through tab.engineState.engineSessionState. It will
never get cleared.
4 years ago
Adam Novak 115a52b409 Merge remote-tracking branch 'upstream/master' into fork 4 years ago
mcarare c350a5f3b9 For #9506: Add session observer to check conditions for displaying banner. 4 years ago
mcarare 653a279101 For #9506: Implement banner custom view based on material design specs. 4 years ago
Adam Novak 7d2591e92a Merge remote-tracking branch 'upstream/master' into fork 4 years ago
Mugurell 33fc520468 For #10241 - Use VerticalSwipeRefreshLayout for pull to refresh
And so resolve many of the issues found in the platform's SwipeRefreshLayout.
4 years ago
Adam Novak e927400939 Merge remote-tracking branch 'upstream/master' into fork 4 years ago
ekager 7c7aa46811 Closes #14254 - Removes Login select feature flag 4 years ago
mcarare 2f1b903005 For #14289: Check if toolbar is initialised before setting flags. 4 years ago
Adam Novak 94ce9bb335 Merge remote-tracking branch 'upstream/master' into fork 4 years ago
Arturo Mejia c63fd3f9ac Add support for restoring downloads 4 years ago
Tiger Oakes a8291bf641
Remove un-needed nullables (#13816) 4 years ago
Tiger Oakes ace6b99c89
Split toolbar controller into two classes (#13854) 4 years ago
Adam Novak e13b236588 Merge remote-tracking branch 'upstream/master' into fork 4 years ago
ekager 179a86ce64 Puts login selection behind a nightly feature flag 4 years ago
ekager 53eebd681b For #5551 - Adds select login prompts 4 years ago
Christian Sadilek 8b9c3e0108 Fixes for A-C 57.0.20200826190111: Move EngineSession to BrowserState 4 years ago
Tiger Oakes 0b333fe48a For #9056: Search from custom tab 4 years ago
Gabriel Luong 46aa6a003e For #10342 - Part 3: Use the TopSitesUseCase in the BrowserToolbarController and SessionControlController
Use the provided `addPinnedSites` and `removeTopSites` use cases in `BrowserToolbarController` and `SessionControlController`.
4 years ago
Sebastian Kaspari 4782705af9 Add diagnostic breadcrumbs for debugging "Display already aquired" crashes.
For:
https://github.com/mozilla-mobile/android-components/issues/7960
4 years ago
mcarare 6c2220bffc For #13388: Use safe call for nullable swipeRefresh. 4 years ago
Jonathan Almeida f3b870d356 For #11918: Take a screenshot when clicking the tab tray
We looked into taking a screenshot right before leaving the
BrowserFragment, however this call will always fail since it's
non-blocking (we never want it to be blocking too), and we will never
receive a screenshot when a session is detached from an EngineView
before the callback is complete.

In Fenix, we can nicely evade this by taking a screenshot when click
the tabs tray icon, which is where you would want to see the most
up-to-date thumbnail of the tab and also does not leave the
BrowserFragment as well.
4 years ago
Kainalu Hagiwara d49ca515f4 For #13330 - Remove feature flag for swipe to switch tabs. 4 years ago