Commit Graph
6807 Commits
Author SHA1 Message Date
vangel76andClaude Sonnet 5.5 5cccd2fcf7 Merge upstream/main into fix/6513-stroke-knockout
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-27 20:05:32 +01:00
aiongg dacecbfea1 Merge pull request #9880 from aiongg/batch-1027
Integration batch: 22 PRs on main
2026-10-27 14:25:13 -04:00
aiongg 55effab1aa Merge #9689: CMYK: the test reference keeps a fully covered type pixel's ink exact (#9688) 2026-10-27 17:44:31 +00:00
aiongg 0bc6abc783 Merge #9680: Plug-ins: refuse a code section with no functions but many bytes instead of panicking (#9679) 2026-10-27 17:44:30 +00:00
aiongg c1f3219dfb Merge #9445: Automation: refuse to replace a non-image file in the write root (#9439) 2026-10-27 17:44:26 +00:00
aiongg c284e78c40 Merge #9425: Automation: refuse every Windows device name in request paths (#9424) 2026-10-27 17:44:25 +00:00
aiongg 0e3a6f7e8d Merge #9421: XML: deeply nested ORA, KRA, Camera Raw XMP, .kys and layer XMP are an error, not a crash (#9419) 2026-10-27 17:44:23 +00:00
aiongg 3e0ec5004c Merge #9398: SVG: an embedded data-URL SVG gets the nesting-depth check (#9397) 2026-10-27 17:44:19 +00:00
aiongg 9547aec94a Merge #9395: Color panel: the Color Wheel fits the panel at its default height (#9394) 2026-10-27 17:44:18 +00:00
aiongg d01f2de508 Merge #9393: Preferences: the Generator checkbox reads Enable Generator, as in the reference application (#9392) 2026-10-27 17:44:16 +00:00
aiongg 2f6392574d Merge #9385: Actions: save and read the Lab Lightness channel as Lght (#9384) 2026-10-27 17:44:15 +00:00
aiongg b57b64207e Merge #9340: Tests: the effect-map deadlock watchdog waits 120 s for each render, not for all 101 2026-10-27 17:44:13 +00:00
aiongg ae661394b2 Merge #9036: Autosave: replace a recovery sidecar in one step, so a listing never misses or doubles it (#9034) 2026-10-27 17:44:12 +00:00
aiongg a78414a720 Merge #7412: Print: list printers and spool from one thread at a time 2026-10-27 17:44:09 +00:00
aiongg fa86237e63 Merge #7154: Paste: a drawing copied as SVG markup pastes its pixels 2026-10-27 17:44:07 +00:00
aiongg 266c854a9c Merge #7058: Crop: X with a ratio preset turns the frame instead of shrinking it (#7057) 2026-10-27 17:44:06 +00:00
aiongg 6e9fb30dbc Merge #6723: Color Lookup: PSD save keeps a .3dl/.look LUT file as loaded (#6544) 2026-10-27 17:44:05 +00:00
aiongg 46b6f87709 Merge #6353: Paths: making a selection from a path deselects the path (#6079) 2026-10-27 17:44:03 +00:00
aiongg bf825aa490 Merge #6303: PSD: Diffuse, Trace Contour, Crystallize and Pointillize smart filters open and save like Photoshop (#6302) 2026-10-27 17:44:02 +00:00
aiongg 01594f1f25 Merge #5890: PSD: Frame layers keep their stroke (#4381) 2026-10-27 17:44:01 +00:00
aiongg 5623fe7e29 Merge #5837: Compose: Transparency Shapes Layer off blends a layer's alpha as Fill in the special eight (#5692) 2026-10-27 17:43:59 +00:00
aiongg 0662885964 Merge #5789: Channels: CMYK channels duplicate, load, split and merge as tone, not ink (#5787) 2026-10-27 17:43:58 +00:00
aiongg 0c64f0b642 Merge #5287: PSD save: choose PSB by the encoded size, not the raw estimate (#5285) 2026-10-27 17:43:57 +00:00
aiongg 6f75b63b37 Merge #3535: History: History Options with Allow Non-Linear History and undoable visibility changes (#2966) 2026-10-27 17:43:52 +00:00
aiongg a85d79167e Merge pull request #9877 from Silvertree2010/perf/export-speed
perf(save): faster .pcraft and PSD saves, byte-identical output
2026-10-27 13:42:11 -04:00
NetterSilverandClaude Opus 5.5 b23eabf60c Write the PSD merged image and 8-bit layer planes in place
merged_planes scanned each composite band twice on the calling thread
for alpha, encoded every range into per-channel Vecs one push at a time,
then copied them into the planes. The workers now write their slice of
every plane directly, check alpha as they go, and run a loop
monomorphised per sample type. The 8-bit deinterleave of layer pixels
used one thread per channel with a strided iterator; it now splits the
pixels into one band per core and writes each plane's slice in place.
Same arithmetic, same bytes; a test pins merged_planes against the
previous per-band implementation for RGB, Gray, Lab and CMYK at 8, 16
and 32 bits, with and without the matte.

bench_export .psd, 36 MP, 3 layers, 16 interleaved rounds of 7 reps
(median of medians / min), Ryzen 16 threads, Linux:
  709.4 / 413.7 ms -> 540.8 / 318.9 ms  (-24 % / -23 %)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 16:42:16 +01:00
