Repository navigation
v0.2.217
PB64Basic Enhanced v0.2.217 - batch 437.
See the full changelog in README.md
batch 437 (Gary Beene batch 8 completion) - all seven non-identical pairs reported in v0.2.216 are now pixel-identical. A full forced rerun of the same 50 samples is 50 identical / 0 near / 0 diff, with PB64Basic 50/50 and PBWin10 50/50 compiles and no crash, timeout or missing pair. No sample was replaced to obtain the result.
0109:pb_choose_fontnow always setsCF_INITTOLOGFONTSTRUCT, so the caller'slfHeightis honoured; the sample initialisespoints& = 9. Both compilers start the Size list at 8 and select 9.0143: the sample marks its intended first button with%BS_Default; the runtime no longer promotes the first button, orIDOK, to a default push button. This also keeps1322identical.0941:GRAPHIC RENDERtreats(x1,y1)-(x2,y2)as inclusive when the span equals the control client size minus one, and uses center-sampled nearest-neighbour scaling (sx = (x*2+1)*src_w/(dst_w*2)) instead ofCOLORONCOLORStretchBlt. The 100x100 result is pixel-exact against PBWin.0982: the sample gives the two Graphic controls unique IDs 500 and 501 and renders each one; the previous duplicate IDs were a sample defect, not a compiler defect.0623: initial RichEdit selection now matches PBWin. The runtime selects all only for the legacy"RichEdit"(RichEdit 1.0) class and only when it assigned the initial focus;RICHEDIT50Wis not touched. The sample'sEN_SetFocushandler usesEM_SETSEL 0, -1. Regression samples0611and0614remain identical.1625: the sample limits the desktop capture to a fixed 400x400 region afterDESKTOP GET SIZE, removing timer and cursor residue.0898: dialog geometry usesAdjustWindowRectExwithWS_CAPTION, producing the same 161x89 outer / 145x50 client rectangle as PBWin. The sample sets theCOLOR_BTNFACEbackground andOPAQUEtext mode inWM_PAINT; codegen keeps transparent output for theTEXTOUTstatement only, not forTEXTOUTA/TEXTOUTW.- x86 runtime declarations for
SendMessageA/PostMessageAnow useuintptr_t, sopb_runtime.ccompiles for thei686-pc-windows-msvctarget again. - Runtime objects
pb_runtime_x64.objandpb_runtime_x86.objwere rebuilt from the updatedpb_runtime.c. Evidence:garybeene-corpus/batch8_dual_work/batch8_final_full5.logandsummary.csv(50 rows, allidentical). Self-check:examples/batch436_test.bas->=== FAILURES: 0.