Commit Graph

1798 Commits

Author SHA1 Message Date
dima.avdeev
b1c449e1f3 README 2023-02-21 23:55:38 +04:00
dima.avdeev
9e8a138a2f fix typo ChatViewController (#2768) 2023-02-20 18:54:52 +03:00
Sebastian Aigner
e34f9c93da Move examples to V2 Source Set Layout (#2765) 2023-02-20 11:00:19 +03:00
dima.avdeev
a1cb760b7c Compose inside SwiftUI example (#2755) 2023-02-19 20:03:59 +03:00
Nikita Lipsky
0d0c9f64d3 ImageViewer: use painterResource from resource library. (#2761) 2023-02-17 16:04:07 +02:00
Sebastian Aigner
0dfba6086b Visual refresh for experimental Image Viewer (#2748)
* Design changes; move to material3

* Use animations to move between different images

* More design changes, rounded corners and animations

* Introduce square gallery view, start with granularizing state management

* Introduce square gallery view, start with granularizing state management

* Make PreviewImage not depend on the whole gallery state

* Move in initialization logic from composition into launched effect

* Highlight currently selected image

* Hoist state for FullscreenImage TopAppBar
Move from Custom Implementation to Material App Bar, use color scheme from main page
Extract hardcoded colors to ImageViewerColors

* Provide floating action buttons with nicer colors

* Provide keyboard events via SharedFlow (remove passing around MutableState in the composable hierarchy as it may potentially violate UDF)
Commonize IOScope initialization

* Provide German translation in shared R-strings

* Move from immutable data classes to Compose-aware State Holders.

* Fix gradlew formatting issue?

* Regenerate gradle wrapper after Android Studio autoformatting debacle

* Resolve rememberCoroutineScope issue

* Provide mock name for remaining picture in repo

* Restore TEAM_ID in project.pbxproj

* Use emptyFlow as default to simplify nullability handling for external events

* Remove extraneous newline and unnecessary print statement

* Provide German translation in XML format
Consistently rename title to "My Memories"

* Remove commented-out code, cleanup rendundant modifiers
Make Title Bar use callbacks instead of accessing ViewModel directly
Add toggle & icon for list and grid view
2023-02-17 15:38:50 +02:00
Nikita Lipsky
de0a081c12 minesweeper: use painterResource from resource library. (#2760) 2023-02-17 15:27:37 +02:00
Nikita Lipsky
266253564a visual-effects experimental sample: use XML Vector Drawable for Compose logo and painterResource from resources library. (#2759) 2023-02-17 15:27:15 +02:00
Nikita Lipsky
50def5feb8 Use painterResource from resource library for widgets-galley. (#2757) 2023-02-17 14:50:28 +02:00
Nikita Lipsky
05ee5aef35 Add XML Vector Drawables to MacOS native target. (#2756) 2023-02-16 20:28:21 +02:00
Nikita Lipsky
614fe78d71 Add painterResource utility method to resource library. (#2753)
+ respect density in remembering state for ImageVector
2023-02-16 19:38:19 +02:00
dima.avdeev
9274097dfc Update submodule compose/feameworks/support to latest jb-main 2023-02-15 20:35:36 +04:00
Igor Demin
3b81485bcc Remove experimental status of Material 3 (#2740)
It is already stable and reached 1.0.0 in Compose Multiplatform 1.3
2023-02-15 16:12:17 +01:00
Nikita Lipsky
2dd8d3223f Support for XML Vector Drawables in resources library. (#2749)
Support for XML Vector Drawables.
2023-02-15 16:32:54 +02:00
Nikita Lipsky
cc27bb68a6 Revert "Support for XML Vector Drawables."
This reverts commit 6060e86cbd.
2023-02-14 21:32:56 +02:00
Nikita Lipsky
6060e86cbd Support for XML Vector Drawables. 2023-02-14 21:22:03 +02:00
dima.avdeev
bd3891561c update submodule compose/frameworks/support to latest jb-main 2023-02-14 14:56:16 +04:00
Alexey Tsvetkov
fb441e505d Intellij compatibility fixes (#2733)
* Set 2022.1.1 as base IJ version

Stable AS is based on 2022.1.1 now,
so we can drop supporting 2021.3

* Update IDE plugin target bytecode version to 11

When 2022.1 is used as a base for IDE plugin,
inline functions from the platform
& the bundled Kotlin plugin cannot be used
unless target bytecode version is set to 11.

* Update Intellij SDK Gradle plugin

* Check editor is not disposed before showing preview toolbar

#2663

* Add preview caret listener only to main editor
2023-02-13 18:47:13 +01:00
Igor Demin
9fb0ed9487 Update bug_report.md 2023-02-13 14:44:36 +01:00
Igor Demin
f546ff4af4 Update feature_request.md (#2738)
* Update feature_request.md

About can't be blank

* Update feature_request.md

* Rename feature_request.md to enhancement.md
2023-02-13 14:41:44 +01:00
Igor Demin
98a47640d6 Update bug_report.md (#2736)
* Update bug_report.md

* Update bug_report.md

* Update bug_report.md
2023-02-13 14:28:30 +01:00
Igor Demin
316075e29e Rename feature_request to feature_request.md 2023-02-13 14:27:17 +01:00
Igor Demin
4dd8ed495f Feature request template (#2737)
We have bug report template, but don't have feature request template. Empty, for now.
2023-02-13 14:26:41 +01:00
Igor Demin
782377a770 Update bug_report.md 2023-02-10 09:55:56 +03:00
Igor Demin
861778f4d3 Change the platform section in the bug report template (#2723)
Checkboxes are treated as tasks: https://github.com/JetBrains/compose-jb/issues/2722
2023-02-10 09:55:12 +03:00
Oleksandr Karpovich
e9789ba364 Fix ComposeExtension.kotlinCompilerPluginArgs for non-jvm compilations (#2716) 2023-02-08 10:20:10 +01:00
Igor Demin
16bcc34b68 A note about experimental targets (#2717) 2023-02-08 09:45:56 +01:00
Igor Demin
4b449e914a Update bug_report.md (#2710)
* Update bug_report.md

* Update bug_report.md
2023-02-06 21:59:55 +01:00
Alexey Tsvetkov
8f3578bdca Fix gradle tests (#2708)
* Add docker file for Gradle tests on TeamCity

* Remove configuring JDK for tests

* Update compose & kotlin compiler in testAndroidxCompiler
2023-02-06 20:25:24 +01:00
Oleksandr Karpovich
c2865e05cc Update issue templates (#2707)
* Update issue templates

* Update .github/ISSUE_TEMPLATE/bug_report.md
2023-02-06 18:08:43 +01:00
Alexey Tsvetkov
75addb9224 Add proguard rules for issues example (#2703) 2023-02-06 16:26:10 +01:00
dima.avdeev
ab02a7125c testUIKit, add ui-text module (#2693) 2023-02-03 12:51:01 +03:00
Oleksandr Karpovich
aa64d2d232 Update VERSIONING.md (#2681) 2023-01-31 10:46:56 +01:00
Oleksandr Karpovich
d3c3d7a0ac Move compose submodule 2023-01-31 10:35:50 +01:00
Oleksandr Karpovich
bc6d42ef44 Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651)
* Update versions in examples

* Add more scripts to validate example on android and k/js

* Add validateExamplesIos.sh

* Update CHANGELOG.md for 1.3.0

* check examples with 1.3.0-rc06

* Update the versions: compose-multiplatform - 1.3.0, kotlin - 1.8.0

* Update ComposeCompilerCompatibility (1.4.0)

* Update web/yarn.lock
2023-01-30 21:02:23 +01:00
aSemy
8f3beed1fa #2597 use textContent instead of innerText for code snippet content (#2598) 2023-01-30 20:05:56 +01:00
Oleksandr Karpovich
c3af339156 Add a test for k/js compose compilation of an anonymous object with Composable (#2559)
* Add a test for k/js compose compilation of an anonymous object with @Composable functions

* add 1 more test

* add 1 more test
2023-01-30 20:05:15 +01:00
Oleksandr Karpovich
5d18d0a79d Add InheritanceTests with Composables for k/js (#2666) 2023-01-26 14:45:34 +01:00
Alexey Tsvetkov
b055763d1f Provide test jdk via toolchain api (#2664) 2023-01-26 09:44:27 +01:00
Oleksandr Karpovich
d8af3d6a66 Move compose submodule 2023-01-25 14:51:52 +01:00
Oleksandr Karpovich
f7159090ff Revert #2662
There is no coroutines for linuxArm64 yet
2023-01-25 14:07:27 +01:00
Nikita Lipsky
1763eb7cf1 update submodule compose/frameworks/support to latest jb-main 2023-01-24 16:41:43 +02:00
Oleksandr Karpovich
1384efe556 add LinuxArm64 to ComposePlatforms + move compose submodule (#2662)
This will enable compose:runtime publication for linuxArm64
2023-01-24 15:17:37 +01:00
Nikita Lipsky
81eb0fc580 update submodule compose/frameworks/support to latest jb-main 2023-01-23 22:54:14 +02:00
Alexey Tsvetkov
08c93ce740 Redo: set until-build to undefined value (#2658)
Previously we unset until-build in DSL.
However, Intellij SDK Gradle plugin DSL
does not support setting only since-build,
while omitting until-build.

So we effectively made the plugin
compatible with a single version of Intellij.

This change fixes that by disabling patching
since-build/until-build from DSL and setting
since-build version directly in plugin.xml
2023-01-23 16:14:24 +01:00
Oleksandr Karpovich
7b9642ad05 Add ktx serialization integration test (#2642)
* Add compose with kotlinx.serialization integration test

* Add versions configuration

* add linuxX64 target

* remove a default value for `compose.kotlinCompilerPluginVersion`

* add README.MD

* update README.MD
2023-01-19 10:17:31 +01:00
Alexey Tsvetkov
e2aba37e62 Use global directory to download wix toolset (#2639)
* Use global directory to download wix toolset

Resolves #2592
2023-01-16 18:50:10 +01:00
Alexey Tsvetkov
c3726347ef Test with Gradle 8-RC-1 (#2621)
* Test with Gradle 8-RC-1

* Fix Gradle tests for 8.0-rc-1
2023-01-16 14:41:44 +01:00
Nikita Lipsky
fe3284aeb5 expemintal samples: add forgotten isStatic=true to cocoapods.framework configuration (#2634) 2023-01-13 22:05:29 +02:00
Emre Şafak
eba6b45df7 Correct all occurrences of "compatability" (#2623) 2023-01-13 10:05:31 +01:00