Commit Graph
3222 Commits
Author SHA1 Message Date
FredApps dc5192180c Sync annotative block prerequisite and refresh the text fixture defaults 2026-12-01 09:39:26 +01:00
FredApps e928d57182 Sync current main into annotative block contexts 2026-12-01 09:39:20 +01:00
Tanish Manku 8bece25483 Merge pull request #3703 from storytold/stack/e4
Land #3695, #3658, #3039, #3404: Aligned text extents, fill-cap truncation, INSERT with EXPERT, Attribute Editor dialog
2026-11-30 21:28:02 -07:00
Tanish Manku 0d17d4cc50 Landing fix: #3404's TEXT fixture takes #3679's new fields 2026-11-30 20:46:29 -07:00
Tanish Manku 34d52cd336 Merge #3404: Block attributes: Attribute Editor and Properties attributes (repair of #1213) 2026-11-30 20:46:21 -07:00
Tanish Manku f2733ade72 Merge #3039: INSERT of a drawing file does not ask to redefine its block when EXPERT is 2 or more 2026-11-30 20:46:19 -07:00
Tanish Manku 3dc0e581c6 Merge #3658: render: mark the display list truncated when a fill stops at the fill cap (#3636) 2026-11-30 20:46:17 -07:00
Tanish Manku c49a815b1d Merge #3695: Aligned text extents hold narrow letters; unfitted text keeps a box of its own size (follow-up to #3506) 2026-11-30 20:46:15 -07:00
Tanish Manku c9471b09dc Merge pull request #3702 from storytold/land/3699
Land #3699: Update and Restart asks about unsaved drawings
2026-11-30 20:40:51 -07:00
moandClaude Fable 5.2 56388075ae Text that draws nothing has an empty box
A value of nothing but underline and overline toggles (%%u%%u) has no drawn
character, and the box floored the count at one: Aligned over a span of 20
that was a box of 20 by 120 for text that draws nothing. The box is empty
when no character is drawn, for an empty value too.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-12-01 03:29:28 +00:00
2ez4gcxandClaude Opus 5.5 f4edfee60c Merge origin/main into fix/fill-cap-truncated
main now carries #3594 and #3622 (landed through #3692), which rewrote
clip_prim around Limits and the pieces/fill closures. The only conflict is
that block in crates/render/src/viewports.rs: main's clip_prim is kept and
its Clip::Poly fill arm gets this branch's one line, so both truncation
signals stay:

- #3594's whole() in the fill closure marks the list when the clip stops
  at the room left or at its own 6,000,000-point stop;
