Commit Graph
2546 Commits
Author SHA1 Message Date
moandClaude Fable 5.2 e2eedc1918 fix(ui-egui): a held paste stays with the drawing that asked for it
A paste asked for from a menu or the command line waits for the system
clipboard for up to half a second. If another drawing became the shown
one in that time (a file read in the background finished opening), the
held paste ran there. It now remembers its drawing and is dropped, with
a line in the command history, when another one is shown.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 18:16:54 -05:00
Tanish Manku 2ce75fcb03 Merge pull request #3456 from storytold/stack/n1
Land #3444, #3446, #3431, #3151, #3152, #2972, #3453, #2977, #2969, #3097, #2903, #3445: spline prompts, DIMSPACE, image limits, mitred wide polylines, DIMASSOC, mirror hatch, selection
2026-11-24 15:55:39 -07:00
Tanish Manku 63a5a321dd Merge #3366 again: the author's fix and test for a paste bound to another key 2026-11-24 15:32:25 -07:00
Tanish Manku 94b1174806 Merge main (after #3454, #3455); a block's image is hit on the outline of what it shows 2026-11-24 15:32:15 -07:00
Tanish Manku d538a468e4 Merge pull request #3455 from storytold/stack/u10
Land #3368, #3390, #3399, #3405, #3392, #3411, #3366: Thai PDF text, layout plot settings, Polish strings, dimension inline editor, table cell text, ATTDIA, system clipboard paste
2026-11-24 15:31:19 -07:00
Tanish Manku f80dbb461a Merge pull request #3454 from storytold/stack/p1
Land #3425, #3426, #3095, #3435, #3439, #3437: hatch edge, dependency prune, tilt check, proxy graphics follow-ups, kept dimensions
2026-11-24 15:23:27 -07:00
Tanish Manku c1f771d5cd Merge pull request #3424 from storytold/stack/b1
Land #963, #993, #1752 (with #1030, #1098, #1699, #1723): dynamic block references rotate, flip, array, scale, align and look up
2026-11-24 15:04:29 -07:00
moandClaude Fable 5.2 57c1d36fc0 fix(ui-egui): a paste bound to another key reads the system clipboard first
The shortcut loop ran every paste command as already read, but only the
ones from this frame's clipboard events are. A paste command the user
bound to a key of its own fired from the key press with nothing read, so
it pasted what this window held. It is now held like a menu paste.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 17:04:19 -05:00
Tanish Manku d71f2b9584 Crossing selection: a block's image is tested by what it shows, not by its unclipped corners 2026-11-24 14:36:50 -07:00
Tanish Manku 8d3e176aa8 Merge #3445: Select block references by drawn geometry in crossing windows 2026-11-24 14:36:33 -07:00
Tanish Manku 5d8bfff1d4 Merge #2903: Select: a blank MTEXT is picked inside its box (fixes #2810) 2026-11-24 14:36:31 -07:00
Tanish Manku f16fb24b40 Merge #3097: Options: turn off the update check at start 2026-11-24 14:36:29 -07:00
Tanish Manku 59e7a0b178 Merge #2969: fix(engine): preserve hatch direction when mirroring 2026-11-24 14:36:27 -07:00
Tanish Manku df624b7a49 Merge #2977: fix(engine): respect DIMASSOC1 for new dimensions 2026-11-24 14:36:25 -07:00
Tanish Manku fc09368b69 Merge #3453: Wide polylines: mitre the corners instead of leaving notches (#3443) 2026-11-24 14:36:23 -07:00
Tanish Manku 5b4bbd933c Merge #2972: test: make non-Unicode filename fixtures portable on macOS 2026-11-24 14:36:21 -07:00
Tanish Manku 6deb10f4a8 Merge #3152: Images: IMAGEATTACH refuses a wrongly typed at, scale, rotation or name 2026-11-24 14:36:19 -07:00
Tanish Manku b2c35cd100 Merge #3151: Images: loaders start a file only while its largest size still fits the loaded-image limit 2026-11-24 14:36:17 -07:00
Tanish Manku 137c8e8a08 Merge #3431: Use dimension text height for DIMSPACE Auto 2026-11-24 14:36:15 -07:00
Tanish Manku 7f5750dc1f Merge #3446: SPLINE: handle Method and Object at the CV first-point prompt 2026-11-24 14:36:14 -07:00
Tanish Manku ef59bd8251 Merge #3444: SPLINE: ask again when the CV degree is fractional 2026-11-24 14:36:12 -07:00
Tanish Manku fe5b66d163 Paste: a paste command fired by a user-bound key asks for the system clipboard, like the menu 2026-11-24 14:35:51 -07:00
Tanish Manku 6d5bc58b72 Merge #3366: Edit > Paste and typed PASTECLIP read the system clipboard, like Ctrl+V (#3320) 2026-11-24 14:35:31 -07:00
Tanish Manku 603852d47e Merge #3411: INSERT: ATTDIA and the Edit Attributes dialog (repair of #2376) 2026-11-24 14:35:28 -07:00
Tanish Manku c35d323fe9 Merge #3392: DXF: preserve table cell text in 2007 and later saves 2026-11-24 14:35:26 -07:00
Tanish Manku 4ab5a56dc6 Merge #3405: Dynamic dimension inline editor: claim pointer drag, select text on open, commit on focus loss 2026-11-24 14:35:24 -07:00
Tanish Manku 4562fcbc44 Merge #3399: i18n(pl): translate the 218 strings added since #218 2026-11-24 14:35:23 -07:00
Tanish Manku 7cb911dbd4 Merge #3390: Save: every layout keeps its plot settings, the Model layout included 2026-11-24 14:35:21 -07:00
Tanish Manku d1fa21d798 Merge #3368: PDF text: Thai sara am reads after its tone mark (น้ำ, not นำ้); builds on #3090 (#2899) 2026-11-24 14:35:19 -07:00
Tanish Manku 6db635aadb Merge #3437: keep proxy graphics on their layers when the layer table changes (#3094) 2026-11-24 14:34:57 -07:00
Tanish Manku a6995acce4 Merge #3439: draw kept dimensions from their *D block and keep it on save (#3438) 2026-11-24 14:34:17 -07:00
Tanish Manku 21d295d671 Landing fixes: the two new tests join the tests/it binary; the POLYLINE caller of tilted() passes a closure 2026-11-24 14:33:56 -07:00
Tanish Manku 71527f87a7 Merge #3435: fix(doc): proxy graphics fill as a trait, ellipses under uneven matrices, size group after the marker (#2697 follow-ups) 2026-11-24 14:33:41 -07:00
Tanish Manku a329b3963a Merge #3095: fix(io): skip sampling arcs for the tilt check when the extrusion is on the Z axis 2026-11-24 14:33:40 -07:00
Tanish Manku 787d4e70b8 Merge #3426: DXF/DWG: prune kept ACDBASSOCDEPENDENCY objects whose target handle is unmapped 2026-11-24 14:33:40 -07:00
Tanish Manku f3959d65f9 Merge #3425: DXF/DWG: elliptic HATCH boundary edges deduplicate the shared start vertex 2026-11-24 14:33:39 -07:00
Tanish Manku 8fb4d81338 Merge #1752 again: the six review fixes (array budget, alignment grips, frozen layers) 2026-11-24 14:28:29 -07:00
Franz Ferdinand Tritschel 4370e61c17 Wide polylines: mitre the corners instead of leaving notches (#3443)
Each segment's band was built with that segment's own normal, so a wide
polyline showed a notch at every vertex. Each vertex now gets a corner on
the outer side of the turn: the two outer edges are extended until they
meet, or bevelled past the miter limit plot style joins already use.
Tapered segments meet where their own edges do; closed polylines get the
corner at their first vertex; repeated vertices don't stop it; straight
runs get nothing extra.

Wide polylines with a linetype (wide.rs) follow after #2487.
2026-11-24 22:20:40 +01:00
STE1200andClaude Opus 5.5 9f245800ee DXF/DWG: classify unknown assoc actions once
The prune guard parsed a dependency owner's action list again for each
dependency in each pass. finish now collects the handles of the kept
actions of unknown shape once, beside the handles they reference, and
the guard tests the owner against that set. The exemption is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 21:09:35 +01:00
moandClaude Fable 5.2 2ecbc112cc style: wrap the two changed lines as rustfmt asks
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 13:57:53 -05:00
mo 09eb871e38 Merge main into pdf-thai-order
# Conflicts:
#	crates/io/tests/pdf_text.rs
2026-11-24 13:49:35 -05:00
moandClaude Fable 5.2 dc143302ee fix(ui-egui): the command line's recent commands offer a paste the same way
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 13:49:14 -05:00
mo 0f62df0b35 Merge main into paste-os-clipboard
# Conflicts:
#	apps/cadcraft/src/native_menu.rs
2026-11-24 13:48:55 -05:00
moandClaude Fable 5.2 08b68e8c51 fix(macos): the menu bar offers Paste when the system clipboard may hold objects
The native menu bar refreshed enablement with the command's own check,
so Edit > Paste stayed disabled there until something was copied in this
window. It now asks clipboard::offered, like the in-window menus and the
context menu.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 13:48:45 -05:00
Yohanes Yuen afb53d5357 Fix block ray and clipped image crossing selection 2026-11-25 01:15:21 +08:00
Cody VogtandClaude Opus 5.5 ced6984630 Alignment grips: targets stay on a ray and off layers frozen in the viewport
The alignment search projected the cursor onto a ray as if it were an
xline, so a point behind the ray's base could be the target; behind it the
base is now the nearest point. It also passed no frozen layers, so an object
on a layer frozen in the active MSPACE viewport (not drawn there) could be
aligned with; `nearest_with_direction` now takes the viewport's frozen
layers, as the osnap search does.

Review of #3424 (CodeRabbit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:46:32 -06:00
Cody VogtandClaude Opus 5.5 522ed59680 Dynamic blocks: an XY distance past the number range is refused; a polar end grip snaps its angle
With a tiny reference scale a finite typed XY distance became infinite in
block units and was stored, so the saved end point couldn't be read back as
the parameter's points. The distance and the end point must now be finite.

Dragging a polar parameter's end grip applied the distance value set but not
the angle one: the angle now snaps to its value set as typing it does, and
goes where it is dragged when the set has no limits.

Review of #3424 (CodeRabbit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:36:37 -06:00
Cody VogtandClaude Opus 5.5 c862f8ac09 Dynamic blocks: the array budget is taken before offsets are kept; a repeated hatch follows its own outline
The arrays' copies were counted only after every selected object's offsets
had been cloned, so one array of 99,999 offsets over 1,000 objects held
nearly 100 million offsets before it was refused. `keep_array` now takes
each object's share of `MAX_ARRAY` before its offsets are kept.

A repeated associative hatch kept the first copy's outline handle, so
`refill_hatches` put every repeat's boundary back on the first square. Each
arrayed object's copies get their handles first, by place in the array
(in the same order as before, so the handles are unchanged), and a
repeated hatch's loop names the copy of its outline at the same place.

Review of #3424 (CodeRabbit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:30:30 -06:00
Walter Haslbeck de1fb50043 proxy layers: the same marker on another layer is a conflict 2026-11-24 17:07:40 +01:00
Walter Haslbeck ebda56eab5 proxy graphics: fill hatches stay out of picking and snaps; three-point tests on their own 2026-11-24 17:07:38 +01:00