Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to snapshot-2004-04:||(view) (annotate)|
If it's already a logical pathname host, don't need to check if it's a search-list, because it can't be, obviously.
o MAKE-PATHNAME signals an error for the invalid combinations (CLHS 18.104.22.168.3): :absolute or :wild-inferiors immediately followed by :back or :up. (From Paul Dietz's ANSI tests.) o A continuable error is signaled if you try to clobber a search-list host with a logical-pathname host.
Some changes from Paul Foley: o Fix a number of spelling errors. o Add EXT:PURGE-FILES (hmm, should that be renamed to purge-backup-files?) to delete old versions of files. o Opening a file with :if-exists :append shouldn't set the Unix append flag, else you can't seek back to a point before you started appending. (Actually from Rudi Schlatte.) o Fix a bug in logical pathname parsing. o Fix FASL-file versioning so we don't create versioned fasl files.
More simple-streams updates from Paul Foley: o An update to fix Gerd's complaint about :simple-streams being on *features* o Corrects a few bugs o Renames all the strategy functions o Gets rid of DEVICE-EXTEND (Duane Rettig tells me it's going away in the next ACL release) o A start on getting stream& composition working.
Applied patch by Raymond Toy to make pathname-host ANSI compliant.
Logical pathnames like "lpnhost:name.type" have directory component :ABSOLUTE instead of NIL, as required by CLHS. (I think.)
Fix for the Entomotomy bug translate-logical-pathname-fails-on-physical-pathname-namestrings When translate-logical-pathname is given a physical pathname, it's supposed to return the given pathname instead of signalling an error.
Port over SBCL's fix for the Entomotomy bug host-namestring-return-value-unusable logical-pathnames-not-externalizable host-namestring returns "" for physical pathnames when it used to return "Unix". But "Unix" is a valid logical host name and "" is not. Logical pathnames weren't externalizable. Make them so.
Test for type file-stream instead of stream because a stream may not have a file-name associated with it, but file-streams do. (Noted by Christophe Rhodes.)
From Lynn Quam. MERGE-PATHNAMES wasn't merging in the version correctly according the the spec: If pathname does not specify a name, then the version, if not provided, will come from default-pathname, just like the other components. If pathname does specify a name, then the version is not affected by default-pathname. If this process leaves the version missing, the default-version is used.
Committed user-supplied fix to Debian Bug#123208, which caused an error when printing the signalled condition.
Oops, backout misplaced prin1 function in previous revision. Sorry folks!
Fix print-function for logical-host so it outputs something meaningful. This can be improved on still.
Previous revision had missing space resulting in bogus symbol name.
Fix FIND-LOGICAL-HOST to honor optional errorp argument even when 'thing' has invalid LP host syntax (and a colon character).
Fix guard against "/" in pathname name or type to consider that the argument may be other than a string.
Marco Antoniotti says: PARSE-NAMESTRING is supposed to accept also a string for the optional HOST argument. Right now this is not the case. The following patch fixes this and seems to do the right thing when HOST is a defined logical pathname host. This is better than the current situation (as a matter of fact it is necessary for some things I am doing), but it is not quite ANSI. E.g. HOST could also be :UNSPECIFIC, but the current code does not handle that case. I did not add code for that, because, contrary to the LOGICAL HOST case, I believe that the case for :UNSPECIFIC is too implementation dependent.
Emit a warning if the :name or :type argument to MAKE-PATHNAME for a unix host contains a directory separator character.
Somehow omitted a key component of rev 1.44. This fixes find-logical-host so it does what was intended.
First step in removing some CLtL1/CLtL2 exports from COMMON-LISP package.
Add Mike McDonald's revised changes to permit autoloading logical pathname translations.
Fix a few small bugs, remove LPN autoload pending rework. Add internal utility function FIND-SEARCH-LIST.
From Mike McDonald I've appended the necessary mods inorder to make the autoloading of logical pathname translations to work. This includes fixing load-logical-pathname-translations to work the way the manual says it does.
Correct the declared return type of parse-namestring; the second return value may be nil not just an index.
o Correct some of the return types of parse-namestring to be consistent with the declared return type; some paths were returning only a single value. o Correct the declared result type of substitute-into to declare both return values.
Fix for %print-pathname to respect *print-escape*, from Sam Steingold. Likewise in %print-logical-pathname.
Fix for the handling of the device field in wild-pathname-p, from Christophe Rhodes.
Rework translate-directories for the case in which either the source or from directories are Nil. Fix for the case when the source is Nil, plus better handling of :wild and :wild-inferior within the to directory when the from directory is Nil.
Patches from Raymond Toy: 1. Fix up a comment bug for translate-directories 2. Give a better implementation of enough-namestring
Allow "**;*.*.*" to work in logical pathname translations. From Raymond Toy.
Rework errors into simple-file-error's. Based on patches from Peter Van Eynde.
Fix for the collection of :wild and pattern pathname components in translate-directories; from Markus Krummenacker.
Allow a pathname device to be a string; from Raymond Toy.
Fix for parse-namestring when passed a pathname; comparison of a host string to a host structure was always failing, now compares the host structures.
PARSE-LOGICAL-PATHNAME was returning a directory component of (:absolute) on something like "HOST:FILE" which caused problems with MERGE-DIRECTORIES. COMPLETE-FILE on LPs now works.
In maybe-diddle-case, when working on a PATTERN object, the original object was returned wrapped up as the first piece of a new PATTERN. This was traced to a typo where 'thing' (the original pattern) was passed to 'function' instead of the lambda arg 'piece'. Now, (directory "HOST:DIR;NAME*") does something reasonable.
initial post 1.3.7 merge
Werkowskis source kit 1.03.7
Fix parse-namestring of pathnames.
Fix headed boilerplate.
Update to new DEFINE-CONDITION syntax.
Fixed namestring of a stream to not flame out if there is no pathname for that stream.
In %ENUMERATE-SEARCH-LIST, only translate-logical-pathname on logical pathnames. In TRANSLATE-LOGICAL-PATHNAME, handle streams explicitly.
Fixed things now that FILE-NAME returns a pathname, not a namestring. Removed value-cell hack from SEARCH-LIST structure.
Make %ENUMERATE-SEARCH-LIST call TRANSLATE-LOGICAL-PATHNAME.
Freeze-type logical-pathname and logical-host.
Reverted make-pathname diddle-args case computation, cause it was right before.
Improved integration of logical pathname support with the rest of pathnames. Generalized TRANSLATE-PATHNAME to work on logical pathnames and :WILD-INFERIORS, and used this to implement TRANSLATE-LOGICAL-PATHNAME. Generalized PARSE-NAMESTRING to be able to parse logical namestrings, and use it to implement LOGICAL-PATHNAME. Fixed some type declarations that didn't allow :UNSPECIFIC or :WILD when they should. Fixed PATH-DESIGNATOR type to allow complex strings. Added utilities for canonicalizing logical hosts. Fixed pattern matching code to consistently accept :WILD and :WILD-INFERIORS. Changed namestring-parse-error to inherit from PARSE-ERROR, and made logical namestring parsing use it so that :JUNK-ALLOWED T works. Mostly rewrote logical namestring parsing. Fixed some erroneous simple-string assumptions. Changed namestring parsing in general to give preference to parsing as a physical pathname with a search-list, since we can (and must be able to) parse undefined search-lists, but we can't parse logical pathnames with undefined hosts. Reinterpreted the spec for logical pathname parsing somewhat more liberally. Changed WILD-PATHNAME-P to recognize :WILD and :WILD-INFERIORS. Fixed argument order to COMPONENTS-MATCH in PATHNAME-MATCH-P. Generalized xxxCOMPONENTxxx matching operations to handle integer and keyword versions, replacing inline special-casing of versions. Signal an error if the TO pattern has more wildcards than the FROM pattern. Fixed out-of-bounds errors in MAYBE-MAKE-LOGICAL-PATTERN. Deleted SAVE-LOGICAL-PATHNAME-TRANSLATIONS. Simplified search-list hackery in LOAD-LOGICAL-PATHNAME-TRANSLATIONS. Moved COMPILE-FILE-PATHNAME to compiler/main.
Logical pathnames for UNIX filesystems have been added. Note that logical- namestrings must consist of capital letters, numbers and hyphens, according to the ANSI specification, and not including lower case letters as listed in some of the examples in the specification.
Change to the function components-match to permit versions to match on :wild and :newest for UNIX filesystems (the only kind currently supported by CMUCL.
*** empty log message ***
Cleanups of logical pathname code which include comments and CMUCL formatting. The search mechanism for loading pathname translations uses the CMUCL extension of search-lists. The user can add to the library: search-list using setf. The file for translations should have the name defined by the hostname (a string) and with type component "translations".
Logical pathname functions added to bring CMUCL up to the ANSI X3J13/92-102 standard.
Merged Mile's fix to MAKE-PATHNAME so that it knows the difference between an arg being NIL and being unsupplied.
Changed uses of DEFINE-CONDITION to use the new syntax.
Added SEARCH-LIST-DEFINED-P, a predicate that tells if the search list is currently defined.
Fixed the ``mumble doesn't start with a search-list'' error message.
Allow search-lists to expand into relative pathnames by quietly merging them with ``default:''.
Fixed MERGE-DIRECTORIES to correctly handle the case when the second directory spec is NIL. In this case it should just use the first directory verbatim.
Changed WITH-PATHNAME to call PARSE-NAMESTRING on the result of FILE-NAME.
As a temporary hack until we fix purify to know what structures are R/O, added a VALUE-CELL in the SEARCH-LIST-EXPANSIONS slot.
Allow NIL components to be matched by :multi-char-wild.
Fixed merge-pathnames to actually merge in the defaults.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|