- Sep 04, 2016
-
-
Raymond Toy authored
-
Raymond Toy authored
When support for search-lists was added to PATHNAME-MATCH-P, support for logical pathnames was broken because PATHNAME-MATCH-P eventually calls TRANSLATE-LOGICAL-PATHNAME which calls PATHNAME-MATCH-P with logical pathnames. This caused infinite recursion. So add back the original PATHNAME-MATCH-P, but rename to %PATHNAME-MATCH-P and use that in TRANSLATE-LOGICAL-PATHNAME and friends. Add test for this case too.
-
- Dec 31, 2015
-
-
Raymond Toy authored
Allow search lists in pathname-match-p. For each arg, we enumerate the possible values of the search list and try to find a match between the path and the wild path. If there's a match, return true. Tests added for some cases of pathname-match-p with search lists. Fix issue #16.
-
- Nov 04, 2011
-
-
Raymond Toy authored
-
- Sep 25, 2011
-
-
Raymond Toy authored
entries with just the file path, removing the revision number, date, author and state. The actual information is now computed during compilation and stored in the fasl itself. (See ticket:48.)
-
- Apr 20, 2010
-
-
rtoy authored
may get confused with source locations if the reader macros are installed.
-
- Apr 19, 2010
-
-
rtoy authored
-
- Mar 19, 2010
-
-
rtoy authored
boot-2010-02-1 as the bootstrap file. You should probably also use the new -P option for build.sh to generate and update the po files while building.
-
- Jan 31, 2010
-
-
rtoy authored
absolute directory according to whether the TO directory is relative or absolute. Previously, the result was taken from the SOURCE directory, unless the TO directory was absolute. See cmucl-help, 2010/01/29.
-
- Aug 13, 2009
-
-
rtoy authored
(merge-pathnames (make-pathname :directory '(:relative :back :back :back :back :back :back)) (pathname "./tmp/junk/core")) First, MERGE-DIRECTORIES would back up too far and remove :ABSOLUTE. Don't do that. Second, after fixing MERGE-DIRECTORIES, the resulting pathname directory is '(:ABSOLUTE :BACK :BACK ...) which is illegal. Call MAKE-PATHNAME instead of %MAKE-PATHNAME-OBJECT so we check for illegal pathnames.
-
- Mar 16, 2009
-
-
rtoy authored
Fixed.
-
- Apr 04, 2008
-
-
rtoy authored
:TYPE "foo"). This is because PATHNAME-HOST was signaling an error for a host of NIL. We check for a host of NIL now, and bypass the call to PATHNAME-HOST. This allows the pathname printer to print #P(:HOST NIL :TYPE "foo"), as we want. (The error comes from host-pathname. NIL is a valid result of host-pathname, so we could change that, but I think that has other implications, one of which is (MAKE-PATHNAME :HOST NIL :NAME "foo" :TYPE "lisp") gets printed as #P"foo.lisp", which is wrong, since that pathname has a unix-host host.) o Fix merging of version in MAKE-PATHNAME. CLHS MERGE-PATHNAMES says if the pathname name is given, the version is not affected by the default pathname.
-
- Sep 10, 2007
-
-
rtoy authored
bug that #p"..." didn't have a namestring. Some further changes were also applied to fix the problem that #p"..a" had directory = (:relative), name = nil, and type "a". This is now directory = nil, name = ".", type ="a".
-
- Nov 08, 2005
-
-
rtoy authored
#P(<make-pathname args). So most pathnames can be printed readably, even if they have weird components. But we don't handle search-lists and patterns very well because we don't have readable syntax for those. code/sharpm.lisp: o Make the #P reader accept lists and apply make-pathname on them to create the pathname code/pathname.lisp: o If a pathname has no namestring, then try to print out the pathname object using #P(foo) syntax, if possible. If not possible, just print out the pathname unreadably, as we used to. o Put some conditional newlines when printing out unprintable pathnames so it wraps a bit better. (Needs work.)
-
- Oct 24, 2005
-
-
rtoy authored
LOGICAL-PATHNAME-NAMESTRING-P wasn't defined anywhere. o Add LOGICAL-PATHNAME-NAMESTRING-P and adjust LOGICAL-PATHNAME to use it. o Print out identity when printing logical-hosts. (This unrelated change makes it easier to see that the user's BOGUS logical host isn't the same as the BOGUS logical host used in *LOGICAL-PATHNAME-DEFAULTS*.
-
- Sep 30, 2005
-
-
rtoy authored
:newest are equivalent in CMUCL. src/pathname.lisp: o Make EQUAL compare pathnames such that version nil and :newest are equal. src/hash-new.lisp: o Adjust sxhash to treat :version nil and :newest the same. (Version :newest is hashed as if it were nil.)
-
- Sep 27, 2005
-
-
rtoy authored
o A declarations for the path designators that were missing in PATHNAME-MATCH-P and ENOUGH-NAMESTRING.
-
- Sep 25, 2005
-
-
rtoy authored
pathname, Adjust PARSE-NAMESTRING to accept pathname designators.
-
- Sep 24, 2005
-
-
rtoy authored
pathname object.
-
- Sep 21, 2005
-
-
rtoy authored
o Make the #p reader treat ".." as a directory, not a file. o Make the #p reader treat "<lots of dots>" be a file with that name instead of name with one fewer dot and type "". So #p"..." has :name "...", :type nil instead of :name "..", :type "". code/pathname.lisp: o Issue a warning if someone wants :name to be ".." or ".". We allow it, but doing so will break print/read consistency. (Should we make such pathnames not readably printable?)
-
- Sep 19, 2005
-
-
rtoy authored
objects. (Makes it easier to see what the logical host is when describe'ing a pathname.) o Fix some issues with UNPARSE-ENOUGH-NAMESTRING o It should return a string, not the pathname object. (Noted by Peter Graves on cmucl-imp, 2005-09-18.) o The directory paths must have something more in common than just :ABSOLUTE before we produce a relative directory path. Fixes the issue of always returning relative paths even if the directories don't match at all. o In ENOUGH-NAMESTRING, if the host for the pathname isn't the same as the host for the defaults, just return the pathname. I (rtoy) think this is right. It doesn't make sense to do anything if the hosts are different.
-
- Sep 16, 2005
-
-
rtoy authored
from-wildcard) is not true. (Noted by Peter Graves.)
-
- Sep 13, 2005
-
-
rtoy authored
*default-pathname-defaults* or *unix-host* to get the namestring. Previously, an error was generated. This change breaks print/read consistency for pathnames with NIL hosts.
-
- Sep 12, 2005
-
-
rtoy authored
which used to print as #p"", and with reading #p".", #p"./". code/filesys.lisp: o When parsing a unix namestring, delete any "." elements of the directory list. o If we've parsed a namestring such that the file name is ".", replace that with :name NIL and adjust the :directory component appropriately, because on Unix, "." can't be the name of a file. o Make :directory '(:relative) be printed as "./" code/pathname.lisp: o If the :directory argument to MAKE-PATHNAME contains strings with #\/, print a warning that this is not a valid element. o Remove all "."'s from a :relative directory component.
-
- May 11, 2005
-
-
rtoy authored
:absolute or :wild-inferiors followed by :up or :back. Not exactly sure what pathname to use here since we don't accept these pathnames. So we use the given pathname with the :up/:back deleted. And the format strings gives more info about what happened. Fixes ansi-test MAKE-PATHNAME-ERROR-RELATIVE-WILD-INFERIORS-UP and friends.
-
- Dec 23, 2004
-
-
rtoy authored
be used to fill the host slot of a pathname. Previously, if :HOST were NIL, the host slot would be filled from the defaults.
-
- Oct 22, 2004
-
-
rtoy authored
around for the case where an invalid character is passed to LOGICAL-PATHNAME, which is supposed to signal a type-error. o Make sure the result from LOGICAL-PATHNAME is really a logical-pathname. (May not be the best solution.) This fixes ansi-test logical-pathname.error.3 and logical-pathname.error.10.
-
- Oct 09, 2004
-
-
rtoy authored
file associated with a stream that has no file (like broadcast streams, etc.). Fixes ANSI test logical-pathname.error.4 and friends.
-
- Sep 09, 2004
-
-
rtoy authored
readably, instead of a generic error condition.
-
- Sep 07, 2004
-
-
rtoy authored
#.(logical-pathname "...").
-
- Sep 01, 2004
-
-
rtoy authored
22.1.3.11). Should logical pathnames also be printed this way instead of #.(logical-pathname namestring)?
-
- Jun 02, 2004
-
-
rtoy authored
prevented it. Fix the typos.
-
- May 18, 2004
-
-
rtoy authored
Upcase path components when given a logical pathname. Preserves print/read consistency and fixes (I think) an issue with ASDF and logical pathnames
-
- Apr 01, 2004
-
-
rtoy authored
it's a search-list, because it can't be, obviously.
-
- Jan 18, 2004
-
-
toy authored
19.2.2.4.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.
-
- Jun 10, 2003
-
-
toy authored
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.
-
- Jun 07, 2003
-
-
toy authored
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.
-
- Mar 21, 2003
-
-
pmai authored
-
- Nov 14, 2002
-
-
toy authored
:ABSOLUTE instead of NIL, as required by CLHS. (I think.)
-
- Oct 16, 2002
-
-
toy authored
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.
-