Commit Graph

691 Commits

Author SHA1 Message Date
Igor Demin
fa2126872b Add linux-arm64 to the build script, add forgoten tools.jar 2021-07-01 12:27:34 +03:00
Igor Demin
956634da66 Update Compose 2021-07-01 09:17:12 +03:00
Igor Demin
e385c84231 Update Compose 2021-07-01 09:01:27 +03:00
Shagen Ogandzhanian
c0bba88f02 Simplify text selection in "select event update the txt"
This approach also make it more cross-platform resistant
2021-06-30 23:35:04 +02:00
Igor Demin
b1d8682cbe Automatically add `-Dcompose.application.configure.swing.globals=true to run/package tasks (#820)
When users run/package application we will configure Compose to work as standalone application.

It means we will override some global Swing properties in Compose initialization function:
- sets system property `apple.laf.useScreenMenuBar` to true
- sets system property `sun.java2d.uiScale`/`sun.java2d.uiScale.enabled` automatically on Linux
- sets UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName())

When users don't use those tasks (when they use Compose in an existing Swing application, or in an IDEA plugin),
this property will not be set, and so we will not override Swing globals.
2021-06-30 19:20:48 +03:00
Shagen Ogandzhanian
8131b6665d Remove accidentaly wrongly merge code from a debug branch 2021-06-30 17:12:44 +02:00
Alexey Tsvetkov
e96826c47c Use Gradle 7.1 for building Gradle and Intellij plugin (#836)
* Replace usage of 'de.fuerstenau.buildconfig'
with a custom replacement, because the plugin
does not support Gradle 7.0+ and
there has not been any commit activity in 5 years
(https://github.com/mfuerstenau/gradle-buildconfig-plugin);
* Update 'com.github.johnrengelman.shadow' to 7.0.0
2021-06-30 17:52:45 +03:00
Shagen Ogandzhanian
1a7a1fbbd3 Update web examples after releasing 0.5.0-build228 2021-06-30 15:57:29 +02:00
theapache64
bca5d28976 update README - fix broken path (#835) 2021-06-30 08:19:14 +02:00
Nikolay Igotti
2e82f1cc98 Add linux_arm64 target 2021-06-29 20:38:55 +03:00
Oleksandr Karpovich
e40f7a0d9a Update web tutorials for 0.5.0-build228 (#833)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2021-06-29 16:49:17 +02:00
Oleksandr Karpovich
599ffdce58 Update tutorials check task to support individual targets checks (#831)
`./gradlew check -PCHECK_TARGET=all` - `all` is the default, so can be omitted
`./gradlew check -PCHECK_TARGET=desktop`
`./gradlew check -PCHECK_TARGET=web`

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2021-06-29 16:46:41 +02:00
Igor Demin
2117b74bd2 Move Compose 2021-06-29 17:32:29 +03:00
Igor Demin
33a059ddd3 Compose as submodule, scripts for build/test Compose (#830)
- add run configurations for IDEA / Android Studio
- configure CI to use those scripts to build everything: 0.0.0-newci-316 (with desktop/web components)
2021-06-29 16:58:10 +03:00
Igor Demin
854de3681c Publish components (#829) 2021-06-29 16:55:08 +03:00
Shagen Ogandzhanian
defae6241c Install web drivers to the gradle root 2021-06-29 14:40:12 +02:00
Shagen Ogandzhanian
c5b1e29f15 Add posibility to install missing chrome drivers for local development 2021-06-29 13:37:21 +02:00
Alexey Tsvetkov
2be46f961e Implement first version of non-interactive preview for desktop (#803)
Implement first version of non-interactive preview for desktop
2021-06-29 10:23:35 +03:00
Shagen Ogandzhanian
1b42dbec3e Dispose web drivers after selenium tests 2021-06-26 00:13:53 +02:00
Shagen Ogandzhanian
05dc8d1c05 Run selenium tests in Firefox is specific System property (synced with project property) is present 2021-06-25 16:11:39 +02:00
Oleksandr Karpovich
29a5297907 Web: Input element and onInput event refactoring (#799)
* web: Add more tests for the event handlers

* web: Inputs refactoring (wip)

* web: Add `Options` for `addEventListener`

* web: Add basic methods and properties to the SyntheticInputEvent to align it with `org.w3c.dom.events.Event`

* web: Add a test for `capture = true` Event Listener Option

* web: Update PR to make contain only relevant changes + add specific functions for Inputs

* web: Update PR to align with master after rebase

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2021-06-25 16:04:49 +02:00
Shagen Ogandzhanian
2de373c7db Prepare integration tests for possibility to run against Firefox 2021-06-25 14:41:55 +02:00
Oleksandr Karpovich
d87783f319 Fix web/Building_UI tutorial snippet 2021-06-25 11:37:52 +02:00
Shagen Ogandzhanian
06b79febfb Update CHANGELOG.md after releasing 0.5.0-build226 2021-06-24 16:28:50 +02:00
Shagen Ogandzhanian
9b1526e11b Install gecko driver to the compose-web light Docker image 2021-06-24 01:11:21 +02:00
Shagen Ogandzhanian
4937918a28 Update examples after publishing 0.5.0-build226 2021-06-23 23:18:59 +02:00
Shagen Ogandzhanian
5d7c874136 Updae deafult web-core dependency to 0.5.0-build226 2021-06-23 19:47:06 +02:00
Shagen Ogandzhanian
df05778843 AttrBuilder is nullable by default 2021-06-23 18:44:22 +02:00
Alexey Tsvetkov
047440e12a Allow using Intellij plugin with 2021.2 (#807) 2021-06-23 19:34:47 +03:00
Shagen Ogandzhanian
5b22169e72 Remove license for cssom since we are not using it anymore 2021-06-22 23:12:56 +02:00
Shagen Ogandzhanian
019cbd2940 Use CSSStyleSheet so that there's no need to define additional functionality on Stylesheet 2021-06-22 19:17:31 +02:00
Igor Demin
ef697af7ed Update tutorials 2021-06-22 12:17:03 +03:00
Igor Demin
cd7f4f4587 Migrate desktop templates/tutorials to 0.5.0-build226 2021-06-22 12:03:03 +03:00
theapache64
7f90700f8d Compose Web Example - Compose Bird (#797)
* add new compose web example - compose bird

* bump compose web version and fix breaking changes

* refresh .gitignore with new rules

* update README
2021-06-22 10:23:40 +02:00
Igor Demin
e68baff90d Migrate desktop templates/tutorials to 0.5.0-build226 2021-06-22 10:49:19 +03:00
Shagen Ogandzhanian
453cc89bca Add minimal test for testing media query in stylesheet 2021-06-22 00:37:19 +02:00
Philip Wedemann
766e5950de web: Remove the boolean parameter from hidden() to align with #780 (#783)
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden
2021-06-21 18:05:21 +02:00
Abasov Akif
a167abe04c Add more calc shortcuts (#798) 2021-06-18 16:30:57 +03:00
Abasov Akif
925f697a6f Feature/calc (#790)
* CSS operations

* CSS operations with variables

* Fix api to use CSSColorValue instead of Color to use CSSVariables too

* Fix api to use CSSNumericValue instead of CSSSizeValue to use CSSVariables too

* Fix CSSBorder types
2021-06-18 16:14:36 +03:00
Abasov Akif
0a90ae2194 Remove CSS Typed OM API (#786) 2021-06-18 14:11:01 +03:00
Arkadii Ivanov
ba7c4293aa Update TodoApp example readme with Web app (#796) 2021-06-18 14:09:44 +03:00
Oleksandr Karpovich
fac8a856b3 Update version of compose core for web components - 0.5.0-build225
It means that when we build the components locally, the new version will be used (same as for recently published artefacts).
2021-06-18 09:35:19 +02:00
Louis CAD
bfe4bf4a3a Remove extra erroneous characters from comment (#787) 2021-06-17 10:55:56 +03:00
Louis CAD
a57f037c12 Reformat Kotlin snippet in README (#781)
It now conforms to the official Kotlin style guide.
2021-06-17 10:55:09 +03:00
Arkadii Ivanov
8f87cda24d Add web app for the TodoApp example (#778)
* Prepare the TodoApp example for adding the JavaScript app

* Add the JavaScript app for the TodoApp example

* TodoApp. Update Compose to 0.5.0-build225.
2021-06-17 08:57:06 +02:00
Oleksandr Karpovich
971a2a45dd Update snippets in web tutorials (fix file name) 2021-06-16 16:00:16 +02:00
Oleksandr Karpovich
679ed1dda9 Update snippets in web tutorials 2021-06-16 15:21:04 +02:00
Shagen Ogandzhanian
c8794cbad6 Update web examples after the 0.5.0-build225 release 2021-06-15 20:26:01 +02:00
Igor Demin
80bb819997 Update templates 2021-06-15 20:00:39 +03:00
Igor Demin
49495a9bf8 Fix tutorials 2021-06-15 17:59:53 +03:00