tclvfs
18 years ago2006-10-31 Steve Huntley <stephen.huntley@alum.mit.edu>
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.

18 years ago2006-10-29 Steve Huntley <stephen.huntley@alum.mit.edu>
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

18 years ago Initial upload of template virtual filesystems in new subfolder:
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.

18 years agofix missing eval
Jeff Hobbs [Fri, 29 Sep 2006 21:56:39 +0000 (21:56 +0000)]
fix missing eval

18 years ago * library/httpvfs.tcl (vfs::http::geturl): wrapper around
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.

18 years ago * library/httpvfs.tcl (vfs::http::urlparse): add method to
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

18 years ago * library/pkgIndex.tcl: bump vfs::http to 0.6
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 ****

18 years ago * library/httpvfs.tcl: rewritten to clean up http tokens and
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.

18 years agocode cleanup
Jeff Hobbs [Thu, 14 Sep 2006 21:39:57 +0000 (21:39 +0000)]
code cleanup

18 years ago * generic/vfs.c: move static globals to being thread-specific. If
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 ****

18 years agoupdated vfs::mkcl to 1.4
Jean-Claude Wippler [Thu, 22 Jun 2006 16:14:37 +0000 (16:14 +0000)]
updated vfs::mkcl to 1.4

18 years ago * generic/vfs.c (VfsOpenFileChannel): handle closing channels that
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]

18 years agoftp listing cache
Vince Darley [Sun, 12 Mar 2006 23:38:45 +0000 (23:38 +0000)]
ftp listing cache

18 years agoavoid write-by-default in r/w starkits
Jean-Claude Wippler [Mon, 6 Mar 2006 19:49:11 +0000 (19:49 +0000)]
avoid write-by-default in r/w starkits

18 years agoupdate to TEA 3.5
Jeff Hobbs [Thu, 26 Jan 2006 00:48:57 +0000 (00:48 +0000)]
update to TEA 3.5

18 years agofix log date
Jeff Hobbs [Sun, 22 Jan 2006 21:59:06 +0000 (21:59 +0000)]
fix log date

18 years agoupdate to TEA 3.4 interim
Jeff Hobbs [Sun, 22 Jan 2006 21:57:33 +0000 (21:57 +0000)]
update to TEA 3.4 interim

19 years agoupdate to TEA 3.4
Jeff Hobbs [Fri, 2 Dec 2005 22:16:07 +0000 (22:16 +0000)]
update to TEA 3.4

19 years agofix mkclvfs.tcl dependency
Jean-Claude Wippler [Thu, 10 Nov 2005 22:49:20 +0000 (22:49 +0000)]
fix mkclvfs.tcl dependency

19 years ago * library/vfslib.tcl: Brought the version numbers of provide
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.

19 years agomkclvfs changes
Jean-Claude Wippler [Fri, 4 Nov 2005 21:59:54 +0000 (21:59 +0000)]
mkclvfs changes

19 years agoupdated pkg dependency in mkclvfs, now at 1.1
Jean-Claude Wippler [Tue, 1 Nov 2005 21:35:41 +0000 (21:35 +0000)]
updated pkg dependency in mkclvfs, now at 1.1

19 years agoupdated 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

19 years agoadded support for tclkitlite
Jean-Claude Wippler [Wed, 19 Oct 2005 10:58:00 +0000 (10:58 +0000)]
added support for tclkitlite

19 years agofix date and add comment
Vince Darley [Wed, 31 Aug 2005 15:13:46 +0000 (15:13 +0000)]
fix date and add comment

19 years agomake VfsMatchInDirectory more robust to NULL interps
Vince Darley [Sun, 21 Aug 2005 22:37:19 +0000 (22:37 +0000)]
make VfsMatchInDirectory more robust to NULL interps

19 years ago * Makefile.in (AR): use @AR@
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

19 years agoautoconf update
Jean-Claude Wippler [Mon, 14 Feb 2005 10:21:48 +0000 (10:21 +0000)]
autoconf update

19 years agoupdate to TEA 3.2
Jeff Hobbs [Wed, 2 Feb 2005 05:00:07 +0000 (05:00 +0000)]
update to TEA 3.2

19 years ago * configure, configure.in (BUILD_vfs): correct from sample default
Jeff Hobbs [Tue, 25 Jan 2005 20:20:02 +0000 (20:20 +0000)]
* configure, configure.in (BUILD_vfs): correct from sample default

19 years ago * Makefile.in, tclconfig/tcl.m4: update to TEA 3.1, better CFLAGS
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.

19 years agominor mk4vfs cleanup
Jean-Claude Wippler [Thu, 20 Jan 2005 22:35:26 +0000 (22:35 +0000)]
minor mk4vfs cleanup

