jackyzy823
65c2ecd5f5
Bug 1884300 - Add NullPointerException for SvgIconDecoder
2024-03-08 14:06:06 +00:00
jackyzy823
457ac6deda
Bug 1884034 - Add IllegalArgumentException for SvgIconDecoder
2024-03-07 18:22:09 +00:00
jackyzy823
cc1d63cb81
Bug 1879116 - Repalce coil-kt with AndroidSVG
2024-03-06 13:50:19 +00:00
jackyzy823
4c3be42838
Bug 1874522 - Catch OOM, set desired size and disable coil-kt cache in SVG decoder
2024-02-05 20:35:54 +00:00
jackyzy823
2ef49bc465
Bug 1839067 - Ensure response's body closed whether request is success or not.
2024-01-23 22:03:17 +00:00
t-p-white
01f1578630
Bug 1874861 - Removed redundant LongParameterList suppression's
2024-01-18 18:37:49 +00:00
William Durand
40c8b21971
Bug 1867295 - Introduce a new installBuiltInWebExtension method
2023-11-30 20:41:42 +00:00
t-p-white
e7edc82092
Bug 1821703 - Fix Compose Top Site Sponsored Sites 'flashing' appearance
2023-11-14 15:04:47 +00:00
t-p-white
a1d508e830
Bug 1821701 - Added SVG decoding for favicons.
2023-11-08 11:57:38 +00:00
mcarare
7e47586e45
Bug 1859017 - Handle nullability changes.
2023-10-16 13:39:23 +00:00
mcarare
0860fc8f9a
Bug 1859017 - Use extension functions instead of deprecated constructors/methods.
2023-10-16 13:39:23 +00:00
Roger Yang
62d1bfe61f
Bug 1855224 - Update tippy top 200 icons list
2023-09-27 01:43:33 +00:00
mcarare
063c553913
Bug 1849833 - Replace deprecated compileSdkVersion.
...
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
t-p-white
a6748e73f9
Bug 1848605 - Implement similar functionality as loadIntoView for Compose Favicons
2023-09-06 15:54:42 +00:00
MatthewTighe
c87183c8b5
Bug 1843168 - Expose Mockito through test support component
2023-07-24 18:02:09 +00:00
Ryan VanderMeulen
4ca4af9657
Bug 1838903 - Fix AC formatting issues and update baseline
2023-06-26 17:59:29 +00:00
mcarare
a339d63bae
Bug 1825071 - Refactor BrowserIconsTest to remove Robolectric.
...
Also add some additional checks.
2023-06-12 16:39:12 +00:00
Geoff Brown
6561b2de2b
Bug 1825116 - Resolve many black, isort, and file-whitespace lint issues
2023-04-12 14:04:29 +00:00
mcarare
278fa80cc2
Bug 1824717 - Remove unnecessary AndroidJUnit4 runner.
2023-04-05 12:44:13 +00:00
William Durand
f6eeab7e9f
Bug 1824341 - Use browser_specific_settings instead of applications in built-in manifests
2023-03-27 14:23:55 +00:00
Ryan VanderMeulen
0e5e70291c
Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt build.gradle
2023-03-07 00:12:18 +00:00
mcarare
45f919de20
Bug 1802817 - Migrate packagingOptions DSL properties to resources sub-block.
...
exclude, pickFirst methods are deprecated.
2023-03-02 17:13:09 +00:00
mcarare
1f589a2e0b
Bug 1802817 - Set namespace via DSL in gradle build files.
...
See https://developer.android.com/studio/build/configure-app-module#set-namespace
and https://issuetracker.google.com/issues/172361895
2023-03-02 17:13:09 +00:00
mcarare
922b5f6643
Bug 1802817 - Rename AC Dependencies to ComponentsDependencies.
...
This change is needed in order to avoid clashes with Dependencies class introduced
in Gradle from 7.6 version.
2023-03-02 17:13:09 +00:00
Christian Sadilek
4091b14a33
Fix android lint in composite builds
2022-11-21 13:40:53 -05:00
Gabriel Luong
d9d783b698
[components] Issue https://github.com/mozilla-mobile/android-components/issues/12939 : Address all ktlint issues
2022-10-17 17:07:40 -04:00
mcarare
92fe0c0234
[components] For https://github.com/mozilla-mobile/android-components/issues/12724 : Upgrade compose to 1.2.1 version.
...
Split versioning of compose compiler.
Enable Xjvm-default to allow inheriting from interfaces with '@JvmDefault' members
like RememberObserver.
2022-09-08 08:22:09 +00:00
mcarare
09a408c6a3
[components] For https://github.com/mozilla-mobile/android-components/issues/12381 : Update VisibleForTesting ProductionVisibility.
2022-08-31 09:47:47 +00:00
mcarare
97ae5efa57
[components] For https://github.com/mozilla-mobile/android-components/issues/12381 : Remove VisibleForTesting annotation.
...
Values are also accessed from code, not just from tests.
2022-08-31 09:47:47 +00:00
Roger Yang
d089f537ba
[components] Issue https://github.com/mozilla-mobile/android-components/issues/10377 : Increase default maximum desired icon size to 1024px
2022-07-27 22:16:11 +00:00
Mugurell
9ac7115f14
[components] For https://github.com/mozilla-mobile/android-components/pull/11175 - Migrate runBlocking and runBlockingTest to runTest in ui tests
...
`runBlockingTest` is deprecated and cannot be used in ui tests either.
Took this opportunity to also refactor some `runBlocking` usages also to
`runTest` as the recommended api to run tests inside a coroutine.
2022-05-10 13:45:03 +00:00
Mugurell
d78b06b6bf
[components] For https://github.com/mozilla-mobile/android-components/pull/11175 - Migrate runBlocking and runBlockingTest to runTest in unit tests
...
Used `runTestOnMain` where `MainCoroutineRule` was used or needed to be used,
`runTest` elsewhere.
Extra effort for removing all `runBlocking` occurrences in unit tests.
`kotlinx.coroutines.test.runTest` is a test specific API that seems like a more
appropriate way for running tests in a coroutine than the general
`kotlinx.coroutines.runBlocking` api.
2022-05-10 13:45:03 +00:00
Mugurell
2963708053
[components] For https://github.com/mozilla-mobile/android-components/issues/11755 - Replace TestCoroutineDispatcher with UnconfinedTestDispatcher
...
- Refactor out all usages of TestCoroutineDispatcher and TestCoroutineScope
- Refactor MainCoroutineRule to now use UnconfinedTestDispatcher by default.
This dispatcher will eagerly enter all launch or async blocks being more suited
to our codebase.
2022-05-10 13:45:03 +00:00
mcarare
33d5df7988
[components] For https://github.com/mozilla-mobile/android-components/issues/11670 : Use shadowOf(getMainLooper()).idle() to execute all posted tasks.
...
This is needed due to the new default Looper Mode - PAUSED in Robolectric.
2022-03-18 12:43:16 +00:00
Grisha Kruglov
f574861d1a
[components] Try loading icons synchronously first from an in-memory cache
2021-12-14 16:36:52 -08:00
Mugurell
3d7ad9803a
[components] For https://github.com/mozilla-mobile/android-components/issues/10749 - New NonBlockingHttpIconLoader
...
This will download and persist the network resources in the background without
blocking actually returning a response.
This means the first request for a network resource will result in a generated
icon but future requests of the same resources should be able to load the
locally persisted icon.
2021-11-15 11:58:12 +00:00
Sebastian Kaspari
90ec41fc3a
[components] Update Kotlin and Jetpack Compose versions.
2021-10-25 10:58:07 +00:00
Sebastian Kaspari
78badfe619
[components] Closes https://github.com/mozilla-mobile/android-components/issues/10834 : Add BrowserIcons.Loader() composable function to load website icons in Jetpack Compose code.
2021-08-31 12:44:28 +00:00
Gabriel Luong
c81ed1976a
[components] Issue https://github.com/mozilla-mobile/android-components/issues/10798 - Refactor getRepresentativeSnippet and getRepresentativeCharacter from browser-icons to support-ktx
2021-08-12 16:36:53 +00:00
mcarare
f0d1898475
[components] For https://github.com/mozilla-mobile/android-components/issues/10737 : Also pass isPrivate property to download request.
2021-08-03 16:05:38 +00:00
Sebastian Kaspari
ce323400dd
[components] Run ktlintFormat to fix new ktlint errors.
2021-07-28 12:03:23 +00:00
Roger Yang
028c8b491d
[components] Closes https://github.com/mozilla-mobile/android-components/issues/10617 : Add common domain for icon requests
2021-07-26 17:31:36 +00:00
Sebastian Kaspari
9fb6953940
[components] Upgrade Android Gradle Plugin to 4.2.2 and Gradle to 6.7.1.
2021-07-19 09:32:44 +00:00
Sebastian Kaspari
28a76101be
[components] Update Kotlin to 1.5.10 (and Coroutines to 1.5.0 and Room to 2.3.0).
2021-07-19 09:32:44 +00:00
Roger Yang
aaeded92a5
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4495 : Add missing Amazon icon url in Tippy Top Json
2021-05-28 16:33:46 +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
f41ea7e031
[components] For https://github.com/mozilla-mobile/android-components/issues/9638 : fix detekt by suppress LongParameterList.
...
I think there's a detekt bug because reformatting
Executors.newFixedThreadPool onto two lines, even without adding the
NamedThreadFactory, triggers this warning even though the number
of parameters remains the same.
Given this warning essentially occurred before my change,
I didn't bother addressing it and just suppressed it.
2021-02-10 00:35:59 +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