android
android copied to clipboard
Bump kotlin_version from 1.6.21 to 1.7.10
Bumps kotlin_version from 1.6.21 to 1.7.10.
Updates kotlin-gradle-plugin from 1.6.21 to 1.7.10
Release notes
Sourced from kotlin-gradle-plugin's releases.
Kotlin 1.7.0
Changelog
Analysis API. FIR
KT-50864Analysis API: ISE: "KtCallElement should always resolve to a KtCallInfo" is thrown on call resolution inside plusAssign targetKT-50252Analysis API: Implement FirModuleResolveStates for librariesKT-50862Analsysis API: do not create use site subsitution override symbolsAnalysis API. FIR Low Level API
KT-50729Type bound is not fully resolvedKT-50728Lazy resolve of extension function from 'kotlin' package breaks over unresolved typeKT-50271Analysis API: get rid of using FirRefWithValidityCheckBackend. Native. Debug
KT-50558K/N Debugger. Error is not displayed in variables view for catch blockCompiler
New Features
KT-26245Add ability to specify generic type parameters as not-nullKT-45165Remove JVM target version 1.6KT-27435Allow implementation by delegation to inlined value of inline classKT-47939Support method references to functional interface constructorsKT-50775Support IR partial linkage in Kotlin/Native (disabled by default)KT-51737Kotlin/Native: Remove unnecessary safepoints on watchosArm32 and iosArm32 targetsKT-44249NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER with type usage in higher order functionPerformance Improvements
KT-48233Switching to JVM IR backend increases compilation time by more than 15%KT-51699Kotlin/Native: runtime has no LTO in debug binariesKT-34466Use optimized switch over enum only when all entries are constant enum entry expressionsKT-50861FIR: Combination of array set convention and plusAssign works exponentiallyKT-47171For loop doesn't avoid boxing with value class iterators (JVM)KT-29199'next' calls for iterators of merged primitive progressive values are not specializedKT-50585JVM IR: Array constructor loop should use IINCKT-22429Optimize 'for' loop code generation for reversed arraysKT-50074Performance regression in String-based 'when' with single equality clauseKT-22334Compiler backend could generate smaller code for loops using range such as integer..array.size -1KT-35272Unnecessary null check on unsafe cast after not-null assertion operatorKT-27427Optimize nullable check introduced with 'as' castFixes
... (truncated)
Changelog
Sourced from kotlin-gradle-plugin's changelog.
1.7.0
Analysis API. FIR
KT-50864Analysis API: ISE: "KtCallElement should always resolve to a KtCallInfo" is thrown on call resolution inside plusAssign targetKT-50252Analysis API: Implement FirModuleResolveStates for librariesKT-50862Analsysis API: do not create use site subsitution override symbolsAnalysis API. FIR Low Level API
KT-50729Type bound is not fully resolvedKT-50728Lazy resolve of extension function from 'kotlin' package breaks over unresolved typeKT-50271Analysis API: get rid of using FirRefWithValidityCheckBackend. Native. Debug
KT-50558K/N Debugger. Error is not displayed in variables view for catch blockCompiler
New Features
KT-26245Add ability to specify generic type parameters as not-nullKT-45165Remove JVM target version 1.6KT-27435Allow implementation by delegation to inlined value of inline classKT-47939Support method references to functional interface constructorsKT-50775Support IR partial linkage in Kotlin/Native (disabled by default)KT-51737Kotlin/Native: Remove unnecessary safepoints on watchosArm32 and iosArm32 targetsKT-44249NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER with type usage in higher order functionPerformance Improvements
KT-48233Switching to JVM IR backend increases compilation time by more than 15%KT-51699Kotlin/Native: runtime has no LTO in debug binariesKT-34466Use optimized switch over enum only when all entries are constant enum entry expressionsKT-50861FIR: Combination of array set convention and plusAssign works exponentiallyKT-47171For loop doesn't avoid boxing with value class iterators (JVM)KT-29199'next' calls for iterators of merged primitive progressive values are not specializedKT-50585JVM IR: Array constructor loop should use IINCKT-22429Optimize 'for' loop code generation for reversed arraysKT-50074Performance regression in String-based 'when' with single equality clauseKT-22334Compiler backend could generate smaller code for loops using range such as integer..array.size -1KT-35272Unnecessary null check on unsafe cast after not-null assertion operatorKT-27427Optimize nullable check introduced with 'as' castFixes
... (truncated)
Commits
- See full diff in compare view
Updates kotlin-stdlib from 1.6.21 to 1.7.10
Release notes
Sourced from kotlin-stdlib's releases.
Kotlin 1.7.0
Changelog
Analysis API. FIR
KT-50864Analysis API: ISE: "KtCallElement should always resolve to a KtCallInfo" is thrown on call resolution inside plusAssign targetKT-50252Analysis API: Implement FirModuleResolveStates for librariesKT-50862Analsysis API: do not create use site subsitution override symbolsAnalysis API. FIR Low Level API
KT-50729Type bound is not fully resolvedKT-50728Lazy resolve of extension function from 'kotlin' package breaks over unresolved typeKT-50271Analysis API: get rid of using FirRefWithValidityCheckBackend. Native. Debug
KT-50558K/N Debugger. Error is not displayed in variables view for catch blockCompiler
New Features
KT-26245Add ability to specify generic type parameters as not-nullKT-45165Remove JVM target version 1.6KT-27435Allow implementation by delegation to inlined value of inline classKT-47939Support method references to functional interface constructorsKT-50775Support IR partial linkage in Kotlin/Native (disabled by default)KT-51737Kotlin/Native: Remove unnecessary safepoints on watchosArm32 and iosArm32 targetsKT-44249NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER with type usage in higher order functionPerformance Improvements
KT-48233Switching to JVM IR backend increases compilation time by more than 15%KT-51699Kotlin/Native: runtime has no LTO in debug binariesKT-34466Use optimized switch over enum only when all entries are constant enum entry expressionsKT-50861FIR: Combination of array set convention and plusAssign works exponentiallyKT-47171For loop doesn't avoid boxing with value class iterators (JVM)KT-29199'next' calls for iterators of merged primitive progressive values are not specializedKT-50585JVM IR: Array constructor loop should use IINCKT-22429Optimize 'for' loop code generation for reversed arraysKT-50074Performance regression in String-based 'when' with single equality clauseKT-22334Compiler backend could generate smaller code for loops using range such as integer..array.size -1KT-35272Unnecessary null check on unsafe cast after not-null assertion operatorKT-27427Optimize nullable check introduced with 'as' castFixes
... (truncated)
Changelog
Sourced from kotlin-stdlib's changelog.
1.7.0
Analysis API. FIR
KT-50864Analysis API: ISE: "KtCallElement should always resolve to a KtCallInfo" is thrown on call resolution inside plusAssign targetKT-50252Analysis API: Implement FirModuleResolveStates for librariesKT-50862Analsysis API: do not create use site subsitution override symbolsAnalysis API. FIR Low Level API
KT-50729Type bound is not fully resolvedKT-50728Lazy resolve of extension function from 'kotlin' package breaks over unresolved typeKT-50271Analysis API: get rid of using FirRefWithValidityCheckBackend. Native. Debug
KT-50558K/N Debugger. Error is not displayed in variables view for catch blockCompiler
New Features
KT-26245Add ability to specify generic type parameters as not-nullKT-45165Remove JVM target version 1.6KT-27435Allow implementation by delegation to inlined value of inline classKT-47939Support method references to functional interface constructorsKT-50775Support IR partial linkage in Kotlin/Native (disabled by default)KT-51737Kotlin/Native: Remove unnecessary safepoints on watchosArm32 and iosArm32 targetsKT-44249NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER with type usage in higher order functionPerformance Improvements
KT-48233Switching to JVM IR backend increases compilation time by more than 15%KT-51699Kotlin/Native: runtime has no LTO in debug binariesKT-34466Use optimized switch over enum only when all entries are constant enum entry expressionsKT-50861FIR: Combination of array set convention and plusAssign works exponentiallyKT-47171For loop doesn't avoid boxing with value class iterators (JVM)KT-29199'next' calls for iterators of merged primitive progressive values are not specializedKT-50585JVM IR: Array constructor loop should use IINCKT-22429Optimize 'for' loop code generation for reversed arraysKT-50074Performance regression in String-based 'when' with single equality clauseKT-22334Compiler backend could generate smaller code for loops using range such as integer..array.size -1KT-35272Unnecessary null check on unsafe cast after not-null assertion operatorKT-27427Optimize nullable check introduced with 'as' castFixes
... (truncated)
Commits
- See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Waiting for AGP 7.3.x
@dependabot rebase
/rebase
Codacy
Lint
| Type | master | PR |
| Warnings | 85 | 85 |
| Errors | 0 | 0 |
SpotBugs
| Category | Base | New |
|---|---|---|
| Bad practice | 29 | 29 |
| Correctness | 46 | 46 |
| Dodgy code | 354 | 354 |
| Experimental | 1 | 1 |
| Internationalization | 9 | 9 |
| Multithreaded correctness | 9 | 9 |
| Performance | 58 | 58 |
| Security | 28 | 28 |
| Total | 534 | 534 |
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/10493.apk
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
Codecov Report
Merging #10493 (45bcd5e) into master (ac332e9) will increase coverage by
28.32%. The diff coverage is0.00%.
Additional details and impacted files
@@ Coverage Diff @@
## master #10493 +/- ##
=============================================
+ Coverage 3.29% 31.61% +28.32%
- Complexity 428 3315 +2887
=============================================
Files 539 539
Lines 40236 40236
Branches 5558 5558
=============================================
+ Hits 1325 12722 +11397
+ Misses 38830 25604 -13226
- Partials 81 1910 +1829
| Impacted Files | Coverage Δ | |
|---|---|---|
| ...owncloud/android/authentication/PassCodeManager.kt | 33.89% <0.00%> (+33.89%) |
:arrow_up: |
| ...roid/ui/activity/ReceiveExternalFilesActivity.java | 0.35% <0.00%> (+0.35%) |
:arrow_up: |
| ...owncloud/android/ui/activity/PassCodeActivity.java | 0.49% <0.00%> (+0.49%) |
:arrow_up: |
| ...cloud/android/ui/preview/PreviewImageActivity.java | 0.55% <0.00%> (+0.55%) |
:arrow_up: |
| ...owncloud/android/ui/activity/UserInfoActivity.java | 0.58% <0.00%> (+0.58%) |
:arrow_up: |
| ...oud/android/ui/activity/NotificationsActivity.java | 0.59% <0.00%> (+0.59%) |
:arrow_up: |
| ...ui/fragment/contactsbackup/BackupListFragment.java | 0.93% <0.00%> (+0.93%) |
:arrow_up: |
| ...wncloud/android/ui/preview/PreviewVideoActivity.kt | 0.94% <0.00%> (+0.94%) |
:arrow_up: |
| ...loud/android/ui/activities/ActivitiesActivity.java | 1.03% <0.00%> (+1.03%) |
:arrow_up: |
| ...cloud/android/ui/activity/ExternalSiteWebView.java | 1.11% <0.00%> (+1.11%) |
:arrow_up: |
| ... and 272 more |