Konrad Pozniak
5251287b53
Translations update from Weblate (automated) ( #4513 )
...
Translations update from [Weblate](https://weblate.tusky.app ) for
[Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/ ).
Current translation status:
![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky/horizontal-auto.svg )
2024-06-19 16:50:54 +02:00
Konrad Pozniak
dcbd6d558c
improved color scheme & theming ( #4507 )
...
Follow up to https://github.com/tuskyapp/Tusky/pull/3921
- no more hardcoded `tusky_blue`, instead the `colorPrimary` attribute
is used. This will help us when adding more themes, e.g a dynamic color
one.
- The `colorPrimary` of the dark theme is now lighter for more contrast
and subsequently the `colorOnPrimary` is now dark grey instead of white.
- `tusky_red_lighter` is now a bit more red than before
- Tweaked color usage in a few places for better contrast
I think this looks a bit unfamiliar but overall better and the higher
contrast makes things noticeably easier to read.
<img
src="https://github.com/tuskyapp/Tusky/assets/10157047/4cbb92d8-b772-4e94-bc15-c4baf0e5473f "
width="260"/>
2024-06-19 16:50:35 +02:00
Christophe Beyls
125483db61
Improve BlurHashDecoder performance ( #4515 )
...
This pull request aims to dramatically improve the performance of
`BlurHashDecoder` while also reducing its memory allocations.
- Precompute cosines tables before composing the image so each cosine
value is only computed once.
- Compute cosines tables once if both are identical (for square images
with the same number of colors in both dimensions).
- Store colors in a one-dimension array instead of a two-dimension array
to reduce memory allocations.
- Use a simple `String.indexOf()` to find the index of a Base83 char,
which is both faster and needs less memory than a `HashMap` thanks to
better locality and no boxing of chars.
- No cache is used, so computations may be performed in parallel on
background threads without the need for synchronization which limits
throughput.
## Benchmarks
Simple: 4x4 colors, 32x32 pixels output. (This is what Mastodon and
Tusky currently use)
Complex: 9x9 colors, 256x256 pixels output.
**Pixel 7 (Android 14)**
```
365 738 ns 23 allocs Trace BlurHashDecoderBenchmark.tuskySimple
109 577 ns 8 allocs Trace BlurHashDecoderBenchmark.newSimple
108 771 647 ns 88 allocs Trace BlurHashDecoderBenchmark.tuskyComplex
12 932 076 ns 8 allocs Trace BlurHashDecoderBenchmark.newComplex
```
**Nexus 5 (Android 6)**
```
4 600 937 ns 22 allocs Trace BlurHashDecoderBenchmark.tuskySimple
1 391 487 ns 7 allocs Trace BlurHashDecoderBenchmark.newSimple
1 260 644 948 ns 87 allocs Trace BlurHashDecoderBenchmark.tuskyComplex
125 274 063 ns 7 allocs Trace BlurHashDecoderBenchmark.newComplex
```
Conclusion: The new implementation is **3 times faster** than the old
one for the current usage and up to **9 times faster** if we decide to
increase the BlurHash quality in the future.
The source code of the benchmark comparing the original untouched Kotlin
implementation to the new one can be found
[here](https://github.com/cbeyls/BlurHashAndroidBenchmark ).
2024-06-16 20:20:27 +02:00
Danial Behzadi
861a42db55
Translated using Weblate (Persian)
...
Currently translated at 100.0% (647 of 647 strings)
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2024-06-16 04:07:09 +00:00
Hồ Nhất Duy
1a81aa6781
Translated using Weblate (Vietnamese)
...
Currently translated at 100.0% (647 of 647 strings)
Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2024-06-16 04:07:09 +00:00
renovate[bot]
51e1c20449
Update dependency com.android.application to v8.4.2 ( #4503 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.android.application](https://developer.android.com/studio/build )
([source](https://android.googlesource.com/platform/tools/base )) |
`8.4.1` -> `8.4.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.application/8.4.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.android.application/8.4.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.android.application/8.4.1/8.4.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.application/8.4.1/8.4.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/tuskyapp/Tusky ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Conny Duck <git@connyduck.at>
2024-06-13 20:02:15 +02:00
Konrad Pozniak
5adf123ad8
Translations update from Weblate (automated) ( #4506 )
...
Translations update from [Weblate](https://weblate.tusky.app ) for
[Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/ ).
Current translation status:
![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky/horizontal-auto.svg )
2024-06-13 19:17:34 +02:00
renovate[bot]
503b240f04
Update dependency androidx.fragment:fragment-ktx to v1.8.0 ( #4510 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[androidx.fragment:fragment-ktx](https://developer.android.com/jetpack/androidx/releases/fragment#1.8.0 )
([source](https://cs.android.com/androidx/platform/frameworks/support ))
| `1.7.1` -> `1.8.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/androidx.fragment:fragment-ktx/1.8.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/androidx.fragment:fragment-ktx/1.8.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/androidx.fragment:fragment-ktx/1.7.1/1.8.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/androidx.fragment:fragment-ktx/1.7.1/1.8.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/tuskyapp/Tusky ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 18:42:53 +02:00
renovate[bot]
f23befe021
Update dependency androidx.lifecycle:lifecycle-viewmodel-ktx to v2.8.2 ( #4509 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[androidx.lifecycle:lifecycle-viewmodel-ktx](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.8.2 )
([source](https://cs.android.com/androidx/platform/frameworks/support ))
| `2.8.1` -> `2.8.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/androidx.lifecycle:lifecycle-viewmodel-ktx/2.8.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/androidx.lifecycle:lifecycle-viewmodel-ktx/2.8.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/androidx.lifecycle:lifecycle-viewmodel-ktx/2.8.1/2.8.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/androidx.lifecycle:lifecycle-viewmodel-ktx/2.8.1/2.8.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/tuskyapp/Tusky ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 18:42:44 +02:00
renovate[bot]
d8b1b1fe3f
Update plugin com.gradle.develocity to v3.17.5 ( #4508 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| com.gradle.develocity | `3.17.4` -> `3.17.5` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.gradle.develocity/3.17.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.gradle.develocity/3.17.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.gradle.develocity/3.17.4/3.17.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.gradle.develocity/3.17.4/3.17.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/tuskyapp/Tusky ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 18:42:34 +02:00
Levi Bard
bc057614ce
dependency verification: Trust sources packages used by android studio ( #4511 )
...
Sync project with gradle files fails for me in android studio without
this change
See
https://youtrack.jetbrains.com/issue/IDEA-258328/Dependency-verification-failed-Checksums-of-downloaded-sources-not-included-in-verification-metadata.xml
2024-06-13 18:40:45 +02:00
Hồ Nhất Duy
66f3b6e4e8
Translated using Weblate (Vietnamese)
...
Currently translated at 100.0% (645 of 645 strings)
Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2024-06-13 16:39:24 +00:00
Ümit Solmaz
45f4e5637e
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (645 of 645 strings)
Co-authored-by: Ümit Solmaz <usnotv@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
Translation: Tusky/Tusky
2024-06-13 16:39:24 +00:00
Manuel
0f28811938
Translated using Weblate (Italian)
...
Currently translated at 100.0% (647 of 647 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (645 of 645 strings)
Co-authored-by: Manuel <mannivuwiki@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2024-06-13 16:39:24 +00:00
Danial Behzadi
e28946af93
Translated using Weblate (Persian)
...
Currently translated at 100.0% (645 of 645 strings)
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2024-06-13 16:39:24 +00:00
fin-w
a46e6e0c27
Translated using Weblate (Welsh)
...
Currently translated at 100.0% (647 of 647 strings)
Translated using Weblate (Welsh)
Currently translated at 100.0% (645 of 645 strings)
Translated using Weblate (Welsh)
Currently translated at 100.0% (645 of 645 strings)
Co-authored-by: fin-w <fin-w@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2024-06-13 16:39:24 +00:00
Konrad Pozniak
9fff8d19a9
add database schema v62 ( #4505 )
...
should have been added in #4496
2024-06-12 17:17:44 +02:00
Konrad Pozniak
99481bc43a
enable dependency verification ( #4504 )
...
https://docs.gradle.org/current/userguide/dependency_verification.html
Verification of checksums was easy to set up, but verification of
signatures is more involved as gradle couldn't do it automatically for
most dependencies. Checksum verification will already give us additional
security though so lets try it out.
2024-06-12 17:17:34 +02:00
Konrad Pozniak
79c29caaf2
small code improvements / code cleanup ( #4502 )
...
just some smaller things I noticed recently, I hope it is ok if I bunch
them up like this
2024-06-12 17:17:21 +02:00
Konrad Pozniak
8d65feadd6
Fix some filter bugs ( #4501 )
...
closes #4499
This restores support for v1 filters. The problem was that the state was
uncoditionally set to error instead of checking the v1 response.
While checking the code I found some other problems:
- Two error messages that were shown to users were not translatable
- When filters were updated sometimes `PreferenceChangedEvent` was sent
instead of `FilterUpdatedEvent`
- The notifications fragment was not listening to the
`FilterUpdatedEvent`
2024-06-12 17:17:08 +02:00
Konrad Pozniak
4afce0a3d8
Translations update from Weblate (automated) ( #4500 )
...
Translations update from [Weblate](https://weblate.tusky.app ) for
[Tusky/Tusky
description](https://weblate.tusky.app/projects/tusky/tusky-app/ ).
Current translation status:
![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky-app/horizontal-auto.svg )
2024-06-10 22:04:07 +02:00
Konrad Pozniak
89efdbe711
Translations update from Weblate (automated) ( #4498 )
...
Translations update from [Weblate](https://weblate.tusky.app ) for
[Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/ ).
Current translation status:
![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky/horizontal-auto.svg )
2024-06-10 21:41:30 +02:00
Deleted User
53b99d08db
Translated using Weblate (German)
...
Currently translated at 100.0% (34 of 34 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/de/
2024-06-10 19:38:15 +00:00
Anonymous
e29d444355
Translated using Weblate (Frisian)
...
Currently translated at 34.1% (220 of 645 strings)
Translated using Weblate (Finnish)
Currently translated at 43.1% (278 of 645 strings)
Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fi/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fy/
Translation: Tusky/Tusky
2024-06-09 20:32:19 +00:00
Quentí
d34f9534ad
Translated using Weblate (Occitan)
...
Currently translated at 99.5% (641 of 644 strings)
Co-authored-by: Quentí <quentinantonin@free.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
Translation: Tusky/Tusky
2024-06-09 20:32:19 +00:00
Deleted User
b0bf543c1c
Translated using Weblate (German)
...
Currently translated at 100.0% (644 of 644 strings)
Co-authored-by: Deleted User <noreply+317@weblate.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2024-06-09 20:32:19 +00:00
Eliot Lash
9883bfa7c2
Add option for default reply privacy set to unlisted by default ( #4496 )
...
This PR fixes https://github.com/tuskyapp/Tusky/issues/2798 and is
mostly based on and supersedes
https://github.com/tuskyapp/Tusky/pull/2826 but I have fixed all merge
conflicts and unit tests.
I tested the changes locally and the setting takes effect immediately
for replies, and persists across killing the app.
---------
Co-authored-by: Eva Tatarka <eva@tatarka.me>
Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2024-06-09 20:25:03 +02:00
Weblate
8584e72f48
Translations update from Weblate (automated) ( #4495 )
...
Translations update from [Weblate](https://weblate.tusky.app ) for
[Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/ ).
Current translation status:
![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky/horizontal-auto.svg )
Co-authored-by: Weblate <noreply@weblate.org>
2024-06-06 16:22:25 +02:00
renovate[bot]
434b79fb52
Update plugin google-ksp to v2.0.0-1.0.22 ( #4497 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.devtools.ksp](https://goo.gle/ksp )
([source](https://togithub.com/google/ksp )) | `2.0.0-1.0.21` ->
`2.0.0-1.0.22` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.devtools.ksp/2.0.0-1.0.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.devtools.ksp/2.0.0-1.0.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.devtools.ksp/2.0.0-1.0.21/2.0.0-1.0.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.devtools.ksp/2.0.0-1.0.21/2.0.0-1.0.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>google/ksp (com.google.devtools.ksp)</summary>
###
[`v2.0.0-1.0.22`](https://togithub.com/google/ksp/releases/tag/2.0.0-1.0.22 )
[Compare
Source](https://togithub.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22 )
#### Important Changes
- `KSErrorType.toString()` now contains the reference name it was tried
to be resolved, and therefore `KSErrorType` is no longer a singleton.
Processors relying on equality checks of that (in contrast of using
`KSType.isError`) will need to be updated accordingly.
#### Issues Fixed
[#​1908](https://togithub.com/google/ksp/issues/1908 ) KSP2:
Calling KSP2 in programs does not appear to work on macOS or Windows
[#​1917](https://togithub.com/google/ksp/issues/1917 ) KSP2's
symbol-processing-aa-embeddable artifact exposes an unresolvable
pre-release kotlin 2.0.20 dependency
[#​1911](https://togithub.com/google/ksp/issues/1911 )
NoSuchMethodError when running KSP2 with Dagger (KSP 2.0.0-1.0.21)
[#​1909](https://togithub.com/google/ksp/issues/1909 ) KSP2:
default annotation arguments no longer work in 1.0.21
[#​1232](https://togithub.com/google/ksp/issues/1232 ) Expose
simple names on a missing types's synthetic declaration
[#​1857](https://togithub.com/google/ksp/issues/1857 ) \[KSP2]
Modifiers are missing for property accessors
[#​1924](https://togithub.com/google/ksp/issues/1924 ) \[KSP2] Type
arg becomes '\*' after calling KSType.replace() with an error type
[#​1948](https://togithub.com/google/ksp/issues/1948 ) KSP2 default
annotation KClass values for built-in types use java.lang.\* versions
#### What's Changed
- Include type hint into KSErrorType. by
[@​Jeffset](https://togithub.com/Jeffset ) in
[https://github.com/google/ksp/pull/1848 ](https://togithub.com/google/ksp/pull/1848 )
- Implement Resolver.getModuleName API by
[@​ZacSweers](https://togithub.com/ZacSweers ) in
[https://github.com/google/ksp/pull/1847 ](https://togithub.com/google/ksp/pull/1847 )
- Patch AA service files in renamed uber jar by
[@​ting-yuan](https://togithub.com/ting-yuan ) in
[https://github.com/google/ksp/pull/1867 ](https://togithub.com/google/ksp/pull/1867 )
- fix annotation default value parsing for arrays and class literals. by
[@​neetopia](https://togithub.com/neetopia ) in
[https://github.com/google/ksp/pull/1871 ](https://togithub.com/google/ksp/pull/1871 )
- fix package name for library based symbols by
[@​neetopia](https://togithub.com/neetopia ) in
[https://github.com/google/ksp/pull/1873 ](https://togithub.com/google/ksp/pull/1873 )
- Do not index classpath in declaration provider by
[@​ting-yuan](https://togithub.com/ting-yuan ) in
[https://github.com/google/ksp/pull/1870 ](https://togithub.com/google/ksp/pull/1870 )
- check functional interface for modifiers by
[@​neetopia](https://togithub.com/neetopia ) in
[https://github.com/google/ksp/pull/1872 ](https://togithub.com/google/ksp/pull/1872 )
- Annotation default java by
[@​neetopia](https://togithub.com/neetopia ) in
[https://github.com/google/ksp/pull/1879 ](https://togithub.com/google/ksp/pull/1879 )
- fix type parameter bounds by
[@​neetopia](https://togithub.com/neetopia ) in
[https://github.com/google/ksp/pull/1880 ](https://togithub.com/google/ksp/pull/1880 )
- Add command line parser and entry points by
[@​ting-yuan](https://togithub.com/ting-yuan ) in
[https://github.com/google/ksp/pull/1885 ](https://togithub.com/google/ksp/pull/1885 )
- KSP2: Fix support of wasm by
[@​ting-yuan](https://togithub.com/ting-yuan ) in
[https://github.com/google/ksp/pull/1888 ](https://togithub.com/google/ksp/pull/1888 )
- Return KSClassDeclarationEnumEntryImpl for enum entry annotation
values. by [@​neetopia](https://togithub.com/neetopia ) in
[https://github.com/google/ksp/pull/1881 ](https://togithub.com/google/ksp/pull/1881 )
- Reuse Kotlin indexes in incremental providers by
[@​ting-yuan](https://togithub.com/ting-yuan ) in
[https://github.com/google/ksp/pull/1891 ](https://togithub.com/google/ksp/pull/1891 )
- special handling for java property accessors override checking by
[@​neetopia](https://togithub.com/neetopia ) in
[https://github.com/google/ksp/pull/1894 ](https://togithub.com/google/ksp/pull/1894 )
- KSP2: Reuse Java indexes by
[@​ting-yuan](https://togithub.com/ting-yuan ) in
[https://github.com/google/ksp/pull/1895 ](https://togithub.com/google/ksp/pull/1895 )
- Incremental: fix roots from getSealedSubclasses by
[@​ting-yuan](https://togithub.com/ting-yuan ) in
[https://github.com/google/ksp/pull/1893 ](https://togithub.com/google/ksp/pull/1893 )
- use safe cast for annotation type to declaration resolution by
[@​neetopia](https://togithub.com/neetopia ) in
[https://github.com/google/ksp/pull/1902 ](https://togithub.com/google/ksp/pull/1902 )
**Full Changelog**:
https://github.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/tuskyapp/Tusky ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODguMSIsInVwZGF0ZWRJblZlciI6IjM3LjM4OC4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 16:13:10 +02:00
Levi Bard
c77a755ea0
Fix crash when loading notifications that have filter results ( #4494 )
2024-06-05 20:20:34 +02:00
Konrad Pozniak
6a37cd20b5
fix wrong content description of back button in ViewThreadActivity ( #4491 )
...
"Open Drawer" makes no sense here. Removing the attribute makes the
description fall back to the default "Navigate up" which is better.
2024-06-05 20:20:16 +02:00
Konrad Pozniak
b205e53213
fix ViewEditsFragment having no background during transition ( #4490 )
...
closes #4489
2024-06-05 20:20:05 +02:00
Konrad Pozniak
34b53a3c59
Replace "Hide compose button while scrolling" setting with bottom padding ( #4486 )
...
As discussed in our contributors meeting.
Advantages:
- last element of list never obscured by action button
- less code that runs on every scroll
- less settings to worry about
Additionally:
- Added a (smaller) padding to the bottom of lists without action
button, I think it looks nice if there is a bit of white space and the
nav bar divider and the last list divider don't touch.
- The list of filters had no dividers, I added them.
- Recyclerviews with fixed height (Drafts, Filters, edits) now have
scrollbars
- code formatted all touched xml files
closes https://github.com/tuskyapp/Tusky/issues/1563
<img
src="https://github.com/tuskyapp/Tusky/assets/10157047/cd50199f-e84f-4402-93e4-a5a1beba2a08 "
width="280"/>
2024-06-05 19:36:58 +02:00
Konrad Pozniak
adbe694471
correctly set currentContent in ComposeViewModel.setup ( #4484 )
...
Without this, the check that decides if the dialog on close should be
shown operates on incorrect data.
closes #4434
2024-06-05 19:36:48 +02:00
Konrad Pozniak
bb329ae8b8
Translations update from Weblate ( #4492 )
...
Translations update from [Weblate](https://weblate.tusky.app ) for
[Tusky/Tusky
description](https://weblate.tusky.app/projects/tusky/tusky-app/ ).
Current translation status:
![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky-app/horizontal-auto.svg )
2024-06-05 19:36:34 +02:00
Konrad Pozniak
831646f93c
Translations update from Weblate ( #4485 )
...
Translations update from [Weblate](https://weblate.tusky.app ) for
[Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/ ).
Current translation status:
![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky/horizontal-auto.svg )
2024-06-05 19:36:18 +02:00
Ihor Hordiichuk
571d2289fd
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (34 of 34 strings)
Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/uk/
2024-06-05 17:33:27 +00:00
Ihor Hordiichuk
33e3327366
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (645 of 645 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (645 of 645 strings)
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2024-06-05 13:07:10 +00:00
Ümit Solmaz
2702150867
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (645 of 645 strings)
Co-authored-by: Ümit Solmaz <usnotv@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
Translation: Tusky/Tusky
2024-06-05 13:07:10 +00:00
fin-w
b39f1c3807
Translated using Weblate (Welsh)
...
Currently translated at 100.0% (645 of 645 strings)
Co-authored-by: fin-w <fin-w@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2024-06-05 13:07:10 +00:00
Hồ Nhất Duy
091831dd41
Translated using Weblate (Vietnamese)
...
Currently translated at 100.0% (645 of 645 strings)
Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2024-06-05 13:07:09 +00:00
Danial Behzadi
35a869028b
Translated using Weblate (Persian)
...
Currently translated at 100.0% (645 of 645 strings)
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2024-06-05 13:07:09 +00:00
Manuel
bf2788d80b
Translated using Weblate (Italian)
...
Currently translated at 100.0% (645 of 645 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (643 of 643 strings)
Co-authored-by: Manuel <mannivuwiki@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2024-06-05 13:07:09 +00:00
Konrad Pozniak
8aaca3bb2c
improve span highlighting ( #4480 )
...
At first I thought simply changing the regex might help, but then I
found more and more differences between Mastodon and Tusky, so I decided
to reimplement the thing. I added 74 testcases that I all compared to
Mastodon to make sure they are correct.
On an Fairphone 4 the new implementation is faster, on an Samsung Galaxy
Tab S3 slower.
Testcases for the benchmark:
```
test of a status with #one hashtag http
```
```
test
http:// #hashtag https://connyduck.at/
http://example.org
this is a #test
and this is a @mention@test.com @test @test@test456@test.com
```
```
@mention@test.social Just your ordinary mention with a hashtag
#test
```
```
@mention@test.social Just your ordinary mention with a url
https://riot.im/app/#/room/#Tusky:matrix.org
```
FP4:
```
11.159 ns 15 allocs Benchmark.new_1
119.701 ns 43 allocs Benchmark.new_2
21.895 ns 24 allocs Benchmark.new_3
87.512 ns 32 allocs Benchmark.new_4
16.592 ns 46 allocs Benchmark.old_1
134.381 ns 169 allocs Benchmark.old_2
28.355 ns 68 allocs Benchmark.old_3
45.221 ns 77 allocs Benchmark.old_4
```
SGT3:
```
43,785 ns 18 allocs Benchmark.new_1
446,074 ns 43 allocs Benchmark.new_2
78,802 ns 26 allocs Benchmark.new_3
315,478 ns 32 allocs Benchmark.new_4
42,186 ns 45 allocs Benchmark.old_1
353,570 ns 157 allocs Benchmark.old_2
72,376 ns 66 allocs Benchmark.old_3
122,985 ns 74 allocs Benchmark.old_4
```
benchmark code is here: https://github.com/tuskyapp/tusky-span-benchmark
closes https://github.com/tuskyapp/Tusky/issues/4425
2024-06-02 16:32:58 +02:00
Konrad Pozniak
e05ded2e32
Translations update from Weblate ( #4473 )
...
Translations update from [Weblate](https://weblate.tusky.app ) for
[Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/ ).
Current translation status:
![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky/horizontal-auto.svg )
2024-06-02 15:00:41 +02:00
renovate[bot]
6b32e72e19
Update dependency gradle to v8.8 ( #4483 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [gradle](https://gradle.org )
([source](https://togithub.com/gradle/gradle )) | minor | `8.7` -> `8.8`
|
---
### Release Notes
<details>
<summary>gradle/gradle (gradle)</summary>
### [`v8.8`](https://togithub.com/gradle/gradle/compare/v8.7.0...v8.8.0 )
[Compare
Source](https://togithub.com/gradle/gradle/compare/v8.7.0...v8.8.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/tuskyapp/Tusky ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-01 13:53:28 +02:00
Konrad Pozniak
b262b6cb9b
remove unused import ( #4482 )
...
this slipped in somehow
2024-05-31 14:49:20 +02:00
XoseM
1a01c9debd
Translated using Weblate (Galician)
...
Currently translated at 100.0% (643 of 643 strings)
Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2024-05-31 12:46:52 +00:00
Ümit Solmaz
2db0bbcc39
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (643 of 643 strings)
Co-authored-by: Ümit Solmaz <usnotv@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
Translation: Tusky/Tusky
2024-05-31 12:46:52 +00:00
Manuel
6a4e2d52d0
Translated using Weblate (Italian)
...
Currently translated at 100.0% (643 of 643 strings)
Co-authored-by: Manuel <mannivuwiki@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2024-05-31 12:46:52 +00:00