Overview
| Artifact ID: | 0e85daec54399ea4d364ddae00d0f2b00fa5409c042740edf5f5f59bef8202f4 |
|---|---|
| Page Name: | Tcl_9.0_Release_Items |
| Date: | 2023-11-14 15:16:26 |
| Original User: | oehhar |
| Mimetype: | text/x-markdown |
| Parent: | 1f6c8ff95d0db89504fe4d745618ae4104e9652cd6a234a77b3581ebb5c9865c (diff) |
| Next | 2cdd0afb9dd966a0180ee081b58ba704d392c2f7641bd4336094293d53b1ff04 |
Content
A place to document items to consider as we prepare for a Tcl 9.0b1 release release
Schedule
- 9.0b1 release candidate 0: 2023-11-14 (for the meetup) without Tk and bundled packages
- Tk and bundled packages are tested for compatibity with this rc0
- 9.0b1 release candidate 1: with Tk and bundled packages
Below is the list of work items gating a release.
Tcl 9.0 work items
- Open 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.
- TIP661 will make the compatibility macros switchable (beside "NO_DEPRECIATED") and of by default. Vote expected 2023-11-15.
- TIP 653 "Handle consumed data of channel commands in case of encoding errors". Will be handled after rc0 but before TCL9.0, as it is a corner issue.
- TIP 670: "Simple Extra Procedures for File Access" in vote by Donal Fellows.
- Compatibility macros:
- Tcl 9.0 release notes
- Migration guide for Tcl scripts
- Migration guide for Tcl C extensions
Tk 9.0 work items
- Possible TIP's:
- TIP 682 "Create tmp. widget in "option get" call": proposed to be post-phoned to 9.1
- TIP 647 "Change Tk_ConfigureWidgets signature, abandon TK_CONFIG_OBJS" by Jan Nijtmans: vote called, probably approved
- TIP 678 "Better API for Detached Treeview Items" by Donal Fellows: vote called, probably aproved
- A new fossil branch "core-8-branch" was added also to Tk, as recent TIPs are Tk 9.0 only and don't go to Tk8.7. Tk8.7 is not abandoned, but delayed to a later date.
- Tk 9.0 release notes
- Migration guide for Tk scripts
- Migration guide for Tk C extensions
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
- To maintain: List of apps migrated to Tcl 9
- Information on the wiki: Porting extensions to Tcl 9
- Tcllib -> TCL 9 version is merged to trunk. CriTCL for TCL 9 is missing. Andreas will investigate.
- 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
Liaise with distribution maintainers
- Linux apt / dpkg / pacman / rpm
- BSD netbsd / obsd
- macOS brew and macports
Solved items
- TIP 664 activates warnings, when a compatibility macro is used.
- TIP 641 Macro for Tcl_GetBoolean(FromObj) changed to give a warning, if sizeof(argument) is above sizeof(int).
- TIP 657 Make "-profile strict" the default in Tcl 9.0.
- 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. Moved to TCL 9.1.
- TIP 567: "Add Operation to Support Set-like Slots" was accepted by a vote. Some code cleanup by Donal.