20 years ago * Makefile.in (PKG_TCL_SOURCES): Added 'tkvfs.tcl' to the list of
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.

20 years agomakefile cleanup
Vince Darley [Tue, 28 Sep 2004 16:06:10 +0000 (16:06 +0000)]
makefile cleanup

20 years agocomment marking a bug in the code due to unreadable channel
Vince Darley [Mon, 13 Sep 2004 16:58:23 +0000 (16:58 +0000)]
comment marking a bug in the code due to unreadable channel

20 years agoAttrSet bug fix
Vince Darley [Mon, 13 Sep 2004 14:32:06 +0000 (14:32 +0000)]
AttrSet bug fix

20 years ago * library/zipvfs.tcl (Data): Fixed [SF Tclvfs Bug 1003591]. This
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.

20 years ago * library/zipvfs.tcl: Fixed [SF Tclvfs Bug 1003574]. Added code
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.

20 years ago * doc/vfs-fsapi.man: Clarified description of the close callback
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.

20 years agofix to removeDirectory docs
Vince Darley [Thu, 15 Jul 2004 11:25:42 +0000 (11:25 +0000)]
fix to removeDirectory docs

20 years ago * library/vfsUtils.tcl (crc, zip): Modified the Trf adapter
Andreas Kupries [Sun, 4 Jul 2004 23:41:54 +0000 (23:41 +0000)]
* library/vfsUtils.tcl (crc, zip): Modified the Trf adapter
  commands. They are now adding in a "--" before the last argument
  they get, to ensure its interpretation as data instead of being
  misinterpreted as option should it begin with a dash. Without
  this adding a file beginning with a dash to a filesystem will
  fail.

20 years agosmall zip fix
Vince Darley [Fri, 2 Jul 2004 08:58:11 +0000 (08:58 +0000)]
small zip fix

20 years agofix to zipvfs
Vince Darley [Tue, 29 Jun 2004 12:47:00 +0000 (12:47 +0000)]
fix to zipvfs

20 years ago * Makefile.in: corrected targets that use 'for' over what may be
Jeff Hobbs [Wed, 9 Jun 2004 16:31:05 +0000 (16:31 +0000)]
* Makefile.in: corrected targets that use 'for' over what may be
an empty list.  Cleaned up echo output.

20 years ago * generic/vfs.c (Vfs_Init): added #ifndef PACKAGE_VERSION for
Jeff Hobbs [Wed, 9 Jun 2004 16:30:48 +0000 (16:30 +0000)]
* generic/vfs.c (Vfs_Init): added #ifndef PACKAGE_VERSION for
non-TEA based build system.

20 years agosee changes
Jeff Hobbs [Fri, 4 Jun 2004 19:25:46 +0000 (19:25 +0000)]
see changes

20 years agos/scriptics.com/tcl.tk
Jeff Hobbs [Fri, 4 Jun 2004 19:24:26 +0000 (19:24 +0000)]
s/scriptics.com/tcl.tk

20 years ago * library/zipvfs.tcl (zip::Data): add zip::stat call that
Jeff Hobbs [Fri, 4 Jun 2004 19:21:56 +0000 (19:21 +0000)]
* library/zipvfs.tcl (zip::Data): add zip::stat call that
correctly determines size for some zip files (Ferril).

20 years ago * generic/vfs.c: use PACKAGE_VERSION instead of hard-coded version
Jeff Hobbs [Fri, 4 Jun 2004 19:21:36 +0000 (19:21 +0000)]
* generic/vfs.c: use PACKAGE_VERSION instead of hard-coded version
info.

20 years ago * configure, configure.in, Makefile.in, tclconfig/tcl.m4: updated
Jeff Hobbs [Fri, 4 Jun 2004 19:21:20 +0000 (19:21 +0000)]
* configure, configure.in, Makefile.in, tclconfig/tcl.m4: updated
to the latest TEA3 spec
* pkgIndex.tcl.in (added): move from library/ subdir
* library/pkgIndex.tcl.in (removed):

20 years agocompilation fix
Vince Darley [Fri, 21 May 2004 11:51:20 +0000 (11:51 +0000)]
compilation fix

20 years ago * library/pkgIndex.tcl.in: brought back into sync with pkgIndex.tcl
Daniel Steffen [Fri, 21 May 2004 10:45:26 +0000 (10:45 +0000)]
* library/pkgIndex.tcl.in: brought back into sync with pkgIndex.tcl
* library/pkgIndex.tcl: fixed spacing to be like pkgIndex.tcl.in

20 years ago * starkit.tcl: improved previous symbolic link patch by
Daniel Steffen [Fri, 21 May 2004 10:34:49 +0000 (10:34 +0000)]
* starkit.tcl: improved previous symbolic link patch by
using [vfs::filesystem fullynormalize], as suggessted by Vince.

