Commit Graph
13906 Commits
Author SHA1 Message Date
David MannandClaude Opus 5.5 ed02f0cdf5 WIP: trim redundant test loops (#15367)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 19:42:23 +01:00
aiongg a858d42a50 Merge pull request #15630 from aiongg/ci-windows-cache-save
CI: Windows rust-cache saves again (v2.9.1)
2026-11-18 12:01:55 -05:00
aiongg 735546b11e CI: Windows rust-cache saves again (use v2.9.1) 2026-11-18 17:00:11 +00:00
aiongg 3bc25b0ca8 Merge pull request #15624 from aiongg/scorecard-regen
scorecard: regenerate docs/scorecard.md for the AUTO-219-8 note
2026-11-18 11:38:01 -05:00
aiongg a5759e84ce scorecard: regenerate docs/scorecard.md for the AUTO-219-8 note 2026-11-18 15:55:55 +00:00
aiongg 0376ac1a15 Merge pull request #15616 from aiongg/ci-speed-windows
CI speed: Windows linker, parallel Clippy, warm caches, PR test selection
2026-11-18 10:43:53 -05:00
aiongg 750129f09b ui-egui builds on its own: egui serde and toml display asked for by the crate
`cargo test -p photocraft-ui-egui` failed to compile because egui's serde feature and toml's
display feature came only from other workspace crates. Also drops the stale allowlist note in
AUTO-219-8 (the panel-commands allowlist is empty).
2026-11-18 15:38:06 +00:00
aiongg bfaf39780b test(engine): a background job applies to the layer and channels it started on (#7366)
Replaces the ui-egui window test, whose order depended on wall time, with an engine test:
the job's result is applied only by poll_jobs/wait_job on the session's thread, so a
select_layer after start always comes first.
2026-11-18 15:12:05 +00:00
aiongg d039f542a9 Merge pull request #15474 from aiongg/main-gate-fixes
Fix main's CI: gate, scorecard, Windows test build, web build
2026-11-18 10:04:46 -05:00
aiongg 4d5d0ecc97 ci(freebsd): run nightly and on demand only
FreeBSD no longer runs on pull requests or release pushes, so it never blocks a merge or a release.
2026-11-18 15:00:51 +00:00
aiongg 9ec396231e fix(text): skip the OS locale query in nextest test processes 2026-11-18 14:59:39 +00:00
aiongg 973f310aaa ci(windows): on pull requests skip the tests of platform-neutral packages the change does not reach 2026-11-18 14:56:22 +00:00
aiongg 45e01a84c7 ci: save the dependency caches from build-only warm legs on main 2026-11-18 14:55:44 +00:00
aiongg 5b9a9f1850 ci(nextest): start the slowest Windows tests first 2026-11-18 14:55:08 +00:00
aiongg 5ccb62f44e ci(windows): skip the wasm apps' native tests 2026-11-18 14:52:57 +00:00
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