Oleksandr Karpovich
689f63112a
Gradle Plugin: Simplify coroutines version check ( #4283 )
10 months ago
Konstantin
a0601c3024
Register all hierarchical compose resources in android compilation ( #4274 )
10 months ago
Oleksandr Karpovich
c4bc761b0d
Gradle Plugin: Force kotlinx-coroutines version 1.8.0-RC2 for web targets in user projects ( #4278 )
...
Removed such the version substituion from the resources library. The
versions will be subtituted now by gradle plugin.
10 months ago
Shishkin Pavel
e680f9ffa3
update compiler version to 1.5.8.1-beta02 ( #4269 )
...
fixed:
https://github.com/JetBrains/compose-multiplatform/issues/3318
https://github.com/JetBrains/compose-multiplatform/issues/3643
https://github.com/JetBrains/compose-multiplatform/issues/4055
10 months ago
Ahmed Hosny
a8e9486b9e
Support Rtl in SplitPane ( #4265 )
...
This is related to issue:
https://github.com/JetBrains/compose-multiplatform/issues/4258
changes
- DesktopSplitPane.kt: placable.place() -> placable.placeRelative
- SplitePaneDSL.kt: change the delta direction to follow the layout
direction
```kotlin
@Composable
override fun Modifier.markAsHandle(): Modifier = this.run {
val layoutDirection = LocalLayoutDirection.current
pointerInput(containerScope.splitPaneState) {
detectDragGestures { change, _ ->
change.consume()
containerScope.splitPaneState.dispatchRawMovement(
if (containerScope.isHorizontal)
if (layoutDirection == LayoutDirection.Ltr) change.position.x else -change.position.x
else change.position.y
)
}
}
```
the problem with .onPointerEvent() Modifier, or onDrag also, is
whenever the layout direction is Ltr or Rtl:
moving to right always produce positive change, [expected negative if
dir =Rtl]
moving to left always produce negative change, [expected positive if dir
=Rtl]
the calculation of postion will fail if layoutDir is Rtl, because
positionPercentage will be out of range
```kotlin
fun dispatchRawMovement(delta: Float) {
val movableArea = maxPosition - minPosition
if (movableArea > 0) {
positionPercentage =
((movableArea * positionPercentage) + delta).coerceIn(0f, movableArea) / movableArea
}
}
```
10 months ago
Konstantin
2b12d57008
Configure android variants the correct way instead of the hack with 'dependsOn' ( #4264 )
10 months ago
Igor Demin
7241003df8
Update CHANGELOG.md ( #4249 )
10 months ago
Konstantin
8ee7531c42
Clean code-gen directory if there was deleted a dependency on the res library ( #4257 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4242
10 months ago
Konstantin
d6b8681b22
Don't make resource IDs lowercased ( #4253 )
10 months ago
Konstantin
b8be217dad
Configure explicit dependency on the copyFonts task to fix a build ( #4247 )
10 months ago
Oleksandr Karpovich
ffea196aa8
Use coroutines 1.7.3 for desktop and native. But use 1.8.0-RC2 for web targets ( #4244 )
10 months ago
Konstantin
a6b8b50423
Add a type name to the resource initializers ( #4240 )
...
to avoid "Overload resolution ambiguity" for different resources with a
same name
https://github.com/JetBrains/compose-multiplatform/issues/4237
10 months ago
Konstantin
84e52986dc
Relocate a bundled KotlinPoet to the internal package
10 months ago
Igor Demin
322f2e9906
Update CHANGELOG.md (1.6.0-beta02) ( #4232 )
10 months ago
antonindrawan
d6f3861286
build(kn-performance): use compose 1.5.10 to fix the build ( #4173 )
...
Error: Compose Multiplatform 1.5.1 doesn't support Kotlin 1.9.20.
10 months ago
Konstantin
870b2d3aec
Improve handling of special characters in string resources ( #4220 )
...
Introduced a function to process and replace certain escaped symbols
like '\n', '\t', and '\uXXXX' in the strings extracted from compose
string resources.
10 months ago
Konstantin Tskhovrebov
3c7260ea51
Add a ttf font to the resources demo app
10 months ago
Konstantin
18de77e0bd
Update dependency versions and refactor build configs ( #4215 )
10 months ago
Konstantin
12afbe59a8
add verification-metadata.xml file to verify vlcj artifacts ( #4159 )
...
Update kotlin and dependencies and add verification-metadata.xml file to
verify vlcj artifacts
---------
Co-authored-by: Igor Demin <igor.demin@jetbrains.com>
10 months ago
Konstantin Tskhovrebov
4a65b1a1d8
Refactor compose library tests
10 months ago
Alexander Maryanovsky
69d3a24295
Add common test samples to widgets-gallery ( #4202 )
10 months ago
InsanusMokrassar
d9d4bf3496
Add opportunity to use custom prefixes in StyleSheet ( #3015 )
10 months ago
Konstantin
b1e86ade36
Generate initializer functions in the Res file to avoid the MethodTooLargeException ( #4205 )
10 months ago
Konstantin
b4881ffe01
Fix native xml parser and add ios native tests ( #4207 )
...
Co-authored-by: Da Risk <da_risk@geekorum.com>
10 months ago
Shishkin Pavel
6c38a4ae9a
update compiler plugin version to 1.5.8.1-beta01 ( #4203 )
10 months ago
Konstantin Tskhovrebov
107a1449ca
Update Compose version to 1.6.0-dev1397 in components
10 months ago
Igor Demin
8de1026504
Update CHANGELOG.md (1.5.12) ( #4182 )
10 months ago
Konstantin Tskhovrebov
ee26bf8bee
Use "project.findProperty" instead of "providers.valueOrNull" to fix sub-module gradle properties for res class generation
10 months ago
dima.avdeev
50908d620a
Add ui-tooling-preview alias to gradle plugin ( #4190 )
...
https://youtrack.jetbrains.com/issue/COMPOSE-857/Provide-compose.components.uiToolingPreview-alias
10 months ago
Konstantin
2e354eba3a
Support compose resources for ios tests ( #4185 )
10 months ago
Konstantin
2b8c35e16c
Support Res class generation in JVM only compose projects ( #4183 )
10 months ago
Konstantin
fbab715c20
Generate Res class if there is no common composeResource dir ( #4176 )
10 months ago
Oleksandr Karpovich
f121805763
Add test cases for stability inference ( #4163 )
...
Should pass since 1.5.8-beta01 compose compiler plugin
10 months ago
Igor Demin
ac3ca94372
Update CHANGELOG.md
10 months ago
Konstantin
3040ea85bb
Configure android resources after the agp is applied and ignore hidden files in resources
10 months ago
Konstantin
c31c761e09
Mark all resources public API as experimental. ( #4146 )
...
And all public but only for generated code API as @InternalResourceApi
10 months ago
Oleksandr Karpovich
0e8a92a59f
Update compose compiler compatibility ( #4145 )
10 months ago
Konstantin
f405dd8ba0
Delete experimental marker from stable resources APIs ( #4144 )
10 months ago
Konstantin
747aab02f3
Introduce top level composeResources dir ( #4127 )
10 months ago
Igor Demin
ae1dca8fa8
Update replaceVersion.sh ( #4142 )
...
The name of the file is wrong in the message in the script
10 months ago
Alexander Maryanovsky
a4cb97a6bf
Add `compose.uiTest` dependency name to ComposePlugin ( #4100 )
11 months ago
Konstantin
147bb6bdca
Update compose version to 1.6.0-dev1357 ( #4096 )
11 months ago
Konstantin
8955e66eac
Introduce a 'composeResources/files' directory for any files. ( #4079 )
...
Introduce a 'composeResources/files' directory for any files.
11 months ago
Oleksandr Karpovich
86cfe355fb
Update compose compiler version for kotlin 1.9.22 ( #4089 )
...
1.5.7.1 contains a fix for k/js
https://github.com/JetBrains/compose-multiplatform/issues/4076
11 months ago
Igor Demin
6c4def5bb5
Fix Qualifier density ( #4088 )
...
```
LDPI(120), // 120/160 = 0.75
MDPI(160), // 160/160 = 1.0
HDPI(240), // 240/160 = 1.5
XHDPI(320), // 320/160 = 2.0
XXHDPI(480), // 480/160 = 3.0
XXXHDPI(640); // 640/160 = 4.0
```
11 months ago
Oleksandr Karpovich
b3dee0db79
Add kotlin 1.9.22 support ( #4075 )
11 months ago
Oleksandr.Karpovich
dad2f96ee9
Remove older kotlin versions (1.9.0 and 1.9.10) in nativeCacheKind test
...
The recent compose core libs are built using 1.9.21, and apparently, older k/native versions don't support them.
e: kotlin.NotImplementedError: Generation of stubs for class org.jetbrains.kotlin.ir.symbols.impl.IrTypeParameterPublicSymbolImpl is not supported yet
11 months ago
Oleksandr.Karpovich
5d4b44eea9
Make CI run on push to the master branch
...
Motivation: sometimes we push minor commits without a PR, but anyway sometimes they break the tests (or make something incompatible. e.g. versions update)
11 months ago
AmirHossein Abdolmotallebi
1c7154b975
Update README.md ( #4061 )
...
there is no `version` in `nativeDistributions` block which is causes to
change version of project itself
11 months ago
Konstantin Tskhovrebov
35e7268d06
Update compose version to "1.6.0-dev1340"
11 months ago