Commit Graph

247 Commits

Author SHA1 Message Date
Jake Wharton
0902d552d2 Prepare next development version 2023-06-26 23:44:01 -04:00
Jake Wharton
edd6fa0137 Prepare version 0.7.0 2023-06-26 23:43:24 -04:00
renovate[bot]
b60aab6c13
Update Kotlin and Compose (#177)
* Update Kotlin and Compose

* Update libs.versions.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2023-06-26 17:29:22 -04:00
renovate[bot]
9914ced9d9
Update dependency org.jetbrains.compose.runtime:runtime to v1.4.1 (#192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 15:49:48 -04:00
renovate[bot]
10e91501df
Update dependency com.google.truth:truth to v1.1.5 (#191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-18 12:44:01 -04:00
Jake Wharton
469f87b75a
Ensure node top layer can only be set internally to the type (#189) 2023-06-11 04:27:43 +00:00
renovate[bot]
e162e5fa4c
Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.8.20 (#188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 14:52:46 -04:00
renovate[bot]
06753906ff
Update dependency com.google.truth:truth to v1.1.4 (#186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 17:15:08 +00:00
Jake Wharton
1b48b1412a
Add Box layout (#183) 2023-05-17 04:36:10 +00:00
Jake Wharton
26d6f5c54b
Add modifiers to row/column (#182) 2023-05-17 04:18:14 +00:00
Jake Wharton
bdc5e277b2
Use Applier.onEndChanges for emitting frames (#181) 2023-05-17 03:51:59 +00:00
Jake Wharton
f18e140e7e
Add background modifier, fix multimodifier positioning (#180) 2023-05-17 03:38:59 +00:00
Jake Wharton
92783cf020
Eliminate the static policy (#178)
The node knows whether it's static or not now, just do the logic there.
2023-05-16 03:24:16 +00:00
Jake Wharton
caeacc14a0
Rewrite node to use modifiers (#172) 2023-05-15 22:49:51 -04:00
Jake Wharton
454e171060
Group Compose compiler into Kotlin update PRs (#176) 2023-05-16 02:32:44 +00:00
renovate[bot]
308f2d82c4
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.7.1 (#175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 18:19:35 -04:00
renovate[bot]
61207bfce5
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.7.0 (#174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 19:05:16 +00:00
renovate[bot]
cc216976f4
Update dependency gradle to v8.1.1 (#171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 13:34:23 +00:00
Jake Wharton
8cf284f8af
Update RELEASING.md 2023-04-17 00:00:05 -04:00
Jake Wharton
be8c09546b Prepare next development version 2023-04-16 23:58:25 -04:00
Jake Wharton
fd9ec16826 Prepare version 0.6.0 2023-04-16 23:58:00 -04:00
renovate[bot]
39ea3ea4f9
Update dependency org.jetbrains.compose.compiler:compiler to v1.4.5 (#166)
* Update dependency org.jetbrains.compose.compiler:compiler to v1.4.5

* Kotlin 1.8.20

* yarn.lock

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2023-04-16 23:45:26 -04:00
renovate[bot]
a6398c98fe
Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.2 (#169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-16 20:42:13 +02:00
renovate[bot]
fab320a2bb
Update dependency org.jetbrains.compose.runtime:runtime to v1.4.0 (#168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 10:46:27 -04:00
renovate[bot]
0d3930d8db
Update dependency gradle to v8.1 (#167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 16:07:06 +02:00
Jake Wharton
ae51963ceb
Shuffle things around for cleaner layering (#164)
The 'layout' package is now a standalone widget tree. The 'ui' package is now only composables. The root package contains all the code for integration and Compose.
2023-03-28 03:14:28 +00:00
Jake Wharton
40be11f82c
Create text layout abstraction (#163)
Caches operations like string splitting and measuring.
2023-03-28 02:00:17 +00:00
Jake Wharton
0503166d05
Do not clip the canvas for each child (#162)
Compose UI does not clip. It's easier to make clip opt-in than to make it opt-out.
2023-03-27 01:21:19 +00:00
Jake Wharton
abecd06b26
Add tests for Static behavior (#161) 2023-03-27 00:51:37 +00:00
Jake Wharton
c432f21197
Simplify static paint (#160)
Extract the mutable list to the caller.
2023-03-25 02:17:59 +00:00
renovate[bot]
ed147a190f
Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.1 (#159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 16:44:23 -04:00
renovate[bot]
057761b321
Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.0 (#158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 21:40:05 +00:00
Jake Wharton
6708134b54
Render nodes in debug output even if drawing fails (#156) 2023-03-16 04:12:28 +00:00
Jake Wharton
a82597b931
Avoid initial empty rendering of Jest sample (#155)
Ensure our worker coroutines are started eagerly and move the initial rendering to occur after their tests have been put into the working set.
2023-03-14 03:36:25 +00:00
Jake Wharton
dc0759d558
Optimize TextSurface rendering (#154)
Do not assemble each surface into a string only to again split it into lines. Instead, inject the appendable and render one row at a time.
2023-03-14 01:06:36 +00:00
Jake Wharton
9a2e7ba967 Add a second layer if draw policy is non-null 2023-03-12 00:10:22 -05:00
Jake Wharton
080877df99 Prepare for multiple layers with base type 2023-03-12 00:10:22 -05:00
Jake Wharton
e40752e991 Break layout and components into packages, individual files 2023-03-12 00:10:22 -05:00
Jake Wharton
af0139a679
Switch Static to render using a list (#150) 2023-03-12 04:19:02 +00:00
Jake Wharton
099a482196
Run Jest sample on CI (#149)
The output is trash, but we aren't interested in the ANSI correctness so much as that its logic runs correctly.
2023-03-12 03:42:30 +00:00
Jake Wharton
b074e470da
Gradle things mostly for CI (#148) 2023-03-12 03:24:39 +00:00
Jake Wharton
3a0e3cccb3
Revert "Update dependency org.jetbrains.compose.compiler:compiler to v1.4.2 (#142)" (#147)
This reverts commit cf61f9be3c.
2023-03-12 03:20:09 +00:00
renovate[bot]
058b7ede76
Update dependency de.cketti.unicode:kotlin-codepoints to v0.6.1 (#146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-11 15:37:58 -05:00
Jake Wharton
7dd9060025 Prepare next development version 2023-03-09 21:27:13 -05:00
Jake Wharton
a6942102aa Prepare version 0.5.0 2023-03-09 21:17:58 -05:00
renovate[bot]
8cc4bf38c0
Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.8.10 (#136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 21:05:41 -05:00
renovate[bot]
cf61f9be3c
Update dependency org.jetbrains.compose.compiler:compiler to v1.4.2 (#142)
* Update dependency org.jetbrains.compose.compiler:compiler to v1.4.2

* Kotlin 1.8.10

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2023-03-09 19:27:48 +00:00
renovate[bot]
fa0451f2ac
Update dependency org.jetbrains.compose.runtime:runtime to v1.3.1 (#143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 14:10:43 -05:00
renovate[bot]
2bb7ef0f1c
Update dependency org.jline:jline to v3.23.0 (#141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 18:11:07 -05:00
Jake Wharton
94acb0e12b
Introduce a node layer type (#140)
This owns measurement, placement, and drawing, and will be stackable in the future.
2023-03-07 23:34:05 -05:00