+2003-01-28 Vince Darley <vincentdarley@sourceforge.net>
+
+ * tests/*.test: cleanup
+
+ Also updated version of the package to 1.2 (not 1.1 since there's
+ a Windows binary floating around with that number, and we want to
+ avoid confusion). It's been fixed at 1.0 for far too long.
+
2003-02-01 Jean-Claude Wippler <jcw@equi4.com>
* library/mk4vfs.tcl: fixed bad mk4vfs::_umount change
Identifier: vfs
-Version: 1.0
+Version: 1.2
Title: Interface to Virtual File Systems for Tcl 8.4
Creator: Vince Darley
Description: The goal of this extension is to expose Tcl 8.4's new
#========================================================================
RUNTIME_SOURCES = ftpvfs.tcl httpvfs.tcl mk4vfs.tcl starkit.tcl \
- tarvfs.tcl tclIndex tclprocvfs.tcl testvfs.tcl \
+ tarvfs.tcl tclprocvfs.tcl testvfs.tcl \
vfsUrl.tcl vfsUtils.tcl vfslib.tcl \
- webdavvfs.tcl zipvfs.tcl
+ webdavvfs.tcl zipvfs.tcl tclIndex
#========================================================================
# This is a list of header files to be installed
including a small library of Tcl code). The goal of this extension
is to expose Tcl 8.4's new filesystem C API to the Tcl level.
-Using this extension, the editor Alphatk can actually auto-mount, view and
-edit (but not save, since they're read-only) the contents of .zip files
-directly (see <http://www.santafe.edu/~vince/Alphatk.html>), and you can
-do things like:
+Using this extension, the editor Alphatk can actually auto-mount,
+view and edit (but not save, since they're read-only) the contents of
+.zip files directly (see <http://www.purl.org/net/alphatk/>), and you
+can do things like:
file copy ftp://ftp.foo.com/pub/readme.txt .
contain various debugging code, etc. This will be gradually removed and
the code completely cleaned up and documented as the package evolves.
--- Vince Darley, April 2002
+-- Vince Darley, April 2002-February 2003
Compile/build
-------------
else
rm -rf conftest*
echo "$ac_t""no" 1>&6
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.2'
fi
rm -f conftest*
# requires an extra version number at the end of .so file names.
# So, the library has to have a name like libtcl75.so.1.0
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.2'
UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
TCL_LIB_VERSIONS_OK=nodots
;;
PACKAGE=vfs
MAJOR_VERSION=1
-MINOR_VERSION=0
+MINOR_VERSION=2
PATCHLEVEL=
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}${PATCHLEVEL}
if (Tcl_IsSafe(interp)) {
return TCL_ERROR;
}
- if (Tcl_PkgProvide(interp, "vfs", "1.0") == TCL_ERROR) {
+ if (Tcl_PkgProvide(interp, "vfs", "1.2") == TCL_ERROR) {
return TCL_ERROR;
}
if {$::tcl_platform(platform) eq "unix"} {
if {[info exists ::tcl_platform(debug)]} {
- set dll libvfs1.0g
+ set dll libvfs1.2g
} else {
- set dll libvfs1.0
+ set dll libvfs1.2
}
} elseif {[info exists ::tcl_platform(debug)]} {
- set dll vfs10d
+ set dll vfs12d
} else {
- set dll vfs10
+ set dll vfs12
}
set dll [file join $dir $dll[info sharedlibextension]]
load $dll
}
-package ifneeded vfs 1.0 [list loadvfs $dll]
+package ifneeded vfs 1.2 [list loadvfs $dll]
package ifneeded starkit 1.1 [list source [file join $dir starkit.tcl]]
package ifneeded vfslib 1.3.1 [list source [file join $dir vfslib.tcl]]
# probably many other tests will fail too. In particular
# any use of 'open', 'source', 'load', and usually also
# 'file copy', 'file rename' in a vfs will fail.
+ #
+ # What this means is that tclvfs can't find some other
+ # extension/code it requires -- you may need to install
+ # the Memchan or Rchan extension for example.
} {}
test vfs-3.2 {vfs helpers: crc} {
# If this test fails, probably many other tests will fail too (at
# least anything to do with 'zip' vfs).
+ #
+ # What this means is that tclvfs can't find some other
+ # extension/code it requires -- you may need to install
+ # the Trf extension for example.
::vfs::crc abcd
} {Kc*}
test vfs-3.3 {vfs helpers: zip} {
# If this test fails, probably many other tests will fail too (at
# least anything to do with 'zip' vfs).
+ #
+ # What this means is that tclvfs can't find some other
+ # extension/code it requires -- you may need to install
+ # the Try extension for example.
::vfs::zip -mode compress 1234567890
} "\x78\x9c\x33\x34\x32\x36\x31\x35\x33\xb7\xb0\x34\x0\x0\xb\x2c\x2\xe"
test vfs-3.4 {vfs helpers: zip} {
# If this test fails, probably many other tests will fail too (at
# least anything to do with 'zip' vfs).
+ #
+ # What this means is that tclvfs can't find some other
+ # extension/code it requires -- you may need to install
+ # the Try extension for example.
::vfs::zip -mode decompress "\x78\x9c\x33\x34\x32\x36\x31\x35\x33\xb7\xb0\x34\x0\x0\xb\x2c\x2\xe"
} {1234567890}
#
MACHINE = IX86
-VFS_VERSION = 1.0
-DLL_VERSION = 10
+VFS_VERSION = 1.2
+DLL_VERSION = 12
# comment the following line to compile with symbols
NODEBUG=1
# TCL -- location where Tcl is installed.
# TCLLIB -- define the Tcl lib (with correct version)
-# note that the tcl vclibs should have been unpacked in $(TCL)\lib !!
+# note that the tcl vclibs should have been unpacked in $(TCL)\lib !!
ROOT = ..
!IF "$(NODEBUG)" == "1"
TCL = c:\progra~1\tcl
TCLLIB = $(TCL)\lib\tclstub84$(DBGX).lib
-INSTALLDIR = $(TCL)\lib\vfs1.0
+INSTALLDIR = $(TCL)\lib\vfs$(VFS_VERSION)
######################################################################
# Compile flags
-I$(TOOLS32)/include \
-I../generic
-DEFINES = -nologo $(DEBUGDEFINES) -DUSE_TCL_STUBS -DVERSION=\"1.0\"
+DEFINES = -nologo $(DEBUGDEFINES) -DUSE_TCL_STUBS \
+ -DVERSION=\"$(VFS_VERSION)\"
#
# Global makefile settings