Mozilla L10n Automation Bot
eb88d37e79
Import l10n.
2022-12-23 17:38:00 +00:00
Alexandru2909
7fe7868531
Bug 1804260 - Add method to specify the cursor placement when switching to URL editing mode
2022-12-16 08:35:35 +00:00
Rahul Sainani
404306309f
Bug 1796301 - Add paddingEnd in OriginView for RTL config ( https://github.com/mozilla-mobile/firefox-android/pull/262 )
...
* Bug 1796301 - Add paddingEnd in OriginView for RTL config
* Bug 1796301 - Add license in dimens.xml
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-07 19:28:54 +00:00
Christian Sadilek
4091b14a33
Fix android lint in composite builds
2022-11-21 13:40:53 -05:00
Alexander Gramiak
bcc43f0530
Bug 1799230 - Use Non-Transitive R Classes
...
According to Android documentation: "This leads to faster builds and
the corresponding benefits of compilation avoidance."
2022-11-17 18:23:01 +00:00
Mihai Adrian Carare
e087b524a6
Bug 1796353 - Build with compileSdkVersion for Android 13 / API 33. ( https://github.com/mozilla-mobile/firefox-android/pull/62 )
...
* Bug 1796353 - Build with compileSdkVersion for Android 13 / API 33.
* Bug 1796353 - Update method signature for View.AccessibilityDelegate.
* Bug 1796353 - Handle AccessibilityNodeInfo.CollectionInfo.obtain deprecation.
* Bug 1796353 - Update method signature for View.OnAttachStateChangeListener.
* Bug 1796353 - Handle getParcelableExtra(String) deprecation.
* Bug 1796353 - Handle getParcelable(String) deprecation.
* Bug 1796353 - Handle getParcelableArrayListExtra(String) deprecation.
* Bug 1796353 - Move URLStringUtils to ktx package.
This is needed to avoid circular dependencies for some needed changes.
* Bug 1796353 - Suppress deprecation for get(String).
* Bug 1796353 - Replace removed method setAppCacheEnabled.
* Bug 1796353 - Handle PackageManager methods deprecations.
* Bug 1796353 - Handle getSerializable(String) deprecation.
* Bug 1796353 - Handle stopForeground deprecation.
* Bug 1796353 - Update method signature for GestureDetector.SimpleOnGestureListener.
* Bug 1796353 - Handle AccessibilityEvent.obtain deprecation.
* Bug 1796353 - Handle getParcelableArrayList(String) deprecation.
* Bug 1796353 - Handle getParcelableArray(String) deprecation.
* Bug 1796353 - Handle getSerializableExtra(String) deprecation.
* Bug 1796353 - Handle readParcelable(classLoader) deprecation.
* Bug 1796353 - Handle FillResponse.Builder setAuthentication deprecation.
* Bug 1796353 - Handle Dataset.Builder setValue deprecation.
* Bug 1796353 - Suppress get(String) deprecation.
We still need to use this method because we do not know the type beforehand.
* Bug 1796353 - Handle onBackPressed() deprecation.
* Bug 1796353 - Suppress queryBroadcastReceivers deprecation.
* Bug 1796353 - Suppress package manager methods deprecation.
* Bug 1796353 - Catch and report exceptions when handling touch event detection.
* Bug 1796353 - Suppress deprecation for getPackageInfo used in tests with SDK 28.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-16 00:35:40 -05:00
Mozilla L10n Automation Bot
29874a1b39
Import l10n.
2022-11-14 00:22:54 +00:00
mcarare
ef3c3593c1
[components] No issue: Update AndroidX Annotation to the latest version.
...
Update imports for annotations moved to Companion Object.
2022-10-25 19:19:29 +00:00
sarah541
50cbdca863
[components] Create extension for truncating urls
2022-10-19 17:04:43 +00: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
Mozilla L10n Automation Bot
1b14baec2a
[components] Import l10n.
2022-09-08 00:20:22 +00:00
mcarare
6b1a2d5dcb
[components] For https://github.com/mozilla-mobile/android-components/issues/12381 : Replace VisibleForTesting with @get:VisibleForTesting.
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
Mozilla L10n Automation Bot
291f58aa12
[components] Import l10n.
2022-08-29 00:25:29 +00:00
Mozilla L10n Automation Bot
ef2b1975c5
[components] Import l10n.
2022-08-28 01:12:33 +00:00
Mozilla L10n Automation Bot
67edbe7d0f
[components] Import l10n.
2022-08-16 00:26:25 +00:00
Mozilla L10n Automation Bot
8b96068192
[components] Import l10n.
2022-08-04 00:21:34 +00:00
Ionut Cristian Bedregeanu
3ee69cf3f3
[components] For https://github.com/mozilla-mobile/android-components/issues/12497 - Set the same margin to toolbar background for display as for edit
2022-07-15 04:46:09 +00:00
mcarare
30e5a6f476
[components] For https://github.com/mozilla-mobile/android-components/issues/12402 : Run Robolectric with SDK 32.
2022-06-29 16:31:33 +00:00
mcarare
2a1c468edc
[components] For https://github.com/mozilla-mobile/android-components/issues/12376 : Run Robolectric with SDK 31.
...
Current Robolectric version does not support SDK 32.
2022-06-28 13:42:14 +00:00
sarah541
a8ca80d2c1
[components] Improve search term performance on the toolbar
2022-06-01 15:51:49 +00:00
Mozilla L10n Automation Bot
df86e312d0
[components] Import l10n.
2022-05-24 00:25:19 +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
Mozilla L10n Automation Bot
8e44ec6a2b
[components] Import l10n.
2022-05-08 23:01:10 +00:00
Mozilla L10n Automation Bot
a04407ea38
[components] Import l10n.
2022-05-06 00:18:19 +00:00
Roger Yang
bd452c3d99
[components] Close https://github.com/mozilla-mobile/android-components/issues/12109 : Support removing edit action end in edit toolbar
2022-05-05 18:17:09 +00:00
Mozilla L10n Automation Bot
50160eb28f
[components] Import l10n.
2022-04-30 00:23:45 +00:00
mcarare
f79d8f4759
[components] For https://github.com/mozilla-mobile/android-components/issues/9684 : Check a11y enabled state when sending a11y event.
2022-04-28 10:39:46 +00:00
mcarare
c867f69721
[components] For https://github.com/mozilla-mobile/android-components/issues/9684 : Send accessibility event directly.
...
This removed the need for using a delegate.
2022-04-28 08:33:29 +00:00
mcarare
2275e49731
[components] For https://github.com/mozilla-mobile/android-components/issues/9684 : Run tests on sdk 30.
2022-04-28 08:33:29 +00:00
Roger Yang
a51595e683
[components] Close https://github.com/mozilla-mobile/android-components/issues/12008 : Support auto hiding edit action end in browser toolbar
2022-04-22 14:57:19 +00:00
Gabriel Luong
7c3dc51b44
[components] Issue https://github.com/mozilla-mobile/android-components/issues/11890 : Add a new action container in the EditToolbar
2022-03-24 20:27:23 +00:00
Mozilla L10n Automation Bot
e009629e17
[components] Import l10n.
2022-03-12 00:21:49 +00:00
Mugurell
1f12144020
[components] For https://github.com/mozilla-mobile/android-components/issues/10638 - Remove reflective access to "mSpanSlop" and "mMinSpan"
...
Removed reflective access to non-public SDK APIs controlling the sensitivity of
the gesture detector following which sparingly and for very short time a
pinch/spread to zoom gesture might be identified first as a scroll gesture and
move the toolbar a little before snapping to it's original position.
2022-03-10 10:51:42 +00:00
Mozilla L10n Automation Bot
61700d4de2
[components] Import l10n.
2022-02-12 00:25:46 +00:00
Mozilla L10n Automation Bot
3b8a78a7a9
[components] Import l10n.
2022-02-05 00:21:10 +00:00
Ionut Cristian Bedregeanu
64ca84523d
[components] For https://github.com/mozilla-mobile/android-components/issues/11499 - Update tracking protection icon state
...
Update the state of tracking protection indicator even when is not displayed
in order to avoid that scenario when the tracking protection became visible later
but its state is not the last one
2022-01-25 07:31:02 +00:00
Ionut Cristian Bedregeanu
5348da1bc1
[components] For https://github.com/mozilla-mobile/android-components/issues/11545 - Replace clearColorFilter with setColorFilter for security icon
...
Clear color filter doesn't work on Api 21, 22
Even if we invalidate the view after clearColorFilter the filter is not removed, so to fix the bug
we need to use setColorFilter with color Color.Transparent when the API version is lower than 23
2022-01-21 09:01:07 +00:00
Mozilla L10n Automation Bot
3d267546da
[components] Import l10n.
2022-01-07 00:40:22 +00:00
Mozilla L10n Automation Bot
12afbcd07d
[components] Import l10n.
2021-12-22 00:25:35 +00:00
Mozilla L10n Automation Bot
9729f2fadb
[components] Import l10n.
2021-12-12 00:23:03 +00:00
Mozilla L10n Automation Bot
f90987e522
[components] Import l10n.
2021-11-19 00:33:58 +00:00
Ionut Cristian Bedregeanu
a3340a5764
[components] For https://github.com/mozilla-mobile/android-components/issues/11279 - Add a method to remove navigation actions from toolbar
...
Add a new method(removeNavigationAction) in Toolbar interface to be able to remove a navigation action
as we have at this moment for browser/page actions(removeBrowserAction, removePageAction)
2021-11-17 13:22:48 +00:00
mike a
458027fb14
[components] Closes https://github.com/mozilla-mobile/android-components/issues/11252 : fix for not hiding keyboard after edit toolbar loses focus
2021-11-15 17:21:10 +00:00
Mozilla L10n Automation Bot
750a0c4f03
[components] Import l10n.
2021-11-03 00:19:18 +00:00
Mozilla L10n Automation Bot
f9302c26d5
[components] Import l10n.
2021-10-25 17:30:12 +00:00
Christian Sadilek
00172fcad0
[components] Fix breakage in EditToolbarTest
2021-10-23 16:16:03 +00:00
Mozilla L10n Automation Bot
19628d9c83
[components] Import l10n.
2021-09-30 00:21:29 +00:00
Mozilla L10n Automation Bot
89e858047c
[components] Import l10n.
2021-09-12 00:22:14 +00:00
Mozilla L10n Automation Bot
0e13472f95
[components] Import l10n.
2021-09-11 00:23:46 +00:00
mcarare
74afd9572b
[components] For https://github.com/mozilla-mobile/android-components/issues/10916 : Update layout_goneMarginStart to match display toolbar.
2021-09-01 17:32:18 +00:00
Mozilla L10n Automation Bot
0c48094300
[components] Import l10n.
2021-08-31 00:19:40 +00:00
Mozilla L10n Automation Bot
85f78e899b
[components] Import l10n.
2021-08-25 00:17:33 +00:00
Mugurell
e277dd03f0
[components] For https://github.com/mozilla-mobile/android-components/issues/10803 - Force expanding the toolbar if requested by GeckoView
2021-08-16 07:46:15 +00:00
Mozilla L10n Automation Bot
5f47d86a46
[components] Import l10n.
2021-08-13 00:23:45 +00:00
Jonathan Almeida
478711a6bf
[components] Close https://github.com/mozilla-mobile/android-components/issues/10677 : Update Mockito to 3.11.2
...
Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
2021-08-12 02:25:56 +00:00
Mozilla L10n Automation Bot
4b57111308
[components] Import l10n.
2021-08-05 14:32:48 +00:00
Steven Knipe
dfd65e842d
[components] Updated failing test to make sense (require different images and correct description)
2021-08-02 12:24:51 +00:00
Steven Knipe
ea9cb18430
[components] Add longClickListener documentation, fix style problems
...
move TwoStateButton background to match argument order
2021-08-02 12:24:51 +00:00
Steven Knipe
d87ac452f6
[components] Add tinting to TwoStateButton
...
(requires its own setTintResource function)
2021-08-02 12:24:51 +00:00
Steven Knipe
6efbccee57
[components] Add disableInSecondaryState to TwoStateButton
2021-08-02 12:24:51 +00:00
Steven Knipe
6bb6265dc7
[components] Change enable/disable to primary/secondary, update documentation
2021-08-02 12:24:51 +00:00
Steven Knipe
d3a10b29bc
[components] TwoStateButton: add support for longclick listener,
...
Also fix reversal of enabled/disabled logic
2021-08-02 12:24:51 +00:00
Steven Knipe
2339f9b1d8
[components] Add longClickListener to Toolbar's ActionButton and BrowserToolbar's Button
2021-08-02 12:24:51 +00:00
Sebastian Kaspari
ebf54eb308
[components] TrackingProtectionIconView: Always call updateIcon() to initialize.
2021-07-30 09:32:28 +00:00
Sebastian Kaspari
ce323400dd
[components] Run ktlintFormat to fix new ktlint errors.
2021-07-28 12:03:23 +00:00
Arturo Mejia
e4d539f111
[components] Closes https://github.com/mozilla-mobile/android-components/issues/10448 show toolbar permissions indicator when permissions change from their default.
2021-07-27 17:25:23 +00:00
Sebastian Kaspari
f29656ddc0
[components] Revert string removal by 06c42dd893188a7da69ac2eba10f4fc1d44fab3d
...
Some of those strings seem to be used by Fenix only.
2021-07-20 20:27:13 +02: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
Mugurell
cd404dfd7b
[components] For https://github.com/mozilla-mobile/android-components/issues/10555 - BrowserToolbarBehaviorTest cleanup
...
This commented method seems to be a leftover from the previous refactoring.
"behavior.forceExpand(..)" now calls "expandWithAnimation" for which we already
have a test at line 450.
2021-07-16 12:37:29 +00:00
Mugurell
acf8635f10
[components] For https://github.com/mozilla-mobile/android-components/issues/10555 - Use INPUT_HANDLING_UNKNOWN as the default of InputResultDetail
...
We need to wait until having a response from GeckoView on how it handled the
touch only after which we'll know whether to animate the toolbar or not.
The edgecase scenario of having pull to refresh enabled even before having a
response from GeckoView will still work because "canOverscrollTop()" only
checks for the touch to not be handled by the browser to pan the page.
2021-07-16 12:37:29 +00:00
mcarare
055e0f160f
[components] For https://github.com/mozilla-mobile/android-components/issues/10571 : Add optional icon tint for Toolbar Button.
2021-07-12 07:44:59 +00:00
Mozilla L10n Automation Bot
451641af27
[components] Import l10n.
2021-07-08 00:21:14 +00:00
Sebastian Kaspari
78e0f282e8
[components] TrackingProtectionIconView: Use correct icon for OFF_FOR_A_SITE state.
2021-06-22 14:39:59 +00:00
Mozilla L10n Automation Bot
8fdd056b67
[components] Import l10n.
2021-06-03 00:22:18 +00:00
Mozilla L10n Automation Bot
d218d523cc
[components] Import l10n.
2021-05-21 00:21:02 +00:00
Roger Yang
363cff6911
[components] Closes https://github.com/mozilla-mobile/android-components/issues/10241 : Stop announcing loading to accessibility when progress is at max
2021-05-19 14:04:38 +00:00
Mozilla L10n Automation Bot
c17cb9921d
[components] Import l10n.
2021-05-15 00:22:17 +00:00
Mozilla L10n Automation Bot
cc491ecdc9
[components] Import l10n.
2021-05-12 00:20:05 +00:00
Mozilla L10n Automation Bot
1d43fc6ed4
[components] Import l10n.
2021-04-30 00:20:10 +00:00
Mozilla L10n Automation Bot
19d6ebbefa
[components] Import l10n.
2021-04-19 00:17:19 +00:00
Mozilla L10n Automation Bot
374642dc42
[components] Import l10n.
2021-04-18 00:21:12 +00:00
Mozilla L10n Automation Bot
ff42a7aaae
[components] Import l10n.
2021-04-17 00:20:35 +00:00
Mozilla L10n Automation Bot
0026a455a2
[components] Import l10n.
2021-04-15 00:25:01 +00:00
Mozilla L10n Automation Bot
759f040d2e
[components] Import l10n.
2021-04-14 00:21:37 +00:00
Mozilla L10n Automation Bot
cd1ff86a9f
[components] Import l10n.
2021-04-12 00:20:39 +00:00
Mozilla L10n Automation Bot
8fc62d6ac9
[components] Import l10n.
2021-04-11 00:20:31 +00:00
Mozilla L10n Automation Bot
9b9949bfab
[components] Import l10n.
2021-04-10 00:22:55 +00:00
Mugurell
c755974f4c
[components] Fix https://github.com/mozilla-mobile/android-components/issues/9614 - Use the new InputResultDetail
...
Both NestedGeckoView and NestedWebView will now return an InputResultDetail
wrapping many new details about how a touch event will be handled.
NestedGeckoView's InputResultDetail will be used to more accurately decide when
to animate the toolbar or start the pull to refresh feature.
NestedWebView's InputResultDetail will only have details about if it will
handle the touch or not. With all the other being unknown the dynamic toolbar
or pull to refresh features will not work.
2021-03-30 13:44:44 +00:00
Mugurell
372b60754f
[components] Fix https://github.com/mozilla-mobile/android-components/issues/9614 - Deprecate EngineView#InputResult
...
This will be replaced by the new InputResultDetail.
2021-03-30 13:44:44 +00:00
Mozilla L10n Automation Bot
a999cf4597
[components] Import l10n.
2021-03-30 00:21:24 +00:00
Mozilla L10n Automation Bot
bc0f784724
[components] Import l10n.
2021-03-19 00:22:58 +00:00
Christian Sadilek
c9d791c53b
[components] Adjust detekt TooManyFunctions threshold
2021-03-18 15:25:40 +00:00
Mozilla L10n Automation Bot
ea7f2bf7de
[components] Import l10n.
2021-03-07 00:18:06 +00:00
Mugurell
ec35e97135
[components] For https://github.com/mozilla-mobile/android-components/issues/9770 - Don't animate the dynamic toolbar while tab is loading
...
Toolbar will not be animated while the tab is loading irrespective of the
intrinsic checks made in the BrowserToolbarBehavior - whether the touch is a
vertical scroll and it was handled by GeckoView.
2021-03-01 17:00:22 +00:00
Mozilla L10n Automation Bot
98e4f66268
[components] Import l10n.
2021-03-01 00:16:06 +00:00
Mozilla L10n Automation Bot
5f8c059e09
[components] Import l10n.
2021-02-26 00:21:23 +00:00
Mozilla L10n Automation Bot
83cc420397
[components] Import l10n.
2021-02-23 00:27:48 +00:00
Mozilla L10n Automation Bot
e2ba42940d
[components] Import l10n.
2021-02-20 00:22:57 +00:00
Mugurell
4a727186c3
[components] For https://github.com/mozilla-mobile/android-components/issues/9659 - New forceCollapse api in BrowserToolbarBehavior
...
Similar to the existing forceExpand this new method will collapse the toolbar
(be it placed at the bottom or at the top).
There were also some tests from a previous patch that needed some touchups.
2021-02-15 11:18:57 +00:00