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.
Vince Darley [Thu, 15 Jul 2004 11:25:42 +0000 (11:25 +0000)]
fix to removeDirectory docs
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.
Vince Darley [Fri, 2 Jul 2004 08:58:11 +0000 (08:58 +0000)]
small zip fix
Vince Darley [Tue, 29 Jun 2004 12:47:00 +0000 (12:47 +0000)]
fix to zipvfs
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.
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.
Jeff Hobbs [Fri, 4 Jun 2004 19:25:46 +0000 (19:25 +0000)]
see changes
Jeff Hobbs [Fri, 4 Jun 2004 19:24:26 +0000 (19:24 +0000)]
s/scriptics.com/tcl.tk
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).
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.
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):
Vince Darley [Fri, 21 May 2004 11:51:20 +0000 (11:51 +0000)]
compilation fix
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
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.
Jean-Claude Wippler [Wed, 19 May 2004 20:46:17 +0000 (20:46 +0000)]
starkit symlink fix, bump to 1.3.1
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.
Vince Darley [Mon, 10 May 2004 11:00:38 +0000 (11:00 +0000)]
fix for includes
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'.
Vince Darley [Thu, 1 Apr 2004 11:12:13 +0000 (11:12 +0000)]
compilation fix and cross-filesystem boundary glob fix
Vince Darley [Tue, 20 Jan 2004 15:32:01 +0000 (15:32 +0000)]
test suite overhaul
Vince Darley [Tue, 20 Jan 2004 15:25:14 +0000 (15:25 +0000)]
test suite overhaul
Vince Darley [Tue, 20 Jan 2004 10:45:47 +0000 (10:45 +0000)]
pathObjPtr -> pathPtr
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.
Vince Darley [Thu, 30 Oct 2003 13:16:18 +0000 (13:16 +0000)]
tarvfs relative paths
Jean-Claude Wippler [Tue, 21 Oct 2003 09:25:17 +0000 (09:25 +0000)]
starkit::mode added
Vince Darley [Fri, 17 Oct 2003 14:54:48 +0000 (14:54 +0000)]
removed compiler warnings
Vince Darley [Tue, 14 Oct 2003 11:58:31 +0000 (11:58 +0000)]
ensure compilation is ok against Tcl 8.4
Vince Darley [Mon, 13 Oct 2003 16:48:34 +0000 (16:48 +0000)]
support for TCL_GLOB_TYPE_MOUNT
Vince Darley [Mon, 13 Oct 2003 11:15:51 +0000 (11:15 +0000)]
filesystem boundary fix
Vince Darley [Mon, 13 Oct 2003 11:15:51 +0000 (11:15 +0000)]
filesystem boundary fix
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.
Jeff Hobbs [Tue, 7 Oct 2003 00:33:40 +0000 (00:33 +0000)]
add CFLAGS_WARNING and pedantic quoting
Jean-Claude Wippler [Sun, 28 Sep 2003 10:40:32 +0000 (10:40 +0000)]
added some procs to starkit pkg
Jean-Claude Wippler [Fri, 26 Sep 2003 13:30:56 +0000 (13:30 +0000)]
minor starkit pkg fix
Vince Darley [Mon, 1 Sep 2003 15:08:06 +0000 (15:08 +0000)]
fix to various 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'
Vince Darley [Wed, 16 Jul 2003 09:34:26 +0000 (09:34 +0000)]
spellchecking
Vince Darley [Tue, 15 Jul 2003 17:42:34 +0000 (17:42 +0000)]
minor fixes, new tests and update to 1.2.1
Vince Darley [Mon, 7 Jul 2003 12:19:33 +0000 (12:19 +0000)]
better error messages
Vince Darley [Mon, 7 Jul 2003 07:21:19 +0000 (07:21 +0000)]
tar, zip fixes
Vince Darley [Sun, 6 Jul 2003 20:37:26 +0000 (20:37 +0000)]
ftpvfs fix
Vince Darley [Thu, 3 Jul 2003 16:01:54 +0000 (16:01 +0000)]
ftpvfs multiple port support
Vince Darley [Thu, 3 Jul 2003 15:56:23 +0000 (15:56 +0000)]
ftpvfs multiple port support
Vince Darley [Mon, 16 Jun 2003 16:11:18 +0000 (16:11 +0000)]
ftpvfs fix
Vince Darley [Fri, 16 May 2003 12:55:39 +0000 (12:55 +0000)]
tk vfs fix
Vince Darley [Fri, 16 May 2003 12:51:35 +0000 (12:51 +0000)]
tk vfs
Vince Darley [Fri, 16 May 2003 12:36:08 +0000 (12:36 +0000)]
tk vfs added
Jeff Hobbs [Fri, 16 May 2003 01:14:18 +0000 (01:14 +0000)]
* library/pkgIndex.tcl.in: use vfs::dll var directly
Vince Darley [Wed, 14 May 2003 21:00:31 +0000 (21:00 +0000)]
mk4vfs file attributes fix
Vince Darley [Wed, 14 May 2003 18:49:57 +0000 (18:49 +0000)]
package names fix
Vince Darley [Wed, 14 May 2003 18:29:14 +0000 (18:29 +0000)]
vfs library fix
Vince Darley [Mon, 28 Apr 2003 13:31:38 +0000 (13:31 +0000)]
glob case-insensitivity in zipvfs
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.
Jean-Claude Wippler [Mon, 17 Mar 2003 10:01:55 +0000 (10:01 +0000)]
mk4vfs tweaks
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.
Vince Darley [Tue, 11 Mar 2003 11:48:09 +0000 (11:48 +0000)]
d to g debug build change
Jean-Claude Wippler [Mon, 24 Feb 2003 12:04:29 +0000 (12:04 +0000)]
tweak
Jean-Claude Wippler [Mon, 24 Feb 2003 12:04:29 +0000 (12:04 +0000)]
tweak
Jeff Hobbs [Sun, 23 Feb 2003 23:19:55 +0000 (23:19 +0000)]
see ChangeLog
Jeff Hobbs [Sun, 23 Feb 2003 23:19:17 +0000 (23:19 +0000)]
ChangeLog
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
Vince Darley [Fri, 21 Feb 2003 17:01:25 +0000 (17:01 +0000)]
added catch
Vince Darley [Fri, 21 Feb 2003 17:00:53 +0000 (17:00 +0000)]
added catch
Vince Darley [Fri, 21 Feb 2003 16:55:54 +0000 (16:55 +0000)]
added recursive flag
Vince Darley [Fri, 21 Feb 2003 16:30:42 +0000 (16:30 +0000)]
cleanup
Vince Darley [Fri, 21 Feb 2003 16:05:41 +0000 (16:05 +0000)]
more documentation and better posix error handling