1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
-
+
-
-
-
-
-
-
-
-
-
+
-
-
-
|
# 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
* 9.0b1 release candidate 0: 2023-11-14 without Tk and bundled packages. In fossil, it is tagged with rc0 and core-9-0-b1-rc: [8741a3ae](https://core.tcl-lang.org/tcl/info/8741a3ae2eaef055)
* 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](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 2023-11-15.
* [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 2023-11-15.
* [TIP 653](https://core.tcl-lang.org/tips/doc/trunk/tip/653.md) "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](https://core.tcl-lang.org/tips/doc/trunk/tip/670.md): "Simple Extra Procedures for File Access" in vote by Donal Fellows.
* 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)
## Tk 9.0 work items
* Possible TIP's:
* [TIP 682](Create tmp. widget in "option get" call) "Create tmp. widget in "option get" call": proposed to be post-phoned to 9.1
* [TIP 647](https://core.tcl-lang.org/tips/doc/trunk/tip/647.md) "Change Tk_ConfigureWidgets signature, abandon TK_CONFIG_OBJS" by Jan Nijtmans: vote called, probably approved
* [TIP 678](https://core.tcl-lang.org/tips/doc/trunk/tip/678.md) "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
|
71
72
73
74
75
76
77
78
79
80
81
82
83
|
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
+
+
+
+
+
+
+
+
+
-
-
+
|
* tarball and zip via Sourceforge
## Liaise with distribution maintainers
* Linux apt / dpkg / pacman / rpm
* BSD netbsd / obsd
* macOS brew and macports
## Nagelfar TCL syntax checker
[Nagelfar](https://nagelfar.sourceforge.net/) is a syntax checker for TCL which may be used to check TCL9 compatibility.
Please check out the current source, as there is no release with this feature.
The author welcomes any inspiration and sample use-cases for improvements.
## Solved items
* [TIP 682](Create tmp. widget in "option get" call) "Create tmp. widget in "option get" call" by René Zaumseil: will be changed to use an `option default` command.
* [TIP 678](https://core.tcl-lang.org/tips/doc/trunk/tip/678.md) "Better API for Detached Treeview Items" by Donal Fellows.
* [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. Moved to TCL 9.1.
* [TIP 670](https://core.tcl-lang.org/tips/doc/trunk/tip/670.md): "Simple Extra Procedures for File Access" by Donal Fellows.
* [TIP 664](https://core.tcl-lang.org/tips/doc/trunk/tip/657.md) activates warnings, when a compatibility macro is used.
* [TIP 641](https://core.tcl-lang.org/tips/doc/trunk/tip/641.md) Macro for Tcl_GetBoolean(FromObj) changed to give a warning, if sizeof(argument) is above sizeof(int).
* [TIP 657](https://core.tcl-lang.org/tips/doc/trunk/tip/657.md) Make "-profile strict" the default in Tcl 9.0.
* [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. Moved to TCL 9.1.
* [TIP 641](https://core.tcl-lang.org/tips/doc/trunk/tip/641.md) Macro for Tcl_GetBoolean(FromObj) changed to give a warning, if sizeof(argument) is above sizeof(int).
* [TIP 567](https://core.tcl-lang.org/tips/doc/trunk/tip/567.md): "Add Operation to Support Set-like Slots" was accepted by a vote. Some code cleanup by Donal.
|