NetterSilverandClaude Opus 5.5 86245d0719 Encode .pcraft previews while the bundle is prepared and compressed
A ZIP save encoded the thumbnail and the 1024 px composite preview as PNG
on the calling thread before any tile was compressed. The composite alone
is a ~200 ms single-threaded deflate on a 36 MP document, about 40 % of a
full save. The previews are now encoded on their own threads while the
document is collected and its new objects are compressed on all cores;
the bundle is assembled afterwards in the same order, so the bytes are
unchanged. Directory saves encode them up front as before. wasm stays
sequential.

bench_export, 36 MP, 3 layers, 16 interleaved rounds of 7 reps (median
of medians / min), Ryzen 16 threads, Linux:
  .pcraft            517.9 / 471.1 ms -> 319.3 / 287.8 ms  (-38 %)
  .pcraft with cache 360.1 / 334.1 ms -> 277.5 / 268.3 ms  (-23 %)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 16:42:16 +01:00
dotCooCoo 0a8dcd07af Retry printer page setup after spooler contention 2026-10-27 08:04:02 -07:00
aiongg 07bd794686 fix(ui): dropdown menus grow back after a search with no matches (#9849)
* refactor(ui): build every dropdown on craft_ui::ComboBox

Repin craft-libs to the revision with craft_ui::ComboBox, whose menu grows back
after its contents shrink while it is open (egui#5225), and ban egui::ComboBox
in clippy.toml.

* fix(type): the font menu grows back after a search

The search field is the ComboBox header and only the family list scrolls, so
the menu follows the list's height: no unfiltered height kept while searching.

* chore(deps): craft-libs 60d60d48 (dropdown fixes)

* chore(deps): craft-libs 6af63481 (dropdown fixes)

* chore(deps): craft-libs 4d7b82f7 (dropdown fixes)

* chore(deps): craft-libs 92d392cf (#387 merged)
2026-10-27 10:32:56 -04:00
dotCooCoo 7e4aa1f5cf Preserve print settings when the cached printer list is empty 2026-10-27 06:38:33 -07:00
David Mann 55a0ba21d9 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/atn_cmds.rs
2026-10-27 14:24:33 +01:00
David Mann 8b703ae20f Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/canvas_tool_menu.rs
#	crates/ui-egui/src/vector_ui.rs
2026-10-27 14:22:26 +01:00
David Mann dc45a83c88 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/automation/src/rpc.rs
#	crates/automation/src/workspace.rs
2026-10-27 14:20:28 +01:00
dotCooCoo 655a81fc92 Merge main and accept SVG clipboard text after long XML preambles 2026-10-27 06:20:02 -07:00
David Mann 854cea1e12 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/web_cmds.rs
#	crates/ui-egui/src/prefs_ui.rs
2026-10-27 14:19:38 +01:00
David Mann 3e15ea9eb9 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/compose/src/adjust.rs
#	crates/gpu/src/plan.rs
#	crates/io/src/adjust_map.rs
2026-10-27 14:19:34 +01:00
David Mann ac071b7cac Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/automation/src/workspace.rs
2026-10-27 14:19:02 +01:00
David Mann a95536f711 Merge remote-tracking branch 'origin/main' into fix/xml-nesting-cap 2026-10-27 14:17:47 +01:00
David Mann d9dfe34db8 Merge remote-tracking branch 'origin/main' into fix/svg-subimage-depth 2026-10-27 14:17:34 +01:00
David Mann 2363c475c0 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/compose/src/lib.rs
#	crates/gpu/src/plan.rs
2026-10-27 14:17:25 +01:00
David Mann 77d410ca88 Merge remote-tracking branch 'origin/main' into fix/psd-size-encoded 2026-10-27 14:16:43 +01:00
David Mann f010d8b6a1 Merge remote-tracking branch 'origin/main' into fix/plugin-empty-code-section 2026-10-27 14:16:34 +01:00
David Mann e7f810a406 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/channel_cmds.rs
#	crates/engine/src/edit_cmds.rs
2026-10-27 14:16:23 +01:00
David Mann 718636e55e Merge remote-tracking branch 'origin/main' into fix/history-options 2026-10-27 14:16:11 +01:00
David Mann 79db3ba60d Merge remote-tracking branch 'origin/main' into fix/crop-x-ratio-keeps-size 2026-10-27 14:15:55 +01:00
David Mann 80a2fdef92 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/io/src/smart_map.rs
2026-10-27 14:15:23 +01:00
David Mann f3a46ec2b1 Merge remote-tracking branch 'origin/main' into fix/color-wheel-short-panel 2026-10-27 14:14:37 +01:00
David Mann 18494f8afd Merge remote-tracking branch 'origin/main' into fix/cmyk-clip-vivid-light-group 2026-10-27 14:14:29 +01:00
David Mann 356c766d5b Merge remote-tracking branch 'origin/main' into fix/9034-autosave-discard 2026-10-27 14:14:13 +01:00
David Mann 9043f65a08 Merge remote-tracking branch 'origin/main' into fix/5692-tsl-off-blend 2026-10-27 14:14:05 +01:00