mcarare
7562dc8765
Bug 1880077 - Switch to using Compose BOM instead of individual versioning
2024-02-22 08:51:53 +00:00
Lina Butler
c4350f91fe
Bug 1858542 - Introduce AwesomeBarState and Suggestion.metadata.
...
This commit adds:
* An `AwesomeBarState` class to hold the currently visible suggestions
and last clicked suggestion.
* `VisibilityStateUpdated` and `SuggestionClicked` `AwesomeBarAction`s
to update the state, and an `EngagementFinished` action to reset the
state. Consumers will dispatch these actions on the `BrowserStore`
in response to user interactions with the awesomebar and toolbar.
* A `metadata` map to `AwesomeBar.Suggestion`, allowing providers to
attach opaque data to each suggestion.
2023-10-24 07:43:07 +00:00
mcarare
063c553913
Bug 1849833 - Replace deprecated compileSdkVersion.
...
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
mcarare
235c47209f
Bug 1849833 - Replace deprecated kotlinOptions method.
2023-09-11 06:36:20 +00:00
mcarare
5a7b24763d
Bug 1849833 - Replace qualified name with import.
2023-09-11 06:36:20 +00:00
MatthewTighe
c87183c8b5
Bug 1843168 - Expose Mockito through test support component
2023-07-24 18:02:09 +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
mcarare
4ad330adbc
[components] For https://github.com/mozilla-mobile/android-components/issues/12489 : Upgrade kotlin, coroutines, compose compiler to latest versions.
...
Upgrade kotlin to 1.7.20, coroutines to 1.6.4 and compose compiler to 1.3.2.
Replace deprecated Xopt-in with op-in.
Replace deprecated Xjvm-default=enable with Xjvm-default=all.
Remove useIR property that is now default true.
2022-10-18 08:20:59 +00: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
Sebastian Kaspari
90ec41fc3a
[components] Update Kotlin and Jetpack Compose versions.
2021-10-25 10:58:07 +00:00
Sebastian Kaspari
f14b267388
[components] Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Update dependencies to support Jetpack Compose and add first prototype components.
...
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Upgrade to Gradle 7.
* Update Android Gradle Plugin to 7.0.0 Beta 2.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Generate BuildConfig with VERSION_CODE and VERSION_NAME fields in library modules (for Glean).
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Add first component using Jetpack Compose: compose-browser-toolbar.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Introduce Jetpack Compose bindings for lib-state.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Upstream Jetpack Compose toolbar prototype from Reference Browser.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Add TargetTab helper for observing specific tabs.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Add compose-engine component for adding Jetpack Compose bindings to a concept-engine implementation.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Add new sample app (samples-compose-browser) for prototyping browser UI using Jetpack Compose.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Update to Beta 3 of the Android Gradle plugin.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Allow usage of http when substituting maven repositories in CI.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Rename TabTarget helper to just Target.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335 : Make BrowserToolbar follow target tab too.
* Add awesomebar prototype using Jetpack Compose.
* Update to Gradle 7.0.2.
2021-07-20 16:22:26 +00:00
mcarare
636adaf2a9
[components] For https://github.com/mozilla-mobile/android-components/issues/10404 : Remove deprecated kotlin-android-extensions plugin
...
(cherry picked from commit d99621583ceb11e7d91ebe284e40aec145793e48)
2021-06-15 08:32:26 +00:00
Christian Sadilek
4dfb6d92c1
[components] Revert "For https://github.com/mozilla-mobile/android-components/issues/10404 : Remove deprecated kotlin-android-extensions plugin"
...
This reverts commit d99621583ceb11e7d91ebe284e40aec145793e48.
2021-06-14 18:09:24 +00:00
mcarare
17c2336fde
[components] For https://github.com/mozilla-mobile/android-components/issues/10404 : Remove deprecated kotlin-android-extensions plugin
2021-06-14 10:05:57 +00:00
Sebastian Kaspari
b7d77a521d
[components] Complete migration from browser-session to browser-state.
...
* Issue https://github.com/mozilla-mobile/android-components/issues/10197 : Move EngineObserver and EngineMiddleware to browser-state and refactor SessionManager dependency away.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : Migrate TabsUseCases to use BrowserStore exclusively.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate SessionUseCases to use BrowserStore exclusively.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 , https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate components to use new UseCase APIs.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate UndoMiddleware to use BrowserStore.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : Migrate CustomTabsUseCases to use BrowserStore.
* Issue https://github.com/mozilla-mobile/android-components/issues/10211 : Migrate sample-browser to not depend on browser-session.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Remove browser-session dependency.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : feature-tabs: Remove browser-session dependency.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Fix UndoMiddlewareTest
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Refactor SessionUseCasesTest to not use SessionManager.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Fix SessionFeatureTest.
* Refactor support-migration tests to not use SessionManager.
* Fix tests in feature-contextmenu.
* Refactor feature-recentlyclosed tests to not use SessionManager
* Refactor browser-session-storage tests to not use SessionManager
* Refactor feature-intent tests to not use SessionManager
* Refactor feature-tabs tests to not use SessionManager pt. 1
* Refactor feature-customtabs tests to not depend on browser-session.
* Make sure initial load url flags are correct
* Refactor feature-tabs tests to not use SessionManager pt. 2
* Refactor browser-state tests to not depend on browser-session.
* SearchUseCasesTest: Use addTab use case instead of addPrivateTab.
* Samples Browser: Remove unused drawable.
* Fix feature-pwa tests
* Remove browser-session.
* Make sure engine session is linked for window requests
* Make sure engine session is linked when provided with tab
* Make sure engine session is linked when provided with tab pt. 2
* Prevent engine session from being created multiple times
* Prevent engine session from being created multiple times pt. 2
* Prevent engine session from being created multiple times pt. 3
* Part 4: REFACTOR ALL THE THINGS
* Update tests.
* Add additional test for multiple CreateEngineSessionAction dispatching.
* Refactor, some docs and tests
* Fix CustomTabs tests...
2021-06-08 14:44:09 +00:00
Sebastian Kaspari
ff784931ec
[components] Revert "Complete migration from browser-session to browser-state."
...
This reverts commit c5474f00085cf5011e06e3826f611831c50c95b0.
2021-06-07 13:14:34 -04:00
Sebastian Kaspari
230c3e8a4b
[components] Complete migration from browser-session to browser-state.
...
* Issue https://github.com/mozilla-mobile/android-components/issues/10197 : Move EngineObserver and EngineMiddleware to browser-state and refactor SessionManager dependency away.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : Migrate TabsUseCases to use BrowserStore exclusively.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate SessionUseCases to use BrowserStore exclusively.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 , https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate components to use new UseCase APIs.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate UndoMiddleware to use BrowserStore.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : Migrate CustomTabsUseCases to use BrowserStore.
* Issue https://github.com/mozilla-mobile/android-components/issues/10211 : Migrate sample-browser to not depend on browser-session.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Remove browser-session dependency.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : feature-tabs: Remove browser-session dependency.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Fix UndoMiddlewareTest
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Refactor SessionUseCasesTest to not use SessionManager.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Fix SessionFeatureTest.
* Refactor support-migration tests to not use SessionManager.
* Fix tests in feature-contextmenu.
* Refactor feature-recentlyclosed tests to not use SessionManager
* Refactor browser-session-storage tests to not use SessionManager
* Refactor feature-intent tests to not use SessionManager
* Refactor feature-tabs tests to not use SessionManager pt. 1
* Refactor feature-customtabs tests to not depend on browser-session.
* Make sure initial load url flags are correct
* Refactor feature-tabs tests to not use SessionManager pt. 2
* Refactor browser-state tests to not depend on browser-session.
* SearchUseCasesTest: Use addTab use case instead of addPrivateTab.
* Samples Browser: Remove unused drawable.
* Fix feature-pwa tests
* Remove browser-session.
* Make sure engine session is linked for window requests
* Make sure engine session is linked when provided with tab
* Make sure engine session is linked when provided with tab pt. 2
* Prevent engine session from being created multiple times
* Prevent engine session from being created multiple times pt. 2
* Prevent engine session from being created multiple times pt. 3
* Part 4: REFACTOR ALL THE THINGS
* Update tests.
* Add additional test for multiple CreateEngineSessionAction dispatching.
* Refactor, some docs and tests
* Fix CustomTabs tests...
2021-06-07 15:29:14 +00:00
Christian Sadilek
8d7180a53b
[components] Add HistoryMetadata state, action, and reducer
...
Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
2021-06-01 21:02:36 +00:00
Arturo Mejia
593c25629e
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8312:Adds support for ContentDelegate#onExternalResponse
2020-10-05 17:32:38 +00:00
Tiger Oakes
ca871ceab2
[components] Convert config to yaml
2020-08-06 16:20:10 -07:00
Sebastian Kaspari
386640d8c7
[components] Issue https://github.com/mozilla-mobile/android-components/issues/5933 : On memory pressure close engine sessions and keep state for restoring later.
...
Unfortunately the implementation for this needs to live in SessionManager as long as it keeps
references to EngineSession instances and thumbnails. Therefore we determine what to trim in
SessionManager and notify BrowserStore to perform the same changes.
Hopefully in a not to distant future we can move that to BrowserStore.
2020-03-05 12:38:59 +01:00
Sawyer Blatz
da864f4056
[components] Fixes https://github.com/mozilla-mobile/android-components/issues/5264 : Passes DownloadState to FetchDownloadManager when completed
2019-12-09 10:31:59 -08:00
Christian Sadilek
f753837bb1
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3527 : browser-state: Add parent tab functionality
2019-07-05 17:22:38 +02:00
Sebastian Kaspari
38f8ab1ce6
[components] Restructure (reduced) BrowserState and add tests.
2019-06-25 17:13:49 +02:00
Sebastian Kaspari
234928260e
[components] browser-state: Move state handling to generic lib-state component.
2019-06-24 07:57:54 -07:00
Sebastian Kaspari
5c54ec453d
[components] Closes https://github.com/mozilla-mobile/android-components/issues/842 : Migrate from support libraries to AndroidX.
2019-05-02 16:08:55 +02:00
Sebastian Kaspari
290a3a49c2
[components] Issue https://github.com/mozilla-mobile/android-components/issues/1843 : Introduce experimental (unpublished) browser-state component.
2019-04-18 17:15:52 -04:00