- 20 Jul, 2017 3 commits
-
-
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).
-
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.
-
Francois-Rene Rideau authored
-
- 16 Oct, 2016 1 commit
-
-
Francois-Rene Rideau authored
If we fmakunbound a defgeneric, we lose any user-defined method on the function and must therefore reload any and every system that might have defined methods on it. We must therefore not fmakunbound past the forward compatibility upgrade trigger, only before. Adjust our code accordingly. Conservative bounds are used in *oldest-forward-compatible-asdf-version* and redefined-functions that should probably be refined after some inspection of old versions. This is a response to https://bugs.launchpad.net/asdf/+bug/1631771
-
- 25 Sep, 2016 1 commit
-
-
Francois-Rene Rideau authored
locate-system doesn't cache its results anymore, so we don't need to invalidate bad results from the cache anymore.
-
- 22 Sep, 2016 1 commit
-
-
Robert Goldman authored
-
- 20 Sep, 2016 1 commit
-
-
Francois-Rene Rideau authored
-
- 16 Sep, 2016 1 commit
-
-
Francois-Rene Rideau authored
-
- 14 Sep, 2016 1 commit
-
-
Francois-Rene Rideau authored
Add find-component keyword argument registered to not load asd files. Use it in component-loaded-p so we query what's registered but don't load asds. Many thanks to Daniel Kochmanski for identifying and helping solve the problem.
-
- 02 Jul, 2014 1 commit
-
-
Francois-Rene Rideau authored
-
- 21 Mar, 2014 1 commit
-
-
Francois-Rene Rideau authored
-
- 27 Jan, 2014 2 commits
-
-
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.
-
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
-
- 09 Oct, 2013 1 commit
-
-
Francois-Rene Rideau authored
-
- 06 Feb, 2013 2 commits
-
-
Francois-Rene Rideau authored
1- To make life easier on Xach, stop requiring asdf.lisp to be loaded as source before it's compiled. Instead, wrap each and every single form in an eval-when, most of the time via the with-upgradability macro that also transforms defun into defun* and defgeneric into defgeneric*. Causes massive reindentation :-( 2- Have a proper :version for fallback systems. Will make systems that check the version happier. 3- protect a condition with #+sb-eval. Fixes lp#1116408. 4- Protect warnings-file methods with dynamic when *warnings-file-type* rather than static #+.
-
Francois-Rene Rideau authored
1- To make life easier on Xach, stop requiring asdf.lisp to be loaded as source before it's compiled. Instead, wrap each and every single form in an eval-when, most of the time via the with-upgradability macro that also transforms defun into defun* and defgeneric into defgeneric*. Causes massive reindentation :-( 2- Have a proper :version for fallback systems. Will make systems that check the version happier. 3- protect a condition with #+sb-eval. Fixes lp#1116408. 4- Protect warnings-file methods with dynamic when *warnings-file-type* rather than static #+.
-
- 24 Jan, 2013 1 commit
-
-
Francois-Rene Rideau authored
A better asdf.asd. Refactor the preloaded system mechanism, use it for cl-launch 3.21.2. Rename bundle-pathname to build-pathname, move it from bundle-system to system. Rename the gcl<2.7 feature gcl2.6. Die on gcl2.5 and earlier. Don't even try to compile-file asdf using gcl 2.6, just load the .lisp. Rename asdf/compatibility to asdf/common-lisp, exporting only CL symbols. Fix define-package to correctly handle exporting of NIL. Also, make it work with Genera, with #'(lambda instead of (lambda, and using lisp:loop (via a macro loop*) when destructuring is required. Document more 2.27 changes in changelog. If there is no :pathname and no load-pathname, do NOT have a system pathname take defaults from *default-pathname-defaults*, but make it NIL.
-
- 21 Jan, 2013 1 commit
-
-
Francois-Rene Rideau authored
-
- 20 Jan, 2013 1 commit
-
-
Francois-Rene Rideau authored
Don't key upgrade attempt on source-registry, since things can also change in the central-registry, etc. Also rename required-files to direct-dependency-files Improve the new convenience function pattern to work with operation initargs. Implement getcwd on all platforms. Actually catch sb-grovel messages. Tests: make u l=ecl instead of make test-upgrade lisp=ecl Tests: put the setup around the script, not inside; Tests: start using globals, much easier for debugging
-
- 14 Jan, 2013 1 commit
-
-
Francois-Rene Rideau authored
Package cleanup: every file in asdf itself now :use's asdf/driver asdf/upgrade. Test script fix: Allegro, like ECL *really* hates that we close *standard-input*, so stop trying at all. Tweak some utilities and debug utilities.
-
- 11 Jan, 2013 2 commits
-
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
This notably includes the former xcvb-driver:run-program/, a much better replacement for run-shell-command. This also includes image initialization, dumping, quitting.
-
- 09 Jan, 2013 2 commits
-
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
-
- 08 Jan, 2013 1 commit
-
-
Francois-Rene Rideau authored
TODO: Create a define-package that can make it upgrade itself.
-