Skip to content

Site search split index, BETA 1033 screenshots and prose, svgshot tooling, and Form/PictureBox BackColor WARNINGs - #254

Merged
KubaO merged 12 commits into
twinbasic:mainfrom
KubaO:staging
Oct 31, 2026
Merged

KubaO merged 12 commits into
twinbasic:mainfrom
KubaO:staging

Conversation

@KubaO

@KubaO KubaO commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Splits the search index out of the page load, retakes the IDE screenshots on BETA 1033, improves the screenshot tooling, and documents BackColor/Picture drawing defects.

  • Site search: the build writes the lunr index to search-index.json ({docs, index}), built on 8 threads and merged into exactly the bytes lunr() produces. The page loads it on the first keystroke instead of building it (3.0 s to 0.75 s). One file means entries and index can never come from two deploys, so the digest check and refetch go, and the offline tree drops search-data.js. test/search-index.test.mjs gates the split build.
  • svgshot: the judge draws half-pixel pictures at the whole size above. There is a native Fluent text-field replica, and outer shadows are clipped. 62 SVGs are back on 1033 and 65 on 1010. sheet.mjs writes an HTML sheet of pictures with no SVG, and --against <rev> shows each PNG's change against a git revision. The noise rule moves to scripts/lib/shot-change.mjs.
  • shoot_docs: a capture is compared with the picture at HEAD first, and one within noise of it is restored together with its SVG. --against, --against-disk and --cleanup [--dry-run] are new. It also handles BETA 1033's rebuilt New / Open Project, Project Settings and IDE Options dialogs.
  • Screenshots and IDE prose: pictures are retaken on 1033, and the prose for the three rebuilt dialogs is updated (Default buttons, the rail and filter, 32 IDE options, Library References columns, six themes, picture sizes, alt text). Eight light pictures that no longer differ from their dark ones are dropped.
  • Defects: Form and PictureBox WARNINGs for BETA 1034, checked in VB6:
    • Setting BackColor or Picture with AutoRedraw erases the drawing as Cls does and resets CurrentX/CurrentY.
    • ForeColor set to its own value leaves the DC's text colour.
    • The PictureBox same-colour erase is fixed in 1034, so that sentence goes.
    • The BUGS-TO-REPORT entry has a reproducer with a VB6 side.

KubaO added 12 commits October 29, 2026 01:35
…t on 8 threads and merged into exactly lunr()'s bytes), the page loads it on the first keystroke instead of building it (3.0 s to 0.75 s); offline pages load search-data.js and search-index.js only then; test/search-index.test.mjs gates the split build
…an never hold entries and an index of two deploys; the digest check and refetch go, and the offline tree drops search-data.js
… it (an <img> of 161.5 was stretched to 162: 62 SVGs back on 1033, 65 on 1010, none worse); a native Fluent text field replica fitted on bench/textfield.html; an outer shadow clipped to outside a box its background does not cover
…every one), each drawn again from its bundle beside its PNG and difference map, worst first; redraw.mjs shares the drawing, judging and processes with replay.mjs (unchanged), and its user-name check is off only for the sheet, which is refused under docs/ and anywhere git does not ignore
…st a git revision (old, new, difference map), changes first, then those within capture noise with a restore command it only shows, then added and deleted; the noise rule moves to scripts/lib/shot-change.mjs
…tored when within noise of it, with its SVG; --against <rev>, --against-disk), and --cleanup [--dry-run] puts back, with no IDE, every modified PNG within noise of HEAD; git reads batched in scripts/lib/shot-revision.mjs, which sheet.mjs --against uses too and whose noise section names --cleanup
…ds, rows; recents answered from the page, NEWFRONTPAGE neither read nor saved) and its rebuilt Project Settings and IDE Options (tbps/tbis rail and rows; the changed count an unsteady region)
… Open Project, Project Settings and IDE Options dialogs (Default: buttons, the rail and filter, 32 IDE options, Library References' columns), six themes, picture sizes and alt text; 8 light pictures no longer differ from their dark ones
… but keeps CurrentX/CurrentY (a PictureBox even for the same colour), ForeColor set to its own value leaves the DC's text colour; WARNINGs for BETA 1033, checked in VB6
…CurrentY (reproducer with VB6 side, BETA 1033 and 1010); Form and PictureBox WARNINGs narrowed to AutoRedraw, and for Picture
…034, where the bug still reproduces; the PictureBox same-colour erase is fixed in 1034, so its sentence goes
@KubaO
KubaO merged commit 6e29011 into twinbasic:main Oct 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant