Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
adf50e7
Remove layout and add scale factor setter.
AustinMReppert Dec 21, 2025
41de7b0
Merge pull request #14 from craft-gui/feature/remove-layout-pass
AustinMReppert Dec 21, 2025
2fd917c
Cull when adding.
AustinMReppert Dec 21, 2025
b20e529
Inlines
AustinMReppert Dec 21, 2025
f3c7409
poc
AustinMReppert Dec 22, 2025
4e465e3
poc
AustinMReppert Dec 24, 2025
d0c3c96
Merge pull request #15 from craft-gui/feature/taffy-incremental
AustinMReppert Dec 24, 2025
85cbbfc
Allow elements and users to queue an event
NoahR02 Dec 24, 2025
337f22a
Remove unused layout_item funcs
AustinMReppert Dec 27, 2025
0ab748f
Remove unused layout_item funcs
AustinMReppert Dec 27, 2025
b899e06
cleanup on remove
AustinMReppert Dec 27, 2025
ac8fcff
Request re-layout on swap
AustinMReppert Dec 27, 2025
b8c5d12
sets
AustinMReppert Dec 29, 2025
3b0d0f0
Add position setter
AustinMReppert Dec 29, 2025
905db0a
more setters
AustinMReppert Dec 29, 2025
65e4bee
more setters
AustinMReppert Dec 29, 2025
2875188
more setters
AustinMReppert Dec 29, 2025
0a52d1e
more setters
AustinMReppert Dec 29, 2025
545b342
more setters
AustinMReppert Dec 29, 2025
cce291e
Taffy Tree wrapper
AustinMReppert Dec 30, 2025
9331089
Reduce tolerance
AustinMReppert Dec 30, 2025
5779880
Add dirty flag for apply layout.
AustinMReppert Dec 30, 2025
cf16ce3
create element setup helpers
AustinMReppert Dec 31, 2025
9dfea4a
Fix swap
AustinMReppert Dec 31, 2025
8431c52
Fix Image
NoahR02 Dec 31, 2025
2840277
Remove unused import
AustinMReppert Dec 31, 2025
999e909
Make me mandatory in element data.
AustinMReppert Dec 31, 2025
c3ae0a9
start multi-window
AustinMReppert Dec 31, 2025
396fa18
start multi-window
AustinMReppert Jan 1, 2026
82c3e85
start multi-window
AustinMReppert Jan 2, 2026
94813a5
start multi-window
AustinMReppert Jan 2, 2026
9630f9e
fmt
AustinMReppert Jan 3, 2026
6b51234
accessibility
AustinMReppert Jan 3, 2026
7c15789
Fix unused import
AustinMReppert Jan 4, 2026
11a7d5e
Add readme
AustinMReppert Jan 4, 2026
c277316
Remove window_context.rs
AustinMReppert Jan 4, 2026
de8bcec
Require node id in request layout funcs
AustinMReppert Jan 4, 2026
a6fa2b3
Fix text editor cache bug
AustinMReppert Jan 4, 2026
86396f7
Add px, pct, auto
AustinMReppert Jan 4, 2026
c27cb76
fix readme
AustinMReppert Jan 4, 2026
f661e9c
Add wrapper types for elements.
AustinMReppert Jan 4, 2026
776b0d1
format
AustinMReppert Jan 4, 2026
8f27b27
update readme
AustinMReppert Jan 4, 2026
f76cb78
remove unnecessary braces
AustinMReppert Jan 5, 2026
5602a4d
scale factor fixes
AustinMReppert Jan 5, 2026
668c653
Do not scale clip
AustinMReppert Jan 5, 2026
1b54420
set scale factor on window creation
AustinMReppert Jan 5, 2026
528aa01
Add new_advanced for window.
AustinMReppert Jan 6, 2026
3f8ec06
Add new_advanced for window.
AustinMReppert Jan 6, 2026
c5b7a72
Make Style a simple old Box<Style>
NoahR02 Jan 7, 2026
e01d1b3
Fix wrong variable being returned in style getter
NoahR02 Jan 7, 2026
bb6a420
Don't alias JustifyContent to AlignContent
NoahR02 Jan 7, 2026
947091f
Update deps
AustinMReppert Jan 11, 2026
9404898
Feature/testing (#16)
AustinMReppert Jan 12, 2026
1ce7f01
Export Inners for Elements for bindings
NoahR02 Jan 12, 2026
a25e044
Add helper functions to find elements in the tree
NoahR02 Jan 13, 2026
61fcbdb
Remove accidental import
NoahR02 Jan 13, 2026
d5fb1bb
Allow jobs to be scheduled from other threads and run on the gui thread
NoahR02 Feb 14, 2026
811daa7
Feature/box shadow (#17)
AustinMReppert Feb 26, 2026
add99d1
Use border inner for inset and border outer for outset.
AustinMReppert Feb 26, 2026
d71e085
Add a few functions to programmatically scroll a scrollable
NoahR02 Feb 27, 2026
6158460
Merge branch 'main' of github.com:craft-gui/craft
NoahR02 Feb 27, 2026
a1b1a1b
Fix vello hybrid (make sure it compiles)
NoahR02 Feb 27, 2026
96955f1
Simplify element traits (#18)
NoahR02 Mar 2, 2026
d9d68e8
Update vello/wgpu
AustinMReppert Mar 7, 2026
4a3009b
Update deps.
AustinMReppert Mar 7, 2026
9c96cfe
Add vello hybrid and classic features to craft retained.
AustinMReppert Mar 7, 2026
4c77ea7
Use request_apply_layout for text selection.
AustinMReppert Mar 7, 2026
b601f4c
Add window title.
AustinMReppert Mar 7, 2026
0ae7029
Move scroll state -> layout
NoahR02 Mar 14, 2026
af4f1be
Rename LayoutItem -> Layout
NoahR02 Mar 14, 2026
6cfc128
Add resolved thumb_margin and thumb_radius (scrollbar) to Layout
NoahR02 Mar 14, 2026
7d27baa
polonius?
NoahR02 Mar 15, 2026
2f4798c
use nightly
Mar 15, 2026
8f84432
Update rust-toolchain.toml
AustinMReppert Mar 15, 2026
3e9f446
A very basic drop down
NoahR02 Mar 15, 2026
750083a
Start undo/redo. (#19)
AustinMReppert Mar 16, 2026
da9b8ae
Add basic scroll with focus and fix text input bug.
AustinMReppert Mar 17, 2026
dbdf81e
Add clone_node for taffy, and add_child_at_index
NoahR02 Mar 18, 2026
0eaf79e
Update vello and use hybrid for counter.
AustinMReppert Mar 18, 2026
111337c
Fix zoom bug with +/=.
AustinMReppert Mar 19, 2026
30e14f8
Begin fixing wasm.
AustinMReppert Mar 19, 2026
8bd4eaa
Fix lints and format.
AustinMReppert Mar 19, 2026
5a25e32
Fix lints and format.
AustinMReppert Mar 19, 2026
3755bd7
Add missing targets
AustinMReppert Mar 19, 2026
e2a7f86
Simplify android and move style helpers to utils.
AustinMReppert Mar 19, 2026
f3eee46
Move window level settings to window.
AustinMReppert Mar 19, 2026
23dc711
Fix docs
AustinMReppert Mar 19, 2026
fe68f77
Add hovered and selected styles
NoahR02 Mar 20, 2026
a2c4b72
Merge branch 'main' of github.com:craft-gui/craft into dropdown
NoahR02 Mar 20, 2026
508e86e
New style.
AustinMReppert Mar 19, 2026
743a855
Move pointer capture into window. (#20)
AustinMReppert Mar 21, 2026
e087124
Split about_to_wait into functions.
AustinMReppert Mar 21, 2026
142051b
Add back basic focus + handle overlay ordering
NoahR02 Mar 21, 2026
2c51f5f
Fix focus for the slider
NoahR02 Mar 21, 2026
ce998bf
Make hit_testable after start_overlay, so sorting is correct
NoahR02 Mar 21, 2026
18c527c
Improve box shadow colors
NoahR02 Mar 21, 2026
c32d007
Improve the styling some more
NoahR02 Mar 22, 2026
c8eec2e
Finish initial dropdown impl
NoahR02 Mar 22, 2026
a417789
Merge branch 'main' of github.com:craft-gui/craft into dropdown
NoahR02 Mar 22, 2026
e3e78e6
Fix window merge conflict bugs
NoahR02 Mar 22, 2026
bc25054
Rearrange imports
NoahR02 Mar 22, 2026
ae08bf5
Fix linting warnings
NoahR02 Mar 22, 2026
8c471c7
Fix linting warnings
NoahR02 Mar 22, 2026
9cc1631
Merge pull request #21 from craft-gui/dropdown
NoahR02 Mar 22, 2026
7b067a5
Add example and organize file.
AustinMReppert Mar 22, 2026
adcaa75
organize imports
AustinMReppert Mar 22, 2026
1db20d0
fmt
AustinMReppert Mar 22, 2026
0e760fa
Move modifiers to window.
AustinMReppert Mar 22, 2026
ccc4e4f
Fix lint
AustinMReppert Mar 22, 2026
033cc6a
Rename CraftMessage to EventKind.
AustinMReppert Mar 22, 2026
6e7ef1f
Remove unused pointer param from draw.
AustinMReppert Mar 22, 2026
18cc3c9
Remove _ from used params.
AustinMReppert Mar 22, 2026
906b2c2
Remove dead code.
AustinMReppert Mar 22, 2026
1d8b70d
Add missing linebreak
AustinMReppert Mar 22, 2026
0e94b30
Add push_child helper and set window on dropdown children.
AustinMReppert Mar 22, 2026
9ae387e
Remove unused param.
AustinMReppert Mar 22, 2026
e1c0e54
Remove unused enum.
AustinMReppert Mar 22, 2026
1786433
Move duplicated code to helper function.
AustinMReppert Mar 22, 2026
4161998
Ensure craft_retained does not depend directly on kurbo types.
AustinMReppert Mar 22, 2026
bccdd74
Fix images.
AustinMReppert Mar 23, 2026
ef5e037
Abstract the dropdown code a little bit (just put things into methods)
NoahR02 Mar 23, 2026
64eb5ec
Merge branch 'main' of github.com:craft-gui/craft
NoahR02 Mar 23, 2026
449e70d
Put rendercmd enum members in a struct
NoahR02 Mar 28, 2026
865ec5f
Split renderer structs into indiv. files
NoahR02 Mar 28, 2026
4af00fb
feature gate vello common import
NoahR02 Mar 28, 2026
9830b08
Add support for pushing layers with bez path
NoahR02 Mar 28, 2026
585b454
Feature/website (#22)
AustinMReppert Mar 28, 2026
1d6b827
Maybe fix hit test with scrollable
AustinMReppert Mar 29, 2026
cb5e608
Maybe fix hit test with scrollable
AustinMReppert Mar 29, 2026
cfd0bdf
Re-add tinyvg element.
AustinMReppert Mar 29, 2026
ea796f0
Update deps
AustinMReppert Mar 29, 2026
c75bc54
Begin adding examples to website.
AustinMReppert Mar 29, 2026
bb373f7
Start adding transform support
NoahR02 Mar 30, 2026
3fe6a70
Merge branch 'main' of github.com:craft-gui/craft into render-transforms
NoahR02 Mar 30, 2026
f50ef4d
Switch to local_runtime
AustinMReppert Apr 3, 2026
dc0294c
Update taffy
AustinMReppert Apr 4, 2026
135b182
Preserve route on refresh.
AustinMReppert Apr 4, 2026
adacb5a
Fix tinyvg override color
NoahR02 Apr 4, 2026
e75f429
Add transforms at the renderer api level
NoahR02 Apr 4, 2026
052fd1d
Merge branch 'main' of github.com:craft-gui/craft into render-transforms
NoahR02 Apr 4, 2026
e4c32a1
Merge pull request #23 from craft-gui/render-transforms
NoahR02 Apr 4, 2026
4f23ffb
Fix command
AustinMReppert Apr 5, 2026
f5ba419
Rename ResourceIdentifier to ResourceId
AustinMReppert Apr 5, 2026
dddd6bd
Fix warnings.
AustinMReppert Apr 5, 2026
2b952d7
Try to fix ios ci
AustinMReppert Apr 5, 2026
fdbda55
Update counter test.
AustinMReppert Apr 5, 2026
2939f53
Add DynElement
AustinMReppert Apr 6, 2026
d10314e
Make rgb helpers const functions
NoahR02 Apr 18, 2026
93d8c3e
Use margin left auto for the dropdown arrow instead of
NoahR02 Apr 19, 2026
6eb660a
Add a gallery example
NoahR02 Apr 19, 2026
bc5d832
Make the dropdown when vertical start from the bottom of the rect
NoahR02 Apr 19, 2026
349c713
Fix clippy warnings
NoahR02 Apr 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[alias]
xtask = "run --release --package xtask --"

[build]
rustflags = ["-Zpolonius=next"]
44 changes: 42 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install native dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libfontconfig1-dev
- name: Install Stable Toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -35,6 +36,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install native dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libfontconfig1-dev
- name: Install Stable Toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand Down Expand Up @@ -75,7 +78,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install native dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libfontconfig1-dev
- name: Install Stable Toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand Down Expand Up @@ -106,6 +110,8 @@ jobs:

build-ios:
runs-on: macos-latest
env:
IPHONEOS_DEPLOYMENT_TARGET: "13.0"
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -122,6 +128,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install native dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libfontconfig1-dev
- name: Install Stable Toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -130,3 +138,35 @@ jobs:
run: cargo test --package craft_retained --no-run
- name: Run Unit Tests
run: cargo test --package craft_retained --no-fail-fast --verbose

integration-tests:
runs-on: windows-latest
env:
CRAFT_RETAINED_TEST: generate-all

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Stable Toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_STABLE_VER }}

- name: Run Integration Tests
run: |
cargo test --test counter --no-default-features --features="vello_cpu_renderer png"

- name: Generate Kompari report
if: always()
run: cargo xtask report

- name: Upload Kompari report
if: always()
uses: actions/upload-artifact@v4
with:
name: kompari-report
path: |
report.html
crates/craft_retained/tests/current
crates/craft_retained/tests/snapshots
Loading
Loading