Commit Graph
8520 Commits
Author SHA1 Message Date
aiongg b49daffe12 Camera Raw workspace: a held OK files its answer for the app (OK and Done); trial 2026-11-16 23:43:10 +00:00
aiongg 4ebf340fb5 Hosted Image Size and Canvas Size can hold their OK for the host, as the hosted parameter dialog does; a hosted parameter dialog can start holding its OK once open 2026-11-16 23:42:54 +00:00
aiongg 160970b349 Trials: Escape ends an armed Straighten before discarding the crop; a secondary click on the text editor reports a context click and starts no drag 2026-11-16 23:42:47 +00:00
aiongg b1845d2e74 CropOverlay: Escape drops an armed Straighten first, whether or not the crop has started 2026-11-16 23:41:14 +00:00
aiongg 13b0375c93 Appearance page reads a SuiteView; SettingsDocument exposes its draft whole 2026-11-16 23:40:03 +00:00
aiongg b9904a023a New Guide: a measuring run does not decide OK; trial types without Tab 2026-11-16 23:39:32 +00:00
aiongg bcdfd861b3 Camera Raw: the sampler readouts follow Before; the workspace's automation fields carry the pointer and sampler readouts (json_fields takes the source) 2026-11-16 23:39:06 +00:00
aiongg c962f10027 Dialog footer: the content stands at the start of the buttons' line, not on a line above 2026-11-16 23:39:06 +00:00
aiongg ed27f43df7 TransformPreview can paint in the canvas's picture slot; CanvasSpace::picture_slot is public 2026-11-16 23:38:55 +00:00
aiongg 86252f70a8 TextEditor reports a secondary press released on it as a context click, for the host's type edit menu 2026-11-16 23:38:47 +00:00
aiongg 400d9e9082 Merge branch 'red/t6c' into fw/mac1 2026-11-16 23:37:48 +00:00
aiongg a4570cb03c Merge branch 'red/t2c' into fw/mac1
# Conflicts:
#	crates/draw/src/ui/pen/curvature_mode.rs
2026-11-16 23:37:48 +00:00
aiongg 4b28aad62f Merge branch 'red/t3c' into fw/mac1 2026-11-16 23:37:38 +00:00
aiongg b747993c13 Merge branch 'red/lagc' into fw/mac1 2026-11-16 23:37:38 +00:00
aiongg 4b8f3c8608 Outline draft: only a draft built with locking_shift_drags (the Freeform Pen) locks a shift drag; the Lasso's shift adds to the selection 2026-11-16 23:36:47 +00:00
aiongg 808483db4f Guides: a keyboard Delete clears the guide selection instead of moving it to the next guide 2026-11-16 23:36:08 +00:00
Dylan M. Taylor 62145a3e63 psd: preserve PhotoCraft lenient TySh prefix parsing (#1923)
(cherry picked from commit 20220807a4)
2026-11-16 23:36:08 +00:00
aiongg 2b8741d72c Shortcut import keeps only a command's main default key first, so a set's own main key and default alternates round-trip 2026-11-16 23:36:04 +00:00
aiongg 79a5564061 rustfmt the crates round B changed 2026-11-16 23:32:27 +00:00
aiongg 93bfcb46fe Pen: the knot a press acts on is named knot, so the snapped point at stays the new anchor's place 2026-11-16 23:32:16 +00:00
Dylan M. Taylor be0b1e6552 cover the Flatpak repository guard and its update command (#1956)
The Flatpak/OCI migration left update_flatpak_app and the refusal to replace a
repository-managed Flatpak without tests. A stand-in flatpak on PATH, in child
processes so the environment stays private, covers every scope flag, both
command shapes, a successful update and Flatpak's error text; the guard test
asserts the refusal happens before anything is downloaded.
2026-11-16 18:22:56 -05:00
aiongg dd0c65a680 BezierOverlay: an open press declares and handles its parts from the paths it began on; Add and Delete Anchor report a press on empty canvas (pressed_empty), whose doc says which tools report it 2026-11-16 23:01:15 +00:00
aiongg 69f4d33fa2 Canvas: its surface paints in the paint step, under the picture slot
The canvas surface came from ContainerProps, which the body paints into a slot
reserved when its content starts, after the canvas reserved its picture slot in
the paint step: the surface covered every picture shown with
RasterDisplay::picture. The surface is the canvas style's own, painted before
the slot, so the picture lies on the surface, under the canvas veil and every
canvas control of the body; the body's children see the same surface.
2026-11-16 22:58:25 +00:00
aiongg beef01d6fd A focused canvas control lends its leftover Escape to the window as the document canvas does (focus::is_canvas_member on the recorded arena root); keys::take_cancel is private again 2026-11-16 22:58:24 +00:00
aiongg f9b11ac031 Merge commit '5ae19f3035' into red/t3c 2026-11-16 22:56:53 +00:00
Dylan M. TaylorandBrandon Thomas a9efd722b4 Expose bounded BMP header recognition for consumer cutovers (#1929)
* Expose supported BMP header recognition

Port the BMP routing check from LightCraft commit 304180a500d1b3f87c8c841f269d305161d6c8b9, preserving minimum length and DIB allowlist.

* Test BMP routing boundaries and unsupported DIB sizes

---------

Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-11-16 17:56:38 -05:00
Dylan M. Taylor 778493598f Migrate Flatpak updates to the OCI image and appimage pipeline (#1318) 2026-11-16 17:53:46 -05:00
aiongg c9e1851acf Trial: a wheel notch down steps a free select to the next entry 2026-11-16 22:53:43 +00:00
aiongg 7641c82939 Select: a wheel notch down steps to the next entry and up to the previous one, as the combo box and the tab strip do 2026-11-16 22:53:32 +00:00
aiongg 5ae19f3035 keys::take_cancel is public for an app that opens a modal layer in the pass an Escape arrives in 2026-11-16 22:52:44 +00:00
aiongg d824fa99d7 Curvature Pen: a press away from every end point carries on the subpath the host names (PenTool::carry_on), adding its anchor to it 2026-11-16 22:50:40 +00:00
aiongg 8167b69fd9 Key stage: a canvas tool's state-dependent claims hold while a non-text member of the canvas's arena (a frame part) is focused 2026-11-16 22:49:51 +00:00
aiongg fcde55c303 bezier trials: a host-cancelled press restores nothing; arrow trial empties the Tab-arrival selection 2026-11-16 22:48:42 +00:00
aiongg cb14f32232 Merge branch 'red/t4d' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg 37fc579d62 Merge branch 'red/t11' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg d69d80d2cd Merge branch 'red/t10' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg b865bd53ad Merge branch 'red/t9' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg 6ef7c0c489 Merge branch 'red/t8' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg 5d9a02e86b Merge branch 'red/t7' into fw/mac1
# Conflicts:
#	crates/behavior/src/geometry/draft.rs
#	crates/behavior/tests/geometry/draft.rs
2026-11-16 22:47:46 +00:00
aiongg a8d15655ac Pen trial: the carried-anchor press lands on a middle anchor, since a press on the first anchor of a draft of three closes it 2026-11-16 22:47:33 +00:00
aiongg 6de8fd7139 rustfmt the crates round A changed 2026-11-16 22:44:29 +00:00
aiongg d3b57ecae9 TransformBox RotateZone::Border: the outside rotates only within a reach of the box's sides; further out a press is the box's and does nothing, with the arrow pointer (PhotoCraft's type box with Command held, pc-prod-e76 type_transform.rs:145-152, 213-216, 310-318); TransformOverlay::rotate_zone passes it to the box 2026-11-16 22:22:26 +00:00
aiongg 0233569408 TransformBox move reach: the corners are round, every point within the reach of the border and no further (a strip along each side and a sector outside each corner), as PhotoCraft's type move reach (pc-prod-e76 type_transform.rs:156-196) 2026-11-16 22:22:26 +00:00
aiongg 11c23fddf5 A canvas tool claims regions over the canvas controls: CanvasTool::regions, asked before the canvas shows and handed to Canvas::tool_regions, which declares them as over parts; a press there is the canvas's background press 2026-11-16 22:22:26 +00:00
kiwi4boy d5eddf0cc2 flow: a table with no style has no header row from the default look
flow_table made a table's first row a header row whenever its look had
header_row set, and the look defaults to Word's (header row on). The look
is an option of the table's style (w:tblLook/@w:firstRow), so a table
with no style, or a style the document doesn't have, got a header row
Word never shows: RTF bolded it and marked it \trhdr (repeat on each
page), HTML made it th, and ODT repeated it. Only Repeat as header row
(RowProps::header) makes such a row a header now; styled tables are
unchanged.
2026-11-16 17:16:24 -05:00
kiwi4boy 5541e248e8 wordmodel: append to a paragraph in O(1) with push_text and push_object
Building a paragraph through insert_text/insert_object at its end walked
every run (and insert_object counted every object before the offset) on
each call, so n appends cost O(n^2): one paragraph of 64k runs took
8.5 minutes. push_text and push_object extend the last run or start a
new one, giving the same paragraph as inserting at len().
2026-11-16 17:12:46 -05:00
aiongg 2313dd96a7 Readout trial: the release-pass check runs its tool in the canvas body, from the canvas's tool pass 2026-11-16 22:12:27 +00:00
dotCooCoo a6b7bdce3e ps: write numbers from their rounded integers instead of the float formatter
push_num_places now writes the digits of round(v * 10^places) directly
when that integer is below 2^52 in magnitude, placing the decimal point
and trimming fractional zeros itself. Below 2^52 the integer is exact
and dividing it by 10^places lands within half a decimal step of the
exact quotient, so the text is the same as the formatter's. NaN,
infinities, scaling overflow and larger rounded values take the
existing formatter path unchanged. Requests for more than nine places
are still clamped to nine first.

Tests compare the output with the formatter path for places 0 to 12
over fixed boundary values (negative zero, ties, 1e15, 2^52, f64::MAX,
non-finite values) and about 144,000 values in all (about 48,000
generated, plus the neighboring bit patterns of each). Widening the
limit to 2^54 makes the comparison fail, for example
-1709448349065955.5 at one place.

On 1,200,000 path coordinates at four places (release build, wall
clock on a Linux host running other builds at the same time, seven
alternating runs), the formatter path took 362 to 373 ms and the
integer path 38 to 44 ms.
2026-11-16 14:08:31 -08:00
aiongg cdea1067e7 Pen and Curvature Pen place and pull their anchors at the point the canvas snaps the pointer to (View > Snap To and the pixel grid), as the other drawing tools do 2026-11-16 22:04:17 +00:00
aiongg e902b2d306 Merge branch 'red/lag' into fw/mac1 2026-11-16 22:03:51 +00:00