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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
-
-
-
+
+
+
+
-
-
+
|
* 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.
* [TIP664](https://core.tcl-lang.org/tips/doc/trunk/tip/657.md) will activate warnings, when a compatibility macro is used. This TIP is probably accepted today.
* [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 641](https://core.tcl-lang.org/tips/doc/trunk/tip/641.md) "Let Tcl_GetBoolean(FromObj) handle (C99) bool" also has a macro implementation which switches with the sizeof() operator. Ashok and Rolf got trapped by passing not expected arguments (structure instead structure item). The macro will be changed by Jan to throw a compiler warning, if the size is above sizeof(int).
* 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. TIP probably accepted.
* [TIP 653](https://core.tcl-lang.org/tips/doc/trunk/tip/653.md) "Handle consumed data of channel commands in case of encoding errors". TIP text refinement by Harald/Jan. TIP was renamed. Implementation details open. Will be handled after first beta but before TCL9.0, as it is a corner issue.
* 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. Moved to TCL 9.1.
* [TIP 670](https://core.tcl-lang.org/tips/doc/trunk/tip/670.md): "Simple Extra Procedures for File Access" in vote by Donal Fellows.
* [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, but not merged. For DOnal Fellows to clarify.
* 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?
* List of [apps migrated to Tcl 9](https://wiki.tcl-lang.org/page/Apps+confirmed+to+work+with+Tcl+9)
## 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
* [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
* [TIP 681](https://core.tcl-lang.org/tips/doc/trunk/tip/681.md) "Rename Ttk "size"-related options" by Jan Nijtmans: vote called, probably approved
* 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 abadonned, but delayed to a later date.
* 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
* Tcllib -> TCL 9 version is merged to trunk. CriTCL for TCL 9 is missing.
* 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)
|