Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
cad00b6
BETA 1042: #2001 is fixed, so the Delegate callouts and the filed rep…
KubaO Nov 9, 2026
e96e8c6
Friend late binding stays a defect: its entry adds 64-bit VBA, Wayne'…
KubaO Nov 9, 2026
f6a64e3
BETA 1042: the main.js map sealed, designer_PropertyPage's locals nam…
KubaO Nov 9, 2026
fb9243b
Generics moves to Experimental: 1.0.0.0, still the newest on TWINSERV…
KubaO Nov 9, 2026
ea48e4e
BETA 1042 reads and writes the recent-projects list through ReadFileD…
KubaO Nov 9, 2026
b5cf5f2
BETA 1042: 284 callouts and the 10 error data files relabelled, each …
KubaO Nov 9, 2026
e26c725
BUGS-TO-REPORT: on BETA 1042 the DEBUG CONSOLE is emptied a second ti…
KubaO Nov 9, 2026
ad65b62
BETA 1042 fixes TB0034's level and the names in TB0034's and TB0035's…
KubaO Nov 9, 2026
0fc80f9
BETA 1042: a stdole.IDispatch method called on a Collection ends the …
KubaO Nov 9, 2026
2c81e20
BETA 1042 reports TB0003 for a Delegate Function with no As clause, a…
KubaO Nov 9, 2026
e44c98f
BETA 1042: the 19 callouts of the contributed packages relabelled, ea…
KubaO Nov 9, 2026
ca65941
BETA 1042: the New Project dialog's keyboard NOTE relabelled, lane st…
KubaO Nov 9, 2026
729c648
BETA 1042 no longer crashes on reading Parent of the file system's ro…
KubaO Nov 9, 2026
77e1cf9
shoot_docs: BETA 1042's New / Open dialog reads the recent list throu…
KubaO Nov 9, 2026
67f3821
Screenshot review: a picture's PNG or SVG that no layer of the sessio…
KubaO Nov 9, 2026
5f9adf6
Screenshot review: a picture changed outside the runs is compared as …
KubaO Nov 9, 2026
c2c5e0f
Screenshots: an SVG that draws the same pixels as the baseline's puts…
KubaO Nov 9, 2026
546139f
shoot_docs: the help setup takes the add-in's built pane as the sign …
KubaO Nov 11, 2026
52b183c
BUGS-TO-REPORT: console-cleared-at-open also fails the add-in lanes h…
KubaO Nov 11, 2026
82aa790
Screenshot review: the pages never wait on git. HEAD's baseline and t…
KubaO Nov 11, 2026
bfe19d0
Screenshot review: only a page that is shown holds the event stream, …
KubaO Nov 11, 2026
8c3e010
Screenshot review: each page says whether it follows the runs, in a c…
KubaO Nov 11, 2026
48a2077
shoot_docs: the fusion setup opens its project a second time, from a …
KubaO Nov 11, 2026
fd63a60
shoot_docs: the picture of a missing linked package's reference answe…
KubaO Nov 11, 2026
4cbeb39
shoot_docs: the WebView2 download page's Architecture list arrow is u…
KubaO Nov 11, 2026
b276c2a
shoot_docs: a web page whose navigation Chrome aborts (net::ERR_ABORT…
KubaO Nov 11, 2026
78e0c83
Screenshot review: Move the session to HEAD waits for HEAD as the git…
KubaO Nov 11, 2026
16b1b6b
BETA 1042's IDE changes: Break On All Errors (this project) and (insi…
KubaO Nov 9, 2026
d0cc391
Keyboard Shortcuts: tbDebug_ToggleBreakOnAllErrors names the setting …
KubaO Nov 9, 2026
83ae180
Screenshots retaken on BETA 1042: 132 pictures changed, 1 kept at HEA…
KubaO Nov 9, 2026
9ed1862
BETA 1042 retake: Window > Language lists Dutch (nl-nl.lang, new in 1…
KubaO Nov 9, 2026
df84d42
Screenshots retaken on BETA 1042: 4 pictures changed, 4 taken by revi…
KubaO Nov 11, 2026
3090907
Screenshots: the manifest records the scale of the fifteen pictures o…
KubaO Nov 11, 2026
23bb937
Screenshot sizes (rule 4): the pages that show a picture declare its …
KubaO Nov 11, 2026
649f1be
Finding: Replace All in a project search works since BETA 1036, and t…
KubaO Nov 11, 2026
24c01a9
ReDim: an array declared with its subscripts cannot be resized, and R…
KubaO Nov 11, 2026
78231c9
Themes: the shipped themes' properties counted again on BETA 1042, ab…
KubaO Nov 11, 2026
b4ce1ed
Errors data: Core, Compilation, ErrObject and TbExpressionService run…
KubaO Nov 11, 2026
fb60f65
Built-in and default packages re-indexed on BETA 1042 (from 1010): sn…
KubaO Nov 11, 2026
0aceffb
Properties: Copy and Paste in a value's right-click menu as BETA 1042…
KubaO Nov 11, 2026
8a58b02
tb-registry: any checkout's .claude\tbshots is a sweepable folder (an…
KubaO Nov 11, 2026
63a0ded
VB6's recent list (GetVB6RecentProjects) and the old GetRecentsList a…
KubaO Nov 11, 2026
2d6f8d5
chromeshot: an SVG that draws the same pixels as HEAD's or the file's…
KubaO Nov 11, 2026
04a61ab
A worktree's bundle cache filled from the main checkout's on first us…
KubaO Nov 11, 2026
f6a1167
Screenshot review: a session's run handling (start, record, apply in …
KubaO Nov 11, 2026
526666b
Screenshot runs are session runs (rule 1): a terminal's shoot_docs, -…
KubaO Nov 12, 2026
22af73f
Package tests README: a harness fault (a chrome-error:// page) can en…
KubaO Nov 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .github/actions/run-gates/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,10 @@ runs:
- name: Verify a11y sample coverage (pick_a11y_sample.mjs)
shell: bash
run: node scripts/pick_a11y_sample.mjs --check
# Every page that shows a screenshot of test/shots/manifest.json declares
# the size its pixels are shown at, its pixels over its scale. A wrong
# size blurs or stretches the picture and nothing else notices. Reads the
# pages and the pictures' headers; no browser, under a second.
- name: Verify screenshot sizes (check_shot_sizes.mjs)
shell: bash
run: node scripts/check_shot_sizes.mjs
396 changes: 234 additions & 162 deletions BUGS-TO-REPORT.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions WIP.HelpAddin.md
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ run, and the failure says what to update. The lanes and what rests on each:
(increment 6); the mouse route is the one built. It prints the P16 timings with the tests.
- [references.test.mjs](test/addin/references.test.mjs) (P20): increment 9's route to the
packages a project references.
- [parent.test.mjs](test/addin/parent.test.mjs) (P21): the WARNING on the FileSystemItem
- [parent.test.mjs](test/addin/parent.test.mjs) (P21): the NOTE on the FileSystemItem
page's **Parent**, and the reproducer of its entry in BUGS-TO-REPORT.md.

A probe that settles a question once stays in scratch. So do the two P3 checks that need the
Expand Down Expand Up @@ -674,7 +674,7 @@ The table gives each answer in brief; the sections above have the detail.
| P18 | What keeps a hover shown while the mouse slides down it past the code editor's bottom? **Answered, BETA 1007: the IDE.** It draws `.monaco-hover` at `z-index: 1000 !important`, above its dock resizer along the editor's edge (`.dockElementResizer`, `z-index: 1000`) and its drop targets, so they never take the mouse from the hover (Monaco's `_onEditorMouseLeave` would hide it). Monaco alone keeps a hover the mouse is over: its DOM stays inside the editor's, and the hover is sticky. CDP's mouse reaches the 6 px resizer only in steps small enough to land on it, so the test slides the mouse a pixel at a time | Stage 4, increment 6: nothing in the add-in; the `help` lanes check the IDE's behaviour |
| P19 | Can an add-in show a window of its own, a Form holding the WebView2 package's control? **Answered, BETA 1007: yes** ([detach.test.mjs](test/addin/detach.test.mjs), `probes/detach`). A minimal hand-written `.tbform` builds, given `_className` and `_clsid` on the form and the control. `Show vbModeless` gives a visible top-level window, owned by the compiler's process (`twinBASIC_win32_noDEP.exe`, a child of `twinBASIC.exe`), with no message loop of the add-in's own; the control is ready about 250 ms after the first Show, 60--80 ms for a later form. A page loaded with `NavigateToString` posts to the add-in and receives what it posts, and an iframe in it loads an `http://localhost` page. Hide and Show keep the page; Unload and a new form work; the IDE ending leaves no `msedgewebview2.exe` of the window's behind. **The harness gives the IDE `WEBVIEW2_USER_DATA_FOLDER` and `WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS`, the compiler inherits them, and they override the control's own options: with them left in place the control fails, error `8007139F`** (which of the two, not isolated). With no user data folder set, the control uses `bin\twinBASIC_win32_noDEP.exe.WebView2`, which the IDE has made already | Stage 4, increment 7: the detached window, and the variables it removes under the test switch |
| P20 | Can an add-in learn, through the public API, which packages its project references? **Answered, BETA 1007: yes** ([references.test.mjs](test/addin/references.test.mjs), `probes/references` and its three hosts `probes/references-*`). `<Project>/Packages`, reached with `For Each` from `Host.FileSystem.RootFolder` (`twinbasic:/`), holds a folder for each package the project references, newest first, then VBRUN and VBA, which are always there; a package's own references are folders inside its own `Packages`. A folder is named for the package's project, which is the key the symbol index's `packages` map uses (`VB`, not the reference's symbol `WindowsControlsPackage`; `Assert`, not `TwinBasicAssertions`); `VBComDlg`, which only WinNativeCommonCtls references, is the one name the map lacks. `IsPackagesFolder` is true for every `Packages` folder and false for a package's. A package is one folder shared by every list it is in, and its `Path` and `Parent` name the first one it was found in, so only `Name` identifies it. The list is complete when `Host_OnProjectLoaded` runs. Applying a reference added or removed on the References page restarts the compiler with no question asked, and the new add-in instance's list shows the change. A type library is a file in `References`, not a package. | Stage 4, increment 9: the packages the add-in offers |
| P21 | What does reading `Parent` of the file system's root do? **Answered, BETA 1007: it crashes the compiler** ([parent.test.mjs](test/addin/parent.test.mjs), `probes/parent`, one IDE per case, the case passed in `TB_P21_CASE`). The read itself crashes, before the value is used: into an `Object` or a `Folder`, in `Is Nothing`, in `TypeName`. Each compiler the IDE restarts loads the add-in and crashes again. The project folder's `Parent` reads, and is the root (`twinbasic:/`). | no add-in here reads the root's `Parent` (P20's tells the root by its path); the WARNING on FileSystemItem's **Parent**; a BUGS entry |
| P21 | What does reading `Parent` of the file system's root do? **Answered, BETA 1007: it crashes the compiler; BETA 1042: it raises error &H80004005 (E_FAIL, *Automation error*) and leaves the target Nothing** ([parent.test.mjs](test/addin/parent.test.mjs), `probes/parent`, one IDE per case, the case passed in `TB_P21_CASE`). The read itself fails, before the value is used: into an `Object` or a `Folder`, in `Is Nothing`, in `TypeName`. Up to BETA 1034 each compiler the IDE restarts loads the add-in and crashes again, under `On Error Resume Next` too; on 1042 the error, unhandled, ends the event handler without a message, as an unhandled `Err.Raise` does. The project folder's `Parent` reads, and is the root (`twinbasic:/`). On 1042 the lane is judged on a copy patched for the console defect (`bugs/console-cleared-at-open`). | no add-in here reads the root's `Parent` (P20's tells the root by its path); the NOTE on FileSystemItem's **Parent**; a BUGS entry |

### Stage 3: the symbol index, generated by the docs build

Expand Down
21 changes: 12 additions & 9 deletions WIP.Screenshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,13 @@ Measured:
name without "Sample N.", so the tool finds a sample by `fp2Item.name` and anchors on the
name as drawn (`SAMPLE_TITLE`). `.fp2-content` is what scrolls.
- **What the user's machine leaks into a picture**, and the answer for each:
- the recent-projects lists (twinBASIC and VB6) read the user's registry: overridden in the
page (`HostGetRecentsList`, `HostGetVB6RecentProjects`), nothing read or written. BETA
1033's New / Open Project dialog reads the twinBASIC list from `hostAppObject.GetRecentsList`
itself, as it opens, so `PAGE_DEFAULTS` answers that call from `window.__shotRecents`
(`setRecents`, which a shot calls before it opens the dialog), and that dialog's remembered
section, the setting `NEWFRONTPAGE`, is neither read nor saved;
- the recent-projects lists (twinBASIC and VB6) read the user's registry: every tool's IDE has
them answered by the defaults hook (`scripts/lib/tb-defaults.mjs`), from the page's
`window.__tbRecents` and `window.__tbVb6Recents`, or empty, whichever way the build asks
(`GetRecentsList` and `GetVB6RecentProjects` on the host object, and since BETA 1042
`ReadFileDataBase64("GetRecentsList")`), nothing read or written. A shot sets them before it
opens the New / Open Project dialog (`setRecents`), and that dialog's remembered section, the
setting `NEWFRONTPAGE`, is neither read nor saved (`PAGE_DEFAULTS`);
- the IDE's settings (View's ticks, IDE Options' values, the debugger options, the language
tick, user panel layouts) live in `HKCU\...\twinBASIC_IDE\IDESettings`, not in the lane's
private APPDATA — see Machine state in the pictures. The IDE is started with
Expand Down Expand Up @@ -174,8 +175,10 @@ Measured:
the import log, reads `\.` as an escape. A capture fails when the real folder is in the page's
text, its text boxes, the SVG or a window's texts: what cannot be rewritten is fixed, and the guard
is not relaxed. `startTidy` sweeps the folder's `ProjectState` entries; `asTempFolder` allows
exactly this one folder outside the temp folder, so two checkouts' shoot_docs runs at once
would refuse each other's.
a `.claude\tbshots` folder outside the temp folder, any checkout's, by name, so that a dead run's
record from another worktree, or one spelt by a subst drive, is swept by the next run to start
alone; a dead record naming any other folder is dropped with a note rather than blocking every
run after it.
- **The reference is the picture at `HEAD`, then the file** (owner; `pictureFate` in
`scripts/lib/shot-revision.mjs`). Compared with the file alone, a picture drifted from
`HEAD` over the runs of one retake, each step within noise of the file before it, and a run
Expand Down Expand Up @@ -632,7 +635,7 @@ setup, which the setup's `end` removes. Its 14 pictures are under `docs/IDE/Star
- **`starting`**: Enter Licence Key, the search, Recent (VB6) and the three New Project Options
boxes, each cancelled, so that no ActiveX project is ever made; the shot checks the licence box
is empty. The picker `OpenProjectVBP` is answered from `__shotAnswers`, VB6's list from
`__shotVb6Recents` (`PAGE_DEFAULTS`). A box's clip starts at the next whole CSS pixel: it can
`__tbVb6Recents`, which the defaults hook answers. A box's clip starts at the next whole CSS pixel: it can
start half a pixel into the progress box behind it.
- **`starting-new`**: a new Standard EXE and an import, each made again by its take, since a take
leaves the project changed. Its compiler starts on `licenceKey = ""` in the page, as in
Expand Down
Loading
Loading