Commit 67d78d68 authored by Francois-Rene Rideau's avatar Francois-Rene Rideau

Merge branch 'master' into minimakefile

parents e7c68b7f b4ea8b42
......@@ -417,7 +417,7 @@ It looks like SWANK can be fixed soon, though, so we'll see.
* Faster source-registry:
In addition and/or as a substitute to the .cl-source-registry.cache,
** In addition and/or as a substitute to the .cl-source-registry.cache,
that is meant to be semi-automatically managed, there could be
a cl-source-registry.conf meant for manual management:
when recursing into a source-registry :tree, if such file is present
......@@ -431,3 +431,8 @@ It looks like SWANK can be fixed soon, though, so we'll see.
both a way of speeding up the build of their software and of
avoiding pollution by test systems that should remain private,
and that they can otherwise explicitly enable when they need them.
** The .cl-source-registry.cache should avoid recursing into
directories that themselves already have a cache or a .conf file,
but instead store the name of these directories,
so these files will be read recursively by asdf, allowing for
semi-modular updates.
......@@ -75,7 +75,7 @@
:licence "MIT"
:description "Another System Definition Facility"
:long-description "ASDF builds Common Lisp software organized into defined systems."
:version "3.1.4.25" ;; to be automatically updated by make bump-version
:version "3.1.5" ;; to be automatically updated by make bump-version
:depends-on ()
#+asdf3 :encoding #+asdf3 :utf-8
:class #+asdf3.1 package-inferred-system #-asdf3.1 system
......
cl-asdf (2:3.1.5-1) unstable; urgency=low
Bug fix and portability release:
* Add immutable-system support (thanks to Dave Cooper).
* Add immutable-system support (thanks to Dave Cooper). This support
should be regarded as preliminary and subject to change.
* Substantially improved operation on Windows: many bugfixes and improve-
ments to UIOP functions that interface with the operating system.
* Add CLASP support.
* Many miscellaneous fixes for issues on individual implementations,
notably UIOP incompatibility introduced by SBCL 1.2.12, support for
......@@ -17,7 +20,7 @@ cl-asdf (2:3.1.5-1) unstable; urgency=low
prefixes.
* Documentation improvements.
-- François-René Rideau <fare@tunes.org> Tue, 09 Jun 2015 12:09:50 -0400
-- François-René Rideau <fare@tunes.org> Sat, 18 Jul 2015 16:51:50 -0500
cl-asdf (2:3.1.4-1) unstable; urgency=low
......
......@@ -18,7 +18,7 @@ clean:
dh_testdir
dh_testroot
rm -f build-stamp
make -C doc veryclean
make -C doc clean
dh_clean
# Build architecture-dependent files here.
......
This diff is collapsed.
FIXME: Attach the changelog!!!!
Today I have released ASDF 3.1.5. As usual many thanks are due to Faré for many bug fixes, clean ups, explanations, etc. Thanks are also owed to Dave Cooper, for testing on the Windows platform, and identifying many uncaught bugs.
We would like to announce the release of ASDF 3.1.5, much later than expected, but also much more solid. As usual many thanks are due to Faré for many bug fixes, clean ups, explanations, etc. Thanks are also owed to Dave Cooper, for testing on the Windows platform, enabling the maintainers to test on Windows, and identifying many uncaught bugs. Thanks to Anton Vodonosov for testing the release candidate against Quicklisp on cl-test-grid. Finally, thanks to all who found bugs, provided patches, and used prerelease candidates.
Although ASDF 3.1.5 is primarily a bug fix release, it does add *experimental* support for immutable systems. Immutable systems will be loaded once, and then never updated, even if their definition changes. Immutable systems help support application delivery for Common Lisp, allowing programmers to bundle a version of a required library that will not be subject to change based on the environment into which it is installed. Thanks to Dave Cooper for the idea.
One thing that we have cleaned up that might affect some users is the treatment of the XDG directories. If you are using Windows and taking advantage of the default search path for the configuration and/or source-registry, then you will find that this path has just changed in incompatible ways. If you have configuration files, you may have to move or copy them from $LOCALAPPDATA/common-lisp/config/ to $LOCALAPPDATA/config/common-lisp/. Meanwhile your cache will be moved from $LOCALAPPDATA/common-lisp/cache/ to $LOCALAPPDATA/cache/common-lisp/. However, you should not have to move your source code, still in subdirectories of $LOCALAPPDATA/common-lisp/source/
We urge implementations that are currently bundling previous versions of ASDF to adopt 3.1.5. 3.1.5 does not introduce any API incompatibilities that we know of, and contains significant bug fixes on multiple platforms and implementations. See the Changelog (attached) for a list of the major bug fixes. Details on minor bugfixes can be found at launchpad.net/asdf
......
......@@ -18,7 +18,8 @@
#:find-system-if-being-defined
#:contrib-sysdef-search #:sysdef-find-asdf ;; backward compatibility symbols, functions removed
#:sysdef-preloaded-system-search #:register-preloaded-system #:*preloaded-systems*
#:*defined-systems* #:clear-defined-systems #:*immutable-systems* #:register-immutable-system
#:sysdef-immutable-system-search #:register-immutable-system #:*immutable-systems*
#:*defined-systems* #:clear-defined-systems
;; defined in source-registry, but specially mentioned here:
#:initialize-source-registry #:sysdef-source-registry-search))
(in-package :asdf/find-system)
......
;;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp ; buffer-read-only: t; -*-
;;; This is ASDF 3.1.4.25: Another System Definition Facility.
;;; This is ASDF 3.1.5: Another System Definition Facility.
;;;
;;; Feedback, bug reports, and patches are all welcome:
;;; please mail to <asdf-devel@common-lisp.net>.
......
......@@ -58,7 +58,8 @@
#:static-file #:doc-file #:html-file
#:file-type #:source-file-type
#:register-preloaded-system #:register-immutable-system
#:register-preloaded-system #:sysdef-preloaded-system-search
#:register-immutable-system #:sysdef-immutable-system-search
#:package-inferred-system #:register-system-packages
#:package-system ;; backward-compatibility during migration, to be removed in a further release.
......@@ -104,7 +105,7 @@
#:*compile-file-warnings-behaviour*
#:*compile-file-failure-behaviour*
#:*resolve-symlinks*
#:*load-system-operation* #:*immutable-systems*
#:*load-system-operation*
#:*asdf-verbose* ;; unused. For backward-compatibility only.
#:*verbose-out*
......
#!/usr/bin/cl -sp asdf -E main
#|
Usage:
~/common-lisp/asdf/tools/cl-source-registry-cache.lisp ~/common-lisp
will compute a cache of the .asd files under ~/common-lisp//
vastly speeding the future initialization of the source-registry.
To update the cache, run the same command again.
To invalidate the cache, remove the cache file in the same directory:
rm -f ~/common-lisp/.cl-source-registry.cache
|#
(in-package :asdf)
(uiop-debug)
(defun collect-asd (table asd)
(multiple-value-bind (previous foundp)
(gethash (pathname-name asd) table)
......
......@@ -31,9 +31,9 @@ as either a recognizing function or a sequence of characters."
(cond
((and good-chars bad-chars)
(error "only one of good-chars and bad-chars can be provided"))
((typep good-chars '(or function symbol))
((typep good-chars 'function)
(complement good-chars))
((typep bad-chars '(or function symbol))
((typep bad-chars 'function)
bad-chars)
((and good-chars (typep good-chars 'sequence))
#'(lambda (c) (not (find c good-chars))))
......@@ -83,7 +83,7 @@ for use within a MS Windows command-line, outputing to S."
(defun escape-windows-token (token &optional s)
"Escape a string TOKEN within double-quotes if needed
for use within a MS Windows command-line, outputing to S."
(escape-token token :stream s :good-chars 'easy-windows-character-p :quote nil
(escape-token token :stream s :good-chars #'easy-windows-character-p :quote nil
:escaper 'escape-windows-token-within-double-quotes))
(defun escape-sh-token-within-double-quotes (x s &key (quote t))
......@@ -103,7 +103,7 @@ omit the outer double-quotes if key argument :QUOTE is NIL"
(defun escape-sh-token (token &optional s)
"Escape a string TOKEN within double-quotes if needed
for use within a POSIX Bourne shell, outputing to S."
(escape-token token :stream s :quote #\" :good-chars 'easy-sh-character-p
(escape-token token :stream s :quote #\" :good-chars #'easy-sh-character-p
:escaper 'escape-sh-token-within-double-quotes))
(defun escape-shell-token (token &optional s)
......
......@@ -67,7 +67,7 @@ previously-loaded version of ASDF."
;; "3.4.5.67" would be a development version in the official branch, on top of 3.4.5.
;; "3.4.5.0.8" would be your eighth local modification of official release 3.4.5
;; "3.4.5.67.8" would be your eighth local modification of development version 3.4.5.67
(asdf-version "3.1.4.25")
(asdf-version "3.1.5")
(existing-version (asdf-version)))
(setf *asdf-version* asdf-version)
(when (and existing-version (not (equal asdf-version existing-version)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment