Sebastian Kaspari
ce323400dd
[components] Run ktlintFormat to fix new ktlint errors.
2021-07-28 12:03:23 +00:00
Michael Comella
06e80c6e10
[components] For https://github.com/mozilla-mobile/android-components/issues/10604 : remove remaining unused imports automatically.
...
This commit was automatically generated with:
```sh
./gradlew ktlint --args="-F"
```
2021-07-27 19:39:04 +00:00
Michael Comella
9f3e6f1a1b
[components] For https://github.com/mozilla-mobile/android-components/issues/10604 : reuse new TestCoroutineDispatcher in additional tests.
...
These follow a few more simple patterns I was able to find:
- the testDispatcher is not used anywhere else: remove it
- the testDispatcher is used to set a main dispatcher: this is redundant
to the test rule so remove it both the dispatcher & the main dispatcher
- the testDispatcher is actually used elsewhere: for simplicity, change
the reference to point at the MainCoroutineRule.
2021-07-27 19:39:04 +00:00
Michael Comella
b3c2050afa
[components] For https://github.com/mozilla-mobile/android-components/issues/10604 : deprecate createTestCoroutinesDispatcher.
...
This is redundant to the built-in TestCoroutineDispatcher() method.
TestCoroutineDispatcher is also preferred because it has enhanced
testing functionality including defining a context-specific
`runBlockingTest` function, the ability to control `delay` timings, etc.
2021-07-27 19:39:04 +00:00
codrut.topliceanu
1e510d2772
[components] For https://github.com/mozilla-mobile/android-components/issues/10624 - Adds recoverable param to RemoveAllTabsAction
...
...to be used by UndoMiddleware.kt to prevent closed tabs from being recoverable
2021-07-19 14:49:23 +00:00
Roger Yang
5c90793129
[components] For https://github.com/mozilla-mobile/android-components/issues/4495 : Use smaller minimum icon size requirement for browser icons
2021-05-22 01:30:10 +00:00
mcarare
bddbb704f8
[components] For https://github.com/mozilla-mobile/android-components/issues/9555 : Fix WEBP deprecation in SDK 30.
2021-02-11 07:43:53 +00:00
Michael Comella
89c283dac1
[components] For https://github.com/mozilla-mobile/android-components/issues/9638 : name threads in Executors.new* calls.
...
I omitted:
- Store, as its a super-class
- Fennec migration code
2021-02-10 00:35:59 +00:00
mcarare
7586242be2
[components] For https://github.com/mozilla-mobile/android-components/issues/8519 : Suppress SDK 30 deprecations in tests and link to opened issues.
2021-02-09 18:03:01 +00:00
mcarare
46b450643f
[components] For https://github.com/mozilla-mobile/android-components/issues/8519 : Suppress SDK 30 deprecations and link to opened issues.
2021-02-09 18:03:01 +00:00
Jonathan Almeida
8069f23999
[components] Close https://github.com/mozilla-mobile/android-components/issues/9145 : Catch IOException where clearing thumbnails
2020-12-07 17:53:02 +00:00
Christian Sadilek
c917dd2cee
[components] Closes https://github.com/mozilla-mobile/android-components/issues/9022 : Memory leak in BrowserThumbnails.requestScreenshot
2020-11-19 16:54:42 +00:00
ekager
02a1023025
[components] For https://github.com/mozilla-mobile/android-components/issues/8831 - Adds ability to remove (and restore) a list of tabs
2020-11-02 22:46:29 +00:00
Jonathan Almeida
ac73bae091
[components] Close https://github.com/mozilla-mobile/android-components/issues/8040 : Move ImageLoader to support-base
...
The `ImageLoader` API is public and we should have it in a better place.
2020-10-06 14:39:58 +00:00
MozLando
aaa61a39f5
[components] Merge https://github.com/mozilla-mobile/android-components/pull/8121
...
8121: Issue https://github.com/mozilla-mobile/android-components/issues/7867 : Move EngineSession from SessionManager to BrowserState. r=csadilek a=pocmo
Fenix PR: https://github.com/mozilla-mobile/fenix/pull/13933
R-B PR: https://github.com/mozilla-mobile/reference-browser/pull/1292
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com >
2020-08-26 15:55:09 +00:00
Sebastian Kaspari
212c7d73c1
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7867 : Move EngineSession from SessionManager to BrowserState.
...
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com >
Issue https://github.com/mozilla-mobile/android-components/pull/8121 : Replace MigrationStore with MigrationContext and prevent usage outside of a Middleware.
* Before executing the reducer chain we now verify that we are on the store thread and throw if we are on a different thread.
* MigrationContext now provides a store property that returns the underlying Store instance. This can be used to pass it to
other components and threads that are not part of the Middleware.
* Fixed existing Middleware implementations to use the MiddlewareContext or pass the actual Store instance around.
2020-08-26 10:50:47 -04:00
Jonathan Almeida
54ad9dba34
[components] Close https://github.com/mozilla-mobile/android-components/issues/8181 : Expose requestScreenshot on BrowserThumbnails
2020-08-21 13:51:41 -04:00
Jonathan Almeida
ec1134b20b
[components] Close https://github.com/mozilla-mobile/android-components/issues/8067 : Add usage documentation on how to setup feature-thumbnails
...
Setting up thumbnails for the first time is more complex than our other
features, so having more documentation on how to do this is always good!
2020-08-18 18:52:16 -04:00
Kainalu Hagiwara
411a76ffd1
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7533 - Allow loading a thumbnail at maximum size.
2020-07-14 16:40:11 -07:00
MozLando
258b42092a
[components] Merge https://github.com/mozilla-mobile/android-components/pull/7499
...
7499: Close https://github.com/mozilla-mobile/android-components/issues/7495 : Wait for firstContentfulPaint in BrowserThumbnail r=gabrielluong a=jonalmeida
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com >
2020-06-26 06:53:03 +00:00
Gabriel Luong
4423fc8ba8
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7138 : Add ImageRequest to ImageLoader to allow consumers to specify the preferred image size
2020-06-25 20:08:36 -04:00
Jonathan Almeida
8a69c5805f
[components] Close https://github.com/mozilla-mobile/android-components/issues/7495 : Wait for firstContentfulPaint in BrowserThumbnail
2020-06-25 15:53:10 -04:00
MozLando
0133c37b2f
[components] Merge https://github.com/mozilla-mobile/android-components/pull/7442
...
7442: Issue https://github.com/mozilla-mobile/android-components/issues/7441 : Remove unused ThumbnailsUseCase r=pocmo a=gabrielluong
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com >
2020-06-25 12:15:52 +00:00
Jonathan Almeida
b07a354f3e
[components] Close https://github.com/mozilla-mobile/android-components/issues/7496 : Fix intermittent failing test in BrowserThumbnails
2020-06-24 18:13:27 -04:00
Gabriel Luong
d5fa78855e
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7441 : Remove unused ThumbnailsUseCase
2020-06-23 20:27:02 -04:00
Gabriel Luong
cc964a2270
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7185 : Delete thumbnails when a session is removed
2020-06-23 19:18:45 -04:00
Jonathan Almeida
9a50e9b6f7
[components] Close https://github.com/mozilla-mobile/android-components/issues/7313 : Use storage/loader to get thumbnails
...
We were seeing odd bugs and performance issues from trying to map the
disk cache into the TabsTrayPresenter.
A better solution, would be to load the thumbnails straight from the
cache, and incremental updates via the store.
2020-06-12 12:30:10 -04:00
Christian Sadilek
f79337f01f
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7295 : Don't block store thread when saving thumbnail
2020-06-09 09:37:19 -04:00
Gabriel Luong
bffa57d108
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7021 : Integrate the ThumbnailDiskCache with BrowserThumbnails
2020-05-28 16:56:20 -04:00
Gabriel Luong
368b1a3f4c
[components] Issue https://github.com/mozilla-mobile/android-components/issues/2754 : Adds ThumbnailDiskCache for persisting and restoring thumbnails.
2020-05-21 13:39:07 -04:00
Jonathan Almeida
58f7a73883
[components] Close https://github.com/mozilla-mobile/android-components/issues/6842 : Migrate to browser-state in BrowserThumbnails
2020-05-12 18:46:24 -04:00
Christian Sadilek
387b26e835
[components] Closes https://github.com/mozilla-mobile/android-components/issues/2985 : Launch reader view in extension page
2020-05-05 13:15:51 -04:00
Gabriel Luong
f5b851bd14
[components] Issue https://github.com/mozilla-mobile/android-components/issues/6827 : Move Thumbnails into its own browser component
2020-05-01 18:21:24 -04:00