v1.5 #11
developersharif
started this conversation in
General
v1.5
#11
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Fixes
Windows zero-dependency fix — On a fresh Windows PC,
tcl86t.dllfailed to load because its dependencyzlib1.dll(bundled inwindows/bin/) wasn't in PATH. The bundled directory is now added toPATHbefore FFI loads, mirroring how Linux (LD_LIBRARY_PATH) and macOS (DYLD_FALLBACK_LIBRARY_PATH) were already handled.Widgets whose
create()was never called —Frame,Entry,Combobox, andMenubuttonwere missing__construct, so their Tclwidgets were silently never created.
EntrygetValue/setValue didn't work — Was missing-textvariable, so get/set operated on an unlinked Tcl variable instead of thewidget.
Comboboxfailed on Windows —package require ttkfails on Tcl 8.5+ because ttk is built into Tk. Removed the redundant call.Menu::destroy()was a no-op — Menu creates at.{$id}but inherited destroy tried.{$parent}.{$id}. Added a proper override.Testing
tests/TestRunner.php— New assertion framework. Tests now exit code 1 on failure so CI catches regressions.CanvasTest.php— New: covers all drawing methodsCheckbuttonTest.php— New: covers state management and callbackswinfo existsTcl verificationTopLevelWidgetTestrewritten without interactive dialogs (CI-safe)113 assertions passing across 13 test files on all three platforms.
This discussion was created from the release v1.5.
Beta Was this translation helpful? Give feedback.
All reactions