Commit Graph
2656 Commits
Author SHA1 Message Date
aiongg 09944da2a4 Repin craft-libs to the hidden-window and modal-focus fixes (next + float-fixes) 2026-11-25 18:45:26 +00:00
aiongg 433e51abc4 Reset Panel Layout cancels a panel drag in progress again
As before the move to the craft-ui dock, a tab held while the layout
resets is not dropped into the reset layout. The reset replaces the
workspace, so its generation changes.
2026-11-25 18:29:18 +00:00
aiongg 53d1790348 Close tests: a close that goes ahead is checked without quitting
The tests assert CADCraft's own close decision for a saved drawing and
for a programmatic quit, as they did before the platform's quit joined
the close path, so they pass on macOS, where that quit cancels the window
close. Unsaved drawings still run the whole close frame.
2026-11-25 18:24:58 +00:00
aiongg f4c3018003 An opened panel's floating window comes to the front again
As before the move to the craft-ui dock, opening or activating a panel
with a command raises the floating window that holds it, once. Docked
panels only become the front tab.
2026-11-25 18:24:58 +00:00
aiongg 239f8a32f0 Repin craft-libs to the fix for windows that stay hidden (next + float-menu) 2026-11-25 18:19:04 +00:00
aiongg 9d214d6e88 Drawing focus comment: a click on a palette leaves the drawing focused 2026-11-25 15:50:21 +00:00
aiongg d26d9ca01f Repin craft-libs to storytold next aa401985d 2026-11-25 15:50:21 +00:00
aiongg c9286726ab Copy, Cut and Paste pressed in a floating panel reach the app 2026-11-25 15:15:06 +00:00
aiongg 138f447988 Ctrl+=, Ctrl++, Ctrl+- and Ctrl+0 change the interface scale
The keys (Cmd on macOS) step the Options interface scale by a tenth, within its limits, and Ctrl+0 sets it back to 100 %. They work while a text field or the command line has the keyboard, and a key the user gave to a command runs the command. In the browser they zoom the page.
2026-11-25 14:35:42 +00:00
aiongg e425c71c44 Enter and Space leave the drawing's right-click menus open 2026-11-25 14:20:12 +00:00
aiongg c3f691264a Repin craft-libs to storytold next d1bdf8e5da 2026-11-25 13:44:10 +00:00
aiongg aac7ae1cf2 A running command keeps Tab after a click on the palette or the status bar 2026-11-25 13:24:08 +00:00
aiongg 849e6fd5c4 The drawing takes the keyboard focus and keeps Tab while the command line has work for it
A press in the drawing, and a drawing that opens or becomes active, give the drawing the focus; a text field, a dialog
or a menu keeps it. The focused drawing keeps Tab (KeepKeys::Tab) only while a command runs, text is typed, value boxes
are live or a snap marker is under the cursor. A bare Tab with nothing focused is the framework's: capture_tab is gone.
2026-11-25 13:06:11 +00:00
aiongg 9e5889b782 Tab reaches the palettes from the document tabs
The drawing's host canvas is declared with the id of the drawing's own widget, so egui keeps the focus Tab gives it.
While the drawing is the focused Tab stop, the command line and the shortcuts take the keyboard as with nothing focused.
2026-11-25 12:38:02 +00:00
aiongg c089fdff1a Paste tests that run only the shortcut table don't install the runtime (no drawing keeps the clipboard events in egui) 2026-11-25 07:19:23 +00:00
aiongg ad1446c302 Allow egui::ComboBox: craft-libs next has no craft_ui::ComboBox 2026-11-25 06:47:06 +00:00
aiongg 7eb9401f08 cargo fmt 2026-11-25 06:40:11 +00:00
aiongg 69a040acc6 Merge main into the minimal port
Conflicts: Cargo.toml (kept the next/egui pins for every craft-libs entry, including main's new craft-csv and hayro-interpret/cmap/postscript patches), apps/cadcraft/src/main.rs (port's framework frame decision and apply_frame with main's os_window identity, persistence path and exit hook), crates/ui-egui/src/updates_ui.rs (next's argument-free check calls with main's check_updates_at_start gate). Main's new tests and dialogs switched to install_headless and escape_pressed.
2026-11-25 06:38:00 +00:00
aiongg 2282d11b37 Repin egui to storytold b15ffe9bfc (what craft-libs next pins) 2026-11-25 06:32:55 +00:00
aiongg d659315743 Repin craft-libs to storytold next 16001e7210 and egui to storytold b15ffe9bfc 2026-11-25 06:31:24 +00:00
Tanish Manku 0d4b100209 Merge pull request #3471 from storytold/stack/n4
Land #3235, #3382, #2808: dynamic block stretch of wipeouts, arcs and hatches; TRIM/EXTEND part highlight; EXTRIM
2026-11-24 22:01:30 -07:00
Tanish Manku 33d46f3a00 Merge #2808: EXTRIM: trim everything crossing one cutting edge on the side picked 2026-11-24 21:16:52 -07:00
Tanish Manku a992e3198b Merge #3382: TRIM highlights only the piece a click removes, EXTEND what it adds (fixes #1118) 2026-11-24 21:16:32 -07:00
Tanish Manku 993388ca8c Merge #3235: Dynamic blocks: a stretch moves wipeouts, arcs and associative hatches as AutoCAD does 2026-11-24 21:16:30 -07:00
Tanish Manku 966d12819b Merge pull request #3470 from storytold/stack/n3
Land #3373, #3290, #3105: download docs, paste spreadsheet text as a TABLE, Tamil
2026-11-24 21:12:49 -07:00
Tanish Manku b11e2a94ac Merge pull request #3469 from storytold/docs/parity-batch-1125
Parity docs: rows updated for what merged from 2026-11-21 to 2026-11-25
2026-11-24 21:12:44 -07:00
Tanish Manku 510b7da798 Parity docs: qualify the plot-settings and existing-tab claims 2026-11-24 20:53:03 -07:00
okereke-dev 49ac1b1d30 EXTRIM: keep the Chinese menu row, which chinese_menus_and_commands_are_fully_translated requires 2026-11-24 22:47:35 -05:00
2ez4gcxandClaude Opus 5.5 3f805561d6 Dynamic blocks: a stretch moves the right end of a flipped arc
A stretch picks which ends of an arc move by testing the dynamic
block's arc ends against its frame (0 its start, 1 its end), but a
mirror swaps an arc's start and end (Arc::transform). In a reference
flipped by a flip action, the copy's start is the block's end, so a
later stretch moved the wrong end and distorted the arc.

The stretch now maps the indices to the copy's when the copy is
mirrored from the block: by the flips the reference already has (an
odd number of flipped flip actions holding the object; a repeated
selection counts once and a reflection line of no length mirrors
nothing, as the flip action itself does) and by mirrors queued for it
earlier in the same change. Unmirrored arcs keep their indices.

Tests: a flipped door arc stretched by Width (flipped, not flipped,
held twice, two flip actions, a reflection line of no length), and a
lookup that flips and stretches in one change, with the flip action
before or after the stretch, and back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 10:46:10 +07:00
okereke-dev c7e6b10f42 EXTRIM: find each stretch on the object itself, report one it can't find (review on #2808)
A large arc's flattened outline strays from the arc by up to a millionth of its radius, more
than the tolerance next to a short edge, so a stretch's pick could miss every piece and the
object was still counted as trimmed through. The pick is now brought onto the object's exact
lines and arcs and the pieces are measured exactly; a stretch still not found counts the object
as uncut. The menu entry moves to Additional Tools, and the es/zh rows go (feature PRs add
English only).
2026-11-24 22:38:00 -05:00
Tanish Manku 408927c8a8 Merge #3105: Add Tamil (ta) to the interface languages; pasted table cells keep backslashes and braces as text 2026-11-24 20:32:18 -07:00
Tanish Manku feec896112 Merge #3290: feat(table): paste Excel TSV as native TABLE using craft-csv 2026-11-24 20:31:30 -07:00
Tanish Manku 52bb384e13 Merge #3373: docs: align CADCraft downloads with published packages 2026-11-24 20:31:29 -07:00
Tanish Manku abacc4c360 Parity docs: rows updated for what merged from 2026-11-21 to 2026-11-25 2026-11-24 20:29:53 -07:00
okereke-dev e1766b2191 Merge remote-tracking branch 'upstream/main' into feat/extrim 2026-11-24 22:28:22 -05:00
okereke-dev 3c7427d2bb TRIM preview: refresh after a fence point is taken back, and cap the Fence preview
The rollover highlight's cache key now counts the running command's answers, so Undo at the
fence prompt redraws the preview without the cursor moving. A Fence or Crossing preview works
out at most 64 picks; past that it shows no part highlight, and the fence still trims them all.
2026-11-24 22:27:54 -05:00
Tanish Manku 6e48d4b250 Merge pull request #3467 from storytold/stack/u11
Land #3231, #3394, #3457: Dynamic Input Tab cycle, Array window, lone user alias opens its dialog
2026-11-24 20:24:01 -07:00
okereke-dev f8fe736221 Merge remote-tracking branch 'upstream/main' into feat/trim-preview
# Conflicts:
#	crates/engine/src/cmd/modify.rs
#	crates/engine/src/guard.rs
#	crates/engine/src/prompt.rs
#	crates/engine/src/session/interactive.rs
2026-11-24 22:20:54 -05:00
vantruong-dang b8818c78b1 Merge remote-tracking branch 'origin/main' into feat/paste-table-tsv
# Conflicts:
#	crates/engine/src/session/interactive.rs
#	crates/ui-egui/src/clipboard.rs
#	crates/ui-egui/src/menus.rs
2026-11-25 10:14:06 +07:00
Tanish Manku 51b07ec42a Merge pull request #3419 from storytold/land/3375
Land #3375: PDFIMPORT imports a PDF page as editable lines, polylines, solid hatches and text
2026-11-24 20:05:00 -07:00
Tanish Manku 4e1ebc79c2 User alias lookup: a key stored with a capital outside ASCII matches a name typed in lower case 2026-11-24 20:04:41 -07:00
Tanish Manku c973274a23 Merge pull request #3466 from storytold/stack/n2
Land #3460, #3461, #3462, #3453: held paste follow-ups, constant attribute values, tapered-corner test
2026-11-24 19:59:59 -07:00
Tanish Manku 2a4dc14672 Merge #3457: a lone user alias of a UI command opens its dialog; landing fixes (alias lookup past ASCII capitals, Array window id without a lint allow) 2026-11-24 19:29:40 -07:00
Tanish Manku a254ed5bd5 Merge #3394: feat(ui): live Array dialog for ARRAYRECT and ARRAYPOLAR 2026-11-24 19:29:17 -07:00
Tanish Manku 9b8e4f257c Merge #3231: Dynamic Input: Tab cycles back to the first box and keeps the second value (#3201) 2026-11-24 19:29:15 -07:00
Tanish Manku 91ba1b8cc5 Merge #3453: Wide polylines: mitre the corners instead of leaving notches (#3443) 2026-11-24 19:27:39 -07:00
Tanish Manku 138acd3149 Merge #3462: A block reference draws its constant attribute values (#3413) 2026-11-24 19:27:37 -07:00
Tanish Manku 839036bcff Merge #3461: Input to the running command drops a held paste (follow-up to #3366, builds on #3460) 2026-11-24 19:27:35 -07:00
Tanish Manku c048120a0f Merge #3460: A held paste stays with the drawing that asked for it (follow-up to #3366) 2026-11-24 19:27:33 -07:00
Tanish Manku fc1b63a792 PDF import: fill-only text before fill-and-stroke text no longer doubles the stroked text 2026-11-24 19:27:21 -07:00