.
D 2023-11-10T05:13:03.206
L Tcl_9.0_Release_Items
N text/x-markdown
P 6018cdffb8e268c022f61ac65f1f63c175748f3b302904340f6910bec9fb887c
U stevel
W 4155
# A place to document items to consider as we prepare for a Tcl 9.0b1 release release
## Schedule
* 9.0b1 release candidate 1: 2023-11-14 (for the meetup)
Below is the list of work items gating a release.
## Tcl 9.0 work items
* Code issues
* Compatibility macros:
* compatibility macros help, where an int is given to the C API for a string length, instead of TCL_SIZE). This is a certain compatibility to TCL 8.6.
* The drawbacks are:
* "NULL" as agument does not compiles on Windows. An unexplainable warning ("sizeof(NULL) not defined") appears when compiling the extension, while there is no such code the author have typed.
* no warnings (currently). Memory corruption may be caused without warning (pass a char pointer).
* runtime error when string size exceeds int
* extension porters are not aware migration need, as it works.
* Currently on by default. Are switched off, if an extension is compiled with "NO_DEPRECIATED". This also deactivates lots of other (often wanted features) like the "unicode" encoding.
* [TIP664](https://core.tcl-lang.org/tips/doc/trunk/tip/657.md) will activate warnings, when a compatibility macro is used. This TIP will be voted soon.
* [TIP661](https://core.tcl-lang.org/tips/doc/trunk/tip/657.md) will make the compatibility macros switchable (beside "NO_DEPRECIATED") and of by default. Vote expected soon.
* Default encoding scheme: [TIP 657](https://core.tcl-lang.org/tips/doc/trunk/tip/657.md) Make "-profile strict" the default in Tcl 9.0. Vote will come up soon.
* Channel error reporting on decoding errors: [TIP 653](https://core.tcl-lang.org/tips/doc/trunk/tip/653.md) Handling encoding errors for read and gets. TIP text refinement by Harald/Jan.
* Loseless encoding profile: [TIP 671](https://core.tcl-lang.org/tips/doc/trunk/tip/671.md) New encoding profile - lossless. This allows to open all files found by glob, but has the impact, that strings must be specially handled. Is seen as a plus and may come later (in beta 2). TIP may be split-up into (a) loseless encoding and (b) application to glob/environment variables/other system interfaces.
* Tcl 9.0 release notes
* [Migration guide for Tcl scripts](Migrating scripts to Tcl 9)
* [Migration guide for Tcl C extensions](Migrating C extensions to Tcl 9)
* Any release-blocking bugs?
## Tk 9.0 work items
* Possible TIP's:
* Change Tk_ConfigureWidgets signature, abandon TK_CONFIG_OBJS [TIP 647](https://core.tcl-lang.org/tips/doc/trunk/tip/647.md) Jan Nijtmans
* Better API for Detached Treeview Items [TIP 678](https://core.tcl-lang.org/tips/doc/trunk/tip/678.md) Donal Fellows
* Rename Ttk "size"-related options [TIP 681](https://core.tcl-lang.org/tips/doc/trunk/tip/681.md) Jan Nijtmans
* Tk 9.0 release notes
* Migration guide for Tk scripts
* Migration guide for Tk C extensions
* List of [apps migrated to Tcl 9](https://wiki.tcl-lang.org/page/Apps+confirmed+to+work+with+Tcl+9)
## Bundled packages
Brian and Steve will investigate:
* Thread (trunk now tagged as 3.0 by Jan)
* Sqlite
* Tdbc*
* itcl
* add tdom to pkgs
* add TclVFS to pkgs - needs (at least) a "make dist" target
## Other packages
* Tcllib -> would be great to release together
* Tklib -> it can wait until tested / ported
* Tclconfig -> tested when building pkgs
* Sample extension
## Documentation and Website
* There is a project underway to [modernise the Tcl/Tk documentation](https://chiselapp.com/user/stevel/repository/Tcl-Tk-Documentation/index) - for an early preview see [this page](https://nexttcl.daidze.org/docs.adp)
* Website updates (within the scope of the documentation project)
* Announcements
* Release notes - focussing on key features
* Update download links
*
## Releases
* use existing GitHub CI to build single file distributions (zipkits) for testing on common platforms - Steve + Donal
* source via Fossil repo
* tarball and zip via Sourceforge
## Liaise with distribution maintainers
* Linux apt / dpkg / pacman / rpm
* BSD netbsd / obsd
* macOS brew and macports
Z b6ef47abd9f721b6e6a812b104f72931