Commit Graph
13891 Commits
Author SHA1 Message Date
aiongg fea993e30c ci(windows): drop the dependency layering check, which the Linux gate runs 2026-11-18 14:52:50 +00:00
aiongg f49a6684f8 ci(windows): run Clippy in its own parallel leg 2026-11-18 14:52:46 +00:00
aiongg 33e41a6539 ci(windows): upload cargo build timings from the test legs 2026-11-18 14:52:38 +00:00
aiongg 39e85bffcb ci(windows): link the test binaries with rust-lld, without ICF or PDBs 2026-11-18 14:52:31 +00:00
aiongg b4511d21ca fix(web): restore bounded-memory wasm release profile
Reapply aiongg commit 1848c17350 (#15508), reverted by 435d6e5. Preserve newer test profiles, optimization levels and browser package size gate. Independently source-reviewed; locked offline metadata passed. Fresh hosted browser validation remains required.
2026-11-18 08:36:32 -05:00
Dylan Taylor 9e934c6e0e fix(web): consume unsupported RAW and wide-angle workspace controls
Prevent ui requests from falling through to engine defaults on WASM. Preserve native controls, ordinary menu opening and plain filter parameters. Exercise browser handlers through the same dispatch core in native tests with document/history and workspace preservation assertions.
2026-11-18 08:04:05 -05:00
FredApps faf4398de2 test(paste): align board clipping expectation with base-aware copy
Apply only the edit_cmds/tests.rs subset of FredApps commit 955cf65ae2 (#15596). The ActionList subset was integrated separately. Merged #9833 releases a copied group when its external clipping base is omitted; retain both populated and empty destination-board assertions.

Source independently reviewed; original #10538 author accepted this correction. No production behavior or test suppression.
2026-11-18 07:50:30 -05:00
FredApps 6bbe4cc1df fix(cli): retain typed errors through launch option validation 2026-11-18 07:04:49 -05:00
FredApps 35cfb1c6d8 test(actions): adapt conditional tests to ActionStep API
Apply only the actions_edit_cmds.rs portion of FredApps commit 955cf65ae2 (PR #15596). Preserve predicate/replay/layer assertions; unrelated clipping expectation change is not included.
2026-11-18 07:03:31 -05:00
aiongg 435d6e5a51 Match storytold main's profile tables, fix merged frame-tool tests for the boxed app, report withdrawn injected input in remove_channel_target
The Remove-channel-target control-pointer test now asserts the injected press was delivered rather than withdrawn, and its assertion messages include the active layer, text-edit state and job state.
2026-11-18 11:28:36 +00:00
aiongg 8bc1e51260 Merge storytold main into main-gate-fixes 2026-11-18 11:06:37 +00:00
NetterSilver 5718a98c1f Record actions.conditional as one step with its predicate (#7583)
Fixes #7238.

`replayable` now also accepts `actions.conditional`, so a Conditional is recorded with its predicate instead of the branch that happened to play (or nothing). Playback then evaluates the condition again on the current document.
2026-11-18 16:43:03 +07:00
FredApps d1981cb616 Merge pull request #9184 from dotCooCoo/fix/stale-parity-rows
docs: mark tool flyout press-and-hold, Direct Selection nudge and two brush rows as built
2026-11-18 16:39:55 +07:00
FredApps 8d6a867925 Merge pull request #9607 from dotCooCoo/fix/rpc-deadline-test-no-clone
Tests: the control-channel TCP tests read and write through the stream, not a clone
2026-11-18 16:38:52 +07:00
FredApps 6dc20043a2 Merge pull request #14366 from yoriswind/codex/frame-content-under-drag-13860
Pick topmost eligible content under Frame Tool drags
2026-11-18 16:30:55 +07:00
FredApps 9d57ea4b1c Merge pull request #15095 from yoriswind/codex/define-brush-visible-source-14271
Define brush presets from the visible document composite
2026-11-18 16:28:32 +07:00
FredApps 7c5d0bc6ea Merge pull request #9750 from 1Git2Clone/ci/ast-grep-cli
ci(cli): check the command-line code with ast-grep rules (RFC-0012)
2026-11-18 16:28:06 +07:00
FredApps d43d2ae651 Merge pull request #8691 from switch87/fix/text-symbol-fallback
Type: fall back to the symbol and math fonts for signs like ⌖ and ⤒ (#8689)
2026-11-18 16:25:10 +07:00
FredApps 156b4f7e25 Merge pull request #11173 from hnoerenberg/fix/xmp-rdf-end-tag-flex-11116
fix(xmp): File Info keeps packets with a spaced or re-prefixed RDF end tag (#11116)
2026-11-18 16:24:44 +07:00
FredApps fef4f82e26 Merge pull request #9858 from NaufalDzz/convert-layers-knockout-isolation
Convert to Layers keeps a knockout layer isolated in a group (#9753)
2026-11-18 16:24:19 +07:00
FredApps cac9512877 Merge pull request #9833 from NaufalDzz/paste-release-orphan-clip
Copy releases a clipped layer copied without its base (#9736)
2026-11-18 16:23:53 +07:00
FredApps 68f3d9db8c Merge pull request #10570 from yoriswind/codex/layer-comp-capture
Skip unused property capture in Layer Comp updates
2026-11-18 16:23:28 +07:00
FredApps 8d0fcb1b29 Merge pull request #10306 from Lcoding15/fix/select-all-active-artboard
Select: All selects the active artboard (#10258)
2026-11-18 16:23:04 +07:00
FredApps f7938dc479 Merge pull request #10499 from yoriswind/codex/blend-if-parity
Fix GPU Blend If rounding at whole channel levels
2026-11-18 16:22:38 +07:00
FredApps 33acd45399 Merge pull request #10458 from hectorviov/fix/small-mask-feather
Small mask feathers spread as Photoshop's do (#9476)
2026-11-18 16:22:13 +07:00
FredApps afff03ebc7 Merge pull request #9860 from dotCooCoo/fix/manual-fuzz-nightly
Select nightly explicitly for the manual fuzz job
2026-11-18 16:21:14 +07:00
FredApps a8f39a54d9 Merge pull request #11712 from Triwarr/wintab-sys-pin
Pin wintab-sys to 0.1.0 next to wintab
2026-11-18 16:20:26 +07:00
aiongg 71674f3edf Merge branch 'main' of https://github.com/storytold/photocraft into manifest-fix 2026-11-18 08:54:14 +00:00
aiongg 62e0a753bc Cargo: the workspace craft dependency sets default-features = false, as the members that inherit it do 2026-11-18 08:36:32 +00:00
FredApps 7cbc2b85e3 Build the craft UI framework below opt-level 2 in test builds (#15565)
* Build the craft UI framework at craft-libs' optimization levels in test builds

The test profile compiled the craft facade and its framework crates at the
opt-level 2 of package."*", serialised in front of every PhotoCraft crate
that uses craft. Build them at 0 (1 for the crates with per-frame or per-pixel
code), as craft-libs does. Test-profile build on 8 cores: 34m53s -> 21m32s.

* Build the framework at opt-level 1, not 0, in test builds

At opt-level 0 the framework's stack frames overflowed the 2 MiB test-thread
stack in ten more photocraft-ui-egui tests on the Windows runner
(0xc00000fd). Level 1 still shares generic instantiations across crates.

* Build the framework's panels, tools and services at opt-level 0 in test builds

At opt-level 1 throughout, the Windows unit leg still built for 67 minutes.
The runtime every frame passes through keeps level 1, so its stack frames
stay small; the panels, tools and services around it, most of the
framework's compile time, build at 0.

* Wrap the test-profile comment
2026-11-18 14:13:03 +07:00
aiongg d6ca99a146 Tests: the app lives in one Box, so test frames no longer hold copies of it
PhotocraftApp::new and with_context return Box<Self>, and the test harness
holds the Box (a forwarding eframe::App impl for Box<PhotocraftApp>). The 85 KiB
app was held by value in the test, its helper, build_app, build_eframe and
from_builder, all under the first egui pass. The 11 overflowing tests need
0.34-0.78 MiB of stack instead of 1.7-2.0 MiB (mask_click 2032 -> 748 KiB,
navigator_gpu 1956 -> 760, native_tests 1848 -> 748, keys_run 1708 -> 776).
The 8 MiB test thread for the Type Mask click test is removed.
2026-11-18 07:11:02 +00:00
dotCooCoo 8d509835ef Tests: the Type Mask click test runs on an 8 MiB stack
a_type_mask_click_on_text_edits_that_layer_as_the_type_tool_does runs
three apps through two full app frames each. In the unoptimized Windows
build it overflows the 2 MiB stack of a test thread, which aborts the
whole test process (STATUS_STACK_OVERFLOW), so the Windows unit leg
fails. The test body now runs on its own thread with an 8 MiB stack,
and a panic in it is passed on to the test.
2026-11-18 00:05:59 -05:00
FredApps 937f33504a fix(ui): refuse controls for closed workspaces on every target 2026-11-18 02:40:03 +01:00
FredApps 0fa91fb1f5 test(ui): preserve frame assertions without helper expect 2026-11-18 02:09:13 +01:00
Dylan M. Taylor 9f6731f004 test(control): await queued pointer input before checking selection 2026-11-17 19:47:22 -05:00
dotCooCoo 7d25f232e8 Print: keep the saved printer while the hosted dialog's printer list is pending
The Print dialog now picks its printer through the shared print panel, which
replaces the chosen printer whenever a list it receives does not name it.
While another print holds the spooler, the dialog sent its cached (or empty)
list, so a saved printer that list did not name was replaced and its driver
settings went with the next print.

While the spooler is busy, a cached list without the chosen printer is no
longer sent: the chosen printer and its driver settings stay, and Print stays
unavailable until a fresh list arrives. A fresh list without the chosen
printer replaces it, and the replaced printer's driver settings are dropped.
Driver settings remembered without a printer (the system default) stay.

The saved-settings tests now read the chosen printer from the dialog's
settings and run on every platform.
2026-11-17 19:46:12 -05:00
Dylan M. Taylor df4872078f Merge commit 'refs/pull/15510/head' of https://github.com/storytold/photocraft into dot/photo-font-fixture-20261117 2026-11-17 19:43:50 -05:00
Dylan M. Taylor 75dd7312e1 test(ui): exercise choice edits and preserve first-pass timing invariant 2026-11-17 19:43:50 -05:00
Dylan M. Taylor 484671de15 test(fonts): use a supported script for runtime fallback fixture 2026-11-17 17:43:04 -05:00
FredApps 611afc670f Merge commit 'd6d93ace07c430de898835e4862443f52ffc890c' into integrate/15474-gates-20261117 2026-11-17 23:13:22 +01:00
FredApps 6df2eecea0 Merge commit '1848c17350db887be301df77c36e74b2d309fd80' into integrate/15474-gates-20261117 2026-11-17 23:13:09 +01:00
dotCooCoo 08dcd6ba90 Tests: file dialog and histogram tests pass on Windows again
The file dialog tests rebuilt a Save request's suggested path with
Path::join, which puts a backslash between the folder and the name on
Windows, while the expected paths use "/". The helper now joins with "/".

The histogram throttle test set the last count's time to 0, but each test
pass moves the context's clock on by one frame, so a run that took more
than 15 frames to settle was already past the 250 ms throttle. The test
now sets the time to the context's current time.
2026-11-17 13:38:00 -08:00
aiongg 1848c17350 web: build the wasm-release profile with thin LTO and 16 codegen units
Fat LTO with one codegen unit peaked at 21 GB of RAM in rustc, more than a 16 GB CI runner has.
2026-11-17 21:18:39 +00:00
aiongg d6d93ace07 CI: craft-fonts cc9269cd8, which has Noto Sans Tamil for the Tamil language name 2026-11-17 21:04:35 +00:00
Dylan M. Taylor f22e6e39b5 fix(prefs): clone shared catalog for preview words 2026-11-17 16:03:34 -05:00
Dylan M. Taylor b4c6ef3814 fix(web): retain verified runtime fonts across UI rebuilds 2026-11-17 15:49:24 -05:00
Dylan M. Taylor 36ade0c3a4 scope: retain base workflow font inputs in CI repair 2026-11-17 15:44:12 -05:00
Dylan M. Taylor f22d5a8113 fix(ui): retain WASM workspace refusal and preview preference buttons 2026-11-17 15:41:52 -05:00
aiongg 2b1b049db9 Menus: the English-name map's doc names its key 2026-11-17 19:23:47 +00:00
aiongg f9847af8d2 Palette: English names for the Appearance rows, looked up by command id and parameters
The theme rows all run app.theme, so the English-name map is keyed by id and params. The framework's theme submenu is laid out once in English to fill it.
2026-11-17 19:23:30 +00:00