Commit Graph
8337 Commits
Author SHA1 Message Date
BFlat 959c9aedd1 Merge pull request #4321 from Silvertree2010/fix/h3030-colorkey-display-panics-on-a-hug
Fix ColorKey Display overflow on huge negative Lab a/b
2026-10-29 09:52:04 +07:00
BFlat 0328fb227a Merge pull request #4391 from Silvertree2010/fix/3605-audit-pdf-encryption-file-key-sa
Seed PDF encryption keys from the OS random source
2026-10-29 09:50:59 +07:00
Max MittelstädtandGPT-6-Luna c714797e99 Reject fractional DXF integer values
Found while testing crates/cad/src/import/reader.rs:69

Co-Authored-By: GPT-6-Luna <noreply@openai.com>
2026-10-29 08:45:52 +07:00
NetterSilverandClaude Haiku 5.5 ddd017eb0a Reject a sign after # in EPS PostScript radix numbers
Found while testing crates/eps/src/import/lex.rs:287-289 (number)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:45:39 +07:00
NetterSilverandClaude Haiku 5.5 aca98ffe79 Reject non-hex characters in EPS uni/u glyph names
Found while testing crates/eps/src/import/text.rs:501-502 (glyph_char)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:45:25 +07:00
NetterSilverandClaude Haiku 5.5 de6b14b541 Accept CRLF lines of exactly the maximum length in the MCP reader
Found while testing crates/mcp/src/server.rs:180-205 (read_line_capped)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:45:12 +07:00
NetterSilverandClaude Haiku 5.5 66498b9740 Reject non-hex digits in RTF \'XX escapes
Found while testing crates/engine/src/cmd/place/rtf.rs:111

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:44:57 +07:00
NetterSilverandClaude Haiku 5.5 26f9b7f80c Reject non-hex characters in Image Trace ignoreColor
Found while testing crates/ui-egui/src/panels/image_trace.rs:28-34 (ignore_color)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:44:45 +07:00
NetterSilverandClaude Haiku 5.5 c2fb35b244 Fix ColorKey Display overflow on huge negative Lab a/b
Found while testing crates/color/src/recolor.rs:72 (Display for ColorKey)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:44:39 +07:00
NetterSilverandClaude Opus 5.5 4c4113096c Seed PDF encryption keys from the OS random source
Fixes #3605

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 08:44:36 +07:00
dotCooCoo a5be18b693 Save As .ai: name dots and corner-fitted dashes in the editing data's stroke warning
Dotted strokes (zero-length dashes with round or projecting caps) and dashes
fitted to corners are written as filled outlines in the editing data for
other apps. The warning that lists the strokes written that way now names
them.
2026-10-28 17:57:36 -07:00
dotCooCoo b8279befba Save As .ai: write the editing data's header, palette and layers in the full layout
The editing data now has the layout of the .ai files it was learned from:

