Sebastian Aigner
563575a866
Update Navigation tutorial to refer to Awesome List ( #3441 )
...
Remove third-party specific samples
1 year ago
Oleksandr Karpovich
a947c5efcc
Disable signature clash checks for web targets ( #3445 )
...
Compose compiler plugin produces symbols with identical signatures. k/jvm and k/native do not check for clashes, while k/js does. We disable the checker in our gradle plugin, so our users do not need to add extra workaround on their side.
1 year ago
Qinglin
1ae72a8647
Fix typo in tutorials/Navigation README.md ( #3419 )
...
Correct minor grammatical errors and fix some misspellings.
1 year ago
Oleksandr Karpovich
77a070ae45
Update build.gradle.kts ( #3425 )
1 year ago
Egor Tolstoy
cb468adf96
Added performance issue template ( #3415 )
...
* Added performance issue template
* Added FPS mention
1 year ago
Igor Demin
d39136935a
1.5.0-beta01 CHANGELOG ( #3407 )
1 year ago
Igor Demin
43a4086ba4
Migrate examples to 1.4.3 ( #3410 )
...
[Changelog](https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.4.3 )
Changed templates:
bbf71f754c
ba91acf5d6
5204842894
36d1554dee
1 year ago
Alexey Tsvetkov
b67dde7295
Add pro guard optimize flag ( #3408 )
...
* Add DSL flag to control ProGuard's optimizations
#3387
* Update default ProGuard version
* Revert ProGuard default version to 7.2.2.
1 year ago
Igor Demin
a6cdfd8b71
Update CHANGELOG.md
1 year ago
Igor Demin
946a185bf0
Update CHANGELOG.md
1 year ago
Igor Demin
5e71a953ef
Widgets gallery: fix for mismatched @Composable annotation (desktop) ( #3409 )
...
Folloup after https://github.com/JetBrains/compose-multiplatform/pull/3402
1 year ago
Nikita Lipsky
02caf437db
Widgets gallery: fix for mismatched @Composable annotation ( #3402 )
...
* Widgets gallery: fix for mismatched @Composable annotation
* Widgets gallery: remove isSystemInDarkTheme expect function
1 year ago
Igor Demin
9438837cc1
ImageViewer. Reenable build on CI ( #3385 )
...
The CI checks was disabled in https://github.com/JetBrains/compose-multiplatform/pull/3384 . Reenable them in support/1.5.0, which will be merged after the 1.5.0 release.
1 year ago
Ivan Matkov
c09b344c03
Adopt ImageViewer to Compose 1.5.0-dev1114 and Kotlin 1.9.0 ( #3400 )
...
* ImageViewer. Add WindowsInsets.ime and update resources
* Update gradle properties
* Fix HorizontalPager usage
* Add ExperimentalForeignApi annotation
---------
Co-authored-by: dima.avdeev <dima.avdeev@jetbrains.com>
1 year ago
Igor Demin
a609db563a
Components. Downgrade to Kotlin 1.8.22 ( #3390 )
...
Dowgrading to Kotlin 1.8 will allow to use `components` in Kotlin 1.8 and Kotlin 1.9 projects (iOS, JS targets). Now it is supported only in Kotlin 1.9 projects.
1 year ago
Igor Demin
336ba2c7a1
Disable image viewer checks on CI ( #3384 )
...
Because:
1. it uses experimental API, that was changed int 1.5.0-beta03 after 1.4.0
2. we have a policy to use only release versions in the examples
Temporarily, will made a fix in support/1.5.0 branch
1 year ago
Igor Demin
9f118d39d2
Components. Fix Its usage must be marked with '@kotlinx.cinterop.ExperimentalForeignApi' ( #3383 )
...
* Components. Fix Its usage must be marked with '@kotlinx.cinterop.ExperimentalForeignApi'
https://teamcity.jetbrains.com/buildConfiguration/JetBrainsPublicProjects_Compose_Publish_2_AllGitHubRelease/4238435?buildTab=dependencies&mode=list&state=failed&type=snapshot&hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true&showLog=4238425_373_267&logFilter=debug&logView=flowAware#4238426
Kotlin 1.9 broke source compatibility for native targets, usePinned is now experimental
* macOs
1 year ago
Igor Demin
46e8549a52
Components. Fix Mismatched @Composable annotation between expect and actual declaration ( #3381 )
...
https://teamcity.jetbrains.com/buildConfiguration/JetBrainsPublicProjects_Compose_Publish_2_AllGitHubRelease/4237900?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildChangesSection=true&expandBuildTestsSection=false&expandBuildProblemsSection=true&showLog=4237891_234_144&logFilter=debug&logView=flowAware
There was a mistake in commonMain/AnimatedImage.kt that can be caught in compile-time with Kotlin 1.9
1 year ago
Oleksandr Karpovich
f70d82f649
Hardcode 1.8.21 as kotlin version in compose.html to make new version compatible with older kotlin ( #3380 )
...
* Hardcode 1.8.21 as kotlin version in compose.html to make new version compatible with older kotlin
* keep the old property name for kotlin version - 'kotlin.version'
1 year ago
Oleksandr Karpovich
47b19a6ec0
Add kotlin 1.8.22 to compose compiler comaptibility ( #3379 )
1 year ago
Nikita Lipsky
d55962dd5e
Add commonTest source set ( #3378 )
...
- for GameControllerTest to be able to run
+ add linker options for ability to run it on iOS simulator
1 year ago
Oleksandr Karpovich
eda9a69b8d
Update yarn.lock in compose.html ( #3377 )
1 year ago
Oleksandr Karpovich
de2f4f8d28
Fix compose.html with 1.9.0 ( #3376 )
...
* Fix compose.html build with 1.9.0 by exposing some dependencies with `api(...)`
* Temp disable integration tests in compose.html
1 year ago
Igor Demin
06bcb1c680
Components. Fix `KotlinSourceSet with name 'androidTest' not found.` on Kotlin 1.9.0 ( #3375 )
...
FAILURE: Build failed with an exception.
* Where:
Build file '/mnt/agent/work/eef8b9c316a53dd6/components/resources/library/build.gradle.kts' line: 66
`androidTest` was deprecated: https://kotlinlang.org/docs/whatsnew18.html#kotlin-multiplatform-a-new-android-source-set-layout
* What went wrong:
KotlinSourceSet with name 'androidTest' not found.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 24s
Process exited with code 1
See https://teamcity.jetbrains.com/buildConfiguration/JetBrainsPublicProjects_Compose_Publish_2_AllGitHubRelease/4237033?buildTab=dependencies&mode=list&state=failed&type=snapshot&hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true#4237024
## Testing
./gradlew resources:library:test
1 year ago
Igor Demin
17ba8f3a57
Revert "Revert "Add explicit dependencies on modules to make it build with kotlin 1.9.0 ( #3374 )""
...
This reverts commit 09bfeab4ea
.
1 year ago
Igor Demin
09bfeab4ea
Revert "Add explicit dependencies on modules to make it build with kotlin 1.9.0 ( #3374 )"
...
This reverts commit a2cd678c82
.
1 year ago
Igor Demin
881b48b89d
Revert "Components. Fix `KotlinSourceSet with name 'androidTest' not found.` on Kotlin 1.9.0"
...
This reverts commit 1d0e8ded91
.
1 year ago
Igor Demin
1d0e8ded91
Components. Fix `KotlinSourceSet with name 'androidTest' not found.` on Kotlin 1.9.0
...
FAILURE: Build failed with an exception.
* Where:
Build file '/mnt/agent/work/eef8b9c316a53dd6/components/resources/library/build.gradle.kts' line: 66
`androidTest` was deprecated: https://kotlinlang.org/docs/whatsnew18.html#kotlin-multiplatform-a-new-android-source-set-layout
* What went wrong:
KotlinSourceSet with name 'androidTest' not found.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 24s
Process exited with code 1
See https://teamcity.jetbrains.com/buildConfiguration/JetBrainsPublicProjects_Compose_Publish_2_AllGitHubRelease/4237033?buildTab=dependencies&mode=list&state=failed&type=snapshot&hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true#4237024
## Testing
./gradlew resources:library:test
1 year ago
Oleksandr Karpovich
a2cd678c82
Add explicit dependencies on modules to make it build with kotlin 1.9.0 ( #3374 )
...
* Add explicit dependencies on modules to make it build with kotlin 1.9.0
* Fix typo
1 year ago
Oleksandr Karpovich
c918154efe
Update kotlin version in gradle plugin tests ( #3372 )
...
kotlin - 1.9.0, compose compiler plugin - 1.5.0
1 year ago
Oleksandr Karpovich
f28d438ad0
Update ComposeCompilerCompatibility ( #3371 )
...
add kotlin 1.9.0 -> compose compiler 1.5.0
1 year ago
Alexey Tsvetkov
16114b2f0f
Simplify resource management for iOS ( #3340 )
...
* Simplify resource management for iOS
Introduces new a new task 'sync<FRAMEWORK_CLASSIFIER>ComposeIosResources',
which collects resources from all source sets, included in iOS targets.
With this change:
* CocoaPods integration does not require any configuration or calling 'pod install' after changing resources.
* Important: existing projects need to remove 'extraSpecAttributes["resources"] = ...' from build scripts, and rerun `./gradlew podInstall` once!
* Without CocoaPods, the resource directory should be added to XCode build phases once.
Resolves #3073
Resolves #3113
Resolves #3066
1 year ago
Nikita Lipsky
1346feea5a
Compose benchmarks that run in attended mode for comparison JVM and K/N ( #3297 )
1 year ago
Oleksandr Karpovich
54f03178fd
Add info about Compose Multiplatform Compiler compatibility with kotlin ( #3315 )
...
* Add info about Compose Multiplatform Compiler compatibility with kotlin
* fix typo
* copy editing
1 year ago
Oleksandr Karpovich
f563664166
Add a warning for a user who sets `compose.kotlinCompilerPlugin` to `androidx.compose.compiler.compiler` ( #3313 )
...
* Add a warning for a user who sets `compose.kotlinCompilerPlugin` to `android.compose.compiler.compiler`
The warning will show up only when a multiplatform project contains at least one of the non-jvm targets: k/js, k/native or k/wasm
* fix typo
* PR review
* Refactor to BuildService
* fix typo
1 year ago
Alexander Zhirkevich
f221db27b7
Make HTML TestUtils wait functions cancellable ( #3320 )
...
* make TestUtils wait functions cancellable
* add tests for cancellable test utills
* Update TestUtils.kt
* Add import
* Add import
1 year ago
Trey Ethridge
2335739734
Fix widget labels ( #3220 )
...
MainView should use title so that if a custom title is
available it will be used. Hide readableName to prevent this
from happening again by mistake.
1 year ago
Igor Demin
d655e85c76
Update VERSIONING.md ( #3305 )
1 year ago
Igor Demin
bf4130cfab
Compose 1.4.1 docs, examples ( #3287 )
...
* Compose 1.4.1
* Remove compose-integration from replaceVersion.sh
2 years ago
Oleksandr Karpovich
b038d0d142
Update ComposeCompilerCompatibility mapping ( #3291 )
...
* Update ComposeCompilerCompatibility.kt
* use 1.4.7 instead of 1.4.7-rc01
2 years ago
Volodymyr Stelmashchuk
ea310cede5
Fixed links into FAQ.md ( #3237 )
2 years ago
Oleksandr Karpovich
396413168f
Update compose gradle plugin version in integration composable-test-cases ( #3246 )
...
Reason: https://github.com/JetBrains/compose-multiplatform/issues/3169 is needed to run the tests with kotlin 1.9.0-Beta
2 years ago
Nikita Lipsky
8a15fbe069
visual-effects-ny benchmark: remove dependencies on time and random. Introduce number of iterations ( #3218 )
2 years ago
Alexey Tsvetkov
0319db1d06
Improve error messages when checking tasks ( #3194 )
...
* Improve error messages when checking tasks
Previously some errors in checkRuntime task
were reported as a nested exception.
By default, Gradle shows only top-level
error message of an exception, which
made some errors confusing.
For example, when javac was missing from JDK,
Gradle only showed "Could not infer Java runtime version for Java home directory".
The part that said javac was missing was only shown,
when Gradle was run with --stacktrace argument.
This is suboptimal UX, so this commit refactors
checkRuntime to make error messages more descriptive.
#3133
* Handle JDK 1.8 correctly
* Prebuild jdk version probe
2 years ago
Sebastian Aigner
dab4531fe4
Redesign chat example ( #3161 )
...
* Redesign chat example
* Minor typography improvements
* Code cleanup
* Update examples/chat/iosApp/iosApp/iosApp.swift
Co-authored-by: Ivan Matkov <ivan.matkov@jetbrains.com>
* Use JPG instead of PNG
* Turn background in to a JPG
Add raw PXD file.
* Remove TEAM_ID
* Move to sp sizes
* Make Android text consistent with iOS variant
* Prefer light color scheme to prevent unwanted text color switch
* Remove PXD
---------
Co-authored-by: Ivan Matkov <ivan.matkov@jetbrains.com>
2 years ago
Nikita Lipsky
9b09e68e79
Add macOS native target to visual-effects-ny benchmark ( #3180 )
...
* Add macOS native target to visual-effects-ny benchmark
* handle width/height with expect/actuals
2 years ago
Sebastian Aigner
fc15726b62
Make codeviewer example more photogenic (top bar color and bottom margins) ( #3174 )
2 years ago
Nikita Lipsky
4921cb5689
Benchmarks for iOS ( #3160 )
...
* Add a benchmark extracted from #2283 issue
* A benchmark with infinite animation based on official template project
* A benchmark app extracted from compose/integration/macrobenchmark
* A benchmark app extracted from the NY sample of examples/visual-effects
2 years ago
Alexey Tsvetkov
baeeec8abc
Delay resolving dependencies until configuration phase is over ( #3170 )
...
Resolves #3169
2 years ago
Alexey Tsvetkov
c162695345
Remove variant redirection from Gradle plugin ( #3168 )
...
It was experimental and it is not needed
since our published Gradle Metadata
already has references for Android artifacts
for Android variants
2 years ago