Overview
| Artifact ID: | 6018cdffb8e268c022f61ac65f1f63c175748f3b302904340f6910bec9fb887c |
|---|---|
| Page Name: | Tcl_9.0_Release_Items |
| Date: | 2023-11-10 03:37:47 |
| Original User: | stevel |
| Mimetype: | text/x-markdown |
| Parent: | 97892df9c78c16f33b47881bd8e92fc9bd0ff4ab96943f4894d45d1315417686 (diff) |
| Next | 71a4ae1195d654c2ef749b3312aaf3311b1dbd7a8a90b49f3b9f11f960fee425 |
Content
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 will activate warnings, when a compatibility macro is used. This TIP will be voted soon.
- TIP661 will make the compatibility macros switchable (beside "NO_DEPRECIATED") and of by default. Vote expected soon.
- Default encoding scheme: TIP 657 Make "-profile strict" the default in Tcl 9.0. Vote will come up soon.
- Channel error reporting on decoding errors: TIP 653 Handling encoding errors for read and gets. TIP text refinement by Harald/Jan.
- Loseless encoding profile: TIP 671 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.
- Compatibility macros:
- Tcl 9.0 release notes
- Migration guide for Tcl scripts
- Migration guide for Tcl C extensions
- Any release-blocking bugs?
Tk 9.0 work items
- Possible TIP's:
- Tk 9.0 release notes
- Migration guide for Tk scripts
- Migration guide for Tk C extensions
- List of apps migrated to 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 - for an early preview see this page
- 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