Commit Graph
7237 Commits
Author SHA1 Message Date
David MannandClaude Opus 5.5 bc45ec814b Merge #9025 (Norwegian Bokmål catalog by @Bolla76) into the combined Norwegian Bokmål catalog
Its translations are part of the combined catalog; this merge records the
branch so the PR closes as merged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 19:34:10 +01:00
David MannandClaude Opus 5.5 27bf2c49f4 Merge #8072 (Norwegian Bokmål catalog by @nikolainyegaard) into the combined Norwegian Bokmål catalog
Its translations are part of the combined catalog; this merge records the
branch so the PR closes as merged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 19:34:10 +01:00
David MannandClaude Opus 5.5 d2897eec4a Merge #7267 (Danish catalog by @pechnikov2026-star) into the combined Danish catalog
Its translations are part of the combined catalog; this merge records the
branch so the PR closes as merged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 19:34:10 +01:00
David MannandClaude Opus 5.5 c06e9c4ff3 Merge #6961 (Finnish catalog by @metuuu) into the combined Finnish catalog
Its translations are part of the combined catalog; this merge records the
branch so the PR closes as merged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 19:34:10 +01:00
David MannandClaude Opus 5.5 03a33ca291 Merge #5666 (Finnish catalog by @Janiz-zzz) into the combined Finnish catalog
Its translations are part of the combined catalog; this merge records the
branch so the PR closes as merged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 19:34:10 +01:00
c0fb32db24 Finnish, Danish and Norwegian Bokmål interface languages, combined from the community catalogs
Finnish (fi) combines #5666 and #6961, Danish (da) is based on #7267 and
completed for the current UI, Norwegian Bokmål (nb) combines #8072 and
#9025. Each catalog covers the same 4,552 keys as the Swedish one, with one
term per concept. `no` and `nn` locales resolve to Bokmål; `fi-FI` to
Finnish while `sv-FI` stays Swedish.

