Skip to content
  1. Sep 12, 2013
    • Raymond Toy's avatar
      Allow disabling the use of git for the file-comment. · 7e2a98ee
      Raymond Toy authored
       * src/compiler/main.lisp:
         * Add *FILE-COMMENT-FROM-GIT* to control whether to use git to
           derive the file-comment.  Default is T.  Otherwise, the actual
           file-comment is used.
         * Update PROCESS-FILE-COMMENT to use *FILE-COMMENT-FROM-GIT*.
      
       * bin/build-all.sh
       * bin/build.sh
       * bin/build-world.sh
         * Add -G option to control whether file-comment's are derived from
           git.
      7e2a98ee
  2. May 30, 2012
  3. May 28, 2012
    • Raymond Toy's avatar
      Fix ticket:60 · 2970ca06
      Raymond Toy authored
      src/compiler/main.lisp:
      o Remove special treatment of EXPORT (and others) in the compiler.  I
        think we only need to treat IN-PACKAGE and DEFPACKAGE specially.
      
      src/contrib/defsyste/defsystem.lisp:
      o Add FIND-SYSTEM to the defpackage export list for MAKE.
      
      src/tools/hemcom.lisp:
      o Add defpackage for hemlock-internals since export no longer has the
        compile-time effect.
      2970ca06
  4. May 26, 2012
  5. Nov 04, 2011
  6. Oct 13, 2011
  7. Oct 12, 2011
  8. Oct 11, 2011
  9. Oct 10, 2011
  10. Oct 09, 2011
  11. Sep 25, 2011
  12. Aug 21, 2011
  13. Mar 28, 2011
  14. Sep 24, 2010
    • rtoy's avatar
      Add :decoding-error arg to compile-file to specify how decoding errors · 0b17eeac
      rtoy authored
      should be handled.
      
      compiler/main.lisp:
      o Add DECODING-ERROR slot to SOURCE-INFO structure.
      o MAKE-FILE-SOURCE-INFO requires a decoding error argument so the
        SOURCE-INFO structure can be properly initialized.
      o Add :DECODING-ERROR keyword arg to COMPILE-FILE to specify how
        decoding errors are handled.  Default is T, which means to signal an
        error.
      
      compiler/fndb.lisp:
      o Tell compiler about the new parameter.
      
      general-info/release-20c.txt:
      o Document change.
      0b17eeac
  15. Sep 15, 2010
  16. Jun 01, 2010
  17. Apr 20, 2010
  18. Apr 19, 2010
  19. Apr 03, 2010
  20. Mar 19, 2010
  21. Mar 18, 2010
    • rtoy's avatar
      Make CMUCL signal a cerror if we try to redefine a slot accessor. If · bd3d965b
      rtoy authored
      continued, the accessor is redefined.  Previously, a warning was
      printed and the structure was (mostly) undefined.
      
      compiler/proclaim.lisp:
      o Add new function NOTE-IF-ACCESSOR to check if we're redefining a
        slot accessor.  If so, signal a cerror, and redefine if continued.
      o Adjust DEFINE-FUNCTION-NAME to call NOTE-IF-ACCESSOR.
      
      compiler/main.lisp:
      o Make COMPILE-FIX-FUNCTION-NAME call NOTE-IF-ACCESSOR to catch
        attempts to redefine a slot-accessor.
      
      code/macros.lisp:
      o Move call to C::DEFINE-FUNCTION-NAME to the top of C::%%DEFUN before
        we set the fdefinition.   This allows us to give up before modifying
        anything if we choose not to redefine the slot accessor.
      bd3d965b
  22. Mar 16, 2010
  23. Mar 14, 2010
  24. Feb 15, 2010
  25. Jan 22, 2010
  26. Jun 11, 2009
  27. Jul 01, 2005
  28. Jun 13, 2005
    • rtoy's avatar
      Save xref information to fasls. · 624c3dc2
      rtoy authored
      This is done by faking it.  The file being compiled is compiled as
      usual, but we append fake forms to the file as if they came from the
      file.  These fake forms insert the necessary information into the xref
      databases when the fasl is loaded.
      
      To support this feature, we also updated COMPILE-FILE to recognize the
      :xref keyword arg.  Set this to non-NIL to enable computing and saving
      xref information.
      
      code/exports.lisp:
      o Update XREF exports
      
      compiler/fndb.lisp:
      o Update with new definition of COMPILE-FILE.
      
      compiler/main.lisp:
      o Append fake forms to the file being compiled to save xref
        information to the fasl.  This clears out any xref info we might
        have for the file, and inserts the necessary xref information into
        the database.
      o Add :XREF keyword arg to COMPILE-FILE.  Default value of :XREF is
        C::*RECORD-XREF-INFO*.
      
      compiler/xref.lisp:
      o Add function to invalidate xref info for a given namestring, so we
        can reset the info when a fasl with xref info is loaded.
      o Add a function to find all xref information for a given pathname.
        Used for saving xref info to a fasl.
      624c3dc2
  29. Dec 16, 2004
    • rtoy's avatar
      Enable loop analysis code. But the default is loop analysis is not · be26c9f9
      rtoy authored
      done, because we don't do anything with the loop results.
      
      ir1util.lisp:
      	o Make sure component initializes the outer-loop slot of the
      	  component.
      
      main.lisp:
      	o Add defvar *loop-analyze*, defaulting to NIL.
      	o Run loop analysis code when *loop-analyze* is T.
      
      node.lisp:
      	o Make the outer-loop slot of a component a required arg and
      	  adjust the declared type appropriately.
      
      represent.lisp:
      	o Add ASSIGN-TN-DEPTHS function to assign loop depths to TNs.
      
      vop.lisp:
      	o Forgot to add the loop-depth slot for TNs.
      be26c9f9
  30. Oct 26, 2004
  31. May 10, 2004
  32. Apr 06, 2004
    • rtoy's avatar
      Add support for source location recording, from Helmut Eller on · f4f6325e
      rtoy authored
      cmucl-imp:
      
          The patch below adds a somewhat general mechanism to the get the
          "current location".  So every macro that wants to record the
          source location, can insert a call to SOURCE-LOCATION in the
          generated code and safe the result in a appropriate place.
          SOURCE-LOCATION is a compiler-macro and returns a quoted struct
          with the source info.
      
          The patch adds the definition for SOURCE-LOCATION some
          modifications for the defclass, defgeneric and defmethod macros.
          Classes, generic functions and methods have already a "source"
          slot and the result of SOURCE-LOCATION is just stored into that
          slot.  (The source slot contains currently only the *loadpath*,
          which is is not very useful, if the fasl file is in a different
          directory than the source file.)
      f4f6325e
  33. Jan 16, 2004
  34. Dec 02, 2003
  35. Aug 11, 2003
  36. Jul 15, 2003