- may_leave_out marks it when the clip region's own triangles stopped at
  the fill cap (#3636).

truncated is only ever OR-ed, so neither signal clears or doubles the
other.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 10:29:01 +07:00
moandClaude Fable 5.2 165287474e Merge main: the text box keeps its four corner points, mirrored as on main
Main (PR 3679) mirrors the box of Backwards and Upside-down text about the
point the text is placed by. This branch builds the box from a bottom and a
top instead of an offset and a height, so the mirror is applied to those
corner points.

Tests: the two helpers (ours with a vertical justification, main's with the
mirror flags) are one that takes both, and the test of the vertical
justifications also runs with each mirror.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-12-01 03:23:49 +00:00
code-compliant 4e9a5058cb Address attribute editor review 2026-12-01 11:15:31 +08:00
Tanish Manku d0872cc118 Merge #3699: Update and Restart asks about unsaved drawings 2026-11-30 20:03:50 -07:00
Tanish Manku 7f2e4544dc Merge pull request #3701 from storytold/docs/parity-batch-1201
Parity docs: rows updated for what merged from 2026-11-25 to 2026-12-01
2026-11-30 19:56:56 -07:00
Tanish Manku 5b145ab603 Merge pull request #3700 from storytold/stack/e3
Land #3628, #3583, #3625, #3617, #3248, #3221, #3287, #3259, #3232, #3291, #3679: Drawing Units dialog, SCALE and MOVE base points, TRIM/EXTEND Shift, mirrored hatch patterns, layout framing, deep zoom, RECTANG X/Y, Save As version, Turkish, TEXT backwards
2026-11-30 19:34:54 -07:00
Tanish Manku 4d0f4dc5b6 Parity docs: F2's impact names what is left; Tamil needs a Tamil font 2026-11-30 19:34:40 -07:00
moandClaude Fable 5.2 86063426de Text boxes count the characters a value draws, not the ones it is written with
The box took the length of the stored value, control codes included: the
%%u and %%o toggles draw nothing, %%d, %%c, %%p, %%% and %%nnn draw one
character, \U+XXXX draws one, and invisible formatting characters take no
room. So the width was over-estimated again for such text: Aligned
"%%uAB%%u" at height 1 over a span of 20 is drawn 12.5 high in a box of
6.25. The callers now pass the number of drawn characters.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-12-01 02:22:06 +00:00
Tanish Manku a62956e1e9 Parity docs: rows updated for what merged from 2026-11-25 to 2026-12-01 2026-11-30 19:11:13 -07:00
Tanish Manku 4f2800a0dc Landing fix: the two TEXT literals #3214 added take #3679's new fields 2026-11-30 18:52:32 -07:00
Tanish Manku 69e7b40762 Merge #3679: TEXT's own Backwards and Upside down (DXF 71 generation flags) 2026-11-30 18:44:56 -07:00
Tanish Manku 60de483a5e Turkish: translate the unsaved-changes warning that #3291 left in English 2026-11-30 18:44:11 -07:00
Tanish Manku dec1b14c22 Merge #3291: i18n(tr): complete Turkish UI catalog 2026-11-30 18:43:56 -07:00
Tanish Manku 9cf855c55e Merge #3232: Save As and Export: write DXF and DWG at the chosen version (#3213) 2026-11-30 18:43:54 -07:00
Tanish Manku 5d7f8b62d9 Merge #3259: RECTANG: Dynamic Input asks for the other corner as X and Y (#3258) 2026-11-30 18:43:52 -07:00
Tanish Manku e16c39825a Merge #3287: perf(gpu): stabilize deep-zoom vertex origin with power-of-two grid and hysteresis 2026-11-30 18:43:50 -07:00
Tanish Manku fe83a26af5 Merge #3221: fix(engine): frame layout extents on initial tab switch (#3219) 2026-11-30 18:43:48 -07:00
Tanish Manku d99b20a46a Merge #3248: DXF: mirror a mirrored HATCH's pattern lines with its boundary (#3120) 2026-11-30 18:43:46 -07:00
Tanish Manku 3b4ee98570 Merge #3617: trim/extend: Shift toggles mode with live preview (partial #3569) 2026-11-30 18:43:44 -07:00
Tanish Manku ace5d48da1 Merge #3625: MOVE and COPY: a perpendicular or tangent base point resolves from the second point (#3481) 2026-11-30 18:43:43 -07:00
Tanish Manku 719bdee804 Merge #3583: SCALE: a factor point on the base point re-prompts instead of ending the command (fixes #3475) 2026-11-30 18:43:41 -07:00
Tanish Manku 67fbc4f850 Merge #3628: Translate the Drawing Units dialog; Italian labels 2026-11-30 18:43:37 -07:00
cdwilson127andClaude Opus 5.5 fc1bf5e2ef Updates: Update and Restart asks about unsaved drawings instead of refusing (#3698)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 13:58:11 +13:00
Tanish Manku a1927ea897 Merge pull request #3692 from storytold/stack/e2
Land #3630, #3659, #3660, #3661, #3646, #3651, #3642, #3519, #3288, #3685, #3609, #3214, #3540, #3594, #3622: LISP and script fixes, graphics start-up fallback, render budgets, solver speed, viewport selection
v0.21.0-nightly.20261201.46550361959.1.ga1927ea8974c
2026-11-30 17:12:22 -07:00
CTGControlsandClaude Opus 5.5 7d9225c856 SCALE: the factor-point check uses require_length (#3475)
The point arm repeated require_length's check and message inline; it now
calls the helper, as the Reference length already does, so the two paths
keep one threshold and one error.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 16:23:12 -06:00
moandClaude Fable 5.2 ae73bfa463 Bottom-justified Aligned text is inside its box
Bottom justification lifts a line by a third of the height it is drawn at.
The box used a third of its own height, which is the most the line can be
drawn at, so the box began above the bottom of the text: "I" over a span of
20 is drawn from 20 to 80 and its box began at 40. The box now runs from
where the shortest possible line would start (from the widest width the
stroke font gives the line) to where the tallest would end.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-30 22:20:44 +00:00
kc8a 65fbabbbee trim/extend: exercise the Shift cache key at Crossing with a steady prompt 2026-11-30 22:14:28 +00:00
moandClaude Fable 5.2 a5545fb5e2 Aligned text extents hold narrow letters; unfitted text keeps a box of its own size (follow-up to #3506)
Two findings from the landing review of #3506.

Text of next to no width is left as it is by the fonts. The box applied
that cutoff with a margin, so for a height of 1e-7 and a width factor of
1e-5 it still scaled the text over its span: a box about a million units
high. It now uses the fonts' cutoff as it is.

Aligned text is scaled by span / shaped width, and the box divided by the
widest width a line can have, so narrow letters were drawn taller than
their box: "I" over a span of 20 is drawn 60 high in a box of 22. The
height now comes from the least width the stroke font gives a line.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-30 21:44:53 +00:00
FredApps 877185824f Merge current main and preserve annotation and wipeout DXF setup 2026-11-30 22:04:30 +01:00
paco-velascoandClaude Fable 5.2 0cfd8aac85 Text generation flags: extents of mirrored Aligned and Fit text
A test that the extents of backwards and upside-down text over two
points are the plain text's extents reflected about the first point,
as the drawn text is.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-30 21:53:38 +01:00
Yuri GanugiandClaude Opus 5.5 5ec689264f chore(i18n): move the Italian rows out of this PR
Per review: the 40 Italian rows go to a translation-only PR.
it.tsv is back to its state on main; this PR keeps only the
dialog wiring and the English keys.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 21:53:20 +01:00
Tanish Manku 23f60b50aa Merge pull request #3689 from storytold/stack/p2
Land #3483, #3672, #3520, #3613, #3611, #3610, #3647, #3668, #3670: proxy graphics follow-ups, hatch derived bit, covered cell text, layer 0 attributes, WIPEOUTFRAME, layout flags
2026-11-30 13:51:50 -07:00
paco-velascoandClaude Fable 5.2 318cfc83fa Merge main into fix/text-generation-flags-read
Keeps both sides in text_box (main's fitted height and rotation, this
branch's mirroring) and sets the two flags on the Text literals main
has added since.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-30 21:31:20 +01:00
Tanish Manku 8a34fdf47e Merge #3622: selection highlight and plot style outlines no longer overflow the web build 2026-11-30 13:25:12 -07:00
Tanish Manku 18ccfa1100 Merge #3594: render: budget the primitives a display list holds 2026-11-30 13:25:10 -07:00
Tanish Manku fe8cff7071 Merge #3540: dxf: store DIMLFAC-scaled dimension measurements 2026-11-30 13:24:58 -07:00
Tanish Manku 0589527c4c Merge #3214: Selection through a viewport leaves out block parts on its frozen layers (#3126) 2026-11-30 13:24:55 -07:00
Tanish Manku 4d739604a0 Merge #3609: Update url to 2.5.9 and async-executor to 1.14.1 (part of #1935, F-17) 2026-11-30 13:24:53 -07:00
Tanish Manku dff5d4cca1 Merge #3685: Start with another renderer when the graphics can't start (automatic fallback) 2026-11-30 13:24:51 -07:00
Tanish Manku d9be0f6350 Merge #3288: fix(cmd): support SCALE Reference Points/Copy and grip height scaling 2026-11-30 13:24:49 -07:00