Wojciech Kocjan [Mon, 10 Mar 2014 11:39:33 +0000 (11:39 +0000)]
Fix for zipvfs not preserving missing directories' upper case characters.
Wojciech Kocjan [Tue, 5 Feb 2013 13:18:48 +0000 (13:18 +0000)]
2013-02-05 Wojciech Kocjan <zoro2@users.sourceforge.net>
* library/zipvfs.tcl: vfs::zip unable to read zip archives with wrong modes, bug
3603414
Andreas Kupries [Wed, 12 Dec 2012 21:41:20 +0000 (21:41 +0000)]
* library/template/collatevfs.tcl: Added missing provide command.
* library/template/templatevfs.tcl: Fixed missing default status 0 in
* pkgIndex.tcl.in: overriden exit command. Bumped to 1.5.5
Andreas Kupries [Wed, 12 Dec 2012 21:35:21 +0000 (21:35 +0000)]
Added the various template filesystems to the package index.
Andreas Kupries [Wed, 12 Dec 2012 21:32:41 +0000 (21:32 +0000)]
Bumped vfs::zip to 1.0.4, long overdue.
Andreas Kupries [Wed, 12 Dec 2012 21:24:46 +0000 (21:24 +0000)]
* configure.in: Long overdue bump to version 1.4.2.
* configure: (1.4.1 was in 2009-02-07). Regenerated.
Please bump the patchlevel for any future bug fixes,
of the relevant sub-package(s).
Wojciech Kocjan [Thu, 12 Jul 2012 13:36:18 +0000 (13:36 +0000)]
2012-07-12 Wojciech Kocjan <zoro2@users.sourceforge.net>
* zipvfs.tcl: Fix for Tcl 8.6 not properly streaming large files with
very big compression ratio, bug
3542959
Wojciech Kocjan [Wed, 4 Jul 2012 12:40:29 +0000 (12:40 +0000)]
* zipvfs.tcl: Fix for streaming not working properly in certain zip
files; refactoring of zip::Data to reuse header parsing code for streams
Wojciech Kocjan [Thu, 15 Mar 2012 18:51:50 +0000 (18:51 +0000)]
2012-03-15 Wojciech Kocjan <zoro2@users.sourceforge.net>
* zipvfs.tcl: Fix for zip symlinks not supported anymore, bug
3505283
Steve Huntley [Mon, 28 Nov 2011 19:48:12 +0000 (19:48 +0000)]
2011-11-28 Steve Huntley <stephen.huntley@alum.mit.edu>
* vfslib.tcl: Applied contributed patch for bug
3412801. Clean up watch
timers for memchan vfs.
Steve Huntley [Mon, 28 Nov 2011 19:26:13 +0000 (19:26 +0000)]
2011-11-28 Steve Huntley <stephen.huntley@alum.mit.edu>
* zipvfs.tcl: Applied contributed patch for bug
3395782. Enables
extraction of contents of zip files created using Fossil.
Steve Huntley [Mon, 28 Nov 2011 19:12:07 +0000 (19:12 +0000)]
2011-11-28 Steve Huntley <stephen.huntley@alum.mit.edu>
* zipvfs.tcl: Reverted bug fix for
3224057. See bug ID
3303287.
Steve Huntley [Thu, 28 Apr 2011 08:01:32 +0000 (08:01 +0000)]
2011-04-28 Steve Huntley <stephen.huntley@alum.mit.edu>
* zipvfs.tcl: Added contributed patch to speed up zipvfs directory
listing. See patch
3279418.
Steve Huntley [Wed, 30 Mar 2011 06:44:42 +0000 (06:44 +0000)]
2011-03-30 Steve Huntley <stephen.huntley@alum.mit.edu>
* vfslib.tcl, zipvfs.tcl: Added contributed patches to fix bugs
3160686
&
3224057.
Steve Huntley [Wed, 30 Mar 2011 05:14:58 +0000 (05:14 +0000)]
2011-03-30 Steve Huntley <stephen.huntley@alum.mit.edu>
* globfind.tcl: Updated to latest file version (1.5.3).
Steve Huntley [Fri, 31 Dec 2010 07:31:45 +0000 (07:31 +0000)]
2010-12-31 Steve Huntley <stephen.huntley@alum.mit.edu>
* vfs.tcl: Removed requirement for 8.6 for sourcing of vfslib.tcl, since
that file contains 8.5-relevant utils for chan command. Vfslib.tcl
includes adequate conditional checks for version-dependent commands.
Steve Huntley [Fri, 31 Dec 2010 04:56:44 +0000 (04:56 +0000)]
2010-12-30 Steve Huntley <stephen.huntley@alum.mit.edu>
* library/zipvfs.tcl: Wojciech Kocjan contributed tweaks to my latest
"Frankenstein" patch, which I incorporated.
Steve Huntley [Thu, 30 Dec 2010 07:59:31 +0000 (07:59 +0000)]
2010-12-30 Steve Huntley <stephen.huntley@alum.mit.edu>
* pkgIndex.tcl.in, vfs.tcl: Switched "package require Tcl 8.4" statement
to vfs.tcl to conform with accepted practice.
Steve Huntley [Thu, 30 Dec 2010 07:20:12 +0000 (07:20 +0000)]
2010-12-30 Steve Huntley <stephen.huntley@alum.mit.edu>
* library/zipvfs.tcl: Applied patch
3005441 to fix issue with UTF-8
detection for filename encoding. Applied patch
3132957 to enable
streaming of large files.
Steve Huntley [Wed, 29 Dec 2010 09:57:43 +0000 (09:57 +0000)]
2010-12-29 Steve Huntley <stephen.huntley@alum.mit.edu>
* generic/vfs.c: include sys/stat.h so build under MinGW64 will succeed.
See bug #
3107382.
* library/zipvfs.tcl: Fixed issues with clock handling, dealing with
trying to [open] a directory, reading a zip file that has been appended
to another file. See bugs
3103687,
3107380
Steve Huntley [Mon, 17 May 2010 04:18:07 +0000 (04:18 +0000)]
* library/vfslib.tcl: Changed memchan condition from Tcl version 8.6 or
greater to presence of chan command (since chan now in later 8.5 builds)
Steve Huntley [Mon, 1 Feb 2010 07:32:58 +0000 (07:32 +0000)]
2010-02-01 Steve Huntley <stephen.huntley@alum.mit.edu>
* Makefile.in (PKG_TCL_SOURCES): Added 'template/tclIndex' to the list
of installed files. Required for vfs's based on template vfs to load.
Steve Huntley [Sat, 30 Jan 2010 08:22:24 +0000 (08:22 +0000)]
2010-01-30 Steve Huntley <stephen.huntley@alum.mit.edu>
* templatevfs.tcl: workaround for bug in how virtual volumes
are mounted. Version bumped to 1.5.4. See:
http://sf.net/tracker/?func=detail&aid=
2886914&group_id=10894&atid=110894
Steve Huntley [Tue, 20 Oct 2009 08:16:36 +0000 (08:16 +0000)]
2008-10-20 Steve Huntley <stephen.huntley@alum.mit.edu>
* tclIndex: Corrected version number.
* pkgIndex.tcl.in: Edited to replace function of deleted
pkgIndex.tcl in template subdir.
Steve Huntley [Fri, 16 Oct 2009 05:40:13 +0000 (05:40 +0000)]
2008-10-15 Steve Huntley <stephen.huntley@alum.mit.edu>
vfs::template package update ver. 1.5.3:
* templatevfs.tcl: Incorporated AK's fix below.
* collatevfs.tcl: ensured binary file contents got written
correctly, and ensured that not only file contents but
also file attributes were updated to all write targets.
Andreas Kupries [Mon, 6 Jul 2009 17:00:19 +0000 (17:00 +0000)]
* library/template/templatevfs.tcl (memchan): Fix result for
* pkgIndex.tcl: unix. The bug was reported on the wiki. The fix
there was wrong, did improper handling of the $args argument.
Fixed here. Version bumped to 1.5.3.
Pat Thoyts [Sat, 30 May 2009 17:00:52 +0000 (17:00 +0000)]
modified the base address
Pat Thoyts [Thu, 14 May 2009 19:02:32 +0000 (19:02 +0000)]
Handle directory names that include glob chars.
Pat Thoyts [Sun, 22 Mar 2009 18:57:14 +0000 (18:57 +0000)]
The 8.6 core zlib can't be used to implement the vfs::zstream as these channels need to be
seekable and pushing zlib onto a channel makes it non-seeking. For now we can just disable
this command as it is only used by tclkit when vfs::zstreamed is true. 8.6 tclkits will now set
this false. TODO: make this command work with the core zlib.
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 ****