Commit Graph
112 Commits
Author SHA1 Message Date
Tanish Manku fea891cf59 feat(shell): File › Import › Import Video: options, progress with Cancel, reference videos on the stage, relink in Layer Properties (M5) 2026-11-18 08:05:29 -07:00
Tanish Manku 0f90ef98bc feat(shell): document tabs above the stage, each with its own session, view and autosave; New and Open bring a tab, closing asks about unsaved changes, quitting asks once for all (M8) 2026-11-18 01:24:58 -07:00
Tanish Manku 963de39541 feat(shell): Free Transform's turned box, a draggable transformation point, and layer opacity in Layer Properties and the timeline (M1) 2026-11-17 23:33:06 -07:00
Tanish Manku bd3fb93138 chore: merge main (shape commands, issue requests) into the editing issue fixes (M1)
Pasting keeps its float parameter beside the transform-origin parameters; the stage keeps the
resize tracking and the picker's eyedropper.
2026-11-17 22:46:56 -07:00
Tanish Manku cb366ee6bb feat(shell): Modify › Shape dialogs, the picker's eyedropper and Transform about (M1)
Expand Fill and Soften Fill Edges ask for a distance, direction and steps and
remember them; the Modify › Shape items are enabled by what the selection has.
While a colour picker popup is open the stage is its eyedropper: a chip shows
the colour under the pointer, a click gives it to the picker, Esc closes it.
Free Transform sends the transformation origin with turns, scales and skews,
marks each object's own point, and Properties shows Transform about.
2026-11-17 21:21:34 -07:00
Tanish Manku 6c1d1459d2 chore: merge main into the editing issue batch (M1)
# Conflicts:
#	CHANGELOG.md
2026-11-17 20:15:36 -07:00
Tanish Manku 199d7af539 docs: ADR 0108, the guide, changelog and roadmap for the editing issue batch (M1)
Floating paste, pictures from the system clipboard, refused merges and the
Fill/Stroke memory are recorded in ADR 0108. The command reference is
regenerated; clippy findings in the new tests are fixed.
2026-11-17 20:15:27 -07:00
Tanish Manku 10b742ef11 fix(stage): artwork on a masked layer hides selection stipple only where its mask shows it (M1)
Masked artwork hid nothing, so the stipple of a selection under it showed
through even where the artwork covers it. The idea is from the follow-up
commits of outside PR #404 (Untoldent); main's faster pass works on row spans,
so it is done there: the spans a mask does not show are set aside, the rest go
behind the artwork, with no path booleans, and a mask is outlined once a frame.
Soft masks still hide nothing. The PR's other follow-up (a symbol instance
below full opacity hides nothing) already holds on main: such an instance is a
group, and grouped artwork is never an occluder.

Measured (selection_overlay_cost, 720 selected raw pieces): 6.24 ms a frame,
as before (6.50 ms when the pass was rewritten); the same drawing under an
opaque sheet behind a 48-shape mask: 6.28 ms.
2026-11-17 20:07:40 -07:00
Tanish Manku f3308cda05 fix(stage): Free Transform shows a rotate cursor outside the corners (M1)
Rotation was there (drag just outside a corner) but the pointer showed the
system's shortcut arrow, so nobody found it. No desktop has a rotate cursor, so
the app hides the system one there and draws a curved double arrow bent around
the box, also while turning.

