Commit Graph
8520 Commits
Author SHA1 Message Date
aiongg 27e5af8151 Merge pull request #3064 from aiongg/font-picker-arabic-story
Font picker: one sample per row, in the sample text
2026-11-22 13:19:00 -05:00
Dylan M. Taylor 01990d4859 Merge pull request #3076 from storytold/feat/778-tga-top-left-raw
TGA: share footerless top-left sequence writing
2026-11-22 13:18:50 -05:00
Dylan M. Taylor b017c1124d Merge pull request #3070 from storytold/feat/778-shared-classic-hpgl
plotter: share classic HP-GL command serialization
2026-11-22 13:17:13 -05:00
Dylan M. Taylor e683cb299f Merge pull request #3067 from storytold/feat/778-strict-jpeg-orientation
jpeg: share strict EXIF orientation framing
2026-11-22 13:17:05 -05:00
Dylan M. Taylor c56fbd8271 Merge pull request #3075 from storytold/dot/shared-metafile-eof-diagnostic
Share the legacy EMF and WMF EOF diagnostic
2026-11-22 13:16:57 -05:00
Dylan M. Taylor 4f2d0f5a44 sqlite: cover a WAL frame checksum mismatch 2026-11-22 13:16:45 -05:00
Dylan M. Taylor 32300bf1be FormatText: narrow-panel size field regression trial (passes in isolation; the app's clip is not reproduced here) 2026-11-22 13:08:16 -05:00
Dylan M. Taylor 9ac4d59e64 Merge pull request #3069 from storytold/feat/778-plain-rgba16-tiff
tiff: share the plain RGBA16 writer
2026-11-22 13:01:01 -05:00
Dylan M. Taylor 72211adc81 android-res: split locale formatting from configuration qualifiers 2026-11-22 13:00:45 -05:00
Dylan M. Taylor 27be7518c9 Merge pull request #3065 from storytold/feat/587-legacy-gaussian-curves
develop: share legacy Gaussian curves and LUT tails
2026-11-22 13:00:36 -05:00
Dylan M. Taylor 5837a568d6 Titled group header: title and close button centred on the header line 2026-11-22 12:56:47 -05:00
bflatastic b3d3c18ba8 ui-contract, ui-canvas: a nudge carries the keys held when its arrow went down, in the order of the frame's events (Intents::nudge_held, ToolKey::Nudge::held) 2026-11-23 00:50:27 +07:00
bflatastic 9c58208bba ui-contract: an Alt+letter the keymap binds to an enabled command runs it instead of opening the menu with that mnemonic 2026-11-23 00:50:14 +07:00
bflatastic f9cbb0a723 ui-contract: a control given selected outside a collection reports it as pressed, so the rail's current tool and the other tools say whether they are the tool 2026-11-23 00:49:50 +07:00
ruchirguitar 0bf4cb99da craft-metafile: address CodeRabbit feedback on bare v1 routing and decoding 2026-11-22 22:57:39 +05:30
Dylan M. Taylor 9e8287c5fc DockGroup::titled / DockConfig::titled_headers: a group header shows the shown panel's title, count and a close button in place of the tab strip (trial a_titled_group_shows_the_panel_title_and_a_close_button_instead_of_tabs, seen failing with the flag unwired) 2026-11-22 12:26:21 -05:00
Brandon Thomas bfdaa2b71d android-res: share AXML and ARSC wire readers
Extract the Craft Anything implementation at 8cec25d without changing limits or data models. Retain provenance for subsequent Afloat, BFlat, and RRFZ changes in the crate README.
2026-11-22 12:23:37 -05:00
DylanMTaylor 7e88389c8e Document legacy JPEG zero-marker handling 2026-11-22 12:20:57 -05:00
Dylan M. Taylor 9f18c4e96c tga: share footerless top-left sequence writing 2026-11-22 12:19:21 -05:00
David MannandClaude Opus 5.5 daf0a8d827 Docking: a floating tool rail's grip moves its window (photocraft#16426)
The grip under a tool rail's column bar starts a drag of the rail's group;
released over empty room it floated the group under the pointer, which the
model refuses for a group that floats already, so a floating toolbar's grip
did nothing. A unit that is a whole floating window now moves that window
under the pointer (Action::MoveFloating), as its title row does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:18:21 +01:00
dotCooCoo 5239b47ad2 Share the legacy EMF and WMF EOF diagnostic
Extract the original diagnostic from dotCooCoo’s VectorCraft import commit 9efde43f1d827b95b838b75cc5d310362a9814f7.
2026-11-22 12:15:08 -05:00
DylanMTaylor b06acb3d0a Use fixed-width AAF property index chunks 2026-11-22 12:14:09 -05:00
Dylan M. Taylor 57999e775d sqlite: use fixed-size chunks in WAL fixture 2026-11-22 12:13:55 -05:00
David MannandClaude Opus 5.5 9b25308edc Dock grips: the strip keeps space above and below the marks (photocraft#16426)
The grip strip above an icon group and under a tool rail's column bar
was the least hit size (8 points), so the 5-point ticks nearly touched
its top edge. It is now tall enough for the theme's marks with
space.gap.tight above and below them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:09:43 +01:00
ruchirguitar db9b6ac700 craft-metafile: address review feedback on PICT reader and formatting 2026-11-22 22:38:00 +05:30
aiongg 3c1c1284d8 FontSample: a face not yet ready reserves the room's width
Without a ready face the sample measured no width, so an unavailable sample
allocated nothing. It reserves the most the ready layout can take, the width it is
offered, at LINE_EM of its size: the band the sample will draw in. A ready face
lays out as before.
2026-11-22 17:01:21 +00:00
aiongg 0f8efcadd9 ListRow: the collection's leaves setting is a pub(crate) prop
The derive writes the setter, as design-lint's props/hand-setter asks.
2026-11-22 17:01:21 +00:00
bflatastic 7e5b603174 ui-contract: trial that files hovering in the pass right after a drop drag and drop on their own 2026-11-22 23:56:36 +07:00
Dylan M. Taylor b42062884d Scroll body: a reveal of a rect already in view queues no jump, so no repeated pass every frame 2026-11-22 11:56:35 -05:00
David MannandClaude Opus 5.5 4ba7c7e215 DocumentWindow: a level of its own; first_placed says the window is kept there (photocraft#16415)
DocumentWindow::level stands the window at a WindowLevel; with Palette a
floating document stays above the app's main window while the app is
active, drops below a blocking dialog and hides with the minimized main
window. first_placed's doc says what it does: the window is kept at the
rect while shown, so a caller whose user moves the window follows it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:51:51 +01:00
David MannandClaude Opus 5.5 cdde34581e Theme: the dock grips' shape is a theme setting, apart from the reference by default (photocraft#16426)
shape.grip in a theme file sets the grips' marks: ticks or dots, how many,
a tick's length, a mark's width and the gap. Each value is optional and
keeps the default, now eleven ticks five points tall (one more mark and
one point taller than the reference application's ten of four). The
theme editor, the writer (unknown keys kept) and the token dumps carry it;
GripMarks paints from the tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:49:02 +01:00
bflatastic 42f8006cc0 font-catalog: Catalog::versions lists a face from every cataloged file that has it, the index still listing it once 2026-11-22 23:48:27 +07:00
ruchirguitar 75279bac65 craft-metafile: add QuickDraw PICT v1/v2 reader
Port bounded QuickDraw PICT parsing from VectorCraft into craft-metafile, outputting the neutral Picture model. Preserves limits, error reporting, and test coverage.
2026-11-22 22:08:54 +05:30
bflatastic 0720c236eb docs: regenerate components-index.md from the registrations 2026-11-22 23:33:11 +07:00
bflatastic 03df09a1c3 hayro-interpret: a soft mask's group draws within the forms where the mask was set, so a mask drawing the form it masks is not a form drawing itself 2026-11-22 23:28:59 +07:00
bflatastic 363bc05edd font-catalog: a language the typographic family records leave out keeps its legacy family name in localized_families 2026-11-22 23:28:58 +07:00
Dylan M. Taylor 7039de09fa plotter: share classic HP-GL command serialization 2026-11-22 11:18:44 -05:00
aiongg 57c4b23a70 Font picker: the banner shows what the family's row shows
The banner drew the preview text in the current family even when its face lacks the
text's characters (tofu). It takes the rows' sample text, through the same
FamilyInfos::sample_text: the text, else the family's name, else its first glyphs.
2026-11-22 16:10:48 +00:00
aiongg a47b795b1f Font picker: one sample per row, in the sample text
Every row's sample shows the picker's sample text: the host's preview text, else the
sample word. The Arabic second sample and its script check are gone. A face that
lacks the text's characters keeps the existing fallback: its name, else its first
glyphs.

A sample, in a row, the banner or the panel, is laid out and drawn only in its own
face once it is ready. Until then (and for good when the face is unavailable or the
family has none, SampleFace::Missing) it keeps its band, LINE_EM of its size high,
and draws nothing, instead of laying the text out in the interface face, which may
lack its characters.

The Arabic story becomes font_picker_arabic_sample_text: an Arabic preview text over
a catalog with Noto Sans Arabic.
2026-11-22 16:08:54 +00:00
aiongg e8254eb4b4 List rows: a hosted trailing field takes its own height up to its row's
A trailing or optional field was capped at the base row height, so in a taller row
(a large thumbnail) a field that measures taller was cut to one base row and centred,
clipping what it drew outside that band (the font picker's Arabic sample lost its
hamza and dots). It is capped at its slot, the row's height, as cell fields are.
2026-11-22 16:08:54 +00:00
Dylan M. Taylor 983a116784 tiff: share the plain RGBA16 writer 2026-11-22 11:06:35 -05:00
Dylan M. Taylor e084f8c1f6 jpeg: share strict EXIF orientation framing 2026-11-22 11:04:24 -05:00
Dylan M. Taylor 796a265521 Share borrowed AAF property stream framing 2026-11-22 11:04:07 -05:00
Dylan M. Taylor 28ee9742fd sqlite: share committed WAL checksum scanning 2026-11-22 11:03:48 -05:00
David MannandClaude Opus 5.5 1f1437c4d9 Crop: a move past the canvas with Auto Center Preview, snapping and the Crop tool's defaults
The overlay test also moves the image with Auto Center Preview on, and a CropTool test moves an
upright frame past the canvas with the default settings (image mode, Auto Center, Delete Cropped
Pixels on), at 31 % and with snapping to the document's edges, as the app runs it.

Part of storytold/photocraft#16404.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:56:28 +01:00
Dylan M. Taylor b2bbfa6f56 develop: share legacy Gaussian curves and LUT tails 2026-11-22 10:54:20 -05:00
bflatastic 52d1ec7402 menu, dialogs: rustdoc -D warnings clean: no redundant link targets on MenuBar::show; the service docs name the private with_chosen_type without linking it 2026-11-22 22:52:27 +07:00
bflatastic 2dcc5763c9 ui-contract: NodeKey::raw is test-only, as AccessTree::none is, now that the access tree builds without the testing feature 2026-11-22 22:45:13 +07:00
dotCooCoo e751a7a49c craft-cdr: refuse previews that preview cannot read whole
preview now reads a DISP chunk only when its first 4 bytes are
08 00 00 00 (every DISP chunk in the sample files starts so) and its
bitmap has a 40-byte info header, a plane count of 1 and uncompressed
pixels: compression 0 at 1, 4, 8, 16, 24 or 32 bits, or compression 3
(color masks) at 16 or 32 bits, as the bitmap info header page states.
A color table may not hold more than 2^bit count colors, and the
image size must be 0 or the rows' size, as in every sample. Other bit
counts with those compressions fail as damaged; other header lengths
and compressions are refused as unsupported. A DISP chunk of another
kind, or a bitmap with another header length or compression, is passed
over, and a file with no later DISP bitmap that preview reads is
refused as unsupported. Before this, a bit count of 0, compression 6 or a header
of another length gave a BMP file whose pixel offset was wrong, and
the rows were checked only for compressions 0 and 3. The row size is
now computed in 64 bits, so 32-bit targets accept the same bitmaps as
64-bit ones. The BMP file ends with the last row: bytes after it in the
chunk are left out, and the file's memory is reserved fallibly.

A RIFF file without a DISP bitmap now gives Ok(None) only when its
last chunk ends where the form's length says, inside the file. A chunk
that runs past the form, a partial chunk header at the end, a file cut
short or a form length too short for the form type fails as damaged,
since the missing bytes may hold the picture. A file cut short still
gives a DISP chunk it holds whole.

A version 2 file keeps a 1-bit picture (R40) that preview does not
read, so preview refuses it as unsupported instead of reporting no
picture. Version 1 still gives Ok(None).

Tests cover each of these cases, a package that holds both thumbnail
members, and the package member count limit. The hostile-input
property tests in tests/it/read.rs now also run preview, including
deflated thumbnail members and a compressed list before the DISP
chunk, and check that a package without a picture member gives
Ok(None) whatever its damaged drawing holds.

The README and the preview doc comment say that preview does not check
the drawing's version. PROVENANCE.md row R76 records that no sample
package's RIFF stream has a DISP chunk, and the crate description
mentions the preview.
2026-11-22 07:42:50 -08:00
aiongg 5c14a9d042 Font picker: give the Arabic sample story Noto Sans Arabic from the craft fonts set
The story's catalog had no face that maps Arabic, so no row showed the
Arabic sample. craft-font-manager's build script embeds Noto Sans Arabic
with fonts-build's Embed when the suite feature is on and CRAFT_FONTS_DIR
names a craft-fonts checkout; without it the table is empty and the story
shows the other families only.
2026-11-22 15:41:05 +00:00