Andreas Kupries [Fri, 6 Feb 2009 19:13:27 +0000 (19:13 +0000)]
* library/vfs.tcl.in: New file encapsulating the package load
process. Cleaner than the loadvfs proc, and much more suitable for
conversion to a teabag.
* pkgIndex.tcl.in: Cleaned up the declarations for package 'vfs'.
Removed the 'vfslib' package, it never was such.
* Makefile.in: Added installation of library/vfs.tcl.
* configure.in: Added library/vfs.tcl.in.
* configure: Regenerated.
* win/makefile.vc: Updated the windows build file to configure
vfs.tcl.in, and install vfs.tcl.
Pat Thoyts [Fri, 23 Jan 2009 23:25:30 +0000 (23:25 +0000)]
Fixed a few more errors handling utf-8 and offsets in zip files
Pat Thoyts [Thu, 22 Jan 2009 16:03:58 +0000 (16:03 +0000)]
Fix the vfs::crc function and test to conform to its actual use in the zipvfs code.
Pat Thoyts [Thu, 22 Jan 2009 15:24:33 +0000 (15:24 +0000)]
[Bug
2482573] improve handling of glob for tclprocvfs
Pat Thoyts [Thu, 22 Jan 2009 15:15:19 +0000 (15:15 +0000)]
Fix for [Bug
1533748] (./ prefixed file names) and tests for [Bug
1011492] (zip files with preface data)
Pat Thoyts [Thu, 22 Jan 2009 15:10:10 +0000 (15:10 +0000)]
Make use of the core zlib and reflected channels to implement memchan and zip file support with Tcl 8.6.
Pat Thoyts [Thu, 22 Jan 2009 14:36:58 +0000 (14:36 +0000)]
Tidied up the tests so they run all the way through and added lots of zipfs tests.
Updated windows nmake build files.
Pat Thoyts [Thu, 22 Jan 2009 01:34:04 +0000 (01:34 +0000)]
Applied patch from [Bug
1011492] to ensure we handle zipfiles with a prefix block robustly.
Pat Thoyts [Wed, 21 Jan 2009 23:39:12 +0000 (23:39 +0000)]
[Bug
2256740] handle nested zip files robustly by ensuring we seek to the outermost directory marker.
Pat Thoyts [Wed, 24 Dec 2008 00:31:12 +0000 (00:31 +0000)]
Oops. copy-paste typo in variable name
Pat Thoyts [Mon, 22 Dec 2008 01:19:34 +0000 (01:19 +0000)]
Fix vfs::ztream to support 8.6 core zlib
Pat Thoyts [Fri, 12 Dec 2008 01:09:17 +0000 (01:09 +0000)]
Cleaned up the zip stream read function to conform to the published specification more closely and avoid excess calls to the stat function.
Pat Thoyts [Wed, 10 Dec 2008 23:00:09 +0000 (23:00 +0000)]
Use the provided pkgIndex.tcl.in.
Jeff Hobbs [Thu, 4 Dec 2008 18:20:00 +0000 (18:20 +0000)]
* Makefile.in: change VPATH to ensure that configure munging of
VPATH when configuring in the main directory does not break it.
[Bug
2389466]
Jeff Hobbs [Wed, 3 Dec 2008 17:53:10 +0000 (17:53 +0000)]
safeguard defn
Jeff Hobbs [Wed, 3 Dec 2008 08:19:27 +0000 (08:19 +0000)]
* tests/vfsFtp.test: correct unmount ordering
Jeff Hobbs [Wed, 3 Dec 2008 08:07:59 +0000 (08:07 +0000)]
* library/tclprocvfs.tcl (vfs::ns::matchindirectory): Handle the
single item dir/file, and don't add a slash for single proc.
Jeff Hobbs [Wed, 3 Dec 2008 07:48:39 +0000 (07:48 +0000)]
* tests/vfs.test (vfs-2.3,2.4,4.1): add tests for mount command
not existing and for an issue with .. resolution.
Jeff Hobbs [Wed, 3 Dec 2008 07:47:23 +0000 (07:47 +0000)]
* pkgIndex.tcl.in, library/tclprocvfs.tcl: vfs::ns bump to 0.5.1
Correct glob of namespaces. [Bug
1280914]
Jeff Hobbs [Wed, 3 Dec 2008 06:47:24 +0000 (06:47 +0000)]
* generic/vfs.c (TCLVFS_POSIXERROR): note use of -1 return code to
indicate a posix error passing through.
Jeff Hobbs [Wed, 3 Dec 2008 03:47:38 +0000 (03:47 +0000)]
* pkgIndex.tcl.in, library/tclprocvfs.tcl: vfs::ns bump to 0.5.1
Correct glob of namespaces. [Bug
1280914]
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):
Jeff Hobbs [Wed, 3 Dec 2008 02:20:45 +0000 (02:20 +0000)]
* tests/all.tcl (vfsCreateInterp): simplify the test to require
vfs as the main interps do.
Jeff Hobbs [Wed, 3 Dec 2008 02:17:39 +0000 (02:17 +0000)]
remove vfs::normalize compat proc, bump vfslib to 1.4
Jeff Hobbs [Wed, 3 Dec 2008 02:16:19 +0000 (02:16 +0000)]
remove unused lassign defn
Jeff Hobbs [Wed, 3 Dec 2008 02:09:31 +0000 (02:09 +0000)]
* library/starkit.tcl (header): require namespace-based vfs driver
(eg. vfs::mk4 instead of mk4vfs). bump starkit to v1.3.3
Jeff Hobbs [Tue, 2 Dec 2008 23:42:59 +0000 (23:42 +0000)]
* mac/* (removed): removed outdated Mac classic pieces
Jeff Hobbs [Tue, 2 Dec 2008 18:38:12 +0000 (18:38 +0000)]
(pkgIndex.tcl): add rebuild target
Jeff Hobbs [Tue, 2 Dec 2008 18:09:56 +0000 (18:09 +0000)]
Install pkgIndex.tcl for static or shared build. [Bug 699176]
Jeff Hobbs [Tue, 2 Dec 2008 18:04:01 +0000 (18:04 +0000)]
* Makefile.in (install-lib-binaries): use lib_BINARIES for the
binary install list. [Bug
1699827]
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:08:36 +0000 (23:08 +0000)]
update vfs::tar in pkgIndex.tcl.in
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]
Pat Thoyts [Fri, 10 Oct 2008 21:57:36 +0000 (21:57 +0000)]
In 8.6a3 the Tcl_FSFileAttrStringsProc had additional const added to it
and a CONST86 macro was added for compatability. Make use of it.
Pat Thoyts [Mon, 11 Aug 2008 22:14:26 +0000 (22:14 +0000)]
Merged fix for zlib crc check from Tcl
Pat Thoyts [Wed, 30 Apr 2008 15:18:56 +0000 (15:18 +0000)]
Updated the NMAKE build files.
Andreas Kupries [Tue, 15 Apr 2008 23:59:24 +0000 (23:59 +0000)]
* pkgIndex.tcl.in: Updated to handle the new files, and
* Makefile.in: sync'd generated index with manual one.
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.
Pat Thoyts [Tue, 8 Apr 2008 20:06:40 +0000 (20:06 +0000)]
If building static then do not define USE_TCL_STUBS (needed to link tclkit with 8.6)
Jeff Hobbs [Fri, 21 Mar 2008 21:07:32 +0000 (21:07 +0000)]
* http2.6/http.tcl, http2.6/pkgIndex.tcl: merge with tcl cvs 2.7
http changes, change this version to 2.6.8.
Jeff Hobbs [Tue, 11 Mar 2008 02:15:22 +0000 (02:15 +0000)]
* http2.6/http.n, http2.6/http.tcl, http2.6/pkgIndex.tcl: merge
with tcl cvs 2.5.5 http changes, correct whitespace differences,
require Tcl 8.4.
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.
Steve Huntley [Wed, 27 Feb 2008 04:46:15 +0000 (04:46 +0000)]
*** empty log message ***
Steve Huntley [Wed, 27 Feb 2008 04:39:08 +0000 (04:39 +0000)]
*** empty log message ***
Steve Huntley [Wed, 27 Feb 2008 04:36:38 +0000 (04:36 +0000)]
Minor bug fixes and reformatting.
Steve Huntley [Sat, 16 Feb 2008 05:51:04 +0000 (05:51 +0000)]
*** empty log message ***
Steve Huntley [Sat, 16 Feb 2008 05:45:36 +0000 (05:45 +0000)]
2008-02-15
Steve Huntley
<stephen.huntley@alum.mit.edu>
vfs::template package update ver. 1.5:
* Better formatting as Tcl package
* Added chrootvfs.tcl
* Code refactored for simplicity and better performance
* Added improved globfind package
* Bug fixes
Pat Thoyts [Thu, 11 Oct 2007 20:30:25 +0000 (20:30 +0000)]
Added some connection close tracing and fixed bug getting the charset
Pat Thoyts [Thu, 11 Oct 2007 20:14:50 +0000 (20:14 +0000)]
Fix -validate to return as soon as we finish reading headers (can't rely on close anymore)
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 [Fri, 13 Apr 2007 18:47:50 +0000 (18:47 +0000)]
Applied patch #
1589278 to include the template vfs files in the install
Pat Thoyts [Thu, 5 Apr 2007 22:13:57 +0000 (22:13 +0000)]
Ensure we install the pkgIndex file
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
Jean-Claude Wippler [Thu, 28 Dec 2006 17:29:49 +0000 (17:29 +0000)]
tclconfig update
Steve Huntley [Sun, 10 Dec 2006 06:18:50 +0000 (06:18 +0000)]
2006-12-10 Steve Huntley <stephen.huntley@alum.mit.edu>
* library/template/versionvfs.tcl: when time attribute is set,
files created after set time are made invisible.
Jean-Claude Wippler [Tue, 14 Nov 2006 13:46:45 +0000 (13:46 +0000)]
removed mkclvfs.tcl from tclvfs
Steve Huntley [Sat, 11 Nov 2006 05:39:50 +0000 (05:39 +0000)]
*** empty log message ***
Steve Huntley [Wed, 1 Nov 2006 03:44:59 +0000 (03:44 +0000)]
2006-10-31 Steve Huntley <stephen.huntley@alum.mit.edu>
* library/template/versionvfs.tcl: added code to ensure all
subfiles of a directory are deleted before dir deletion.
Steve Huntley [Wed, 1 Nov 2006 02:47:38 +0000 (02:47 +0000)]
2006-10-31 Steve Huntley <stephen.huntley@alum.mit.edu>
* library/template/versionvfs.tcl: added code to ensure all
subfiles of a directory are deleted before dir deletion.
Steve Huntley [Mon, 30 Oct 2006 05:52:29 +0000 (05:52 +0000)]
2006-10-29 Steve Huntley <stephen.huntley@alum.mit.edu>
Added comments and license info:
* library/template/globfind.tcl
* library/template/tdelta.tcl
Steve Huntley [Mon, 23 Oct 2006 07:54:34 +0000 (07:54 +0000)]
Initial upload of template virtual filesystems in new subfolder:
* library/template/collatevfs.tcl
* library/template/deltavfs.tcl
* library/template/fishvfs.tcl
* library/template/quotavfs.tcl
* library/template/templatevfs.tcl
* library/template/versionvfs.tcl
Plus helper utlities:
* library/template/tdelta.tcl - required by deltavfs.tcl
* library/template/globfind.tcl - required by quotavfs.tcl
* library/pkgIndex.tcl - added "package ifneeded" statements for
template virtual filesystems.
Jeff Hobbs [Fri, 29 Sep 2006 21:56:39 +0000 (21:56 +0000)]
fix missing eval
Jeff Hobbs [Fri, 29 Sep 2006 21:46:51 +0000 (21:46 +0000)]
* library/httpvfs.tcl (vfs::http::geturl): wrapper around
http::geturl that does 404 check.
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 [Thu, 14 Sep 2006 21:39:57 +0000 (21:39 +0000)]
code cleanup
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 ****
Jean-Claude Wippler [Thu, 22 Jun 2006 16:14:37 +0000 (16:14 +0000)]
updated vfs::mkcl to 1.4
Jeff Hobbs [Fri, 26 May 2006 19:44:07 +0000 (19:44 +0000)]
* generic/vfs.c (VfsOpenFileChannel): handle closing channels that
were inherited as std channels. [Bug
1468291]
Vince Darley [Sun, 12 Mar 2006 23:38:45 +0000 (23:38 +0000)]
ftp listing cache
Jean-Claude Wippler [Mon, 6 Mar 2006 19:49:11 +0000 (19:49 +0000)]
avoid write-by-default in r/w starkits
Jeff Hobbs [Thu, 26 Jan 2006 00:48:57 +0000 (00:48 +0000)]
update to TEA 3.5
Jeff Hobbs [Sun, 22 Jan 2006 21:59:06 +0000 (21:59 +0000)]
fix log date
Jeff Hobbs [Sun, 22 Jan 2006 21:57:33 +0000 (21:57 +0000)]
update to TEA 3.4 interim
Jeff Hobbs [Fri, 2 Dec 2005 22:16:07 +0000 (22:16 +0000)]
update to TEA 3.4
Jean-Claude Wippler [Thu, 10 Nov 2005 22:49:20 +0000 (22:49 +0000)]
fix mkclvfs.tcl dependency
Andreas Kupries [Wed, 9 Nov 2005 22:19:56 +0000 (22:19 +0000)]
* library/vfslib.tcl: Brought the version numbers of provide
* library/starkit.tcl: and ifneeded commands back into sync.
Jean-Claude Wippler [Fri, 4 Nov 2005 21:59:54 +0000 (21:59 +0000)]
mkclvfs changes
Jean-Claude Wippler [Tue, 1 Nov 2005 21:35:41 +0000 (21:35 +0000)]
updated pkg dependency in mkclvfs, now at 1.1
Jean-Claude Wippler [Tue, 1 Nov 2005 21:28:41 +0000 (21:28 +0000)]
updated pkg dependency in mkclvfs, now at 1.1
Jean-Claude Wippler [Wed, 19 Oct 2005 10:58:00 +0000 (10:58 +0000)]
added support for tclkitlite
Vince Darley [Wed, 31 Aug 2005 15:13:46 +0000 (15:13 +0000)]
fix date and add comment
Vince Darley [Sun, 21 Aug 2005 22:37:19 +0000 (22:37 +0000)]
make VfsMatchInDirectory more robust to NULL interps
Jeff Hobbs [Sat, 19 Mar 2005 01:43:47 +0000 (01:43 +0000)]
* Makefile.in (AR): use @AR@
* configure, tclconfig/tcl.m4: TEA 3.2 patch update
Jean-Claude Wippler [Mon, 14 Feb 2005 10:21:48 +0000 (10:21 +0000)]
autoconf update
Jeff Hobbs [Wed, 2 Feb 2005 05:00:07 +0000 (05:00 +0000)]
update to TEA 3.2
Jeff Hobbs [Tue, 25 Jan 2005 20:20:02 +0000 (20:20 +0000)]
* configure, configure.in (BUILD_vfs): correct from sample default
Jeff Hobbs [Tue, 25 Jan 2005 00:58:50 +0000 (00:58 +0000)]
* Makefile.in, tclconfig/tcl.m4: update to TEA 3.1, better CFLAGS
* configure, configure.in: handling and evc4 support.
Jean-Claude Wippler [Thu, 20 Jan 2005 22:35:26 +0000 (22:35 +0000)]
minor mk4vfs cleanup
Andreas Kupries [Mon, 22 Nov 2004 18:55:40 +0000 (18:55 +0000)]
* Makefile.in (PKG_TCL_SOURCES): Added 'tkvfs.tcl' to the list of
installed files. It is listed in the package index, but was not
installed.
Vince Darley [Tue, 28 Sep 2004 16:06:10 +0000 (16:06 +0000)]
makefile cleanup
Vince Darley [Mon, 13 Sep 2004 16:58:23 +0000 (16:58 +0000)]
comment marking a bug in the code due to unreadable channel
Vince Darley [Mon, 13 Sep 2004 14:32:06 +0000 (14:32 +0000)]
AttrSet bug fix
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 [Wed, 4 Aug 2004 21:49:08 +0000 (21:49 +0000)]
* library/zipvfs.tcl: Fixed [SF Tclvfs Bug
1003574]. Added code
preventing us from seeking before the beginning of the zip file.
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.