Skip to content
Snippets Groups Projects
  1. Jul 20, 2017
    • Francois-Rene Rideau's avatar
    • Francois-Rene Rideau's avatar
      Correctly track status of actions across phases · 1aec9162
      Francois-Rene Rideau authored
      Do not perform an action twice in a session. Introduce three status bits
      that every action has in a given session, in addition to the stamp:
      KEEP-P (from previous session), DONE-P (and up-to-date, in this image),
      NEED-P (needed in this image as part of this session).
      
      BACKWARD INCOMPATIBILITY: Invert the meaning of NIL and T for STAMP,
      so that NIL means out-of-date. This makes our code conceptually nicer,
      and no one in Quicklisp uses our stamps, anyway. Still, beware.
      1aec9162
    • Francois-Rene Rideau's avatar
      Separate forcing from plan · 897a142b
      Francois-Rene Rideau authored
      Move forcing into its own file.
      Include forcing, not plan, among session slots.
      Share a toplevel forcing for all performable plans.
      Have REQUIRE use load-system, not require-system,
      so as not to conflict with session forcing options.
      Don't call with-asdf-session outside the test scripts themselves.
      Cleanup a few scripts accordingly, and beyond.
      897a142b
    • Francois-Rene Rideau's avatar
      Refactor load-asd to perform a define-op · a3b85c8b
      Francois-Rene Rideau authored
      Split asdf/system-registry away from asdf/find-system: the former defines
      the internal *defined-systems* table and the search mechanism, whereas
      the latter keeps the find-system methods, but also defines a new
      define-op operation, on load-asd will call operate.
      
      Reorder dependencies accordingly.
      
      Have forcing come from the plan, so as to not force again actions from
      dependencies that were already performed in a subcall to operate.
      
      Accept asdf.asd from the same version, so asdf.asd doesn't get removed
      at the very next call to operate (which may now come implicitly
      at the least provocation).
      a3b85c8b
    • Francois-Rene Rideau's avatar
      Move node visit information from plan to session · a9c22442
      Francois-Rene Rideau authored
      Significantly refactor plan internals.
      
      Move visited-actions, visiting-action-set, visiting-action-list,
      total-action-count, planned-action-count, planned-output-action-count
      from plan to session (remove the plan- prefix to accessors).
      
      Move sysdef-error from component to session.
      
      Remove plan as a parameter of action-valid-p (made simple defun)
      and while-visiting-action (both moved to action), but also
      map-direct-dependencies, reduce-direct-dependencies, direct-dependencies.
      
      Rename *default-plan-class* to *plan-class*,
      plan-record-dependency to record-dependency,
      plan-action-status to action-status
      plan-forced (accessor) to forced, plan-forced-not (accessor) to forced-not.
      
      Introduce define-op, and visit a suitable action while loading an asd file.
      Accumulate inner operate dependencies in a slot definition-dependencies of
      a registered system or a newly registered undefined-system.
      
      Introduce reset-session or reset-session-visited in various tests,
      so operations aren't considered as layered atop each other, but
      as restarting from a fresh planning session.
      
      Use with-asdf-session in required-components, make-plan.
      
      Stop using node-for, use cons directly, now that operations are safe.
      
      Export format-action from action.
      
      Move some conditions and generic functions around and reorder dependencies.
      a9c22442
    • Francois-Rene Rideau's avatar
      Rename asdf/cache to asdf/session · 49dbfc0c
      Francois-Rene Rideau authored
      49dbfc0c
  2. Feb 17, 2017
  3. Nov 26, 2016
    • Francois-Rene Rideau's avatar
      Get fully rid of operation initargs · 6bb7aa6b
      Francois-Rene Rideau authored
      ASDF never supported operation initargs, and its component-operation-times
      always assumed that two operations of the same class were equivalent.
      Make it explicitly so and enforce it.
      
      Do NOT pass keys from operate to make-instance operation.
      Catch any attempt to create an operation with initargs and raise an error.
      Make sure no operation class has any slot that isn't :allocation :class
      (with some MOP magic we could do it in at class definition time,
      but that's not portable enough and we don't want to reimplement closer-mop
      or depend on it.)
      
      This is a preliminary to allowing CONS instead of NODE-FOR to identify actions,
      whether or not we want to allow some form of initargs in the future.
      
      Remove unused COMPILE-OP-FLAGS and COMPILE-OP-PROCLAMATIONS.
      Remove MAKE-BUILD that depended on the unsupported operation initargs.
      Use PROGRAM-OP on a PROGRAM-SYSTEM instead.
      Remove the confusingly misnamed and not-so-useful BUILD-SYSTEM function;
      it can be done better in userland.
      6bb7aa6b
  4. 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
  5. Sep 12, 2016
    • Francois-Rene Rideau's avatar
      Fix footer for MKCL and ECL. · 33a2560f
      Francois-Rene Rideau authored
      Make sure we use the correct package for *load-hooks* on MKCL,
      and on both implementations (and CLASP), use ensure-gethash correctly
      by wrapping the default in a constantly since it is a function.
      33a2560f
  6. Sep 11, 2016
  7. Sep 10, 2016
  8. Nov 21, 2015
  9. Jul 10, 2015
  10. Jul 08, 2015
  11. Jul 02, 2015
  12. Jun 30, 2015
  13. Jun 19, 2015
  14. Jun 09, 2015
  15. Jun 08, 2015
  16. May 08, 2015
  17. May 07, 2015
    • Francois-Rene Rideau's avatar
      Tweak with-temporary-file and its tests. · 623bf535
      Francois-Rene Rideau authored
      One WTF test fails on GCL, due to a compiler bug.
      623bf535
    • 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
  18. May 04, 2015
  19. Sep 11, 2014
  20. Aug 11, 2014
    • Francois-Rene Rideau's avatar
      Fix various asdf-tools issues. · 8bf30436
      Francois-Rene Rideau authored
      Don't pipe into tee, as it squashes errors.
      Fix error handling by test-scripts. Fix wc. Fix some test logging.
      Make tests runnable from any directory, and run from the asdf directory (not the test directory).
      8bf30436
  21. Jul 10, 2014
  22. Jul 09, 2014
  23. Apr 28, 2014
  24. Apr 15, 2014
  25. Apr 07, 2014
Loading