TclVFS

Check-in [284a191cfe]
Login
Bounty program for improvements to Tcl and certain Tcl packages.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:* library/vfslib.tcl: Changed memchan condition from Tcl version 8.6 or greater to presence of chan command (since chan now in later 8.5 builds)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 284a191cfe892f551eebda3608bfcfb9a32e9a28
User & Date: blacksqr 2010-05-17 04:18:07
Context
2010-12-29
09:57
2010-12-29 Steve Huntley <[email protected]> * generic/vfs.c: include sys/stat.h so build under MinGW64 will succeed. See bug #3107382. * library/zipvfs.tcl: Fixed issues with clock handling, dealing with trying to [open] a directory, reading a zip file that has been appended to another file. See bugs 3103687, 3107380 check-in: 3ae33b2b92 user: blacksqr tags: trunk
2010-05-17
04:18
* library/vfslib.tcl: Changed memchan condition from Tcl version 8.6 or greater to presence of chan command (since chan now in later 8.5 builds) check-in: 284a191cfe user: blacksqr tags: trunk
2010-02-01
07:32
2010-02-01 Steve Huntley <[email protected]> * Makefile.in (PKG_TCL_SOURCES): Added 'template/tclIndex' to the list of installed files. Required for vfs's based on template vfs to load. check-in: 82ff64e534 user: blacksqr tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.






1
2
3
4
5
6
7




2010-02-01  Steve Huntley  <[email protected]>

	* Makefile.in (PKG_TCL_SOURCES): Added 'template/tclIndex' to the list 
	of installed files. Required for vfs's based on template vfs to load.

2010-01-30  Steve Huntley  <[email protected]>

>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
2010-05-16  Steve Huntley  <[email protected]>

	* library/vfslib.tcl: Changed memchan condition from Tcl version 8.6 or
	greater to presence of chan command (since chan now in later 8.5 builds)

2010-02-01  Steve Huntley  <[email protected]>

	* Makefile.in (PKG_TCL_SOURCES): Added 'template/tclIndex' to the list 
	of installed files. Required for vfs's based on template vfs to load.

2010-01-30  Steve Huntley  <[email protected]>

Changes to library/vfslib.tcl.

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
	return [zlib crc32 $data]
    }
}

# Use 8.6 reflected channels or the rechan package in earlier versions to
# provide a memory channel implementation.
#
if {[package vsatisfies [package provide Tcl] 8.6]} {

    # As the core zlib channel stacking make non-seekable channels we cannot
    # implement vfs::zstream and this feature is disabled in tclkit boot.tcl
    # when the command is not present (it is only used by mk4vfs)
    #
    #proc vfs::zstream {mode ifd clen ilen} {
    #    return -code error "vfs::zstream is unsupported with core zlib"






|







28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
	return [zlib crc32 $data]
    }
}

# Use 8.6 reflected channels or the rechan package in earlier versions to
# provide a memory channel implementation.
#
if {[info command ::chan] ne {}} {

    # As the core zlib channel stacking make non-seekable channels we cannot
    # implement vfs::zstream and this feature is disabled in tclkit boot.tcl
    # when the command is not present (it is only used by mk4vfs)
    #
    #proc vfs::zstream {mode ifd clen ilen} {
    #    return -code error "vfs::zstream is unsupported with core zlib"