20 years agostarkit symlink fix, bump to 1.3.1
Jean-Claude Wippler [Wed, 19 May 2004 20:46:17 +0000 (20:46 +0000)]
starkit symlink fix, bump to 1.3.1

20 years ago * generic/vfs.c: continue to #include tclPort.h, otherwise
Daniel Steffen [Tue, 18 May 2004 14:08:48 +0000 (14:08 +0000)]
    * generic/vfs.c: continue to #include tclPort.h, otherwise
        compilation breaks against tcl 8.4.x.

20 years agofix for includes
Vince Darley [Mon, 10 May 2004 11:00:38 +0000 (11:00 +0000)]
fix for includes

20 years ago * configure (regened):
Jeff Hobbs [Mon, 26 Apr 2004 16:28:44 +0000 (16:28 +0000)]
* configure (regened):
* tclconfig/tcl.m4 (TEA_TCL_64BIT_FLAGS): update to define
TCL_WIDE_INT_IS_LONG when 'using long'.

20 years agocompilation fix and cross-filesystem boundary glob fix
Vince Darley [Thu, 1 Apr 2004 11:12:13 +0000 (11:12 +0000)]
compilation fix and cross-filesystem boundary glob fix

20 years agotest suite overhaul
Vince Darley [Tue, 20 Jan 2004 15:32:01 +0000 (15:32 +0000)]
test suite overhaul

20 years agotest suite overhaul
Vince Darley [Tue, 20 Jan 2004 15:25:14 +0000 (15:25 +0000)]
test suite overhaul

20 years agopathObjPtr -> pathPtr
Vince Darley [Tue, 20 Jan 2004 10:45:47 +0000 (10:45 +0000)]
pathObjPtr -> pathPtr

21 years ago * configure: regen
Jeff Hobbs [Mon, 10 Nov 2003 21:52:41 +0000 (21:52 +0000)]
    * configure: regen
        * tclconfig/tcl.m4: update to latest TEA that corrects calling
        order of compiler and header checks.

21 years agotarvfs relative paths
Vince Darley [Thu, 30 Oct 2003 13:16:18 +0000 (13:16 +0000)]
tarvfs relative paths

21 years agostarkit::mode added
Jean-Claude Wippler [Tue, 21 Oct 2003 09:25:17 +0000 (09:25 +0000)]
starkit::mode added

21 years agoremoved compiler warnings
Vince Darley [Fri, 17 Oct 2003 14:54:48 +0000 (14:54 +0000)]
removed compiler warnings

21 years agoensure compilation is ok against Tcl 8.4
Vince Darley [Tue, 14 Oct 2003 11:58:31 +0000 (11:58 +0000)]
ensure compilation is ok against Tcl 8.4

21 years agosupport for TCL_GLOB_TYPE_MOUNT vfs-1-3
Vince Darley [Mon, 13 Oct 2003 16:48:34 +0000 (16:48 +0000)]
support for TCL_GLOB_TYPE_MOUNT

21 years agofilesystem boundary fix
Vince Darley [Mon, 13 Oct 2003 11:15:51 +0000 (11:15 +0000)]
filesystem boundary fix

21 years agofilesystem boundary fix
Vince Darley [Mon, 13 Oct 2003 11:15:51 +0000 (11:15 +0000)]
filesystem boundary fix

21 years ago * configure: updated to autoconf 2.5
Jeff Hobbs [Tue, 7 Oct 2003 00:34:35 +0000 (00:34 +0000)]
* configure:        updated to autoconf 2.5
* tclconfig/tcl.m4: updated to latest TEA spec with WinCE support
and corrected defn of TCL_WIDE_INT_TYPE for compiling.

21 years agoadd CFLAGS_WARNING and pedantic quoting
Jeff Hobbs [Tue, 7 Oct 2003 00:33:40 +0000 (00:33 +0000)]
add CFLAGS_WARNING and pedantic quoting

21 years agoadded some procs to starkit pkg
Jean-Claude Wippler [Sun, 28 Sep 2003 10:40:32 +0000 (10:40 +0000)]
added some procs to starkit pkg

21 years agominor starkit pkg fix
Jean-Claude Wippler [Fri, 26 Sep 2003 13:30:56 +0000 (13:30 +0000)]
minor starkit pkg fix

21 years agofix to various vfs bug with 'glob foo'
Vince Darley [Mon, 1 Sep 2003 15:08:06 +0000 (15:08 +0000)]
fix to various vfs bug with 'glob foo'

