summaryrefslogtreecommitdiffstats
path: root/autofill-parser/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
25 hoursbuild: update to Gradle 9.8.2, AGP 9.5.0, Kotlin 2.4.21, Hilt 2.60.1Danilo M.2-4/+4
AGP 9 migration: - Configure the shared Android setup through the new DSL (CommonExtension, ApplicationExtension) instead of the removed TestedExtension and BaseAppModuleExtension; targetSdk moves to the application extension. - Stop applying the Kotlin Android plugin; AGP 9 compiles Kotlin itself. - Replace kapt with KSP 2.3.13 for Hilt, which built-in Kotlin requires, and carry the Dagger compiler options over as KSP arguments. - AGP 9 now applies packaging excludes to unit-test resources, which stripped the diceware word list (**/*.txt) from its tests; lift that exclude in the diceware module. - Use resources.directories instead of the deprecated srcDir. Plugin updates required by Gradle 9 / AGP 9: Sentry Gradle plugin 6.25.0 (sentry-android 8.62.0), metalava plugin 0.5.1, maven-publish 0.37.0, spotless 8.10.4, version-catalog-update 1.1.2, download task 5.7.0, foojay resolver 1.0.0, with their API changes. Newer metalava models Kotlin properties, so autofill-parser/api.txt is regenerated; the diff is representation only, no API was added or removed. Fix new Kotlin 2.4 and lint findings (explicit return type in a function with an early return, UseKtx in autofill-parser), drop deprecated Kotlin Gradle properties, and make the AGENTS.md pre-commit command cover every task CI runs (both flavors, lint on all modules). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2024-08-14chore: add missing copyright headers and update existing onesHarsh Shandilya8-8/+8
2024-08-08fix(build): compile against SDK 35Harsh Shandilya1-2/+5
2024-05-28chore: reformat with trailing commas changesHarsh Shandilya9-122/+69
2024-03-11Autofill: add support for Cromite (#2948)Alexander Bocken1-0/+2
add support for Cromite Co-authored-by: C0unt-zero <countzero.02@gmail.com>
2023-09-27fix(deps): update dependency com.slack.lint:slack-lint-checks to v0.6.0 (#2697)renovate[bot]3-4/+10
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-09-18fix(deps): update dependency com.facebook:ktfmt to v0.45 (#2687)renovate[bot]3-10/+5
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-07-26chore: remove unnecessary suppressionsHarsh Shandilya3-3/+0
2023-07-22Support Mull browser from divestos.org (#2613)yvay1-1/+5
* Add Mull from divestos.org to autofill supported browsers Signed-off-by: yvay <134604947+yvay@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: yvay <134604947+yvay@users.noreply.github.com> * fix * Move changelog to correct place * Move changelog to correct correct place * Add headers to 1.1.2 --------- Signed-off-by: yvay <134604947+yvay@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-04-29fix(deps): update dependency com.facebook:ktfmt to v0.44 (#2490)renovate[bot]4-0/+14
* fix(deps): update dependency com.facebook:ktfmt to v0.44 * chore: reformat with ktfmt 0.44 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-03-27chore: suppress invalid suggestionHarsh Shandilya1-0/+3
2023-03-27refactor: migrate to androidx.core APIs for `Bundle`/`Intent` API changesHarsh Shandilya1-24/+24
2023-03-08fix: use UI context for more `Toast`sHarsh Shandilya1-2/+2
Fixes: a3b88c1dee86 ("fix: use activity context for Toast")
2023-01-23Add mail as username heuristic term (#2341)Tim Visée1-0/+1
2022-12-09chore(deps): upgrade ktfmt to 0.42Harsh Shandilya2-21/+13
2022-11-30feat(autofill-parser): add Vanadium to supported browsersHarsh Shandilya1-0/+1
Fixes #1631
2022-10-07fix(autofill-parser): reformat top-level commentHarsh Shandilya1-36/+36
2022-10-07feat(autofill-parser): add Vivaldi as an Autofill browserHarsh Shandilya1-0/+1
Fixes #2165
2022-09-02Upgrade ktfmt and setup automatic updates (#2103)Harsh Shandilya1-1/+3
2022-07-22Begin cleaning up Detekt warnings (#2027)Harsh Shandilya8-35/+41
2022-07-20Compile against SDK 33 (#2023)Harsh Shandilya4-9/+63
* Compile against SDK 33 * autofill-parser: fix warnings for SDK 33 upgrade * app: fix warnings for SDK 33 upgrade * Mark all clipboard content as sensitive from crypto activities * Skip Snackbar on Android 13 and above * detekt: raise `TooManyFunctions` limit to 15
2022-06-09Upgrade ktfmt (#1942)Harsh Shandilya1-2/+4
* build-logic: upgrade ktfmt * all: reformat
2022-05-27Fix ClipboardService crash (#1928)Harsh Shandilya7-38/+31
* Fix clipboard service crash on API 31 * all: use ints directly for SDK version checks I much prefer it this way
2022-05-05Upgrade to ktfmt 0.37 (#1897)Harsh Shandilya1-1/+2
2022-04-25all: reformat with ktfmt 0.36Harsh Shandilya3-26/+29
2022-04-21Remove support for external storage and raise target SDK to 31 (#1863)Harsh Shandilya1-1/+1
2022-03-05Cleanup IDE reported lints in autofill-parser and format-common (#1765)Harsh Shandilya3-12/+11
2022-01-09Fix a bunch of Lint warnings and errors (#1655)Harsh Shandilya2-0/+3
* autofill-parser: add missing `@RequiresApi` annotations * app: remove unused strings and sync with Crowdin * app: remove unused chip_text_color selector * app: remove unused capitalization_type_values array * app: add `PendingIntent.FLAG_IMMUTABLE` flag where required
2022-01-01Add Mull to autofill supported browsers (#1640)Harsh Shandilya1-0/+2
2021-12-31Revert "autofill-parser: remove Bromite from supported browsers (#1423)" (#1632)Harsh Shandilya1-0/+2
This reverts commit 3f20678d799e15e21d1b7f013bc3672270f0d20f.
2021-11-15all: spotlessHarsh Shandilya1-3/+2
2021-10-03Replace Timber with logcat (#1509)(´⌣`ʃƪ)4-31/+33
* Replace Timber with logcat (#1505) * Add extension for asLog which takes a message param Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-08-24Update AndroidX deps (#1491)Harsh Shandilya2-7/+16
2021-07-29Revamp PSL updates (#1475)Harsh Shandilya1-2/+5
* build: import Mozilla's Gradle plugin for PSL updates * autofill-parser: add tests for PublicSuffixListLoader * autofill-parser: regenerate publicsuffixes list * github: switch to Gradle plugin for PSL updates
2021-07-24Don't crash on null Autofill hints (#1469)Fabian Meumertzheim1-1/+1
Fixes #1468.
2021-06-07autofill-parser: add Styx as a supported browser (#1431)Harsh Shandilya1-0/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
2021-06-04gradle: update AndroidX dependencies (#1430)Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-26autofill-parser: remove Bromite from supported browsers (#1423)Harsh Shandilya1-2/+0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15all: reformat with Spotless againHarsh Shandilya11-68/+203
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-28Upgrade to Kotlin 1.5 (#1397)Harsh Shandilya3-17/+7
* build: upgrade Kotlin to 1.5.0 and Hilt to 2.35.1 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * all: address kotlin.time.seconds deprecation Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * autofill-parser/openpgp-ktx: require Kotlin 1.5 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * all: address string method deprecations Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: disable NewApi lint Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-10autofill-parser: restore LGPL-3.0 and MPL-2.0 licence headersHarsh Shandilya12-28/+12
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-06Mark non-native Autofill browsers as unsupported on Oreo (#1370)Fabian Meumertzheim1-1/+7
Android Oreo lacks the Autofill compatibility mode for browsers, which means that browsers without explicit Android support will not trigger Autofill events on web sites.
2021-04-01Mark Ungoogled and Bromite as non-flaky (#1365)Fabian Meumertzheim1-2/+2
* Mark Bromite as non-flaky * Mark Ungoogled as non-flaky
2021-04-01Update all dependencies (#1358)Harsh Shandilya1-0/+2
* build: update all dependencies Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * autofill-parser: add new hints Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: force the right annotation version manually Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
2021-03-18autofill-parser: opt into ExperimentalUnsignedTypesHarsh Shandilya1-1/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: reformat with ktfmtHarsh Shandilya12-1612/+1572
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: update copyrightsHarsh Shandilya12-16/+36
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-04Mark Chrome as reliably fillable and saveable (#1338)Fabian Meumertzheim1-1/+1
* Mark Chrome as reliably fillable and saveable * Mention Autofill improvements in CHANGELOG
2021-01-29Mark Chrome Beta as reliably fillable and saveable (#1291)Fabian Meumertzheim1-1/+1
https://chromereleases.googleblog.com/2021/01/chrome-beta-for-android-update_28.html
2021-01-22Codestyle churn (#1283)Harsh Shandilya1-1/+1
* editorconfig: delete Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * idea: adjust codestyle Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * all: reformat with simplified import ordering rules Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>