+2001-10-29 Vince Darley <vincentdarley@sourceforge.net>
+ * win/makefile.vc: installation is better.
+ * library/vfsUrl.tcl: improved urltype mounting. The following
+ will now work in all cases:
+ % vfs::urltype::Mount ftp
+ % set listing [glob -dir ftp://ftp.scriptics.com/pub *]
+ ...
+ % vfs::urltype::Mount http
+ % set fd [open http://sourceforge.net/projects/tcl]
+ % set contents [read $fd] ; close $fd
+ ...
+
2001-09-27 Vince Darley <vincentdarley@sourceforge.net>
* library/mk4vfs.tcl: Update from Jean-Claude Wippler
* library/vfsUtils.tcl:
.PP
The Tcl 'Tcl_FSMatchInDirectory' function takes a variety of type
information in a Tcl_GlobTypeData structure. We currently only expose
-the 'type' fields from that structure.
+the 'type' field from that structure.
.SH KEYWORDS
vfs, filesystem, file
}
proc vfs::urltype::handler {type cmd root relative actualpath args} {
- puts stderr [list urltype $type $cmd $root $relative $actualpath $args]
+ ::vfs::log [list urltype $type $cmd $root $relative $actualpath $args]
if {[string length $relative]} {
# Find the highest level path so we can mount it:
set pathSplit [file split [file join $root $relative]]
set newRoot [eval [list file join] [lrange $pathSplit 0 1]]
# Mount it.
- puts stderr [list $newRoot $pathSplit]
+ ::vfs::log [list $newRoot $pathSplit]
::vfs::${type}::Mount $newRoot $newRoot
# Now we want to find out the right handler
set typeHandler [::vfs::filesystem info $newRoot]
if {[string index $newRelative 0] == "/"} {
set newRelative [string range $newRelative 1 end]
}
-
- puts stderr [list $typeHandler $newRoot $newRelative]
+ ::vfs::log [list $typeHandler $newRoot $newRelative]
eval $typeHandler [list $cmd $newRoot $newRelative $actualpath] $args
} else {
if {$cmd == "matchindirectory"} {
install: $(PROJECT).dll
-@md $(INSTALLDIR)
- $(CP) $(PROJECT).dll $(INSTALLDIR)\$(PROJECT).dll
$(CP) $(LIBDIR)\*.tcl $(INSTALLDIR)
$(CP) $(LIBDIR)\tclIndex $(INSTALLDIR)
+ $(CP) $(PROJECT).dll $(INSTALLDIR)\$(PROJECT).dll
$(PROJECT).dll: $(DLLOBJS)
$(link32) $(ldebug) $(dlllflags) $(TCLLIB) \