Commit Graph
11425 Commits
Author SHA1 Message Date
yoriswind c3f61de9d4 test: use the current TIFF fixture alignment idiom 2026-11-02 14:53:53 -08:00
yoriswind faed6b4fb5 fix: capture action dependencies inside explicit Batch steps 2026-11-02 14:46:19 -08:00
vangel76andClaude Sonnet 5.5 439e029b19 Render Video: say what the GIF staging cap does and does not bound (#6103)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 23:44:40 +01:00
Fabio Lissi bc48f31da0 Allow ATN group-end select no-op through admission 2026-11-02 16:43:52 -06:00
yoriswind ea6a120b7d fix: retain ambiguous Custom kernel descriptors 2026-11-02 14:40:00 -08:00
yoriswind 84d6bd7572 fix: retain group canvas transparency after ATN integration 2026-11-02 14:36:08 -08:00
vangel76andClaude Sonnet 5.5 f4adb8fb9b Render Video: cap the total an animated GIF keeps staged (#6103)
The GIF branch checked one frame against MAX_GIF_FRAME_PIXELS but kept every
encoded frame until the file was written, so frames x pixels was unbounded: a
4000 x 4000 canvas on a long timeline staged terabytes. Check the total
(one index byte per pixel plus the palette, 2 GiB like imported footage) and
the 16-bit GIF side before the first frame is rendered, with checked u64
arithmetic and an error that names the limit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 23:36:03 +01:00
yoriswind 2f801162ca Refuse loading Actions while a recording is suspended 2026-11-02 14:34:30 -08:00
yoriswind 47d8af320c fix: preserve FITS payloads and separate TIFF masks in Batch 2026-11-02 14:34:01 -08:00
ljkx 6dd5156e5f Crop: the Shift-corner unit test expects the diagonal size (#10871) 2026-11-02 23:21:59 +01:00
Claude 3bdfdea33a #10726: the target test leaves the Paths panel on no path, so the Pen draws on the work path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
2026-11-02 22:15:14 +00:00
yoriswind 503908fa10 Distinguish absent Image Size menu intent in ATN tests 2026-11-02 14:11:25 -08:00
dotCooCoo 9e718d7793 Actions: Check Spelling playback keeps to its document and its corrections run
- A loaded spellCheck step reads null and Usng by name, in either order.
- A correction step (action set) with its dialog on runs without opening
  the Check Spelling dialog.
- Done continues a waiting action only on the document it was playing on;
  on another document the action ends there and the status says why.
- When recording the step fails at Done, the status keeps that error next
  to the playback's outcome.
2026-11-02 14:10:42 -08:00
yoriswind 91c94b025e test: isolate file command fixtures with repeated labels 2026-11-02 14:05:28 -08:00
funkvay-star c907fe59f1 Levels clipping: doc comments on name, request and paint (#3328) 2026-11-03 02:00:54 +04:00
funkvay-star 91e86c5fb6 Levels clipping: draw on the main canvas only (#3328)
canvas_view runs once per viewport, and the display keeps one cache and
texture sized to its view. Extra document windows no longer draw it or
replace that cache.
2026-11-03 01:59:40 +04:00
funkvay-star 6ae97992c2 Merge upstream/main into feat/levels-reset-clipping
Main moved the adjustment dialogs into dialogs/: the clipping sync call,
levels_drag and the Input slider rect follow them, and targets_channel
now honours the dialog's own target param.
2026-11-03 01:59:39 +04:00
Fabio Lissi 95a7d211c2 Correct Batch command naming and folder docs 2026-11-02 15:59:20 -06:00
Fabio Lissi 0306fafb9b Preserve active spelling layer in recorded actions 2026-11-02 15:58:29 -06:00
Claude 44294005cb #10726: the target test selects the work path while the Pen carries on the shape's
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
2026-11-02 21:44:45 +00:00
dotCooCoo 9817a88779 Merge main into fix/spelling-change-keeps-its-layer-when-recorded 2026-11-02 13:41:01 -08:00
Daktyl198andClaude Opus 5.5 e451cafeba Actions: relabel only this save's own Save As as File > Save, and keep a picked extension's case (#5305)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 21:40:41 +00:00
yoriswind 3b22f79b80 fix: preserve Batch references and multi-image sources 2026-11-02 13:40:23 -08:00
Daktyl198andClaude Opus 5.5 399282c41e Merge main into the #5305 fix, and bring it to the new layout
Main moved the Save As, Save for Web and .atn code (cmd/atn_cmds,
cmd/web_cmds, app/files.rs, dialogs/) and added DDS and JPEG Options
prompts, so the fix is applied again there:

- Save As with the suggested name records {"folder", "extension"}, also
  when answered in the Targa, DDS or JPEG Options prompt, and a Save of
  the document's own file is still journaled as File > Save.
- A loaded "save in directory" (DIDr) Save As imports as that folder step
  and exports back with DIDr, instead of staying a kept step; a copy into
  a folder stays kept.
- Playing it on two documents writes one file for each, under its name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 21:32:49 +00:00
FredApps 9eddf1d8ca Pause and retry a failed or full scratch disk instead of turning spilling off
A scratch write or create failure, or a volume about to drop below max(1 GiB, 5%)
free space, now pauses spilling with exponential backoff (1 s doubling to 60 s)
instead of disabling it for the session. Tiles stay resident, set_budget keeps
the latest budget for the resume, preference changes retry at once, and
spill::epoch lets the engine re-apply History's byte limit while paused.
spill::set_size_cap adds an explicit size limit; free space comes from sysinfo's
disk feature.
2026-11-02 22:31:56 +01:00
FredApps 44f13e5498 Scope scratch read failures to the document that holds the tile
One unreadable tile used to block editing, saving and exporting every open document
(spill::check_integrity was process-global). Add Tile/Surface/Document::scratch_health
(free while no tile has failed) and Document::for_each_surface (ops' history walk now
delegates to it). edit_with checks the document before and after, jobs the document they
captured, import the result, save/export the document written; check_since is now
generation-only so a failure or recovery during an operation refuses it once and a retry
works. Caches check their own sources and purge once per new failure instead of every
frame. Fault-injection tests use a duplicated handle (the Unix file has no name).
2026-11-02 22:23:42 +01:00
FredApps 947038d0db Unlink Unix scratch files right after opening
The spill manager is process-global and never dropped, so the Unix scratch file was only
removed by the next launch's reap. Unlink it immediately after opening and read/write
through the one handle with pread/pwrite (readers can no longer reopen it by path).
Windows keeps delete-on-close and per-thread readers. The abrupt-exit test now asserts
that no file remains on every platform; docs/scratch-disks.md updated.
2026-11-02 22:17:50 +01:00
FredApps 13271f58fa Size filter working sets by area and serialize overlapping operations
working_bytes reserved three 256 MiB result groups for every filter, so two
concurrent filters on a 24x18 image could exhaust the transient allowance and
actions.play reported 'not enough working memory'. Bound the result groups by
the area, charge only untiled RSS when resident tiles are evictable, always admit
the transient allowance, and let an operation that fits on its own wait (bounded,
30 s, native only) for concurrent reservations instead of failing.

Replace the deprecated AtomicU64::fetch_update with try_update (stable since
1.95, the MSRV).
2026-11-02 22:16:32 +01:00
FredApps b0f3c7516b Merge current main into codex/scratch-storage
Resolve conflicts with main's prefs UI split, session/execute.rs move, GPU memory
budget (gpuMemoryMb, 0 = auto, kept from main) and effective_memory_usage_mb history
budget. Port the Memory Usage % and Scratch Disks preferences into prefs_ui, the edit
integrity guard into session/execute.rs, and adapt main's new pixel readers to the
guarded TileBytes API. Cargo.lock regenerated; scorecard regenerated.
2026-11-02 22:16:22 +01:00
midasdf 7f592772c8 Merge remote-tracking branch 'origin/main' into pr
# Conflicts:
#	ROADMAP.md
2026-11-03 05:52:38 +09:00
Khawar Zamman Wani ac14963dd2 test: pass display names separately from source paths on memory retry 2026-11-03 02:17:39 +05:30
Claude 468e092bff #10113: layer ids are unique across documents; the test types in the first one's newest layer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
2026-11-02 20:45:05 +00:00
Claude c2b044bb69 #10726: the tests' selection is made on the current document
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
2026-11-02 20:45:04 +00:00
Fabio Lissi 499f7ab609 Merge upstream main into action recording 2026-11-02 14:44:32 -06:00
Fabio Lissi 2537b927e0 Merge upstream main into batch automation 2026-11-02 14:38:41 -06:00
yoriswind fd05cc9da9 Merge main and retain Actions menu and reference registrations 2026-11-02 12:31:29 -08:00
yoriswind 3d5a42e3bb Merge current main before Batch review repairs 2026-11-02 12:29:16 -08:00
Khawar Zamman Wani 03cbe19f08 fix: clear assertion lints and UI test borrow errors 2026-11-03 01:49:57 +05:30
yoriswind f81c028514 fix: bound browser picker reads and gate Reset modes 2026-11-02 12:19:52 -08:00
aiongg b957878f3f Merge pull request #10776 from davidmann4/integration-batch-12
Integration batch 12: 14 Actions PRs on main
2026-11-02 15:13:40 -05:00
Psychotoxical 0d27191cb7 Layers panel: keep filtering while the filter row is hidden
Filter Options › Hide hides the row but keeps the filter applied, as in the
reference application (#10876, #10877). This PR now only draws the row in
every theme.
2026-11-02 21:07:53 +01:00
Khawar Zamman Wani e97480ac76 fix: synchronize test dependencies and repair CI compile diagnostics 2026-11-03 01:31:34 +05:30
Khawar Zamman Wani 5992650b36 fix: address PSD admission review and enable platform memory consent 2026-11-03 01:26:13 +05:30
Fabio Lissi 50670f9d67 fix: preserve active batch edits and cancellation result 2026-11-02 13:54:58 -06:00
Claude a386a31aa9 #10726: import Point from geom in the test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
2026-11-02 19:49:17 +00:00
Fabio Lissi 3e52046ed3 docs: clarify recorded layer selection behavior 2026-11-02 13:47:31 -06:00
Claude 9aa1000071 #10101: the active document stays active when its edge's grip is dragged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
2026-11-02 19:40:36 +00:00
Claude d9355e1ec2 #10113, #10682: fold typing only into its own document's new layer, keep styled edits apart, name failed files whole
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
2026-11-02 19:40:33 +00:00
Claude dedda70ab5 #10726: carry on the selected subpath, from the path the Pen draws on, and keep a smooth endpoint smooth
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
2026-11-02 19:40:33 +00:00
Claude df1aaaac4c Merge remote-tracking branch 'upstream/main' into feat/arrange-drag-borders 2026-11-02 19:39:34 +00:00