- Lines end in CR LF. Line breaks inside strings stay escaped.
- The header adds %%For (the document's author), %%Canvassize 16383,
  %AI7_ImageSettings, %AI5_ArtFlags, %AI5_TargetResolution,
  %AI5_OpenViewLayers (a digit for each layer, 7 shown and 6 hidden) and
  %AI7_GridSettings (the document's grid spacing and subdivisions), in the
  order those files have them.
- The setup starts with 0 Bn (no gradient definitions).
- The palette starts with the Registration swatch: Xs in a CMYK document,
  Xz with black's CMYK equivalent in an RGB one. Reading the file back does
  not add a swatch for it.
- Each layer and sublayer carries its name as an XML id in an /ArtDictionary
  after Ln. An object named like a layer gets a numbered id.
- The LastModified dates of the PieceInfo dictionaries end in +00'00'.
2026-10-28 17:45:42 -07:00
dotCooCoo f33617142c Save As .ai: carry editing data that other apps open as layers and paths
A PDF-compatible .ai now also carries, on its first page's PieceInfo, an
editing copy of the art in the form VectorCraft's own .ai reader reads:
AIPrivateData streams of 64 KiB holding the program compressed with
Zstandard after %AI24_ZStandard_Data, an AIMetaData stream of its header
comments, and the ContainerVersion, CreatorVersion, NumBlock,
RoundtripStreamType and RoundtripVersion entries.

The program holds the header comments, the color swatches and color
groups, every artboard, layers and sublayers (name, order, visibility,
lock, color, printing, dimming), groups, paths, fills and strokes (width,
caps, joins, miter limit, dashes, overprint, fill rule), process, spot and
global colors, guides, hidden and locked objects and object names. Type,
gradients, patterns, images, symbols, live objects, brushes, clipping
groups and compound paths are written as plain filled and stroked paths,
each with a warning; transparency and effects other than geometry effects
are left out.

The .ai option editingData (on by default, Include Editing Data for Other
Apps in Save As) turns it off. The legacy version 7 writer is unchanged;
the path, guide and line style operators both writers write move to
eps/src/ai_ops.rs. LoadOptions::native off opens a file from its editing
copy or pages instead of the VectorCraft document it carries.
2026-10-28 16:55:41 -07:00
Dylan M. Taylor 5fd2282b79 Merge pull request #4497 from dylanmtaylor/chore/remove-windows7
Remove the experimental Windows 7 build
2026-10-28 18:46:56 -04:00
Dylan M. Taylor 49a60d9c5f Merge pull request #4299 from dylanmtaylor/sonar/enforce-clippy-standards
Enforce Rust coding standards via Clippy
2026-10-28 18:41:55 -04:00
Dylan M. Taylor 7a3b62b3b9 Docs: point the review disposition at the renumbered §8.10; drop Windows 7 from the change headers 2026-10-28 18:36:04 -04:00
Dylan M. Taylor 50bb4acf4e Update Cargo.lock: eframe no longer needs glow without the windows7 feature 2026-10-28 18:35:07 -04:00
Dylan M. Taylor cc3ca69d50 Remove the experimental Windows 7 build
Drop the unsupported Windows 7 x64 portable build and everything that existed only for it:
the windows7 workflow, packaging script and docs/windows7.md; the windows7 feature and the
win7-target cfgs (plain cfg(windows) now); the Windows 7 print transport
(printing/windows7.rs); the glow renderer path; and vendor/windows-link, the patched crate
only that build used. NOTICE, README and the living docs no longer describe it; dated
change-history rows are left as they were.
2026-10-28 17:57:17 -04:00
Dylan M. Taylor 484d25582c Merge remote-tracking branch 'origin/main' into pr-4299-ff 2026-10-28 17:20:12 -04:00
Dylan M. Taylor 86c81f21d2 Restore RTL Mojikumi condition, dropped layout comments and xtask root
- flow.rs: an opening bracket starting a wrapped line is set flush unless the paragraph is
  right to left, as before the split (it had become !vertical, so vertical text with
  LineEndHalf lost the flush and RTL paragraphs gained it). PlacementContext carries rtl.
- flow.rs, ruby.rs: put back the comments the split dropped (JLREQ, burasagari, Optical
  Margin Alignment, kashidas, ruby phases).
- xtask root(): the parent directory, not .../xtask/..
2026-10-28 17:20:12 -04:00
Dylan M. Taylor 12414aa9f6 Make PDF export comparison deterministic 2026-10-28 19:53:43 +00:00
Dylan M. Taylor 56804f6d7e packaging: honor CARGO_BUILD_TARGET in FreeBSD package.sh (#4487)
The shared release workflow cross-compiles FreeBSD aarch64 from an x86_64 VM by
setting CARGO_BUILD_TARGET. package.sh ignored it: it took the arch from uname -m
(the host, x86_64), read binaries from target/release, and ran the cross-built
binary to print its version. Pass --target, read from target/<triple>/release,
take the arch from the target, and skip the version run when cross-built.
2026-10-28 15:48:05 -04:00
Dylan M. Taylor f07afc992b Scope platform-specific imports 2026-10-28 18:18:29 +00:00
Dylan M. Taylor ed960ef1f1 Grant network access so update checks can reach GitHub (#4482) 2026-10-28 13:07:32 -04:00
Dylan M. Taylor e6da628e56 Simplify application integration tests 2026-10-28 16:44:19 +00:00
Dylan M. Taylor 55dddf6adf Extract UI event and rendering helpers 2026-10-28 16:44:17 +00:00
Dylan M. Taylor 0b821b3c54 Extract engine command and state helpers 2026-10-28 16:44:14 +00:00
Dylan M. Taylor 7043ef6f3d Extract geometry command helpers 2026-10-28 16:44:11 +00:00
Dylan M. Taylor 90ef99cb2c Simplify file import and export checks 2026-10-28 16:44:05 +00:00
Brandon ThomasandClaude Opus 5.5 68b68a30ac Release 0.18.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.18.0
2026-10-28 12:09:18 -04:00
Dylan M. Taylor 62588fd080 Separate selection tool pointer phases and clarify imports 2026-10-28 05:03:13 +00:00
Dylan M. Taylor 7e44df55a9 Make renderer and SVG module dependencies explicit 2026-10-28 05:03:00 +00:00
Dylan M. Taylor 317d270823 Clarify PDF import stages and module dependencies 2026-10-28 05:02:46 +00:00
Dylan M. Taylor 89d538e40c Separate metafile record parsing into focused handlers 2026-10-28 05:02:26 +00:00
Dylan M. Taylor a9e82efcf0 Clarify EPS import and interpreter stages for strict Clippy 2026-10-28 04:52:26 +00:00
Dylan M. Taylor e1bc6b235c Clarify effects dependencies and split parameter checks 2026-10-28 04:52:07 +00:00
dotCooCoo 5d5b775e27 Merge main into feat/native-save-precision 2026-10-27 20:34:51 -07:00
aiongg 9997ff0215 ci: run the printps tests under their moved path and fail when none run (#4305)
The module layout moved tests_printps to tests::printps, so the print
workflow's filter matched nothing and the step passed with 0 tests.
2026-10-27 21:09:33 -04:00
aiongg 54c4f82638 Merge pull request #4295 from Jeremy8776/feat/install-scope-policy
Windows installation policy: VectorCraft
2026-10-27 17:16:50 -04:00
Jeremy ddf9845a27 test(installer): cover the compiled folder searches, resolver chains and wizard folder replay
The policy check now reads the compiled AppSearch and RegLocator rows for the
remembered-folder properties (registry root, key, value name and type for both
scopes) and runs the DIR, FOLDER, PATH and legacy exe actions in sequence order
against seeded values, so their precedence and the preset-folder guard cannot
regress. It also replays the wizard folder actions in sequence order (a
remembered folder beats the new-install default, a typed folder beats both) and
requires the machine restore action between the scope page and costing.
2026-10-27 21:13:29 +00:00
skylar taylor-barrick 0051b8af76 Merge pull request #3283 from el-j/fix/compound-path-pen-join
M2.1: allow Pen tool and path.join to continue, close, and join compound paths (#3274, #3276, #3379, #3380)
2026-10-27 15:13:15 -06:00
aiongg 28b5b9249c ci: use storytold/craft-common-actions at the merged installer-policy commit 2026-10-27 20:52:02 +00:00
Jeremy 1440538ab6 fix(installer): check the exact architecture-specific machine folder
The pre-signing check matched any folder named Program Files, so it rejected
a valid MSI when Windows resolves Program Files elsewhere, accepted the 64-bit
root for an x86 package and accepted a different app name. Build the expected
folder from the package architecture's resolved root and the policy name.
2026-10-27 19:08:52 +00:00
skylar 9952b4950c Merge main (8622d0c7) into fix/explicit-join-ends-3283 2026-10-27 12:20:09 -06:00
skylar be49005d5f Merge main (e6d84c9d) into fix/explicit-join-ends-3283 2026-10-27 12:12:21 -06:00
Dylan M. Taylor 407c41fb1e docs: clarify crate lint placement 2026-10-27 18:03:32 +00:00
Dylan M. Taylor 0e2815629f refactor(text): split flow and ruby layout phases 2026-10-27 17:47:12 +00:00
Dylan M. Taylor daad363da4 docs: require workspace lint inheritance 2026-10-27 17:47:12 +00:00
Dylan M. Taylor dec8b90e3a refactor(text): clarify line adjustment inputs 2026-10-27 17:47:12 +00:00
Dylan M. Taylor efad21adb5 fix(xtask): validate workspace lint policy 2026-10-27 17:47:12 +00:00