Co-authored-by: Janiz-zzz <[email protected]>
Co-authored-by: metuuu <[email protected]>
Co-authored-by: pechnikov2026-star <[email protected]>
Co-authored-by: nikolainyegaard <[email protected]>
Co-authored-by: Bolla76 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 19:34:10 +01:00
David MannandClaude Opus 5.5 8ca557a67f Swedish: the Select and Mask strings added on main
Fifteen rows for the Select and Mask workspace (view and refine modes,
Color Aware / Object Aware, Edge Detection, Global Refinements,
Decontaminate Colors, the Refine Edge Brush Tool and the two messages
shown when the workspace closes), so `cargo xtask i18n-coverage` reports
Swedish complete again (2,202 / 2,202).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 18:41:21 +01:00
David Mann f2f2ba84da Merge remote-tracking branch 'origin/main' into i18n/swedish-combined-wt 2026-10-29 18:18:06 +01:00
aiongg c645d5fcc9 Merge pull request #8896 from wanikhawar/select-mask-workspace
Select and Mask: Photoshop's full-window workspace (#7069, #8148)
2026-10-29 12:15:14 -04:00
aiongg 2231233af9 Merge pull request #6590 from wanikhawar/fix/6501-multi-layer-free-transform
Free Transform moves every selected layer (#6501, #3384, #6096)
2026-10-29 12:14:01 -04:00
aiongg 3bcff338c5 Merge pull request #6421 from wanikhawar/save-for-web-webp
Save for Web: WebP, lossy at its Quality or lossless (part of #6391, #2415)
2026-10-29 12:12:47 -04:00
Khawar Zamman Wani 82096cff3a perf(retouch): avoid duplicate rasterization while drawing (#9532)
* perf(retouch): generate live dabs without unused coverage

* fix(ui): box live stroke variants after retouch state reduction
2026-10-29 12:12:33 -04:00
Khawar Zamman Wani 539f5bd58f perf(algo): row-parallel local_sharpen with fast-path protect_detail (#5426) (#9651)
* perf(algo): row-parallel local_sharpen with fast-path protect_detail (#5426)

Refs #5426. Follow-up to #5499.

Cause:
While #5499 parallelized local_blur and the per-dab mix in DabTool::Focus,
local_sharpen in crates/algo/src/retouch.rs remained single-threaded.
In addition, protect_detail redundantly evaluated coordinate clamping
and strided memory lookups across 8 neighbors inside the per-channel
inner loop for every pixel in the dab. On large brush sizes (e.g. 1000–2500 px),
strokes took seconds and stalled the application.

Change:
- Process local_sharpen window rows in parallel with Rayon across threads,
  with wasm32 serial fallback matching local_blur.
- Hoist protect_detail 3x3 neighborhood offset calculations outside the
  channel loop.
- Fast-path interior pixels (x > 0 && x + 1 < w && y > 0 && y + 1 < h)
  with direct stride offsets, skipping boundary clamping entirely for >99.9%
  of pixels in large brush dabs.
- Add retouch_sharpen_exact integration test verifying bit-for-bit parity
  against the frozen scalar implementation across layouts, edges, and channels.

* bench(engine): add bench_sharpen_tool example
2026-10-29 12:11:22 -04:00
Khawar Zamman Wani 6c6cfc243a perf(stack): cache bounded entropy terms across pixels (#9622)
* perf(stack): cache bounded entropy terms across pixels

* test(stack): iterate entropy terms directly for Clippy

* ci: rerun checks
2026-10-29 12:10:12 -04:00
Khawar Zamman Wani 66ac154d68 perf(algo): select median stack samples without full sorting (#9628) 2026-10-29 11:36:34 -04:00
Khawar Zamman Wani 6b2ad6b620 Reduce Noise: reuse guide statistics with bit-identical output (#9639)
* perf(algo): reuse Reduce Noise guide statistics

* fix(algo): use fixed-size chunks for guide statistics

* Reduce Noise: test that the caller routes the cleaned luma guide and both chroma planes

Review follow-up: compares reduce_noise's output (Lab, so planes pass through) with the
independent guided filters run in order.

* test(algo): assert bit-identical output in Reduce Noise routing test
2026-10-29 11:35:24 -04:00
Khawar Zamman Wani 991ef9907b fix(actions): allow no-op Arrange steps during playback (#8457) 2026-10-29 11:34:13 -04:00
David Mann 601f2ed7f9 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/i18n.rs
#	crates/ui-egui/src/i18n/LICENSE-translations.txt
#	crates/ui-egui/src/i18n/live_tests.rs
#	crates/ui-egui/src/i18n/system.rs
#	docs/localization-parity.md
2026-10-29 15:41:15 +01:00
Lauri Methuen 7a6b685540 Finnish: translate the 34 strings added on main since the last rebase
Font menu favourites, font classes, similar and variable font filters,
History Options checkboxes, New Group from Layers, the CPU rendering
notice and the artboard X/Y fields. fi.tsv is 3,414 rows;
i18n-coverage reports fi at 2175/2175.
2026-10-29 08:41:11 +02:00
Lauri Methuen 514c3d2474 Finnish: translate the 37 strings added on main since the last rebase
Histogram panel statistics, Art History Brush styles, New Snapshot
sources, Vanishing Point clone stamp, Camera Raw .xmp notices, the
update notice and a few labels. fi.tsv is 3,380 rows; i18n-coverage
reports fi at 2049/2049.
2026-10-29 08:32:37 +02:00
Lauri Methuen 792cfbc89a Finnish: fix translations that misread their context
Override in Brush Pose replaces the pen's value, so "Pakota" instead of
"Ohita" (skip). Layers panel Filter Options is layer filtering, not image
filters. The app appends the English "copy" to names, so the labels say
"copy". Bevel & Emboss highlight/shadow rows are singular blend modes.
Also: warped text, brush load swatch, title bar, colour fringing, GPU
adapter and a few smoother wordings.
2026-10-29 08:32:24 +02:00
Lauri Methuen 3c17f24c2d Finnish: translate the 209 strings added on main since the first version
Rebased on main; fi.tsv now has every row the other complete catalogs
have (Content-Aware Fill panel, Wayland paste notice, memory preferences,
update checks, Color panel menu, Styles import/export and more).
2026-10-29 08:32:24 +02:00
Lauri Methuen 4d8cbc9a0e Add Finnish (Suomi) interface language 2026-10-29 08:32:24 +02:00
aiongg 5f9b439187 Merge pull request #10006 from davidmann4/i18n/arabic-combined
Arabic interface language, combined from the community catalogs (#10005)
2026-10-28 21:27:43 -04:00
David MannandClaude Opus 5.5 b23e90ac23 Files opened at launch report in the interface language
The command line's files open before the first frame, which is what
applies the interface language, so their status line and notices came
out in English in every language. open_paths now applies it first.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 01:30:13 +01:00
David MannandClaude Opus 5.5 573bbbf157 i18n(ar): Hue is درجة اللون
The second questionnaire answer (Algeria). The earlier تدرج اللون read
as "colour gradient" beside Gradient تدرج. Hue, Hue/Saturation, Hue
Jitter and Hue Cube follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 01:30:13 +01:00
David MannandClaude Opus 5.5 8f80fb9790 Tests: Arabic preset-import results are translated
The plural pair is picked at run time, so the literal-key coverage
check can't see these rows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 01:07:46 +01:00
e7500777b5 Swedish catalog: contested terms follow a native speaker's answers
A native Swedish speaker answered the terminology questionnaire on #10021;
his choices now apply to every row that uses the term, so each concept
still has one Swedish word: arbetsyta (workspace), fjädring (feather),
ombilda (transform), rutnät (grid), förhandsgranskning (preview),
klippmask, skiva (slice), ta prov (sample), gradient, placera, snedställ,
rasterisera, Kombinera lager (Flatten Image), indefinite tool names
(Penselverktyg), and the blend modes Skärm, Överlägg, Färgskuggning,
Differens and Luminositet. 243 rows changed.

Co-authored-by: FredApps <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 00:29:17 +01:00
David MannandClaude Opus 5.5 3fa06e0ac0 i18n(ar): brush, pattern and gradient preset-import results
The preset file import status (`preset_files_ui::open`) asks for
"Imported {n} brush/pattern/gradient from {file}" plurals; the Arabic
catalog only had the style one, so these results showed in English.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 00:21:19 +01:00
David MannandClaude Opus 5.5 95b1109d9c Swedish catalog: name both translators in ATTRIBUTION.md and cover sv in the license grant
Review findings on #10021.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 00:11:13 +01:00
David MannandClaude Opus 5.5 fab71caf80 Web build: the interface language's served face goes first in the UI stack
Served script fallbacks were appended to every UI font family in the
order they arrived. A Japanese and a Simplified Chinese face both cover
Han, and egui draws a character with the first face in the stack that has
it, so a Chinese interface drew Han with the Japanese face when that one
had arrived first (fetched for a Japanese text layer, say). ui_faces now
puts the interface language's own served face first, so the stack a
language change rebuilds follows the language; and when that face arrives
after another served face, add_ui_face rebuilds the stack the same way
instead of appending. served::fallback_for_language gives the face.

This orders the served faces only; with an interface language that has
no served face (English), they stay in arrival order.

Review finding on #10006.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 23:45:35 +01:00
David MannandClaude Opus 5.5 97ed3d1d39 Web build: an unreadable served font stays out of the interface
A served script fallback joins every egui font family, and egui panics on
a configured font it cannot parse: a host answering a font's path with an
error page, or serving a truncated file, stopped the web UI on its next
layout or font rebuild. add_ui_face now checks the face with
cjk::font_face_is_readable first, as the system-font fallbacks are
checked, and leaves an unreadable one out with a warning. The regression
test panicked in epaint's family.rs before the check.

Review finding on #10006.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 23:43:08 +01:00
David MannandClaude Opus 5.5 71dda79330 Web build: ask for the interface language's font when the manifest arrives
serve_fonts asks for the interface language's served script font once per
language, but the font manifest loads asynchronously: when the first frame
ran before it arrived, no fallback was registered yet, the request found
nothing, and an Arabic interface on an English browser stayed without its
font until the language changed. The manifest load now asks for the
interface language's font along with the browser languages'.

Review finding on #10006.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 23:41:38 +01:00
David Mann 19f11c190f Merge main (69b8fd9c14) 2026-10-28 22:36:00 +01:00
David MannandClaude Opus 5.5 2ae4cee7e4 Merge #9536 (Swedish catalog by @davvarn) into the combined Swedish catalog
Its translations are part of the combined catalog; this merge records the
branch so the PR closes as merged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 22:36:00 +01:00
David MannandClaude Opus 5.5 15165b5a65 Merge #5985 (Swedish catalog by @kler) into the combined Swedish catalog
Its translations are part of the combined catalog; this merge records the
branch so the PR closes as merged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 22:36:00 +01:00
5ab3025bcf Swedish interface language, combined from the community catalogs
Adds Swedish (sv, Svenska) as an interface language. The catalog combines
the open Swedish catalogs of #5985 and #9536: each row takes the best of
their translations, with one Swedish term per concept across the UI and
the reference application's established Swedish terms where they are
unambiguous, and the strings added since are filled in. 4,537 rows, every
measured key; plural rule one|other.

Where the rows come from: 2,710 both catalogs agreed on, 979 from #5985,
655 from #9536, 193 written new; 177 of the taken rows
were edited for consistency.

The tests that used sv-SE as an unsupported locale now use sw-KE and
fi-FI, and sv-SE / sv_FI.UTF-8 are positive cases. macOS lists sv in
CFBundleLocalizations.

Fixes #10020.

Co-authored-by: kler <[email protected]>
Co-authored-by: davvarn <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 22:35:59 +01:00
David MannandClaude Opus 5.5 250940a4f5 Arabic: terms chosen by a native speaker
The first questionnaire answers (Iraqi Arabic): Filter فلتر, Feather تلاشي
الحواف, Blur ضبابية, Liquify تمويع, Unsharp Mask قناع الحدة, Stroke حدود,
Guides خطوط التوجيه, Canvas مساحة الرسم, Lasso الحبل, Clone Stamp ختم
النسخ, Healing Brush فرشاة التصحيح, Color/Linear Burn تغميق, Content-Aware
مراعٍ للمحتوى, Rasterize تنقيط, Bevel & Emboss شطب ونقش, Pattern نقشة,
Posterize تقليل درجات اللون, Halftone أنصاف الألوان, Lens Flare وميض
العدسة, Texture الملمس, Glyphs الرموز, Gamut النطاق اللوني; every row
using them follows, with adjectives agreeing. Select › Modify › Border
becomes حدود التحديد so it no longer reads like Stroke.

Opacity (الشفافية, "transparency", would read 100% as fully transparent)
and Crop (قص is Edit › Cut) keep العتامة and اقتصاص for now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 22:33:37 +01:00
David MannandClaude Opus 5.5 f66f749f96 Merge main
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 22:18:30 +01:00
David MannandClaude Opus 5.5 15dc4092f8 Web build: served script fonts draw the interface too
The web build has no system fonts and embeds no craft fonts, so an Arabic
(or Japanese, Chinese, Korean, Hindi) interface had no font for its labels:
served fonts were registered only in the document text engine. A served
script fallback now also joins the end of every egui font family, and the
font stack theme::install_fonts rebuilds on a language change includes it
again. The web shell asks for the interface language's script font, not
only the browser languages'.

Review finding on #10006.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 22:18:28 +01:00
aiongg 69b8fd9c14 Merge pull request #9943 from brennanMKE/perf/9328-slow-frames
Perf: every frame records its stages; slow frames are kept, logged and reported (#9328)
2026-10-28 17:00:30 -04:00
aiongg e2f9ae6bfb Merge main into perf/9328-slow-frames
Conflicts in perf/budgets.toml and docs/scorecard.md: both sides added perf rows (P80 here, P81 and P82 from #9942). Kept all three; scorecard regenerated with cargo xtask scorecard.
2026-10-28 20:30:50 +00:00
aiongg a8580ff0ca Merge pull request #9942 from brennanMKE/perf/9329-tile-damage
Engine: a pixel change damages only the tiles that changed (#9329)
2026-10-28 16:27:10 -04:00
David MannandClaude Opus 5.5 d30464c3c7 Merge main
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 21:23:17 +01:00
David MannandClaude Opus 5.5 2e2a460992 Merge #6287 (Arabic catalog by @test-bit-sys) into the combined Arabic catalog
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 21:22:57 +01:00
David MannandClaude Opus 5.5 4f76fb4a9f Merge #6092 (Arabic catalog by @syrrevshin4202-prog) into the combined Arabic catalog
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 21:22:57 +01:00
David MannandClaude Opus 5.5 1bbce88cef Merge #5915 (Arabic catalog by @vfggf95565) into the combined Arabic catalog
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 21:22:57 +01:00
David MannandClaude Opus 5.5 677bf61944 Merge #5593 (Arabic catalog by @NibrasAz7) into the combined Arabic catalog
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 21:22:57 +01:00
David MannandClaude Opus 5.5 718d87bb01 Merge #4569 (Arabic catalog by @hasan-sdaif) into the combined Arabic catalog
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 21:22:57 +01:00
David MannandClaude Opus 5.5 1cb30ec9c8 Merge #4520 (Arabic catalog by @hicbest) into the combined Arabic catalog
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 21:22:56 +01:00