Skip to content

v0.2.222

Choose a tag to compare

@hanlokesu hanlokesu released this 06 Dec 00:47
· 5 commits to main since this release

PB64Basic Enhanced v0.2.222 - batch 442.

See the full changelog in README.md


batch 442 (v0.2.222) - closes the six batch 9 non-identical pairs without replacing samples. 0348 ComboBox selection: the modal default-focus path now prefers the source's explicit CONTROL SET FOCUS target instead of the first tab stop, so the first ComboBox keeps its blue selection and the pair is pixel-identical. 1130 1x1 BitBlt: BITMAP.bmBits is LPVOID; WinGDI.inc declares it AS DWORD, so x64 laid the structure out as 24 bytes and GetObjectA returned 0. BMBITS is now a native 8-byte pointer, SizeOf(BITMAP)=32, and the demo reads 11 instead of 00 (identical). 1110 Sprite 04: the compiler now auto-embeds the sample's gbsnippets.pbr when no #RESOURCE PBR is present, and IMAGELIST ADD ICON accepts a run-time icon name (String/IR pointer) through pb_imagelist_add_icon_file instead of treating the pointer as an HICON. The 1000 sprites now draw the real colour icons rather than black squares. 1218 orthographic projection: the harness now detects OpenGL from the source as well as the folder name, so PBWin's blank PrintWindow frame no longer produces a false 81 percent difference; both cubes are captured and the remaining 1.8 percent is rotation phase. 0556 ListView subclass: LV_COLUMNW.pszText is WSTRINGZ PTR, but the win64-native rule only widened LONG/DWORD fields, so x64 LV_COLUMN stayed 48 bytes with pszText at 12 and LVM_InsertColumn crashed with 0xC0000005. PSZ/LP/TEXT-named String/WString fields are now native pointers (size 56, pszText at 16, cchTextMax at 24); the window runs and synchronized scrolling is verified. Its remaining 6.478 percent is the sample's %Unicode=1 plus AsciiZ mix, which PBWin 10 reproduces. 1351 TIX is rdtsc CPU cycles, so its numbers are not reproducible and remain a documented non-defect. Full batch 9 rerun: 50/50 compile, 49/50 run (0770 is a modal folder picker, compile-only), 40 identical / 4 near / 5 diff / 1 skipped under the stricter source-based OpenGL capture; the four near and 1206 are OpenGL animation/dependency boundaries, not compiler regressions. Self-check: examples/batch442_test.bas (BITMAP 32 bytes, LV_COLUMN 56 bytes, GetObjectA width/height 1, fails=0).

The current release is listed here. The complete history (310 releases) is in CHANGELOG.md.