Commit Graph
20131 Commits
Author SHA1 Message Date
BFlat 5d00bb8fbf Merge pull request #9308 from dotCooCoo/feat/scripts-e4x
Scripts: every script reads E4X and has the XML objects
2026-11-26 00:31:24 +07:00
BFlat 144b3f18cc Merge pull request #9307 from dotCooCoo/fix/style-percent-comma
Fields: Character Style Options refuses 1,000% as it refuses 1,000
2026-11-26 00:31:07 +07:00
BFlat e1dd113588 Merge pull request #9305 from dotCooCoo/fix/glyph-names-read-once
Glyphs: a font's glyph names are read once, so the panel stops scanning the post table for every cell
2026-11-26 00:30:49 +07:00
BFlat e256ac7022 Merge pull request #9141 from dotCooCoo/fix/eps-discard-white-overprint
EPS: white fills and strokes knock out with Discard White Overprint
2026-11-26 00:30:32 +07:00
BFlat 08425c9610 Merge pull request #9310 from dotCooCoo/fix/js-spread-tests-follow-iterators
JavaScript: spread tests follow the iterator protocol
2026-11-25 23:27:57 +07:00
BFlat e4347f0d6f Look: production's breathing room across VectorCraft (type size, menus, dialogs, Home, panels) and main's lib test fixes (#9292)
* Theme: type at the size production draws it. Production set Inter at 92% of its nominal size, so its 13-point body, 12.5-point labels and 11.5-point captions read at 12, 11.5 and 10.5 points; SIZES took the nominal sizes, which drew every text about 8% larger than production on the same rows. Body and strong body 12, labels 11.5, captions 10.5, line heights kept. Dialog buttons at least 72 points wide, as production's.

* Theme: menus and dialogs as production spaces them. 29-point menu rows (production's 24-point rows 5 points apart), dialogs 22 points inside their edge (production's dialog margin) and 28-point dialog buttons. Needs a craft-libs rev with size.row.menu, size.dialog.button_height and space.pad.dialog (fix/vc-look9-metrics): on an older rev SIZES does not parse. Land it after that rev move.

* Home: production's rhythm through the framework's page sizes: 9 from title to subtitle, 27 to New and Open, which stand 28 high with 16 points beside their labels and 14 apart, 33 between sections, 15 under a heading, the community links in 24-point rows 5 apart and in the link colour alone (LinkLook::Plain on Home only); Learn's skills a heading gap apart, each title muted over its tutorials, which stand as tall as New and Open, as production's secondary buttons did

* Swatches: thumbnails at production's sizes and the footer split as production

The thumbnail views give the browser zooms of 1/4, 1/3 and 2/3 on the large
thumbnail: 12, 16 and 32 point tiles, production's 11, 15.5 and 30. The
library panels' saved view follows the new zooms. Swatch Libraries, Show
Swatch Kinds and the edit action stand at the footer's start edge; New Color
Group, New Swatch and Delete at its end edge.

* Color Guide: the footer split as production

Limit to Library stands at the start edge; Edit or Apply Colors, Save
selected colors and Save color group at the end edge, in that order.

* Graphic Styles: 40-point tiles in Thumbnail View

Thumbnail View sets its own zoom, as the list views do, so its tiles are
production's 40 points and no longer keep a list view's zoom.

* Align panel: the reference app's groups and rules: the align and distribute buttons in groups a section gap apart, a rule between Align Objects and Distribute Objects, and Distribute Spacing and Align To on one line with a rule between them

* Transform panel: a rule over the shape properties and over the options, as the reference app had

* Info panel: the two columns of numbers are equal halves of the panel, as the reference app had them

* Layers panel: the footer's layer count is a text unit of the footer row in the text ink, as the reference app showed it

* Libraries panel: the no-library notice shows the library icon over its title, as the reference app did

* craft-libs: next 5442cfb97, with the page rhythm tokens, LinkLook, the menu row height and the dialog padding and button height the look commits set

* Docking test: the report names the panel that has the keys after a click in its search field. A press on a dock tab now leaves the keys where they were (craft-libs TabStrip::keeps_focus), so the tab click alone no longer focuses the panel; the search lookup is a harness helper both tests use

* craft-libs: next 6fcf61c81, a document window raised as Presentation Mode ends comes to the front

* Canvas drops: a canvas takes no drop where a floating panel's OS window lies over it

The canvas's drop catcher accepted art carried off its own canvas wherever
the pointer was over the canvas, including where a floating panel's OS window
lies over it. The main window's pass runs first, so the canvas took the drop
and resumed the move, and the panel under the pointer got nothing. Every
target of the catcher now refuses a point that panel_docking::os_window_at
reports covered, the same rule the Selection tools' carry uses.

It used to work by accident: the carry's covered test flickered every other
frame, the move dispatched a drag in those frames, and the changed revision
made the canvas refuse the carried art until the release.

* Safe Mode: the choice about a stopped plug-in opens on the host at once

The choice was put on the host's startup queue, which the host drains
only at the start of its next pass. On main the first frame happened to
run a second pass (layout memory asked for a rerun), so the choice was
open by the end of the launch frame; the framework now settles that
frame in one pass, and the choice stayed queued until the frame after,
where an agent's ui.dialog.* found no hosted dialog open. The choice is
only asked for on an empty host, so opening it directly is what the
queue would do one pass later.

* Image Trace sampler test: a step runs until the press lifecycle reported its events

run_ui stopped stepping once egui had seen every pointer event of the
step. The press lifecycle reports one phase a pass, so a pass that
brings a release and the next press (two clicks in one frame) reports
the press's Down one pass later and holds its release for the pass after
that, asking for a repaint. The step ended before that pass, and the
second click of review_597048_two_ordinary_clicks_in_one_frame_survive_
sampler_correction never reached the tool, so the group did not isolate.

It passed before by accident: with craft-libs a4b6d3b6ca every other
frame ran a second pass, and the held release landed in it. With
6fcf61c81 each of these frames runs one pass. The step now also counts
the phases owed and runs empty frames until the passes have caught up.

* Shapes add-on: the helper that maps a shape tool to its icon is icon_for_shape, so the icon test no longer reads its tool ids ("polygon", "no-such-tool") as icon ids

* Native panel window test: drop the art on the first graphic style's tile

The test dropped the art 60 x 120 points into the Graphic Styles window. Since
Thumbnail View's tiles are 40 points (df940cff4e) the tile row ends at 116
points, so that point lies in the empty room below the tiles, which takes no
drop, and the panel made no style. The test now finds the first style's tile
by its name in the window's access tree and drops the art there. The test
host keeps each window's named access nodes for that.
2026-11-25 23:23:47 +07:00
BFlat 2a5dbc479f Merge pull request #9272 from dotCooCoo/fix/test-frames-before-input-once
Tests: the frame helpers give the runtime its input once per frame
2026-11-25 19:56:15 +07:00
BFlat 9ddc6b64e0 Merge pull request #8906 from dotCooCoo/feat/eyedropper-hover-highlight
Eyedropper: Object Highlighting outlines the object a click would act on
2026-11-25 19:56:02 +07:00
BFlat 5f875f9463 Merge pull request #8896 from dotCooCoo/fix/canvas-color-settings-rerender
Canvas: Color Settings and a reloaded profile render the art again through the new conversion
2026-11-25 19:55:49 +07:00
BFlat e9bca9e5f1 Merge pull request #8888 from dotCooCoo/perf/type-overlays-shared-layout
Type: Show Hidden Characters and Auto Spell Check list the type once per revision
2026-11-25 19:55:36 +07:00
BFlat d0b332dc71 Merge pull request #9282 from dotCooCoo/fix/floating-panels-open-at-their-size
Panels: a panel the Window menu floats opens at its own size again
2026-11-25 19:33:59 +07:00
BFlat e351870b58 Merge pull request #9281 from dotCooCoo/fix/float-panel-keeps-docked-tab
Panels: a panel that opens in a window of its own leaves the docked group's front tab as it was
2026-11-25 19:33:40 +07:00
BFlat 9a9bdca382 Merge pull request #9088 from dotCooCoo/feat/plugin-api-document-info
Plug-ins: filters and plug-in commands read document information without a selection
2026-11-25 19:33:17 +07:00
BFlat 62eff34cc6 Merge pull request #9069 from dotCooCoo/feat/plugins-load-on-workers
Plug-ins: stored and folder plug-ins load on worker threads while the window shows
2026-11-25 19:32:48 +07:00
BFlat 4e50ad0d4a Merge pull request #8927 from dotCooCoo/fix/profile-mismatch-background-queue
Color Settings: a background open whose profile question is gone finishes off the UI thread
2026-11-25 19:32:31 +07:00
BFlat 4fcee377c9 Merge pull request #8897 from dotCooCoo/fix/width-point-edit-target
Width Point Edit: OK and Delete act only on the stroke and the paired points it opened on
2026-11-25 19:32:17 +07:00
BFlat b4bb4e32d1 Merge pull request #8890 from dotCooCoo/fix/banner-hem-and-grommet-messages-and-saving
i18n: banner hem and grommet errors and the recovery failure line have rows in every complete catalog
2026-11-25 19:32:02 +07:00
BFlat 6eaaf31370 Merge pull request #8883 from dotCooCoo/feat/transform-polygon-sides-slider
Transform: Polygon Properties' Sides row has a 3 to 20 slider beside the field
2026-11-25 19:31:47 +07:00
dotCooCoo 382e40dce1 JavaScript: spread tests follow the iterator protocol
Since #9138, spread steps the array's iterator, so spreading a long
array ends at the fuel limit instead of an early RangeError. Three
tests in es2015_tests.rs still expected the by-index RangeError and
failed:

- an_index_setter_without_a_getter_does_not_delay_the_spread_s_check
- a_prototype_getter_behind_an_own_element_does_not_delay_the_spread_s_check
- looking_for_index_getters_takes_fuel_for_each_property

The setter and prototype-getter tests now check the fuel limit and that
the setter or getter did not run. The test of the index-getter scan,
which #9138 removed, is deleted.

docs/target-app-parity.md had two ES2015 entries after #9138. The
by-index entry is removed; the entry that describes iterator spread
stays.
2026-11-25 04:31:45 -08:00
BFlat 4fa0e75d49 Merge pull request #8879 from dotCooCoo/fix/i18n-tracing-presets-file-filter
i18n: file pickers name Tracing presets, Action sets and Composite fonts in every language
2026-11-25 19:31:30 +07:00
BFlat e68ef201c9 Merge pull request #8869 from dotCooCoo/feat/opentype-proportional-metrics
OpenType: Proportional Metrics in the panel menu with the East Asian options
2026-11-25 19:31:15 +07:00
BFlat 0d27b5e579 Merge pull request #8859 from dotCooCoo/feat/link-info-show-in-folder
Links: the Location row in Link Info has a button that shows the file in its folder
2026-11-25 19:31:00 +07:00
.CooCoo 518f435c02 Tool icons: tools on a generic icon get one that shows what the tool does (#9032) 2026-11-25 19:28:14 +07:00
.CooCoo d51c4b92fb Scripts: .js object literals take methods and __proto__, and functions get names (#9138) 2026-11-25 19:25:17 +07:00
dotCooCoo 8b05d98951 Scripts: every script reads E4X and has the XML objects
The script host ran its realm with E4X off, so XML literals were syntax
errors and XML, XMLList, Namespace, QName, isXMLName and
setDefaultXMLNamespace were missing from every script, although
vectorcraft-js has them. script.run and File › Scripts now turn E4X on
for .js and .jsx files, script text, #include files, $.evalFile, eval
and Function, and for a #targetengine engine.

script.check lists the e4x and xml features under the language need
instead of hostOnly, since VectorCraft runs them.
2026-11-25 04:23:32 -08:00
dotCooCoo 2784f684a1 EPS: white overprints knock out on PostScript plates with Discard White Overprint
On a separated PostScript plate, a process white fill, stroke or
character fill or stroke marked to overprint kept its overprint flag
with Discard White Overprint on, so it was drawn as nothing and the ink
below it stayed. The plate document now turns overprinting off for
those whites, so they knock out as in composite output. White linked to
a spot swatch that has a color, at a tint above 0%, still overprints.

An overprinting colorized image in the tile of an overprinting pattern
fill is now written in only the process inks it puts down, as it is
outside a pattern, instead of as a full CMYK image that removed the
inks below it.

The params text and docs/mcp.md now say the spot exception needs a spot
swatch with a color.
2026-11-25 04:12:07 -08:00
dotCooCoo 266e42b8f5 Fields: Character Style Options refuses 1,000% as it refuses 1,000
The percent fields and Character Rotation read the decimal comma before
the % or ° suffix came off, so 1,000% read as 1.000% and was accepted
as 1, while 1,000 was refused. The suffix now comes off first; 12,5%
and 12,5° still read as 12.5.
2026-11-25 04:05:51 -08:00
Dylan M. Taylor 8b0b808857 packaging(linux): support co-installable nightly packages (#9233)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

gate test shard 1/5 (and the Sonar scan that reads its coverage) fails on crates/ui-egui/src/doc_windows/tests.rs `a_document_made_current_in_presentation_mode_comes_to_the_front_after_it`, which main fails too (CI run 45581083304); this PR touches no ui-egui code.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-25 06:01:37 -06:00
dotCooCoo c738a88170 Merge main into fix/eps-discard-white-overprint 2026-11-25 03:33:00 -08:00
dotCooCoo 1872e52203 Glyphs: a font's glyph names are read once, so the panel stops scanning the post table for every cell
FontFace::glyph_name looked each name up in the font. In a version 2.0
post table the names are one run of strings, and read-fonts walks that
run from its start for every lookup. The Glyphs panel builds the
tooltip of every visible cell in every frame, and the tooltip of a
glyph that no character maps carries its name, so each frame scanned
the table once per such cell.

glyph_name now reads every name of the face in one pass the first time
it is asked, through skrifa's name iterator, and keeps them on the face.
A new test checks the kept names against each glyph's own lookup for
every bundled face.
2026-11-25 03:24:49 -08:00
BFlat 58031f541b Merge pull request #9301 from dotCooCoo/fix/screenshot-trial-test-order
Tests: the screenshot trial waits for the request's own deadline
2026-11-25 18:21:04 +07:00
BFlat a8c852a121 Merge pull request #9297 from dotCooCoo/fix/sampler-two-clicks-one-frame
Tests: two clicks in one frame isolate in the frame that takes the second release
2026-11-25 18:20:35 +07:00
BFlat e21aec705f Merge pull request #9294 from dotCooCoo/fix/dialog-list-max-rows
Dialogs: lists inside a scrolling body cap their rows, so debug builds draw them
2026-11-25 18:20:23 +07:00
BFlat 24b4e624a1 Merge pull request #9293 from dotCooCoo/fix/safe-mode-tests-second-frame
Tests: the Safe Mode launch trials run the frame that opens the choice
2026-11-25 18:20:11 +07:00
BFlat c1be405e30 Merge pull request #9290 from dotCooCoo/fix/scriptcheck-folder-file-methods
Script checker: File-only calls on a Folder object are not file reads, writes or dialogs
2026-11-25 18:19:58 +07:00
BFlat 8b7949a165 Merge pull request #9287 from dotCooCoo/fix/asset-export-scale-table-fits
Asset Export: the scale row's fields share the panel's width instead of running past its right edge
2026-11-25 18:19:46 +07:00
BFlat 47e36fc5ba Merge pull request #9284 from dotCooCoo/fix/command-icon-size
Align and Pathfinder: the panel icons fill their glyph square again
2026-11-25 18:19:32 +07:00
BFlat 81e91b7e34 Merge pull request #8953 from dotCooCoo/fix/quick-pen-shortcut-default
Shortcuts: the Quick Pen tool can take Alt+P back in the shortcut editor
2026-11-25 18:19:19 +07:00
BFlat 435e12d5fa Merge pull request #8952 from dotCooCoo/fix/grid-picker-keeps-entry-model
Document Setup: an unchanged Color Picker OK keeps a grid color's own model
2026-11-25 18:19:05 +07:00
BFlat 56b77424ca Merge pull request #9224 from Terra854/refactor/shared-classic-hpgl
Use the shared writer for classic HP-GL export
2026-11-25 17:50:34 +07:00
BFlat 0e4bf6dae6 Merge pull request #9200 from lehni/feature/segment-nudge
Direct Selection: the arrow keys bend a selected curved segment
2026-11-25 17:50:11 +07:00
BFlat f4671cc5ec Merge pull request #9158 from JonRC/fix/eps-keeps-embedded-fonts
Fix #9152: EPS import keeps the fonts a file carries for type whose family isn't installed
2026-11-25 17:49:49 +07:00
BFlat b8c7423ff9 Merge pull request #9071 from makesomethingshit/fix/7572-pdf-editing-data-opt-out
PDF import: honor the editing data opt-out when opening a file (#7572)
2026-11-25 17:49:10 +07:00
BFlat 430e4347cb Merge pull request #9040 from MMexicann/patch-9
fix(docsetup): preserve custom quotes when language is unchanged
2026-11-25 17:48:34 +07:00
BFlat 9a4e776812 Merge pull request #9039 from MMexicann/patch-8
Keep the active Appearance row selected when reordering
2026-11-25 17:48:18 +07:00
BFlat a44715c097 Merge pull request #9034 from MMexicann/patch-6
docs: align the download table with published packages
2026-11-25 17:47:53 +07:00
BFlat 7066760a18 Merge pull request #9031 from MMexicann/patch-5
Allow a linked vertex to define an angular dimension
2026-11-25 17:47:13 +07:00
BFlat 08ceee64e8 Merge pull request #8846 from adambelis/fix/width-profile-shape
Width profiles: keep the profile's shape and smooth its outline
2026-11-25 17:46:31 +07:00
BFlat 0f7580c97e Merge pull request #8830 from Hassan1305/docs-8312-3d-status
Docs: list first-light 3D shadows and graphics as built (#8312)
2026-11-25 17:45:40 +07:00
BFlat a98352fde2 Merge pull request #6022 from mockydevs/fix/eps-huge-image-reduced
EPS import: images over 67 million pixels are read at a lower resolution instead of left out
2026-11-25 17:45:12 +07:00