Skip to content
  1. Aug 24, 2021
  2. Jul 02, 2021
  3. Jun 03, 2021
  4. Aug 22, 2018
  5. Mar 01, 2018
  6. Feb 17, 2017
  7. Oct 26, 2016
  8. Oct 06, 2016
    • Elias Pipping's avatar
      Clean up use of *features* · 7e361dc2
      Elias Pipping authored and Robert Goldman's avatar Robert Goldman committed
      In particular:
       - clasp does not define :ecl
       - use :os-unix instead of :unix
       - use :os-windows instead of :mswindows or :windows
       - use :os-macosx instead of :darwin
       - use :lispworks7+ instead of :lispworks7
      7e361dc2
  9. Sep 25, 2016
    • Francois-Rene Rideau's avatar
      Add ftype declaration for ensure-pathname · 7edd7302
      Francois-Rene Rideau authored
      Declare a FTYPE for ENSURE-PATHNAME in uiop/pathname so that CCL won't complain
      about a forward reference during `make load l=ccl`.
      
      SBCL insists that a type (FUNCTION (T &REST T) T) doesn't cover a function
      with keyword arguments, and wants either an exhaustive list of keywords and types,
      or a &ALLOW-OTHER-KEYS. So just say FUNCTION, to make SBCL happy, too.
      7edd7302
  10. Sep 17, 2016
    • Francois-Rene Rideau's avatar
      UIOP: Fix long-standing pathname issue on CLISP · 32b945ab
      Francois-Rene Rideau authored
      Make ENSURE-DIRECTORY-PATHNAME and TRUENAME* more robust in case
      MAKE-PATHNAME throws an error when trying to synthetize a pathname
      with components that the implementation considers invalid.
      
      Uncomment the proper definition of LISP-IMPLEMENTATION-DIRECTORY on CLISP,
      which now doesn't break asdf-pathname-test anymore.
      32b945ab
  11. Aug 27, 2016
    • Francois-Rene Rideau's avatar
      Introduce *wild-file-for-directory* · 93998ef5
      Francois-Rene Rideau authored
      When using DIRECTORY, the proper pattern to use to get all files
      is #p"*" and not #p"*.*" on CLISP and GCL.
      This is the opposite of other CL implementations, that
      match everything with #p"*.*" and only files without extension with #p"*",
      which seems more in line with the CLHS, though counter-intuitive wrt to POSIX.
      
      Now the proper pattern to match all files with TRANSLATE-PATHNAME and
      with logical pathnames is still #p"*.*" or #p"*.*.*".
      
      Therefore, we introduce a new parameter *wild-file-for-directory*,
      as distinguished from *wild-file*, for notable use with DIRECTORY-FILES.
      93998ef5
  12. Nov 21, 2015
    • Francois-Rene Rideau's avatar
      Fix file-pathname-p to accept NIL pathname-name · b2b9020f
      Francois-Rene Rideau authored
      ccl, gcl, lispworks think that (probe-file #p".bashrc") has its
      pathname-name and pathname-type be NIL and "bashrc" whereas other
      implementations (at least abcl allegro clisp cmucl ecl mkcl sbcl xcl)
      think that it has them be ".bashrc" and NIL.
      
      cl -l $l -i "(let ((p (probe-file \".bashrc\"))) \
      (format t \"FOO $l: ~S ~S~%\" (pathname-name p) (pathname-type p)))" \
      |& grep FOO
      b2b9020f
  13. Nov 18, 2015
  14. Nov 17, 2015
    • Francois-Rene Rideau's avatar
      uiop: gut the last wrapping in make-pathname* · 08095fe1
      Francois-Rene Rideau authored
      I initially introduced all that make-pathname* madness on the road to
      ASDF 2.27, back when I was trying to normalize pathname components so
      I may have pathname-indexed entries in the asdf-cache (to minimize
      costly filesystem access from file-write-date and such, that could
      also introduce inconsistency in the build plan).
      
      Problem is, there was no good way (even non-portable) to normalize
      pathnames in a way that works when you use all of parse-namestring,
      make-pathname, directory, probe-file, translate-logical-pathname,
      merge-pathnames, etc. In the end (as late as b4dc78de, before 3.0.2.13!),
      I conceded defeat, for it was an uphill battle, and instead asdf-cache
      is indexing things using namestrings instead, which is more stable (see
      asdf/cache:normalize-namestring).
      
      The hacks in make-pathname* are therefore not needed anymore,
      and the function can be done away with.
      
      This commit guts the contents of make-pathname* and marks it deprecated.
      Just use make-pathname instead. It also updates uiop and asdf to not
      use make-pathname* but make-pathname. Some future commits may move it to
      backward-driver and eventually start issuing warnings of some sort when
      it's used.
      08095fe1
  15. Jul 09, 2015
  16. Jul 08, 2015
  17. May 08, 2015
  18. May 07, 2015
    • Francois-Rene Rideau's avatar
      Fix chdir, getcwd, run-program on ABCL, add tests. · 71c19754
      Francois-Rene Rideau authored
      The JVM doesn't give access to native chdir without some extensions that
      aren't available with ABCL. There's a user.dir system property whereby
      some Java programs kind of fake it, but ABCL doesn't play nice with it.
      Therefore, use *default-pathname-defaults* as our "current directory",
      and be sure to chdir to it before to run commands with run-program.
      Try to make the run-program chdir feature work on Windows.
      71c19754
  19. Apr 27, 2015
  20. Mar 29, 2015
    • Francois-Rene Rideau's avatar
      Introduce macro os-cond · 38eb8a7c
      Francois-Rene Rideau authored and Robert Goldman's avatar Robert Goldman committed
      On ABCL, os testing is at runtime.
      On all other implementations, it's at compile-time.
      SBCL can optimize some runtime tests and then complain about unreachable code.
      os-cond abstracts over OS conditionalization and makes everyone happy.
      Needed by an upcoming configuration change.
      
      Plus minor typographical fixes.
      38eb8a7c
  21. Mar 12, 2015
  22. Dec 01, 2014
  23. Sep 04, 2014
  24. Jul 02, 2014
  25. Mar 17, 2014
  26. Mar 01, 2014
  27. Feb 28, 2014
  28. Feb 21, 2014
  29. Feb 10, 2014
  30. Nov 25, 2013
  31. Nov 12, 2013
  32. Nov 06, 2013
  33. Oct 20, 2013
  34. Oct 18, 2013
  35. Oct 09, 2013
  36. Oct 07, 2013
  37. Jun 15, 2013