Commit Graph
11425 Commits
Author SHA1 Message Date
Dylan M. Taylor 382b047c30 Merge pull request #10223 from FredApps/ci/test-runtime-2026-10-29
test: partition long parity matrices without dropping cases
2026-10-30 07:12:16 -04:00
Ben Huyck c60cbcb99c Contributors: credit regexer by GitHub profile name 2026-10-30 09:43:56 +00:00
Ben Huyck ef5b900141 Actions: Load Actions takes an encoding and reports the one it used (#6743) 2026-10-30 09:43:49 +00:00
Ben Huyck d8244139bc Actions: read .atn step names in the code page Photoshop wrote them in (#6743) 2026-10-30 09:43:49 +00:00
Ben Huyck fe7f48fe2e PSD: guess the legacy code page of 8-bit names (#6743) 2026-10-30 09:43:49 +00:00
Dylan M. Taylor 28be431b4a UPD.1: honor app pretend versions in update checks (#10254) 2026-10-30 03:00:13 -04:00
FredApps 0f120bbda1 Merge current main, reconcile streamed PNG profiles and workflow inputs 2026-10-30 06:52:05 +01:00
Dylan M. Taylor 249d126626 Update prompt shows the app icon and accent color instead of a letter (#10243)
UPDATE_APP (native builds; craft-update is a native-only dependency) carries our 128 px icon and accent (#2f7bf5, its colour in ArtCraft Launcher). The updater, the self-update
helper and craft-update's startup prompt all get them through crate::UPDATE_APP; the
prompt draws the icon, the accent and "by ArtCraft" (craft-update's default developer).

craft-update is pinned to storytold/craft-libs main at 1065653e7 (#434).
Clippy fixes for Rust 1.99 in untouched code (same logic):
- apps/photocraft/src/app_dirs.rs
- crates/codecs/src/codecs/via_image.rs
- crates/engine/src/canvas_geom/tests.rs
- crates/ui-egui/src/panels/blend_preview.rs
2026-10-30 01:27:27 -04:00
FredApps 287aad4cbf test: partition font acceptance matrix and schedule GPU budget stress 2026-10-30 06:13:27 +01:00
FredApps 3b352fa217 test: reserve GPU slots for Windows page-eviction stress 2026-10-30 05:07:28 +01:00
tanawat a3383c6d2b i18n: add Thai UI catalog 2026-10-30 03:29:51 +00:00
FredApps 4b3b5b1634 test: reduce software GPU contention for heavy Windows regressions 2026-10-30 04:06:44 +01:00
midasdf d461820117 Merge origin/main into jp/print-paper-sizes
docs/target-app-parity.md status line: main's newest (2026-10-27) plus the Japanese paper-size clause at its previous position; both tables kept main's rows.
2026-10-30 12:01:48 +09:00
Dylan M. Taylor 0379569d00 CI: workflows only call craft-common-actions at @main (#10228)
AGENTS.md (and CLAUDE.md where present) gets a CI workflows section: workflows only call
craft-common-actions at @main, with no other jobs; feature and fix PRs don't touch CI and
link or open a craft-common-actions issue (a PR only for a small fix that is safe for
every app and does not increase CI time); legacy jobs
aren't added to and move only as their own task, staying until a shared workflow runs them.

windows-arm64.yml moves from its SHA pin to @main. The pinned revision is on
craft-common-actions main and the workflow (and the actions it calls) is identical
there, so nothing changes in behaviour.
2026-10-29 22:22:28 -04:00
FredApps a4ab4873e8 Merge current main, retain full-sweep and new benchmark inputs 2026-10-30 03:05:00 +01:00
Claude 7a2794c730 Merge storytold/photocraft main into the Fill/Stroke popover branch
217 upstream commits. Upstream added a colour swatch (Select and Mask's
overlay colour): it now opens the Color Picker titled "Color Picker
(Overlay Color)". Content-Aware Fill and Select and Mask leave their keys
to an open Color Picker, as they did for the swatch popup it replaced
(test keys_wait_while_the_overlay_colour_picker_is_open).
docs/ui-parity.md keeps the scorecard's 12 of 182.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TYsCL5E2GM6hUabP9dmYAv
2026-10-30 01:11:55 +00:00
aiongg 7d66766afb Merge pull request #10157 from FredApps/integration/reviewed-performance-2026-10-29
Integrate 16 reviewed performance and UI fixes
2026-10-29 21:07:40 -04:00
FredApps 4c000a2683 style: match rustfmt for GPU timing closure 2026-10-30 01:54:14 +01:00
3ac3169725 Merge PR #8072: i18n: Norwegian Bokmål catalog (nb)
#10021 combined this PR's catalog at an earlier head (1047bb355). The author's
later push (94cb2cc9c) translated the strings main gained since and listed nb
in CFBundleLocalizations, which #10021 also did. This merge keeps main's code,
tests and docs and takes the author's wording on 49 of the 76 rows where the
two differ, among them "Vis/Skjul snitt" for the font Styles toggle (main had
"stiler") and "Fyll pensel" for the mixer brush's Load Brush. Main's wording
stays where it carries the catalog's one-term choices or the code's meaning:
"tegneflate" for Artboard (tegnebrett is a drawing tablet), "forvalg" for
presets, "Klatt" for Dab, "Fargetone" for Hue, "Halvtone", "web-",
"Opprett utvalg", "Trinn", "Helling", the menu name "Fluktpunkt", the label
"Ta prøve fra alle lag", the theme names, "Antall" for the histogram's pixel
count, «copy» (the suffix Save a Copy really appends), the spelling "seriff",
and the imperative "Oppdater uten buffer" for the button.

Co-Authored-By: Nikolai Nyegaard <6809008+nikolainyegaard@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 01:48:45 +01:00
4806736f9d Merge PR #5666: Add Finnish interface language
#10021 combined this PR's catalog at an earlier head (5ecaf1d48). The author's
later push (1990c7c18) translated the strings main gained since; #10021 had
translated the same strings itself. This merge keeps main's code, tests and
docs and takes the author's wording on 31 of the 42 rows where the two differ,
plus a 32nd with one fix. Main's wording stays where it is deliberate: the
space before % (Finnish typography), "Sävytaso" and "perspektiivitaso" (taso is
Layer), "Kirjainväli" for Tracking (Merkkiväli is Letter Spacing), the menu
name "Pakopiste", the product name Generator, and the imperative "Päivitä ilman
välimuistia" for the button. The CPU-drawing notice takes the author's row with
"järjestelmän tiedot", as the System Info menu reads.

Co-Authored-By: Janiz-zzz <267742026+Janiz-zzz@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 01:48:09 +01:00
David Mann fea300dd4c Merge origin/main into integration batch 10 2026-10-30 01:47:01 +01:00
FredApps db6e27ac02 Partition GPU theme cases and profile remaining parity bottlenecks 2026-10-30 01:42:18 +01:00
FredApps 7be59770a4 Use persisted animation preference for localization test setup 2026-10-30 00:50:31 +01:00
FredApps 0cb4ec56d3 Merge current main and complete retained Pen messages in Nordic catalogs 2026-10-30 00:48:24 +01:00
FredApps c8c8fc7821 Reduce repeated GPU setup and UI work; partition remaining regression matrices 2026-10-30 00:39:19 +01:00
David MannandClaude Opus 5.5 07d2185080 Integration: move the select-before-editor step out of filter_rows (clippy cognitive complexity)
The #7153 fix-up pushed filter_rows to cognitive complexity 32/30; the
selection that runs ahead of the filter editor is now its own function.
No behaviour change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 00:38:29 +01:00
aiongg c5352f204e Merge pull request #8715 from dotCooCoo/fix/history-trim-keeps-the-cleared-brush-source
History: trimming to the memory budget after Clear History keeps the History Brush source
2026-10-29 19:23:03 -04:00
FredApps 47eaae523f Apply rustfmt layout to subpixel blur regression 2026-10-29 23:54:51 +01:00
Dylan M. Taylor 6fdd6bb1b7 packaging: Flatpak finds and prints to CUPS printers (#10196)
* packaging: Flatpak finds and prints to CUPS printers

The Print dialog listed no printers in the Flatpak: the runtime has libcups but not
lpstat/lp, the sandbox couldn't reach the CUPS socket, and driverless network printers
(lpstat -e) need Avahi. Bundle lpstat/lp/lpoptions from CUPS 2.4.20 (Apache-2.0,
statically linked, licence installed) and grant --socket=cups and
--system-talk-name=org.freedesktop.Avahi in both manifests.

* print: lp takes the job only when CUPS lists a printer; the only printer by default; ~/.cups read-only

Review (CodeRabbit) on bundling lp in the Flatpak:
- With lp present but CUPS down or empty, the job failed on lp instead of reaching the
  IPP route and the print portal. lp_route now gives up the route when lpstat lists no
  printer, before anything is submitted.
- With no printer named, no default and one queue, IPP picked it but lp failed. lp_route
  names the only printer.
- The sandbox ignored the user's default printer, saved options and client.conf server:
  grant ~/.cups read-only in both manifests.

* print: no printers for lp means the portal, not IPP; bounded listing; CUPS socket wrapper

Review:
- When lp is there but CUPS lists no printer, the job went to the IPP route, whose
  server detection ignores ~/.cups/client.conf and could print to a local default
  printer instead of the configured server. It now goes to the print portal, or fails
  with no portal.
- The lpstat listing before a job is bounded (10 s, then lp takes the job as before)
  and runs outside SPOOLER, which guards only Windows driver calls.
- Flatpak mounts the host's CUPS socket at /var/run/cups/cups.sock whatever path
  client.conf or CUPS_SERVER names; the CUPS tools now run through a wrapper that
  points a socket path missing in the sandbox there, leaving server names alone.

* packaging: redirect a custom CUPS socket only when it is the one Flatpak mounted

Review (CodeRabbit): Flatpak picks the socket it mounts at /var/run/cups/cups.sock
with stricter rules than CUPS (flatpak-run-cups.c: a socket CUPS_SERVER, else the
first line spelled exactly "ServerName /path" in ~/.cups/client.conf, else the
default), while CUPS reads the keyword in any case and takes the last ServerName. The
wrapper now redirects only when CUPS' socket is the one Flatpak chose, so a job can't
reach a different server; otherwise CUPS fails on the missing path.

* print: a printer listing past its deadline kills and reaps lpstat

Review: the 10 s limit stopped waiting but left a hung lpstat and its thread
running, so repeated print attempts could pile them up. photocraft now runs the two
lpstat listings itself (craft-print's lpstat_command and an equivalent lpstat -e,
parsed by printers_parsed) and kills and reaps each one at the shared deadline. The
output is read on a thread that ends with the process, so nothing outlives the job.

* packaging: never redirect a CUPS_SERVER the sandbox was given

Review (CodeRabbit): Flatpak picks the socket it mounts from the host's CUPS_SERVER,
so one set by flatpak run --env or an override may not be what it mounted. The
wrapper now leaves any CUPS_SERVER alone and redirects only a client.conf socket that
matches Flatpak's choice; otherwise CUPS fails on the missing path instead of
reaching a different server.

* packaging: point CUPS at the mounted socket only when it is the one Flatpak chose, else fail

Review (CodeRabbit): with a custom socket listed first and the default last in
~/.cups/client.conf, Flatpak mounts the custom one at /var/run/cups/cups.sock while
CUPS picks the last line, finds that path, and talks to the custom server. The
wrapper now compares CUPS' socket with Flatpak's choice even when the path exists:
equal, CUPS is pointed at the mount; different, the tool fails with an error instead
of reaching another server.

Also (CodeRabbit):
- A printer named in the job goes to lp even when CUPS lists none: listing can be
  forbidden while printing is not, and the portal can't honour a name.
- A failed lpstat -e (CUPS unreachable, listing forbidden) means the list can't be
  told, so lp takes the job, instead of an empty list sending it to the portal.
- A listing longer than 1 MiB counts as no answer, instead of growing without bound.
- The kill test checks the process with kill -0, which works on every Unix.
- docs/printing.md: the only-printer fallback is on the lp and IPP routes, and the
  portal is Linux only.
2026-10-29 18:51:10 -04:00
aiongg 7953633e02 Merge main
# Conflicts:
#	crates/ops/src/tests.rs
2026-10-29 22:48:53 +00:00
FredApps c93c0bb36d Merge main into trimmed integration; reconcile blur, pattern and Liquify behavior 2026-10-29 23:47:53 +01:00
aiongg 158389c408 Merge pull request #10199 from davidmann4/fix/autosave-test-deadline
Tests: the autosave outcome test waits up to 5 minutes for a real write (#10198)
2026-10-29 18:46:14 -04:00
aiongg e74bcc4eda Merge pull request #10021 from davidmann4/i18n/swedish-combined
Swedish, Finnish, Danish and Norwegian interface languages, combined from the community catalogs (#10020)
2026-10-29 18:45:28 -04:00
aiongg d64c0e7556 Merge pull request #10212 from aiongg/ci/i18n-never-fails
Tests: a missing translation never fails CI
2026-10-29 18:44:56 -04:00
FredApps 29bf828ec2 Merge upstream main into reviewed performance integration
Preserve both UI parity status entries; retain all reviewed performance changes.
2026-10-29 23:35:19 +01:00
aiongg 45001fc401 Merge pull request #9166 from FedeOlivares/integration/parity-batch-2
Integration test: 24 parity PRs together
2026-10-29 18:31:06 -04:00
FredApps 4f6ebb1b6e test: partition long parity matrices without dropping cases 2026-10-29 23:23:32 +01:00
aiongg 03c35450ea Remove translation-existence and wording tests; a missing translation never fails CI 2026-10-29 21:57:34 +00:00
aiongg cdb7ba0e21 Merge main into the integration batch 2026-10-29 21:46:27 +00:00
FredApps 73502a6b89 Reconcile Arrange no-op regression with retained command contract 2026-10-29 22:28:41 +01:00
Dylan M. Taylor 0d9a0f6613 Enable update checks in Flatpak (#10206) 2026-10-29 17:24:04 -04:00
Davit MatchakhelidzeandClaude Opus 5.5 9e565d0c31 i18n(ka): Set Measurement Scale matches its menu item (საზომი), as Slava suggested
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YMTAbGNRxnMEzRvYnQGphF
2026-10-30 01:00:05 +04:00
FredApps 63637c4d80 Merge current main into trimmed integration, preserving exclusions and interpolation behavior 2026-10-29 21:31:18 +01:00
David Mann 72186f8dce Merge PR #6647 fix-up: zoom field follows the system decimal separator, invalid-entry message, Tab rewrites the number 2026-10-29 21:19:56 +01:00
David MannandClaude Opus 5.5 fbf37cb9bd Merge main into i18n/swedish-combined
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 21:16:23 +01:00
8467488c26 Integration: zoom field follows the system decimal separator, takes a second one with the invalid-entry message, Tab rewrites the number (#6647)
Checked against the reference application on a German Windows:

- The decimal separator is the system's (Windows: Region's decimal symbol, read from
  HKCU\Control Panel\International\sDecimal through winsafe's safe registry binding; the
  `advapi` feature of the winsafe already in the lock). On a comma system a typed or pasted `.`
  is refused with the alert and `,` is the decimal point, on a dot system the other way round;
  ratios follow it (`100/5,0`). Where the separator can't be read (macOS, Linux, web) both are
  taken. The field shows its zoom with that separator (`12,5`), so its own text can be typed.
- A second separator (`80,,2`) is now typed in, not dropped. Enter (or a click that applies)
  opens the "Invalid numeric entry. An integer between {min}% and {max}% is required. Previous
  value was inserted." message in the app's error dialog (the field's range, two decimals, the
  system separator; translated in every catalog) and applies the number before the second
  separator (80 %). Esc, Tab and kept clicks show nothing. A paste follows the same rules.
- Tab and a click that keeps the typed number (pasteboard, title bar, open menu) write it as the
  zoom Enter would make of it (`045` and `45,0` -> `45`, `1/2` -> `50`, past the range -> its
  end) and select it; the `%` stays outside the field. Text with a second separator stays, and
  so does text after a key the field's copy can't follow (a word deletion, an undo).

Tests: a_zoom_field_takes_only_the_systems_decimal_separator,
a_zoom_field_shows_the_systems_decimal_separator,
a_second_separator_is_typed_and_enter_applies_the_number_before_it_with_the_message,
esc_and_tab_with_a_second_separator_show_no_message, a_paste_follows_the_typing_rules,
tab_writes_the_typed_number_as_the_zoom_it_makes,
a_click_on_the_pasteboard_writes_the_typed_number_as_the_zoom_it_makes,
tab_after_a_word_deletion_leaves_the_text_as_it_is, the status bar's
a_second_separator_in_the_zoom_field_opens_the_invalid_entry_message_and_applies_the_leading_number,
and unit tests for the separator, the reading and the message. Each fails with its fix reverted.

Co-authored-by: sn-o-w <2406819+sn-o-w@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 21:16:01 +01:00
David MannandClaude Opus 5.5 ce33b19090 Tests: a failed autosave outcome test does not wait for a stuck write
Address CodeRabbit review: dropping the Autosaver joins its worker, which waits
for the write in progress, so a timed-out receive could still hold the test
until nextest kills it. The saver is now ManuallyDrop and only dropped on the
passing path. With a worker that sleeps 60 s per write and a 2 s bound, the
test fails after 2.01 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 21:15:31 +01:00
David Mann a3f8ef4816 Merge PR #8536: TIFF: images over 2^30 px open, decoded a group of rows at a time into the layer (#8169)
# Conflicts:
#	docs/file-format-parity.md
2026-10-29 21:06:41 +01:00
c62c987000 Integration: TIFF memory check only for sizes main refused, cgroup page cache, bounded conversion (#8536)
- The free-memory check ran for every flat TIFF on Linux with a 512 MiB
  reserve, so small TIFFs that open on main were refused on a small VM or
  in a container: it now runs only for sizes the whole-image decode
  refused (over 2^30 px or its byte budget).
- In a cgroup, memory.current counts page cache the kernel reclaims
  before memory.max is hit; its inactive_file part now counts as free.
  A `docker --memory=2g` batch whose cache filled up refused every TIFF.
- A single-strip TIFF is one group, the whole image, and every converted
  piece of it was held at once: conversion now runs in rounds of at most
  32 MiB of source rows per core.
- TiffBands::open reported no ExtraSamplesDropped/OverLimit warnings on
  32-bit targets (wasm); both decoders now share prepared_warnings, and
  Truncated goes before MorePages by position.
- Drops the ar.tsv rows of "Fix CI after merging upstream": main added the
  same two keys (#10173), so the merged catalogue had duplicates and
  i18n::tests::bundled_catalogs_are_consistent failed.
- Doc comments: the swap cap is every cgroup's above too (the ancestor
  walk FredApps asked for); a cut-off strip decodes as zeros.

Co-authored-by: Khawar Zamman Wani <28915582+wanikhawar@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 21:00:43 +01:00
Kushagra Kumar 510950df8f fix(ui): open export dialog for Data Sets as Files and gate on data sets 2026-10-30 01:29:05 +05:30