Commit 7896e94f authored by Francois-Rene Rideau's avatar Francois-Rene Rideau

2.31.10: Fix some exports. Fix some tests. Documentation tweaks.

parent ff000bf6
* make sure asdf-driver works with asdf 2.26. * have some automated test to make sure asdf-driver works with asdf 2.26
* have a mode to explain WHY a module needs to be recompiled. * have a mode to explain WHY a componnet needs to be recompiled.
* have a better defsystem form verifier - see lp#1007335 * have a better defsystem form verifier - see lp#1007335
* have a function verify-strict-asd that can verify a asd is pure lp#541562 * have a function verify-strict-asd that can verify a asd is pure lp#541562
Then if it passes, use load-strict-asd. Then if it passes, use load-strict-asd.
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
:licence "MIT" :licence "MIT"
:description "Another System Definition Facility" :description "Another System Definition Facility"
:long-description "ASDF builds Common Lisp software organized into defined systems." :long-description "ASDF builds Common Lisp software organized into defined systems."
:version "2.31.9" ;; to be automatically updated by make bump-version :version "2.31.10" ;; to be automatically updated by make bump-version
:depends-on () :depends-on ()
#+asdf3 :encoding #+asdf3 :utf-8 #+asdf3 :encoding #+asdf3 :utf-8
;; For most purposes, asdf itself specially counts as a builtin system. ;; For most purposes, asdf itself specially counts as a builtin system.
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
#:file-component #:file-component
#:source-file #:c-source-file #:java-source-file #:source-file #:c-source-file #:java-source-file
#:static-file #:doc-file #:html-file #:static-file #:doc-file #:html-file
#:source-file-type ;; backward-compatibility #:file-type
#:source-file-type #:source-file-explicit-type ;; backward-compatibility
#:component-in-order-to #:component-sibling-dependencies #:component-in-order-to #:component-sibling-dependencies
#:component-if-feature #:around-compile-hook #:component-if-feature #:around-compile-hook
#:component-description #:component-long-description #:component-description #:component-long-description
...@@ -143,7 +144,8 @@ another pathname in a degenerate way.")) ...@@ -143,7 +144,8 @@ another pathname in a degenerate way."))
(defclass file-component (child-component) (defclass file-component (child-component)
((type :accessor file-type :initarg :type))) ; no default ((type :accessor file-type :initarg :type))) ; no default
(defclass source-file (file-component) (defclass source-file (file-component)
((type :initform nil))) ;; NB: many systems have come to rely on this default. ((type :accessor source-file-explicit-type ;; backward-compatibility
:initform nil))) ;; NB: many systems have come to rely on this default.
(defclass c-source-file (source-file) (defclass c-source-file (source-file)
((type :initform "c"))) ((type :initform "c")))
(defclass java-source-file (source-file) (defclass java-source-file (source-file)
......
...@@ -52,7 +52,10 @@ ...@@ -52,7 +52,10 @@
<p>ASDF stands for <em>A</em>nother <em>S</em>ystem <em>D</em>efinition <em>F</em>acility, <p>ASDF stands for <em>A</em>nother <em>S</em>ystem <em>D</em>efinition <em>F</em>acility,
in the continuity of the Lisp <tt>DEFSYSTEM</tt> of yore. in the continuity of the Lisp <tt>DEFSYSTEM</tt> of yore.
</p> </p>
<p><tt>asdf/driver</tt> is a Common Lisp portability library and runtime support system <p><tt>asdf/driver</tt>,
also known as <tt>uiop</tt>,
the Utilities for Implementation- and OS- Portability,
is a Common Lisp portability library and runtime support system
that helps you write Common Lisp software in a portable way. that helps you write Common Lisp software in a portable way.
</p> </p>
<p>In addition to many general-purpose Lisp utilities, <p>In addition to many general-purpose Lisp utilities,
...@@ -260,7 +263,7 @@ Peter Graves <gnooth@gmail.com> ...@@ -260,7 +263,7 @@ Peter Graves <gnooth@gmail.com>
<tt>common-lisp-controller</tt> and <tt>cl-launch</tt> used to provide similar mechanisms, <tt>common-lisp-controller</tt> and <tt>cl-launch</tt> used to provide similar mechanisms,
and have also been superseded by <tt>asdf-output-translations</tt>. and have also been superseded by <tt>asdf-output-translations</tt>.
</li> </li>
<li><tt>asdf-bundle</tt>, née <tt>asdf-ecl</tt>, <li><tt>asdf-bundle</tt>, n&eacute;e <tt>asdf-ecl</tt>,
allowed you to create a single-file bundle out of a system, allowed you to create a single-file bundle out of a system,
for easier delivery. for easier delivery.
It is now a builtin part of <tt>asdf/defsystem</tt>, It is now a builtin part of <tt>asdf/defsystem</tt>,
...@@ -268,12 +271,14 @@ Peter Graves <gnooth@gmail.com> ...@@ -268,12 +271,14 @@ Peter Graves <gnooth@gmail.com>
or (on supported implementations), a standalone executable program. or (on supported implementations), a standalone executable program.
</li> </li>
<li><tt>asdf-utils</tt> was a collection of utilities that originated with ASDF. <li><tt>asdf-utils</tt> was a collection of utilities that originated with ASDF.
It is now superseded by <tt>asdf/driver</tt>, which is part of ASDF, It is now superseded by <tt>asdf/driver</tt>, aka <tt>uiop</tt>,
and exports its functionality in its own package <tt>asdf/driver</tt>. which is part of ASDF,
and exports its functionality
in its own package <tt>uiop</tt>.
</li> </li>
<li><tt>asdf-condition-control</tt>, initially part of XCVB's <tt>xcvb-driver</tt>, <li><tt>asdf-condition-control</tt>, initially part of XCVB's <tt>xcvb-driver</tt>,
allowed you to muffle uninteresting conditions during compilation. allowed you to muffle uninteresting conditions during compilation.
Is now superseded by equivalent functionality in <tt>asdf/driver</tt>. Is now superseded by equivalent functionality in <tt>uiop</tt>.
</li> </li>
</ul> </ul>
...@@ -374,7 +379,7 @@ Peter Graves <gnooth@gmail.com> ...@@ -374,7 +379,7 @@ Peter Graves <gnooth@gmail.com>
<a class="nav" href="http://common-lisp.net/" title="Common-Lisp.net"> <img src="http://common-lisp.net/project/cl-containers/shared/buttons/lisp-lizard.png" width="80" height="15" title="Common-Lisp.net" alt="Common-Lisp.net button" /></a> <a class="nav" href="http://common-lisp.net/" title="Common-Lisp.net"> <img src="http://common-lisp.net/project/cl-containers/shared/buttons/lisp-lizard.png" width="80" height="15" title="Common-Lisp.net" alt="Common-Lisp.net button" /></a>
<p><span class="copyright"Copyright &copy; 2001-2013 Daniel Barlow and contributors</span></p> <p><span class="copyright"Copyright &copy; 2001-2013 Daniel Barlow and contributors</span></p>
<p>ASDF has an <a href="http://www.opensource.org/licenses/mit-license.php">MIT style</a> license</p> <p>ASDF has an <a href="http://www.opensource.org/licenses/mit-license.php">MIT style</a> license</p>
<div id="timestamp">Last updated 2013-03-02</div> <div id="timestamp">Last updated 2013-03-03</div>
</div> </div>
</body> </body>
</html> </html>
;;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp -*- ;;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp -*-
;;; This is ASDF 2.31.9: Another System Definition Facility. ;;; This is ASDF 2.31.10: Another System Definition Facility.
;;; ;;;
;;; Feedback, bug reports, and patches are all welcome: ;;; Feedback, bug reports, and patches are all welcome:
;;; please mail to <asdf-devel@common-lisp.net>. ;;; please mail to <asdf-devel@common-lisp.net>.
......
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
#:file-component #:source-file #:c-source-file #:java-source-file #:file-component #:source-file #:c-source-file #:java-source-file
#:cl-source-file #:cl-source-file.cl #:cl-source-file.lsp #:cl-source-file #:cl-source-file.cl #:cl-source-file.lsp
#:static-file #:doc-file #:html-file #:static-file #:doc-file #:html-file
#:file-type
#:source-file-type #:source-file-type
#:component-children ; component accessors #:component-children ; component accessors
......
...@@ -6,5 +6,6 @@ ...@@ -6,5 +6,6 @@
(with-test () (with-test ()
(register-directory *asdf-directory*) ;; we need asdf-driver, and ECL can dump. (register-directory *asdf-directory*) ;; we need asdf-driver, and ECL can dump.
(register-directory (subpathname *asdf-directory* "uiop/"))
(operate 'load-fasl-op :hello-world-example) (operate 'load-fasl-op :hello-world-example)
(operate 'program-op :hello-world-example)) (operate 'program-op :hello-world-example))
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
;; Try to load asdf-encodings ;; Try to load asdf-encodings
(setf *central-registry* (setf *central-registry*
(list *asdf-directory* ;; be sure that *OUR* asdf is first of any possible ASDF (list *asdf-directory* ;; be sure that *OUR* asdf is first of any possible ASDF
(subpathname *asdf-directory* "uiop/") ;; be sure that *OUR* asdf is first of any possible ASDF
;; try finding asdf-encodings it right next to asdf. ;; try finding asdf-encodings it right next to asdf.
(subpathname *asdf-directory* "../asdf-encodings/"))) (subpathname *asdf-directory* "../asdf-encodings/")))
(unless (find-system :asdf-encodings nil) (unless (find-system :asdf-encodings nil)
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
;; Try to load lisp-invocation from xcvb ;; Try to load lisp-invocation from xcvb
(setf *central-registry* (setf *central-registry*
(list *asdf-directory* ;; be sure that *OUR* asdf is first of any possible ASDF (list *asdf-directory* ;; be sure that *OUR* asdf is first of any possible ASDF
(subpathname *asdf-directory* "uiop/")
;; try finding xcvb's lisp-invocation right next to asdf. ;; try finding xcvb's lisp-invocation right next to asdf.
(subpathname *asdf-directory* "../xcvb/"))) (subpathname *asdf-directory* "../xcvb/")))
(unless (find-system :lisp-invocation nil) (unless (find-system :lisp-invocation nil)
......
...@@ -5,5 +5,8 @@ ...@@ -5,5 +5,8 @@
(load-system :asdf) (load-system :asdf)
(initialize-source-registry (initialize-source-registry
`(:source-registry (:directory ,*asdf-directory*) :ignore-inherited-configuration)) `(:source-registry
(:directory ,*asdf-directory*)
(:directory ,(subpathname *asdf-directory* "uiop/"))
:ignore-inherited-configuration))
(load-system :asdf) (load-system :asdf)
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
(:use :common-lisp) (:use :common-lisp)
(:export (:export
#:find-package* #:find-symbol* #:symbol-call #:find-package* #:find-symbol* #:symbol-call
#:intern* #:export* #:import* #:shadowing-export* #:shadow* #:make-symbol* #:unintern* #:intern* #:export* #:import* #:shadowing-import* #:shadow* #:make-symbol* #:unintern*
#:symbol-shadowing-p #:home-package-p #:symbol-shadowing-p #:home-package-p
#:symbol-package-name #:standard-common-lisp-symbol-p #:symbol-package-name #:standard-common-lisp-symbol-p
#:reify-package #:unreify-package #:reify-symbol #:unreify-symbol #:reify-package #:unreify-package #:reify-symbol #:unreify-symbol
......
...@@ -52,7 +52,7 @@ You can compare this string with e.g.: (ASDF:VERSION-SATISFIES (ASDF:ASDF-VERSIO ...@@ -52,7 +52,7 @@ You can compare this string with e.g.: (ASDF:VERSION-SATISFIES (ASDF:ASDF-VERSIO
;; "3.4.5.67" would be a development version in the official upstream of 3.4.5. ;; "3.4.5.67" would be a development version in the official upstream of 3.4.5.
;; "3.4.5.0.8" would be your eighth local modification of official release 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 ;; "3.4.5.67.8" would be your eighth local modification of development version 3.4.5.67
(asdf-version "2.31.9") (asdf-version "2.31.10")
(existing-version (asdf-version))) (existing-version (asdf-version)))
(setf *asdf-version* asdf-version) (setf *asdf-version* asdf-version)
(when (and existing-version (not (equal asdf-version existing-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