21 years agofix to mk4 vfs bug with 'glob foo'
Vince Darley [Mon, 1 Sep 2003 15:03:56 +0000 (15:03 +0000)]
fix to mk4 vfs bug with 'glob foo'

21 years agospellchecking
Vince Darley [Wed, 16 Jul 2003 09:34:26 +0000 (09:34 +0000)]
spellchecking

21 years agominor fixes, new tests and update to 1.2.1
Vince Darley [Tue, 15 Jul 2003 17:42:34 +0000 (17:42 +0000)]
minor fixes, new tests and update to 1.2.1

21 years agobetter error messages
Vince Darley [Mon, 7 Jul 2003 12:19:33 +0000 (12:19 +0000)]
better error messages

21 years agotar, zip fixes
Vince Darley [Mon, 7 Jul 2003 07:21:19 +0000 (07:21 +0000)]
tar, zip fixes

21 years agoftpvfs fix
Vince Darley [Sun, 6 Jul 2003 20:37:26 +0000 (20:37 +0000)]
ftpvfs fix

21 years agoftpvfs multiple port support
Vince Darley [Thu, 3 Jul 2003 16:01:54 +0000 (16:01 +0000)]
ftpvfs multiple port support

21 years agoftpvfs multiple port support
Vince Darley [Thu, 3 Jul 2003 15:56:23 +0000 (15:56 +0000)]
ftpvfs multiple port support

21 years agoftpvfs fix
Vince Darley [Mon, 16 Jun 2003 16:11:18 +0000 (16:11 +0000)]
ftpvfs fix

21 years agotk vfs fix
Vince Darley [Fri, 16 May 2003 12:55:39 +0000 (12:55 +0000)]
tk vfs fix

21 years agotk vfs
Vince Darley [Fri, 16 May 2003 12:51:35 +0000 (12:51 +0000)]
tk vfs

21 years agotk vfs added
Vince Darley [Fri, 16 May 2003 12:36:08 +0000 (12:36 +0000)]
tk vfs added

21 years ago * library/pkgIndex.tcl.in: use vfs::dll var directly
Jeff Hobbs [Fri, 16 May 2003 01:14:18 +0000 (01:14 +0000)]
* library/pkgIndex.tcl.in: use vfs::dll var directly

21 years agomk4vfs file attributes fix
Vince Darley [Wed, 14 May 2003 21:00:31 +0000 (21:00 +0000)]
mk4vfs file attributes fix

21 years agopackage names fix
Vince Darley [Wed, 14 May 2003 18:49:57 +0000 (18:49 +0000)]
package names fix

21 years agovfs library fix
Vince Darley [Wed, 14 May 2003 18:29:14 +0000 (18:29 +0000)]
vfs library fix

21 years agoglob case-insensitivity in zipvfs
Vince Darley [Mon, 28 Apr 2003 13:31:38 +0000 (13:31 +0000)]
glob case-insensitivity in zipvfs

21 years ago * configure.in:
Andreas Kupries [Fri, 4 Apr 2003 21:18:54 +0000 (21:18 +0000)]
* configure.in:
* tclconfig/tcl.m4: Updated to newest tcl.m4, regenerated
  configure's.

21 years agomk4vfs tweaks
Jean-Claude Wippler [Mon, 17 Mar 2003 10:01:55 +0000 (10:01 +0000)]
mk4vfs tweaks

21 years ago * doc/vfs.man: Added doctools documentation derived
Andreas Kupries [Wed, 12 Mar 2003 06:10:04 +0000 (06:10 +0000)]
* doc/vfs.man:             Added doctools documentation derived
* doc/vfs-fsapi.man:       from the original nroff-based
* doc/vfs-filesystems.man: manpages. Approved by Vincent.

21 years agod to g debug build change
Vince Darley [Tue, 11 Mar 2003 11:48:09 +0000 (11:48 +0000)]
d to g debug build change

21 years agotweak
Jean-Claude Wippler [Mon, 24 Feb 2003 12:04:29 +0000 (12:04 +0000)]
tweak

21 years agotweak
Jean-Claude Wippler [Mon, 24 Feb 2003 12:04:29 +0000 (12:04 +0000)]
tweak

21 years agosee ChangeLog
Jeff Hobbs [Sun, 23 Feb 2003 23:19:55 +0000 (23:19 +0000)]
see ChangeLog

21 years agoChangeLog
Jeff Hobbs [Sun, 23 Feb 2003 23:19:17 +0000 (23:19 +0000)]
ChangeLog

21 years ago * configure: regen
Jeff Hobbs [Sun, 23 Feb 2003 22:21:52 +0000 (22:21 +0000)]
* configure: regen
* configure.in:
* tclconfig/tcl.m4: regen from latest TEA setup
* Makefile.in: only use pkgIndex.tcl with shared builds