Commit Graph
2562 Commits
Author SHA1 Message Date
Tanish Manku bd520db235 Merge #3375 again: the eight review fixes, and main 2026-11-24 19:27:03 -07:00
C00kieMonsta 2236c14802 PDF import: give hatch loops main's new boundary_flags field
A loop the importer builds has no DXF boundary path flags of its own,
so it takes None, as the proxy-graphics loops on main do.
2026-11-25 01:49:03 +00:00
C00kieMonsta d7088aab34 Merge main into feat/pdf-import
main gave HatchLoop a boundary_flags field, so the gate's merge build
no longer compiles the PDF importer's loops.
2026-11-25 01:48:22 +00:00
C00kieMonsta 6a98857ffa PDF import: compute a contour's signed area relative to its first vertex
At coordinates near 2^29 the cross products of absolute coordinates
round away a unit of area, so a unit square there had zero area and its
nonzero fill was dropped. The products are now taken relative to the
contour's first vertex.
2026-11-25 01:33:22 +00:00
C00kieMonsta 2873092eae PDF import: place even-odd contours that don't meet by their own boundary
An even-odd loop's depth was counted at a point nudged just inside its
longest edge. A hole drawn closer to that edge than the nudge held the
point, so the outer loop counted as nested and neither loop was saved
with the outer flag. When no two contours meet, each is now placed by
the middle of its longest edge, as nonzero fills already are; crossing
contours keep the nudged point.
2026-11-25 01:32:44 +00:00
C00kieMonsta 3655ded652 PDF import: read a clip as a rectangle only from one subpath
rect_of joined the points of every subpath, so two open segments that
reached the four corners of a box were read as that box, and a stroke
through it was kept. A rectangle must now be one subpath. A clip whose
subpaths each lie on one line encloses no area and clips everything;
any other clip of several subpaths is still reported as not applied.
2026-11-25 01:31:45 +00:00
C00kieMonsta 958ce153d2 PDF import: measure a text run's baseline from its first glyph
A glyph joined a run when it lay within 0.1 em of the previous glyph's
baseline, so text that climbed a little each glyph stayed one run and
was placed on the first glyph's baseline. The offset across the baseline
is now measured from where the run starts; the gap along it is still
measured from the previous glyph.
2026-11-25 01:30:32 +00:00
C00kieMonsta a248c59fa4 PDF import: leave out text inside a clip with no area
Two clips that only touch intersect in a rectangle with no area. Shapes
under it were already left out, but a glyph whose middle lay on the
shared edge passed the inclusive range test and was imported. Text now
needs a clip with area as well.
2026-11-25 01:29:48 +00:00
C00kieMonsta 2aa669fad9 PDF import: match a text's stroke replay glyph by glyph, not by its last run
Render mode 2 fills a whole Tj or TJ and then draws it again for its
stroke. A TJ that split into two runs arrived as fill A, fill B, stroke
A, stroke B, and the one remembered text matched neither stroke, so both
words were imported twice. The same record also dropped a later fill of
the same text in another colour.

The glyphs filled since the last shape, image or stroke are now queued,
and only a stroke glyph that repeats the next queued one is skipped.
Fills are never matched against each other.
2026-11-25 01:28:51 +00:00
C00kieMonsta 13b956c166 PDF import: convert to US survey units (INSUNITS 21 to 24)
Survey feet, inches, yards and miles fell through to the millimetre
case, so a page imported into a drawing in survey feet came in 304.8
times too large. A survey foot is 1200/3937 m.
2026-11-25 01:26:59 +00:00
Dylan M. Taylor 7e95cfc864 packaging(linux): support co-installable nightly packages (#3450)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-24 18:38:19 -06: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