Overview
| Artifact ID: | d65fb47acea77c703476bf7bfe7effeffc482d0b32bf434dabb277bf554b221a |
|---|---|
| Page Name: | Tcl_9.0_Release_Items |
| Date: | 2023-11-06 11:45:43 |
| Original User: | oehhar |
| Mimetype: | text/x-markdown |
| Parent: | c534a9cf36617ab1a3f82cfdc1e279be7ca3e039ca87dc812281e632cbf5e22c (diff) |
| Next | 14560f7733c1c927d72064be9cedae904b826a3c69d9f21342f6f1f72947bbe4 |
Content
A place to document items to consider as we prepare for a Tcl 9.0 release
Below is an (incomplete) list of work items gating a release. What's missing is responsibility for items and completion dates. Hope people can start claiming ownership and committing dates.
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
- Pending TIP's
- Tk 9.0 release notes
- Migration guide for Tk scripts
- Migration guide for Tk C extensions
Bundled packages
- Thread
- Sqlite
- Tdbc*
Other packages
- Tcllib
- Tklib
- Tclconfig
- Sample extension
Web site update
- Generate and update Tcl/Tk 9.0 manpages
- Update download links
Issues to address
Which TIP's are mandatory for release, which can be dealt with later?
Should there be a Tk 9.0 release?
In theory Tk 8.7 should load into Tcl 9.0 but there are questions remaining ...
- will it be confusing to have Tcl 9.0 / Tk 8.7 nomenclature?
- does it require a Tk 8.7 build against Tcl 9.0 or will a Tk 8.7 build against Tcl 8.7 load into Tcl 9.0?
- assuming that it requires a separate build why not call it Tk 9.0?
- that will avoid the situation where someone tries to load a Tcl 9.0 based Tk 8.7 into Tcl 8.7