1. 23 May, 2017 4 commits
    • Francois-Rene Rideau's avatar
      Separate forcing from plan · fe835596
      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.
      fe835596
    • Francois-Rene Rideau's avatar
      Refactor load-asd to perform a define-op · 7f92cab9
      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).
      7f92cab9
    • Francois-Rene Rideau's avatar
      Move node visit information from plan to session · aba8811b
      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.
      aba8811b
    • Francois-Rene Rideau's avatar
      Rename asdf/cache to asdf/session · c1a125bb
      Francois-Rene Rideau authored
      c1a125bb
  2. 17 Feb, 2017 1 commit
  3. 26 Nov, 2016 1 commit
    • 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. 06 Oct, 2016 1 commit
    • Elias Pipping's avatar
      Clean up use of *features* · 7e361dc2
      Elias Pipping authored
      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. 12 Sep, 2016 1 commit
    • 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. 11 Sep, 2016 1 commit
  7. 10 Sep, 2016 1 commit
  8. 21 Nov, 2015 1 commit
  9. 10 Jul, 2015 2 commits
  10. 08 Jul, 2015 4 commits
  11. 02 Jul, 2015 1 commit
  12. 30 Jun, 2015 1 commit
  13. 19 Jun, 2015 1 commit
  14. 09 Jun, 2015 1 commit
  15. 08 Jun, 2015 3 commits
  16. 08 May, 2015 2 commits
  17. 07 May, 2015 2 commits
    • 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. 04 May, 2015 1 commit
  19. 11 Sep, 2014 1 commit
  20. 11 Aug, 2014 1 commit
    • 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. 10 Jul, 2014 1 commit
  22. 09 Jul, 2014 1 commit
  23. 28 Apr, 2014 1 commit
  24. 15 Apr, 2014 1 commit
  25. 07 Apr, 2014 3 commits
  26. 25 Mar, 2014 1 commit
  27. 01 Mar, 2014 1 commit