Jeff Hobbs [Wed, 3 Dec 2008 02:30:42 +0000 (02:30 +0000)]
* tclconfig/tcl.m4, generic/vfs.c, doc/vfs.n:
* configure, configure.in: update to TEA 3.7, bump vfs to v1.4
* pkgIndex.tcl.in: this is now the sole pkgIndex.tcl script.
vfs::loadvfs updated to source vfsUtils.tcl right after loading
the dll. Package versions updated, removed mk4vfs and zipvfs
compat packages.
* Makefile.in, win/makefile.vc: update for removed files
* library/template/*: add package provide 1.5.2 for each template
* library/mk4vfscompat.tcl (removed): remove old compat pkg
* library/zipvfscompat.tcl (removed): remove old compat pkg
* library/tclIndex (removed): users should package require the
appropriate driver, not rely on autoload
* library/pkgIndex.tcl (removed): impotent index files
* library/template/pkgIndex.tcl (removed):
Andreas Kupries [Tue, 25 Nov 2008 17:18:23 +0000 (17:18 +0000)]
* library/starkit.tcl (_startup, autoextend): Replaced the buggy
'vfs::filesystem fullynormalize' with the ok 'fullnormalize'
defined in the same file. Now 'starkit::startup' handles
sym-links to a starpack ok when detecting the wrap mode.
Jeff Hobbs [Fri, 17 Oct 2008 23:04:00 +0000 (23:04 +0000)]
* library/pkgIndex.tcl: update vfs::tar to 0.91
* library/tarvfs.tcl: update vfs::tar to use only its own
namespace and not conflict with tcllib tar. [Bug 80465]
Andreas Kupries [Tue, 15 Apr 2008 21:11:52 +0000 (21:11 +0000)]
* library/pkgIndex.tcl: Moved the backward compatibility package
* library/mkvfs.tcl: names (mk4vfs, zipvfs) into separate files,
* library/zipvfs.tcl: as true packages. They properly load the new
* library/mk4vfscompat.tcl: packages. The mess with one file
* library/zipvfscompat.tcl: annoncing itself as two packages has
been removed. Patchlevels bumped (1.10.1, 1.0.1 respectively),
considering it as bug fix.
Andreas Kupries [Fri, 11 Apr 2008 16:23:53 +0000 (16:23 +0000)]
* library/pkgIndex.tcl: Bumped version of starkit to 1.3.2. We
* library/starkit.tcl: should have done that when we synchronized
* pkgIndex.tcl.in: the mismatched version on 2005-11-09 anyway,
because it was a bugfix, with attendant change to the version
number. Without this bump we now have 1.3.1 floating around in two
variants, i.e. it may or may not be mismatched with its package
index, and the two variants cannot be distinguished. By bumping
the patchlevel the correct version would have been easy to
distinguish. Now it will.
Steve Huntley [Tue, 4 Mar 2008 21:38:05 +0000 (21:38 +0000)]
2008-03-04 Steve Huntley <stephen.huntley@alum.mit.edu>
vfs::template package update ver. 1.5.2:
* templatevfs.tcl, deltavfs.tcl, versionvfs.tcl, quotavfs.tcl, fishvfs.tcl:
added workaround to memchan bug that shows up when tclkit used.
* pkgIndex.tcl, tclIndex: moved auto_index edits from former to latter
to conform to Tcl package management standard practice.
Andreas Kupries [Tue, 19 Jun 2007 16:28:45 +0000 (16:28 +0000)]
* library/starkit.tcl (header): See last entry. Simplified the
helper command 'fullnormalize', replaced complex file
split/lrange/join/eval operation with 'file dirname'.
Andreas Kupries [Mon, 28 May 2007 18:59:56 +0000 (18:59 +0000)]
* library/starkit.tcl (header): Added helper command
'fullnormalize' and use it to resolve symlinks in the path to
the file calling starkit::header. This makes it possible to run
starkits and starpacks via symlinks.
* library/zipvfs.tcl: "zip::DosTime" extended to handle bad
timestamps without crashing. Force-fixed to nearest legal
date/time. "zip::EndOfArchive" extended to find chunk even
if a (long) zip archive comment is present.
Pat Thoyts [Mon, 12 Mar 2007 15:45:39 +0000 (15:45 +0000)]
* http2.6/http.tcl: Fixed some bugs (0 length body with chunked
transfer) and added support for gzip encoding if zlib is
available. Tested continued operation with Tcl 8.2.
* library/webdavvfs.tcl: Encoding is now in the http package.
* http2.6/pkgIndex.tcl: version to 2.6.6
Pat Thoyts [Wed, 7 Mar 2007 22:45:56 +0000 (22:45 +0000)]
* library/webdavvfs.tcl: silence debug output
* http2.6/http.tcl: merge in from tclsoap and jcw's webdav
versions and merged in tcl8.5 changes.
* http2.6/pkgIndex.tcl: version to 2.6.5
Jeff Hobbs [Tue, 19 Sep 2006 22:00:39 +0000 (22:00 +0000)]
* library/httpvfs.tcl (vfs::http::urlparse): add method to
deconstruct the url using RFC 3986 semantics.
(vfs::http::Mount): add support for HTTP basic auth if a user was
passed in the url
Jeff Hobbs [Fri, 15 Sep 2006 20:00:32 +0000 (20:00 +0000)]
* library/pkgIndex.tcl: bump vfs::http to 0.6
* library/httpvfs.tcl: Add urlname encoding to handle the
translation of "/foo/my file (2).txt" as
foo/my%20file%20%282%29.txt, per RFC 3986, for the user. This is
controlled via a new ?-urlencode bool? mount option, default 1.
**** POTENTIAL INCOMPATIBILITY ****
**** if user was "working around" at [open] level ****
Jeff Hobbs [Thu, 14 Sep 2006 21:40:10 +0000 (21:40 +0000)]
* library/httpvfs.tcl: rewritten to clean up http tokens and
actually interpret data from them.
(Mount): If a url doesn't return "ok" status, return failure.
(stat, access): If HEAD returns 404 or status != ok, return ENOENT.
Jeff Hobbs [Wed, 30 Aug 2006 19:38:02 +0000 (19:38 +0000)]
* generic/vfs.c: move static globals to being thread-specific. If
you wish to access a mount point or volume in a thread, you need
to remount the file in the thread. This is a change from the
previous behavior that would allow access across threads, which
was unsafe and would potentially crash.
**** POTENTIAL INCOMPATIBILITY ****
Andreas Kupries [Thu, 5 Aug 2004 17:18:06 +0000 (17:18 +0000)]
* library/zipvfs.tcl (Data): Fixed [SF Tclvfs Bug 1003591]. This
reverts an incomplete and unrecorded fix for handling dashes at
the beginning of data, giving precedence to '2004-07-04 @
library/vfsUtils.tcl' instead, see below. The unrecorded fix was
entered two days before and clashes with the other one. As it
was incomplete the other fix was chosen, despite coming later.
Andreas Kupries [Thu, 15 Jul 2004 16:59:14 +0000 (16:59 +0000)]
* doc/vfs-fsapi.man: Clarified description of the close callback
the handler method 'open' may set up. Especially noted that
'close' must not be called from within this callback, that it is
done by the caller itself.