1. 31 Oct, 2016 1 commit
  2. 25 Sep, 2016 3 commits
    • Francois-Rene Rideau's avatar
      Have system-source-file accept NIL as argument. · 7b05f832
      Francois-Rene Rideau authored
      Simplify find-system and a test accordingly.
      
      Also, group map-systems with other related functions.
      7b05f832
    • Francois-Rene Rideau's avatar
      Fix the upgrade hooks · 9b431ca3
      Francois-Rene Rideau authored
      The order in which the upgrade fixups were called wasn't very robust.
      We need to first get a list of systems being defined, then
      clear defined systems (but not asdf, and *neither uiop* that asdf depends on),
      then upgrade the configuration, and *finally* reload any of the systems being
      defined (including their defsystem-depends-on dependencies!),
      which means this all has to be coordinated within the same function.
      9b431ca3
    • Francois-Rene Rideau's avatar
      Remove *post-upgrade-restart-hook* · 3dd1f67d
      Francois-Rene Rideau authored
      p-u-r-h was never called! Two functions were registered.
      Register them with *post-upgrade-cleanup-hook* instead.
      The hook was introduced with pre-release 2.27,
      possibly with the intent to be called by the main operate :around method
      when an asdf build is restarted in the middle. But that never happened.
      3dd1f67d
  3. 22 Sep, 2016 1 commit
  4. 20 Sep, 2016 1 commit
  5. 17 Sep, 2016 1 commit
    • Francois-Rene Rideau's avatar
      Fix declaim ftype for mark-component-preloaded · 96ea9270
      Francois-Rene Rideau authored
      SBCL cares about type declarations, and the declared ftype became a lie
      after allowing arbitrary component designators rather than only components
      in calls to mark-component-preloaded, which *sometimes* caused errors.
      96ea9270
  6. 15 Sep, 2016 2 commits
    • Robert Goldman's avatar
      Minor docstring typos. · 4d4b5222
      Robert Goldman authored
      4d4b5222
    • Francois-Rene Rideau's avatar
      Move auto-version from immutable to preloaded systems · 4344de27
      Francois-Rene Rideau authored
      Daniel Kochmanski convinced me that immutable systems are "just" blessed
      preloaded systems; the automatic version feature of immutable systems can thus
      be generalized to all preloaded systems.
      
      Update several docstrings.
      
      Also, document that direct access to *immutable-systems* is not supported.
      Contact the maintainers if you need an interface to that.
      4344de27
  7. 14 Sep, 2016 1 commit
    • Francois-Rene Rideau's avatar
      Eagerly register preloaded systems · d33ab0bc
      Francois-Rene Rideau authored
      Change clear-system accordingly, and simplify how we handle immutable systems.
      Add or improve documentation for several of the functions involved.
      
      Also stop advertising asdf::*immutable-systems*;
      instead promote asdf:register-immutable-system.
      
      This is a preliminary to fixing component-loaded-p for preloaded systems.
      d33ab0bc
  8. 13 Sep, 2016 1 commit
    • Francois-Rene Rideau's avatar
      Refactoring: introduce the function REGISTERED-SYSTEM · 7b7b9f0c
      Francois-Rene Rideau authored
      Introduce the function REGISTERED-SYSTEM to abstract over finding a registered
      system by name, without having to take the CDR of the pair with timestamp.
      
      Also, add or improve docstrings for several functions.
      
      This refactoring should not modify any semantics,
      except for introducing this new function.
      7b7b9f0c
  9. 12 Sep, 2016 1 commit
  10. 28 Nov, 2015 1 commit
  11. 17 Nov, 2015 1 commit
    • Francois-Rene Rideau's avatar
      Add tests for defsystem-depends-on · 5a4a89f5
      Francois-Rene Rideau authored
      Attila offered these tests, that currently fail at HEAD,
      for which I have a patch (to be included in next commit).
      They check that an error when loading defsystem-depends-on dependencies
      doesn't cause an incomplete system to be registered but never properly
      parsed, that thereafter pollute the build.
      
      A real solution would imply to fix lp#1500578 though:
         ASDF should handle change in defsystem-depends-on dependencies
         https://bugs.launchpad.net/asdf/+bug/1500578
      5a4a89f5
  12. 10 Jul, 2015 1 commit
  13. 29 Jun, 2015 1 commit
    • Dave Cooper's avatar
      Add and export a register-immutable-system function. · 1b38225b
      Dave Cooper authored
      Make *immutable-systems* also respect preloaded-systems.
      Don't clear immutable-systems as part of clear-system and clear-defined-system.
      Export register-preloaded-system.
      Add a test, ensure bugs are fixed.
      
      This code was written by Dave Cooper then tweaked by Francois-Rene Rideau.
      1b38225b
  14. 27 Apr, 2015 1 commit
  15. 11 Jul, 2014 2 commits
  16. 10 Jul, 2014 3 commits
  17. 09 Jul, 2014 1 commit
  18. 05 Jul, 2014 1 commit
  19. 01 Jul, 2014 1 commit
    • Robert P. Goldman's avatar
      Updated manual. · 567f591a
      Robert P. Goldman authored
      Documented LOCATE-SYSTEM per docstring (which was also copy-edited).
      Corrected description of package used when loading .asd files.
      567f591a
  20. 21 Mar, 2014 1 commit
  21. 20 Mar, 2014 1 commit
    • Francois-Rene Rideau's avatar
      Fold *systems-being-defined* into the *asdf-cache*. · 84e17ea0
      Francois-Rene Rideau authored
      Add regression test for no infinite loop
      when processing asd files that mutually define each other's systems.
      (Prompted by Robert Strandh inquiring about the bug fixed in 2.015.[23]
      after my mentioning an infinite loop in my ASDF3 article.)
      Checked that removing the set-asdf-cache-entry in parse-defsystem triggers the bug.
      84e17ea0
  22. 05 Mar, 2014 1 commit
  23. 28 Feb, 2014 2 commits
  24. 26 Feb, 2014 2 commits
  25. 27 Jan, 2014 2 commits
    • Francois-Rene Rideau's avatar
      More cleanups: · c7d1ce63
      Francois-Rene Rideau authored
      * Add some comments on TRAVERSE-ACTION; expand those on SOURCE-FILE-TYPE.
      * Remove a few unnecessary input-files or output-files methods
      * Remove (declare (ignorable ...)) for specialized arguments. Specialize a few arguments to T.
      * Remove most when-upgrading methods, since we drop data on old incompatible ASDFs.
      c7d1ce63
    • Francois-Rene Rideau's avatar
      Cleanups done or initiated during the ASDF Walkthrough. · f71a8b99
      Francois-Rene Rideau authored
      * load-op needn't be sideway, its sideway dependencies are already provided by prepare-op
      * compile-op should use compile-op (default) not load-op as its downward-operation.
      * no need for an input-files method for prepare-op, nil is the global default.
      * Some documentation for compute-action-stamp.
      * Don't skip upgrade from 1.x on Allegro anymore, since we now correctly punt.
      * Instead of asdf/package:define-package, use the canonical name uiop/package:define-package
      f71a8b99
  26. 14 Jan, 2014 1 commit
  27. 20 Dec, 2013 1 commit
  28. 20 Nov, 2013 1 commit
  29. 15 Nov, 2013 1 commit
  30. 24 Oct, 2013 1 commit
  31. 23 Oct, 2013 1 commit
    • Francois-Rene Rideau's avatar
      package-system: support for quick-build style defpackage-based dependencies. · c609093c
      Francois-Rene Rideau authored
      This is quick-build compatible and fixes lp#1230368.
      
      To use package-system, just have foo.asd containing
      	(defsystem foo :class package-system)
      at the top of your quick-build hierarchy $FOODIR
      for packages whose name start with "FOO/"
      and ASDF will thereafter look for system "foo/bar/baz" in $FOODIR/bar/baz.lisp.
      
      Such a file will implicitly have its own system defined;
      its dependencies are computed by scanning the file,
      extracting its first defpackage form,
      and using the packages it uses or imports from
      as a as a specification of what systems it depends on.
      
      You can register packages as belonging to a system with
      	(asdf:register-system-packages my-system '(package1 package2))
      Using or importing from a package registered to a given system
      will generate a dependency to the registered system.
      Using or importing from a packages registered to the constant symbol T
      will not generate any dependency.
      Using or importing from a packages that is not registered will generate
      a dependency on a system the name of which is the package name downcased.
      All packages that exist at the time ASDF is initially loaded
      are registered to constant symbol T.
      
      Also, for convenience, introduce :use-reexport and :mix-reexport in
      uiop/package.lisp (of course, no one can rely on it until it's mainstream,
      but better late than never).
      
      To use this style in a way compatible with older versions of ASDF 3,
      you may use the asdf-package-system extension.
      See lisp-interface-library for a system that uses this style this way.
      
      Push :asdf-package-system to *features*
      c609093c