Skip to content
Snippets Groups Projects
  1. Apr 20, 2010
  2. Apr 19, 2010
  3. Apr 18, 2010
  4. Apr 17, 2010
    • rtoy's avatar
      pcl/defcombin.lisp: · 8887d945
      rtoy authored
      o Set the default documentation for the short form of
        DEFINE-METHOD-COMBINATION to NIL instead of "".
      
      general-info/release-20b.txt:
      o Update
      8887d945
    • rtoy's avatar
      pcl/boot.lisp: · d59a6cef
      rtoy authored
      o Recognize but ignore the :DECLARE argument to
        ENSURE-GENERIC-FUNCTION.
      
      general-info/release-20b.txt:
      o Update
      d59a6cef
    • rtoy's avatar
      pcl/boot.lisp: · f2ff9f9c
      rtoy authored
      o Allow class objects as well as names for the :METHOD-CLASS argument
      
      general-info/release-20b.txt:
      o Update
      f2ff9f9c
    • rtoy's avatar
      pcl/defclass.lisp: · 12fc4123
      rtoy authored
      o Signal an error if a defclass name names a declaration.
      
      general-info/release-20b.txt:
      o Update
      12fc4123
  5. Apr 16, 2010
  6. Apr 14, 2010
    • rtoy's avatar
      code/intl.lisp: · a735122e
      rtoy authored
      o When saving the file name, use *compile-file-truename* instead of
        *compile-file-pathname*.  Also use enough-namestring to make a
        shorter name.  The file names that were placed in the pot file
        included search-lists which aren't understood by anything besides
        CMUCL.
      o Don't install the reader macros by default anymore.
      o Change INSTALL to accept an optional readtable that is modified with
        the reader macros and such.
      
      code/exports.lisp:
      o Export INTL::INSTALL.
      
      tools/build-world.sh:
      tools/build-utils.sh:
      o Need to install the reader macros when building so we can get
        generate the pot files.
      o Set *default-pathname-defaults* to be the (full) current build
        directory so that the pathnames in the pot file are relative to the
        build directory.
      
      These changes fix the main part of Ticket #39.
      a735122e
  7. Apr 03, 2010
  8. Apr 01, 2010
    • rtoy's avatar
      Update from logs. · f987a426
      rtoy authored
      f987a426
    • rtoy's avatar
      Fix SSE2 bug when running · 5efbe364
      rtoy authored
      (defun testfn ()
        (let* ((i-gc-ed-u nil)
               (ext:*gc-notify-before* (lambda (a) (/ a 0.34d0))))
          (dotimes (i 100000)
            (setf i-gc-ed-u nil)
            (let* ((v1 (list (* 1d0 (random 10)) (* 1d0 (random 10))))
                   (v2 (list (* 1d0 (random 10)) (* 1d0 (random 10))))
                   (dot1 (reduce #'+ (mapcar #'* v1 v2)))
                   (dot2 (reduce #'+ (mapcar #'* v1 v2))))
              (when (/= dot1 dot2)
                (print `(gc ,i-gc-ed-u v1 ,v1 v2 ,v2 dot1 ,dot1 dot2 ,dot2)))))))
      
      Running this with sse2 would cuase dot1 and dot2 to sometimes be
      different.  We forgot to save the SSE2 state in call_into_lisp.
      
      (This bug was mentioned on comp.lang.lisp, http://groups.google.com/group/comp.lang.lisp/browse_thread/thread/828371aa4800272c?hl=en#
      
      x86-assem.S:
      o Save and restore SSE2 state when running with SSE2 core.  (This
        might need more tweaking.  Should we use cpuid instead of looking at
        fpu_mode?)
      
      gencgc.c:
      o Save the SSE2 state, along with X87 state for SSE2 cores.
      5efbe364
  9. Mar 19, 2010
  10. Mar 18, 2010
    • rtoy's avatar
      Update from logs. · a1482b8c
      rtoy authored
      a1482b8c
    • 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
  11. Mar 16, 2010
  12. Mar 14, 2010
  13. Mar 12, 2010
  14. Mar 08, 2010
  15. Mar 04, 2010
    • rtoy's avatar
      Fix issue where CMUCL does not correctly handle FLETs in DEFMETHOD · 221ef9af
      rtoy authored
      bodies which use the same name as that of the generic function.  Bug
      report and fix from Madhu, cmucl-imp, 2010-02-19.
      
      An example:
      
      (defmethod foo (bar var)
        (format t "GENERICFOO ~S, ~S.%" bar var))
      
      (defclass fnarr () ())
      
      (defmethod foo ((bar fnarr) var)
        (flet ((foo (&optional arg)
      	   (foo var (class-of arg)))) ; gf FOO call
          (foo bar))) ; local function FOO call
      
      ;; (incorrect) Error when evaluating
      (foo (make-instance 'fnarr) t)
      221ef9af
  16. Mar 01, 2010
    • rtoy's avatar
      o Fix issue where some instructions like MOVLPS would print the · 19f4abf4
      rtoy authored
        arguments in reverse order.  (Ported from SBCL).
      o Work around issue where MOVHLPS and MOVLHPS would be disassembled as
        MOVLPS and MOVHPS.  The instruction is still disassembled
        incorrectly, but we at least add a note indicating the actual
        instruction in these cases.
      19f4abf4
  17. Feb 24, 2010
Loading