Artifacts Associated With Ticket 87e840c26c
Ticket change [08e88427aa] (rid 190268) by apnadkarni on 2020-12-14 03:49:50:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The following observations pertain to TIP 430 functionality for 8.7. Perhaps the work is still in progress, but no work seems to have happened in that area for many months. So logging here so they don't get lost sight of: 1. Although the TEA build for tclsh builds a ZIP containing Tcl scripts and attaches it to the tcl87.dll, the same is not done for Tk (and wish). Is this intentional? The TIP does not talk about this but it seems inconsistent. 2. Related to the above, if the Tk scripts are manually attached to tk87.dll they are not found by wish (unlike tclsh). 3. The TIP states “If the first argument to Tclsh or Wish is detected to be a zipfile, that file will be mounted as ZIPFS_ROOT/app. If ZIPFS_ROOT/app/main.tcl exists, that file is marked set the shell's startup script.” Currently this does not seem to be the case. The file is treated as a standard Tcl script with obvious errors. 4. The TIP also states “If install is the first argument, set subsequent arguments are passed to a new file in library install.tcl.” This does not seem to be happening either. 5. Cannot get “zipfs mkimg” to work with static builds. The input scripts seem to overwrite the Tcl and Tk libraries already attached to the executable. Have not tried with shared builds. 6. The test suite has no tests for zipfs other than some basic argument checking.
- foundin initialized to: "8.7a3"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to: "TIP 430 / zipfs failures"
- type initialized to: "Bug"
Ticket change [d7314b2e39] (rid 190288) by jan.nijtmans on 2020-12-14 17:45:41:
- icomment:
There's a "bug-87e840c26c" branch (in Tk) now, meant to work on this issue without the need to bother about Tcl 8.6 compatibility. This branch builds with Tcl 8.7 only. Approach: 1) Make it work as expected with Tcl 8.7. 2) Worry about compatibility with Tcl 8.6 after that. If compatibility with Tcl 8.6 gives more problems than expected, we can decide later what to do about it and if it is really worth it.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [c8907dce1a] (rid 191260) by jan.nijtmans on 2021-01-21 16:20:32:
- assignee changed to: "jan.nijtmans"
- login: "jan.nijtmans"
- mimetype: "text/plain"
Ticket change [4c676252de] (rid 191262) by apnadkarni on 2021-01-21 17:02:05:
- icomment:
Just a clarification - the nmake Tk build has already been modified to attach the Tcl and Tk zipkits to the DLL.
- login: "apnadkarni"
- mimetype: "text/plain"
- icomment:
Ticket change [44292e983b] (rid 191561) by jan.nijtmans on 2021-02-04 14:33:35:
- icomment:
"bug-87e840c26c" branch is getting into shape. It still depends on "zip" (not minizip), and it is not tested with 8.6 yet. But getting almost there.
- login: "jan.nijtmans"
- mimetype: "text/plain"
- icomment:
Ticket change [2c19c08de4] (rid 191627) by jan.nijtmans on 2021-02-08 17:05:33:
- icomment:
> if the Tk scripts are manually attached to tk87.dll they are not found by wish Well, I found the reason for this: It's a situation tcl_findLibrary (in auto.tcl) doesn't handle yet. Working on it .....
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- severity changed to: "Important"
- icomment:
Ticket change [26f37e6968] (rid 191988) by jan.nijtmans on 2021-02-19 09:45:22:
- icomment:
At least 1) and 2) are fixed now. I'm not sure if 3), 4) and 5) was a good idea anyway: The "zip" utility can do everything we want, it's not necessary to duplicate this functionality in tclsh. At least, that's my 2c. 6) is difficult to do as well, but we have "github actions" now to build everything.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"
- icomment:
Ticket change [72cb8b678e] (rid 258157) by serhiy.storchaka on 2026-10-15 11:39:52:
- icomment:
Items 1, 2 and 6 fixed by [c10be39138], first released in 8.7a5/9.0. The first-argument zip and "install" handling of TIP 430 (items 3 and 4) is still not implemented (SUPPORT_BUILTIN_ZIP_INSTALL).
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [eb7e505e05] (rid 259949) by serhiy.storchaka on 2026-10-22 17:19:27:
- closedate changed to: "2461328.98601956"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"