Igor Demin
399e482d3b
Merge remote-tracking branch 'origin/release/1.6.1'
8 months ago
Konstantin
e8459e19b4
[resources] Fix regionCode crash on iOS before 17 ( #4473 )
...
The regionCode API
```
NSLocale.currentLocale().regionCode
```
was published in iOS 17:
https://developer.apple.com/documentation/foundation/nslocale/4172868-regioncode?language=objc
to make it works on all iOS versions we have to use:
```
NSLocale.currentLocale().objectForKey(NSLocaleCountryCode) as? String
```
fixes https://github.com/JetBrains/compose-multiplatform/issues/4469
8 months ago
Pavel Shishkin
3de2f3bfbe
update compose compiler version to 1.5.10.1 ( #4474 )
...
Fixes https://github.com/JetBrains/compose-multiplatform/issues/4455
8 months ago
Konstantin
e7f1a6cc20
[resources] Fix regionCode crash on iOS before 17 ( #4473 )
...
The regionCode API
```
NSLocale.currentLocale().regionCode
```
was published in iOS 17:
https://developer.apple.com/documentation/foundation/nslocale/4172868-regioncode?language=objc
to make it works on all iOS versions we have to use:
```
NSLocale.currentLocale().objectForKey(NSLocaleCountryCode) as? String
```
fixes https://github.com/JetBrains/compose-multiplatform/issues/4469
8 months ago
Luca Spinazzola
4c238f5ff8
update macOS readResourceBytes to use composeResources ( #4458 )
...
Loading resources in the demo is broken without updating this to use
`composeResources`
8 months ago
Ivan Matkov
de432c9291
[1.6.0 CHANGELOG] Add info about known Popup shadows limitation ( #4465 )
...
Related to #4460
8 months ago
Igor Demin
59e37e305f
Imageviewer. Fix compilation of Android target ( #4467 )
...
Fix regression after
https://github.com/JetBrains/compose-multiplatform/pull/4433
`./gradlew compileReleaseKotlinAndroid` in `imageviewer` fails with:
```
* What went wrong:
Execution failed for task ':shared:compileReleaseKotlinAndroid'.
> Inconsistent JVM-target compatibility detected for tasks 'compileReleaseJavaWithJavac' (1.8) and 'compileReleaseKotlinAndroid' (17).
```
(JAVA_HOME points to JDK 17)
8 months ago
Pavel Shishkin
1f9664c068
Merge branch 'release/1.6.1'
8 months ago
Shishkin Pavel
730e368de7
update compiler version to 1.5.10 ( #4452 )
8 months ago
Konstantin
52c4bf3b1f
[example] Migrate the image viewer on the new compose resources ( #4433 )
8 months ago
Igor Demin
71e0c92673
Merge remote-tracking branch 'origin/release/1.6.1'
9 months ago
Konstantin Tskhovrebov
70aa35bfb5
[gradle] Disable parallel tests run for gradle tests
9 months ago
Konstantin Tskhovrebov
ea9d432245
[gradle] Run gradle tests in parallel but not concurrently
...
otherwise it kills CI agents
9 months ago
Konstantin Tskhovrebov
9e753b033b
[gradle] Run gradle tests in parallel
9 months ago
Igor Demin
75be9d1c65
Merge remote-tracking branch 'origin/release/1.6.1'
9 months ago
Konstantin Tskhovrebov
eabd836b35
[ci] Update android cmd tools to latest and platform to 34 in the docker for gradle tests
9 months ago
Konstantin Tskhovrebov
f6c81307b8
[gradle] Disable parallel tests run for gradle tests
9 months ago
Konstantin Tskhovrebov
f07e220f72
[gradle] Run gradle tests in parallel but not concurrently
...
otherwise it kills CI agents
9 months ago
Konstantin Tskhovrebov
5244b8a866
[gradle] Run gradle tests in parallel
9 months ago
Konstantin Tskhovrebov
c3c7ba3ccb
[ci] Update android cmd tools to latest and platform to 34 in the docker for gradle tests
9 months ago
Igor Demin
02026d20c8
Merge remote-tracking branch 'origin/release/1.6.1'
9 months ago
Konstantin Tskhovrebov
376cdb42d4
Revert "[gradle] Add a flag to fix build on TeamCity with configuration caches enabled"
...
This reverts commit 5e0e03bef2
.
9 months ago
Konstantin Tskhovrebov
16fe22d172
[gradle] Add a flag to fix build on TeamCity with configuration caches enabled
...
Error was:
> Listener registration 'Gradle.addListener' by build is unsupported.
9 months ago
Konstantin
e9c11b0a92
Add gradle "8.6" and AGP "7.3.1", "8.2.2" to the gradle plugin integration tests ( #4309 )
9 months ago
Konstantin
f683673b7e
Fix package name of generated Res file when project is building for JsTarget ( #4295 ) ( #4300 )
...
Origin: https://github.com/JetBrains/compose-multiplatform/pull/4296
---------
Co-authored-by: Suhaib Roomy <suhaib.roomy@booking.com>
9 months ago
Konstantin
6038d44d5e
[resources] Fix resource packaging in APK when 'build' task is used with AGP 8.2+ ( #4408 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4407
9 months ago
Konstantin
0402c28803
[resources] Fix Res class generation if the library is declared as 'api' ( #4406 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4405
9 months ago
Konstantin
8ad5473ea5
[resources] Init resource accessors lazily and in external function to avoid MethodTooLargeException ( #4404 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4194
9 months ago
Konstantin
204a6f57bc
Support three letters locales ( #4394 )
9 months ago
Igor Demin
0c6904fc79
Merge remote-tracking branch 'origin/release/1.6.1'
...
# Conflicts:
# gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/resources/ResourcesGenerator.kt
# gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/resources/ResourcesSpec.kt
# gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration/ResourcesTest.kt
# gradle-plugins/compose/src/test/test-projects/misc/commonResources/expected/Drawable0.kt
# gradle-plugins/compose/src/test/test-projects/misc/commonResources/expected/Font0.kt
# gradle-plugins/compose/src/test/test-projects/misc/commonResources/expected/String0.kt
# gradle-plugins/compose/src/test/test-projects/misc/hugeResources/build.gradle.kts
# gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/Drawable0.kt
# gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/Drawable1.kt
# gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/Drawable2.kt
# gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/String0.kt
# gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/String1.kt
# gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/String2.kt
# gradle-plugins/compose/src/test/test-projects/misc/hugeResources/src/commonMain/kotlin/App.kt
# gradle-plugins/compose/src/test/test-projects/misc/jvmOnlyResources/expected/Drawable0.kt
9 months ago
Konstantin Tskhovrebov
19331a8a02
Revert "[gradle] Add a flag to fix build on TeamCity with configuration caches enabled"
...
This reverts commit 5e0e03bef2
.
9 months ago
Igor Demin
94b3fd9239
Update bug_report.md (remove checkboxes) ( #4426 )
...
- they are represented as tasks
- users don't check them
9 months ago
Konstantin Tskhovrebov
5e0e03bef2
[gradle] Add a flag to fix build on TeamCity with configuration caches enabled
...
Error was:
> Listener registration 'Gradle.addListener' by build is unsupported.
9 months ago
Oleksandr Karpovich
ea161426f2
Remove coroutines version substitution for web targets ( #4369 )
...
All targets (including desktop and ios) now should use coroutines 1.8.0
___
According to COMPOSE-939
9 months ago
Konstantin
33482890a4
Add gradle "8.6" and AGP "7.3.1", "8.2.2" to the gradle plugin integration tests ( #4309 )
9 months ago
Konstantin
2e64180384
Fix package name of generated Res file when project is building for JsTarget ( #4295 ) ( #4300 )
...
Origin: https://github.com/JetBrains/compose-multiplatform/pull/4296
---------
Co-authored-by: Suhaib Roomy <suhaib.roomy@booking.com>
9 months ago
Oleksandr Karpovich
9709609fad
Refactor composable-test-cases to get rid of dependency on compose-multiplatform-gradle-plugin ( #4421 )
...
This is a preparation to move these tests to kotlin project.
Some neccessary parts were copy-pasted from our Compose Multiplatform
gradle plugin.
So `id("org.jetbrains.compose")` is not used anymore
9 months ago
Konstantin
bf8b8ec4a3
[resources] Fix resource packaging in APK when 'build' task is used with AGP 8.2+ ( #4408 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4407
9 months ago
Konstantin
7ce3063911
[resources] Fix Res class generation if the library is declared as 'api' ( #4406 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4405
9 months ago
Konstantin
ca3ae45516
[resources] Init resource accessors lazily and in external function to avoid MethodTooLargeException ( #4404 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4194
9 months ago
Konstantin
f833fa9945
Support three letters locales ( #4394 )
9 months ago
Ivan Matkov
2a207bba06
Improve bug report template ( #4396 )
...
Remove "- All" option in affected platforms
9 months ago
Konstantin
e8e7afa795
Migrate all samples to the new resources library ( #4386 )
9 months ago
Igor Demin
5780283aee
Update CHANGELOG.md (link to the docs) ( #4385 )
9 months ago
Igor Demin
9dbd95e78b
Widgets Gallery. Fix imports
...
It didn't compile
9 months ago
Oleksandr Karpovich
efc882be28
Update CHANGELOG.md ( #4384 )
...
Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>
9 months ago
Igor Demin
1fe303ac96
Update CHANGELOG.md
9 months ago
Igor Demin
15c78e1519
Merge remote-tracking branch 'origin/master' into support/1.6.0
9 months ago
Igor Demin
b4deec5ee9
CHANGELOG 1.6.0 ( #4377 )
...
Co-authored-by: Ivan Matkov <ivan.matkov@jetbrains.com>
9 months ago
Igor Demin
809a8c7aa2
Compose 1.6.0
9 months ago