Commit Graph
1712 Commits
Author SHA1 Message Date
bflatastic ccff6c8658 Merge remote-tracking branch 'origin/main' into batch/r2-2
# Conflicts:
#	crates/text/src/fontdb.rs
2026-10-24 11:21:15 +07:00
BFlat 3476f4b1e7 Merge pull request #1244 from storytold/batch/r2-1
Community batch r2-1: 63 reviewed PRs
2026-10-24 11:15:53 +07:00
bflatastic 83bfe806f7 Merge remote-tracking branch 'origin/batch/r2-1' into batch/r2-2
# Conflicts:
#	ROADMAP.md
2026-10-24 10:34:11 +07:00
bflatastic 9f60f5470d Batch r2-1 review: status lines and rows in ROADMAP, prototyping and UI parity 2026-10-24 10:31:31 +07:00
bflatastic 8af2efd1b9 Batch r2-1 review: U+2007 glues beside ideographs too 2026-10-24 10:31:29 +07:00
bflatastic d0db758684 Batch r2-1 review: SVG ids unique as written; a filled open curve closes for its fill 2026-10-24 10:31:26 +07:00
bflatastic 31d4c6eba4 Batch r2-1 review: per-side strokes follow smoothed corners for every alignment 2026-10-24 10:31:24 +07:00
bflatastic c45c693278 Batch r2-1 review: a report reason blank after cleaning is refused 2026-10-24 10:31:22 +07:00
bflatastic d114c6ed92 Batch r2-1 review: CLI export file names stay within 200 bytes 2026-10-24 10:31:19 +07:00
bflatastic 46b02d44e6 Batch r2-1 review: paste_nodes refuses two nodes mapped to one new id 2026-10-24 10:31:17 +07:00
bflatastic 5d7eb04d44 Batch r2-1 review: the hello and close-drain deadlines bound every read
Duplex::read_until gives a reader a deadline: each socket read waits at most what's left of it.
The server reads the handshake and hello under the hello deadline, so a hello trickled in
fragments can't outlast it; manage's close drains under CLOSE_DRAIN, so a silent server can't
hold it for the idle timeout.
2026-10-24 10:31:15 +07:00
bflatastic aac76ebeca Batch r2-1 review: Save on close waits a frame for a panel field to commit
A click on Save takes the keyboard from a focused panel field, which commits next frame: the files
save then, as the field-save shortcut does. OsStr::to_str as a method reference (SonarCloud).
2026-10-24 10:31:13 +07:00
bflatastic 3334ec6c16 Batch r2-1 review: vector_up in smaller helpers (SonarCloud cognitive complexity) 2026-10-24 10:31:10 +07:00
bflatastic 8dcba0684b Batch r2-1 review: .fig export grid sizing in helpers; instance layers clear inherited track sizes
auto_layout's grid branch moves to grid_layout and grid_sizing (SonarCloud cognitive complexity).
unset() clears gridColumnsSizing and gridRowsSizing, so an instance layer with equal tracks no
longer reads back its main layer's track sizes.
2026-10-24 10:31:08 +07:00
bflatastic bd80829a27 Batch r2-1 review: a paint keeps its own opacity through unbind and rebind
color_alpha is the part of a solid paint's opacity that is its typed colour's alpha, not a flag:
binding a colour variable takes only that part out, unbinding puts the variable's alpha back in,
and REST import records it. A 50% paint bound to a 50% variable stays at 25% bound or not.
2026-10-24 10:30:49 +07:00
bflatastic 83a55ac632 Batch r2-2: data.fill and text.fit in smaller helpers (Sonar) 2026-10-24 10:30:03 +07:00
a1a842af9a chore: resolve SonarCloud maintainability issues (#1241)
* chore: resolve SonarCloud maintainability issues

- Define SHA256_FMT constant in packaging script to remove duplicated string literal (shelldre:S1192)
- Remove redundant 'static lifetime annotations from const items (rust:S8863)
- Replace closures with method and function pointers (rust:S1612)
- Extract helper functions in synthetic document generation, bezier polyline flattening, and component restoration to reduce cognitive complexity (rust:S3776)

* fix(packaging): use verify_sha256 helper function to avoid shellcheck SC2059

* fix(engine): remove duplicate closing brace in large_document

* fix(engine): take &mut Document in restore_id_map; keep 'static on associated consts

restore_id_map allocates ids, so it needs a mutable document. Elided
lifetimes in associated consts trip elided_lifetimes_in_associated_constant,
so those annotations are restored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Assign positional parameters to locals in sha256 verification

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Dylan Taylor <dylan@craftmaker.dev>
2026-10-23 23:28:13 -04:00
bflatastic d208c26bca Batch r2-2: explicit imports, a method reference, the .fig test helper named main_component 2026-10-24 10:25:55 +07:00
bflatastic b080e2556b Catalogs: Italian and Vietnamese drop two strings the close dialog no longer uses; the intensity-width test skips labels egui's own font can't draw 2026-10-24 09:51:26 +07:00
aiongg c668e21759 PDF: write with craft-libs' krilla, which bounds decoded PNGs (#1240)
* PDF: write with craft-libs' krilla, which bounds decoded PNGs

* PDF: pin craft-libs' krilla at 9f75d3dc
2026-10-23 22:46:21 -04:00
bflatastic 0b42c3ff20 #915: the inspect response-limit tests join the MCP crate's one test binary (tests/it, as on main since #1208) 2026-10-24 09:42:45 +07:00
bflatastic fd00119cce Merge branch 'batch/r2-1' into batch/r2-2 2026-10-24 09:39:28 +07:00
bflatastic 31009cf572 Merge #931: i18n(pl): native review, catch-up and terminology fixes (@lukasz-sklad)
# Conflicts:
#	docs/translating.md
2026-10-24 09:38:12 +07:00
bflatastic 441ffcc334 Merge #681: i18n(fr): translate the missing strings and review the draft catalog (@leandrodslv)
# Conflicts:
#	contributors/people.toml
#	crates/ui-egui/locales/fr.toml
2026-10-24 09:37:56 +07:00
bflatastic 1391cedffc Merge #984: i18n(sv): translate 38 new strings, use the agreed terms in 93 (@kler)
# Conflicts:
#	crates/ui-egui/locales/sv.toml
2026-10-24 09:37:39 +07:00
bflatastic c0aa8d567d Merge #1217: M7: FIGCRAFT_DEFAULT_FONT names the font new text starts in (@Salah1St) 2026-10-24 09:37:20 +07:00
bflatastic 9ec0e784f7 Merge #1213: M7: FIGCRAFT_WEB_FONTS embeds more craft-fonts families in the web build (@Salah1St) 2026-10-24 09:37:16 +07:00
bflatastic 650a293c5f Merge #1216: M7: Noto Sans Thai as a UI fallback when the build embeds it (@Salah1St) 2026-10-24 09:37:12 +07:00
bflatastic 9c3221b73c Merge #1218: M4: justified text doesn't widen U+200B (@Salah1St)
# Conflicts:
#	crates/text/src/tests.rs
2026-10-24 09:37:09 +07:00
bflatastic d9d7ea35dc Merge #990: M4: CJK kinsoku completed to JIS X 4051 (@midasdf)
# Conflicts:
#	ROADMAP.md
2026-10-24 09:36:54 +07:00
bflatastic 0ade4acec8 Merge #1026: i18n: add Vietnamese (vi) interface localization (@sonth87)
# Conflicts:
#	docs/localization-parity.md
#	docs/translating.md
2026-10-24 09:36:40 +07:00
bflatastic 0fb2d0f5dd Merge #1224: Add Italian (it) interface language (@CosmoNetinfo) 2026-10-24 09:36:24 +07:00
bflatastic 01ca23358f Merge #661: M7: find fonts activated through Adobe Fonts on macOS (#298) (@AganzeFelicite)
# Conflicts:
#	ROADMAP.md
#	docs/roadmap.md
2026-10-24 09:36:21 +07:00
bflatastic 0731ba3c7f Merge #1163: M9: fall back to the Noto symbol and math fonts on Linux (#1156) (@switch87)
# Conflicts:
#	crates/text/src/behaviour_tests.rs
#	crates/text/src/fontdb.rs
2026-10-24 09:35:53 +07:00
bflatastic f5ce83015d Merge #1215: M4: Thai faces in the text fallback list (@Salah1St) 2026-10-24 09:35:15 +07:00
bflatastic 4ca43c2cb5 Merge #1035: M7: missing fonts: follow each font variable's aliases once (#752) (@Nael-Nathanael) 2026-10-24 09:35:12 +07:00
bflatastic 97fa35008b Merge #1010: Web build: Save, Save as and Export arrive as downloads (@Ridzzz0Alam) 2026-10-24 09:35:09 +07:00
bflatastic 1f9effd25d #660: a file saved as Proto.figcraft presents as Proto (titles follow file names on main) 2026-10-24 09:34:40 +07:00
bflatastic b9e008315e Merge #954: M0.9: allow literal dash-prefixed CLI filenames (@MMexicann)
# Conflicts:
#	ROADMAP.md
2026-10-24 09:30:12 +07:00
bflatastic 732eaeba99 Merge #989: Large .fig files keep their layers and their library links (#981) (@Ridzzz0Alam) 2026-10-24 09:29:56 +07:00
bflatastic 58917a0845 Merge #951: fig import: a note says how much of the file it covers (#467) (@Hamza0101) 2026-10-24 09:29:51 +07:00
bflatastic ee9b49b0de Merge #1009: data.fill and text.fit: fill copies of a frame from rows of data (@lucasmartins-ai) 2026-10-24 09:29:48 +07:00
bflatastic 58158e0e6e Merge #1003: command.batch: named step references (as / $ref) and paths in field (@kkilchrist)
# Conflicts:
#	crates/engine/src/lib.rs
#	crates/engine/src/tests.rs
2026-10-24 09:29:31 +07:00
bflatastic 34956e5e7c Merge #1004: node.set: accept path to replace a vector's geometry (@kkilchrist) 2026-10-24 09:28:34 +07:00
bflatastic 61c305a53d Merge #1005: node.reparent: index is the layer's final position (@kkilchrist) 2026-10-24 09:28:30 +07:00
bflatastic 3b3d16d677 Merge #915: MCP: inspect_document answers within what a client can read (@Hamza0101) 2026-10-24 09:28:21 +07:00
bflatastic b12977e404 Merge #1006: Show a boolean property's default on the main component's bound layers (@kkilchrist) 2026-10-24 09:28:14 +07:00
bflatastic ab2288796e Merge #1011: Dev Mode: React + Tailwind page code and Tailwind theme export (@lucasmartins-ai) 2026-10-24 09:28:04 +07:00
bflatastic 1ba23557c8 Merge #1008: variable.export css: number lengths in px (@lucasmartins-ai) 2026-10-24 09:27:52 +07:00
bflatastic f00b62ba2d Merge fix: the server store tests keep each test closed 2026-10-24 09:26:44 +07:00