1. 20 Feb, 2002 5 commits
    • Daniel Barlow's avatar
      la la la · 556bbb81
      Daniel Barlow authored
      556bbb81
    • Daniel Barlow's avatar
      rejigged the condition hierarchy slightly · 27a91156
      Daniel Barlow authored
       -(defmethod component-depends-on ((operation load-op) (c source-file))
       +(defmethod component-depends-on ((operation load-op) (c component))
       +(defun internal-find-system (name)
      does everything find-system does, but returns nil instead of raising an error.
      27a91156
    • Daniel Barlow's avatar
      .system -> .asd · d9fec029
      Daniel Barlow authored
      d9fec029
    • Daniel Barlow's avatar
      new test files · 715940af
      Daniel Barlow authored
      715940af
    • Daniel Barlow's avatar
      version-satisfies is not just a method not an operation · a28bd5a2
      Daniel Barlow authored
       -		   (destructuring-bind (ignore name version-object)
       +		   (destructuring-bind (ignore name version-object) dep
      oops
       -			   :case :common :name name :type "SYSTEM"
       +			   :case :common :name name :type "ASD"
      and everywhere else that we found
        (defun class-for-type (parent type)
       -  (let ((class (find-class (intern (symbol-name type) *package*) nil)))
       +  (let ((class (find-class
       +		(or (find-symbol (symbol-name type) *package*)
       +		    (find-symbol (symbol-name type) #.*package*)) nil)))
      fix for system definitions in packages that don't use ASDF
      a28bd5a2
  2. 19 Feb, 2002 2 commits
    • Daniel Barlow's avatar
      (defclass module (component) · 6f6d3345
      Daniel Barlow authored
       +   (if-component-dep-fails :initform :fail
       +(defgeneric find-component (module name &optional version)
      though presently it ignores the extra arg
      major dependency rewrite to allow for and/or dependencies and specification
      of versions
      compile-and-load-op is dead
      we reuse old components when processing a defsystem form that we've already
      seen once.  this means that eql-specialized methods will continue to work
      and also that we can implement the pathname defaulting properly (it doesn't
      work yet)
      6f6d3345
    • Daniel Barlow's avatar
      new stuff describing · 39401b04
      Daniel Barlow authored
      - tetsing implementation features
      - version dependencies (doesn't yet work)
      - and/or dependencies (likewise, nonfunctional)
      
      proposed asdf system standard moved onto a cliki page
      39401b04
  3. 14 Feb, 2002 6 commits
    • Daniel Barlow's avatar
      kludge for outline-mode · f38228ed
      Daniel Barlow authored
      f38228ed
    • Daniel Barlow's avatar
      clc lite · f80e6a79
      Daniel Barlow authored
      f80e6a79
    • Daniel Barlow's avatar
      component class · 3ec3a499
      Daniel Barlow authored
       -   (pathname :initarg :pathname)))
       +   (relative-pathname :initarg :pathname)))
      component-pathname, component-relative-pathname changed to actually work
      (defmethod print-object ((c component) stream)
      is suffering strangely, but that might just be me.  try re-enabling
      this and see if itworks for you
      
      
        (defmethod perform ((o load-op) (c cl-source-file))
       -    (mapc nil #'load (output-files co c))))
       +    (map nil #'load (output-files co c))))
      oops
      
      load-op and compile-and-load-op are actually the same thing (at least
      for CL files).  need to choose a name ...
      3ec3a499
    • Daniel Barlow's avatar
      s/-system/-op/ · d65a272e
      Daniel Barlow authored
      d65a272e
    • Daniel Barlow's avatar
      s/{compile,load}-system/{compile,load}-op/ · 9d9f8a71
      Daniel Barlow authored
      defsystem parsing basically totally rewritten.  diffs unmeaningful,
      so UTSL
      9d9f8a71
    • Daniel Barlow's avatar
      939c00f3
  4. 12 Feb, 2002 2 commits
  5. 11 Feb, 2002 1 commit
  6. 04 Dec, 2001 4 commits
  7. 20 Aug, 2001 1 commit
  8. 06 Aug, 2001 6 commits
    • Daniel Barlow's avatar
      copile and load on a dso can now be separate operations · 39511286
      Daniel Barlow authored
       +(defmethod perform ((operation load-system) (c c-source-file))
      does nothing but must exist
      fixed dependencies to reflect reality after having played with them a lot
      for testing
      39511286
    • Daniel Barlow's avatar
      8ad709bc
    • Daniel Barlow's avatar
      TODO: +** compiler/loader options · d6d83262
      Daniel Barlow authored
      +** operation instantiation in traverse sucks
      d6d83262
    • Daniel Barlow's avatar
      add minimal (and probably also insufficient) set of :in-order-to args · d1f7aa37
      Daniel Barlow authored
      to see if the dependency chasing actually works
      d1f7aa37
    • Daniel Barlow's avatar
      +(define-condition missing-dependency (system-definition-error) · 3708d88d
      Daniel Barlow authored
       -   (depends-on :initform nil
       +   (in-order-to :initform nil :initarg :in-order-to)
      
       +   ;; the defsystem syntax allows us to define EQL methods with our
       +   ;; components.  We must keep track of them all so we can get rid of
       +   ;; them if need be when the defsystem form is re-evaluated
      
      (although note that we don't yet parse the necessary syntax, but the
      infrastructure is ready when we do)
      
      
       +(defvar *visited-nodes* nil)
       +(defvar *visiting-nodes* nil)
      and logical equivalents in operation slots go away.
      
        (defmethod visit-component ((o operation) (c component))
        (defmethod component-visited-p ((o operation) (c component))
        (defmethod (setf visiting-component) (new-value (o operation) (c component))
        (defmethod component-visiting-p ((o operation) (c component))
      all get updated to use new variables
       +(defmethod component-depends-on ((o operation) (c component))
      looks up dependencies from :depends-on slot
      reintroduce circularity check.  also rewrote the dependency traversing
      to introduce new operations as and when it needs to
       +(defmethod component-depends-on ((operation load-system) (c component))
      depends on compile-system
       -	       (create-instance-for-component c :file (second i) nil)))
       +	       (create-instance-for-component c :file i nil)))
      oops.  thanks csr
      3708d88d
    • Daniel Barlow's avatar
      Rewrote the section on dependencies. Dependencies are now between · 0d60754a
      Daniel Barlow authored
      (operation component) pairs, not just components.
      0d60754a
  9. 03 Aug, 2001 4 commits
  10. 02 Aug, 2001 1 commit
    • Daniel Barlow's avatar
      a component represents a source file, or a · ebaee857
      Daniel Barlow authored
       -collection of source files.
       +collection of components.
      
      "We extend the defsystem syntax to allow for eql-specialised methods on
      modules": updated to fit current operation abstraction
      
      symbols vs strings: Warn the user that they should either use keywords
      or be careful with the package that they evaluate defsystem forms in
      
      the :pathname argument is misnamed
      ebaee857
  11. 01 Aug, 2001 1 commit