Fixes #194
2026-11-17 19:42:36 -07:00
Tanish Manku 33bdebad51 fix(stage): a relaxed double-click counts, as on the desktop around the app (M1)
A double-click on a raw fill selects it with its outline (since #92), but egui
only counts two clicks up to 0.3 s apart, measured in frames: a relaxed
double-click, or a slow frame after the first click, made it two clicks. The
app now allows the half second Windows and macOS do.

Fixes #192
2026-11-17 19:40:11 -07:00
Tanish Manku 75b4ce7ed6 fix(stage): resizing the Timeline or a dock keeps the artwork where it is on screen (M1)
The pan is measured from the canvas centre, so a panel that grew or shrank moved
the artwork. A view the artist chose now takes up the centre's move; a view still
as Fit in Window left it goes on fitting. Idea from outside PR #424 (Call4han),
done for every canvas change rather than only while a dock edge is dragged.

Fixes #423
2026-11-17 19:18:07 -07:00
Tanish Manku 008cdd1b3e chore: merge main into fix/issues-start-files 2026-11-17 19:13:25 -07:00
Tanish Manku 968946ea0b chore: merge main (outside features batch: skew) into the outside UI batch (M8) 2026-11-17 18:30:16 -07:00
Tanish Manku 3e7d86568a fix(web): the web version keeps a third of the desktop's frame cache (M8)
The stage keeps drawn frames in a cache with a 768 MiB budget. In a browser
tab, whose memory is one block that only grows, a 24-frame document filled
it: 900 MB for one moving symbol (#314). The web build's budget is 256 MiB
(30 frames of a 1920 x 1080 stage); the desktop's is unchanged.

Measured on the desktop while here (Windows 10, debug build, the sample
open, 10 s): 0 ms of CPU while idle, 226 MB working set.
2026-11-17 16:53:17 -07:00
Tanish Manku da82dc71ea Merge origin/main into the outside pull request batch (M8)
# Conflicts:
#	CHANGELOG.md
2026-11-17 15:18:08 -07:00
Tanish Manku b9b5c998c9 chore: merge main (styled text) into the outside batch (M8)
# Conflicts:
#	CHANGELOG.md
#	src/main.rs
2026-11-17 14:47:15 -07:00
Tanish Manku b5f3e5f0a8 chore: merge main into m7/mixed-armatures 2026-11-17 14:13:32 -07:00
Tanish Manku df6d2e46a3 perf(stage): find what hides selection stipple once a frame, where it covers (M8)
Outside PR #404 outlined every display item above each selected fill, stroke and backing: a selected raw drawing of 720 pieces (144 outlined rectangles) took 599.77 ms a frame. Occluders are now kept for the frame: bounds once, outlines only for items whose bounds meet the selected spans and once each, scanned only over those spans, at most 4000 outlines a frame. Clipped and group-faded artwork no longer counts as opaque. The same drawing: 6.50 ms a frame selected, 1.02 ms unselected (optimised dev build, 1600x940).
2026-11-17 13:47:49 -07:00
Tanish Manku c5a406cb05 fix(transform): skew doesn't snap; wire the control module after the merge (M8) 2026-11-17 13:46:03 -07:00
Tanish Manku 204352cff9 Merge outside PR #176: feat(transform): skew/shear by dragging a box edge in Free Transform (M8)
# Conflicts:
#	src/app.rs
2026-11-17 13:31:38 -07:00
Untoldent 4b2efae5bf Prevent selection occlusion truncation with span batches (M1) 2026-11-17 14:08:21 -05:00
Untoldent 9800163504 Fix selected stroke backing overhang (M1) 2026-11-17 13:15:06 -05:00
Untoldent 18227e28b3 Fix selection occlusion behind thin foreground artwork (M1) 2026-11-17 11:59:09 -05:00
Untoldent 0c602349c3 Reduce selection occlusion allocations (M1) 2026-11-17 11:11:31 -05:00
Untoldent 014654e385 Refine stroke selection stippling and artwork occlusion 2026-11-16 22:49:20 -05:00
Tanish Manku 2972440207 feat(bones): mixed armatures, symbol instances and shapes in one armature (M7)
Bones marked with the shape they are inside bend it through that shape's skin;
other bones move an instance or a whole shape. One pose, solver and tween.
A document with a mixed armature is written as format version 4; every other
document byte for byte as before.

Measured (optimised test profile): 25 bones, two shapes of 1,002 points and
8 instances bind in 1.6 ms and pose in 0.066 ms per frame; IK through all 25
bones 0.07 ms.
2026-11-16 18:32:56 -07:00
Tanish Manku 307bf03a00 docs: ADR 0085 styled text, the guide's text chapter, roadmap, changelog and screenshot demo (M5) 2026-11-16 18:26:51 -07:00
Tanish Manku ea15b6b2f3 feat(ui): style selected characters while typing on the stage; floating windows stay below the menu bar (M5) 2026-11-16 18:26:39 -07:00
Untoldent 4e14efd9b9 Improve selection stippling with artwork-aware gradient colours 2026-11-16 16:17:50 -05:00
Untoldent 1dfcadd09c Improve raw-shape selection stipple visibility (#295) 2026-11-16 11:45:48 -05:00
FredApps 79360af9b1 Merge branch 'main' into fix/artcraft-feature-names-20261108
# Conflicts:
#	crates/engine/src/cmds_draw.rs
#	crates/engine/src/cmds_timeline.rs
#	docs/roadmap.md
2026-11-14 11:29:26 +01:00
Tanish Manku 2ba2f3af2c chore: merge main into m7/brushes-2 2026-11-13 22:06:42 -07:00
Tanish Manku c8e2faf47c feat(app): hide the Tilt options until a pen reports tilt (M7) 2026-11-13 22:06:32 -07:00
Tanish Manku 5028a060e0 feat(app): survive GPU failures mid-session: CPU stage fallback with retry, window device watch, safer start after a loss (M3) 2026-11-13 20:43:11 -07:00
Tanish Manku b74bf31f4e feat(app): Paint Weights in the Bind tool with a heat map, point weights in Properties, and the shapeweights screenshot (M7) 2026-11-13 19:26:12 -07:00
FredApps bf0ac268f9 Merge branch 'main' into fix/artcraft-feature-names-20261108
# Conflicts:
#	CHANGELOG.md
#	docs/adr/0006-platforms-and-edit-latency.md
#	docs/roadmap.md
#	src/panels.rs
2026-11-13 20:52:00 +01:00
Tanish Manku c9fdd00fb3 chore: merge main (drawing leftovers, Asset Warp) into camera depth (M7) 2026-11-13 00:26:19 -07:00
Tanish Manku a6979175b6 feat(shell): screenshot scenes for the drawing parity leftovers, PolyStar Shape row (M1) 2026-11-12 21:27:55 -07:00
Tanish Manku 47d89cf193 feat(modify): Envelope bends shapes by a mesh of handles, one undo step per drag (M1) 2026-11-12 21:27:55 -07:00
Tanish Manku e035979e8c feat(edit): double-click a drawing object to edit it in place (M1) 2026-11-12 21:27:54 -07:00
Tanish Manku e9b2e34d99 feat(draw): PolyStar polygon or star, sides and point size (M1) 2026-11-12 21:27:54 -07:00
Tanish Manku 617c8c6963 feat(camera): layer depth over time in perspective, attaching layers, camera colour effects and editing through the camera (M7) 2026-11-12 20:50:47 -07:00
Tanish Manku f2fc379841 chore: merge main into m7/asset-warp 2026-11-12 20:22:33 -07:00
Tanish Manku 3aeea1f3d9 feat(ui): the Asset Warp tool: pins, live bending, Properties and a sample (M7) 2026-11-12 19:52:31 -07:00
Tanish Manku a9e48b1184 feat(doc): warp meshes on shapes and bitmaps, bent by pins (rigid MLS), pins tween (M7) 2026-11-12 19:52:31 -07:00
Tanish Manku 013aebeade chore: merge main (light theme, gradients, docking) into rulers, grid and guides (M1) 2026-11-12 19:48:51 -07:00
Tanish Manku f1bc0804d4 chore: merge main into m8/light-theme 2026-11-12 19:05:00 -07:00
Tanish Manku 474109fc5f feat(shell): rulers, grid and draggable guides on the stage, Edit Grid and Edit Guides, snapping Free Transform (M1) 2026-11-12 18:37:33 -07:00
Tanish Manku 73aec4dc3a feat(shell): a light theme, and Follow system for light or dark (M8)
A third palette, Light, over the same roles as Graphite and high contrast,
designed for light and checked by the same contrast rules. Preferences ›
Appearance › Theme offers Follow system, Dark (Graphite), Light and High
contrast, applied live. Follow system now also follows the system's light
or dark mode (Windows, macOS, portal/GNOME, prefers-color-scheme).
--theme light|dark|high-contrast for one run. ADR 0077.

Fixes #227
2026-11-12 18:27:35 -07:00
Tanish Manku 6816f99246 chore: merge main (groups and Combine Objects) into the gradient tools (M1) 2026-11-12 17:50:49 -07:00