Skip to content
Snippets Groups Projects
  1. Nov 04, 2010
  2. Nov 03, 2010
  3. Nov 02, 2010
  4. Oct 28, 2010
    • rtoy's avatar
      Update from logs. · ca887265
      rtoy authored
      ca887265
    • rtoy's avatar
      Handle -C option better, especially when given -C "" to denote the · 75d4e67a
      rtoy authored
      default config.
      75d4e67a
    • rtoy's avatar
      Fix critical bug in realpart/imagpart. · 5fc2d92b
      rtoy authored
      o realpart/complex-single-float, realpart/complex-double-float,
        imagpart/complex-double-float, %complex-double-float, and
        %complex-single-float were zeroing out the result register
        which is ok, except when the result register and the source register
        are the same.  Use a temp register in this case.
      
        This bit of code tickles the bug:
      
          (defun zot-r (z)
            (declare (type (simple-array (complex double-float) (*)) z))
            (realpart (aref z 0)))
      
          (defun zot-i (z)
            (declare (type (simple-array (complex double-float) (*)) z))
            (imagpart (aref z 0)))
      
          (let ((z (make-array 1 :element-type '(complex double-float)
      			 :initial-element #c(42d0 -42d0))))
            (zot-r z))
      
          (let ((z (make-array 1 :element-type '(complex double-float)
      			 :initial-element #c(42d0 -42d0))))
            (zot-i z))
      
        The correct results are 42d0 and -42d0, not 0d0, of course.
      5fc2d92b
  5. Oct 27, 2010
  6. Oct 26, 2010
  7. Oct 22, 2010
  8. Oct 15, 2010
  9. Oct 14, 2010
    • rtoy's avatar
      Initial revision. · 7b0b2aba
      rtoy authored
      7b0b2aba
    • rtoy's avatar
      tools/build.sh: · 9073131c
      rtoy authored
      o Add -U option.  This causes the updated translations to overwrite
        the *.po files in source tree.  Without -U, the diff of the changes
        are printed, as before.  The -U option is useful to prepare the po
        files for checking in to the CVS repository.
      
      lisp/GNUmakefile:
      o Put back the original translations target and rule, but rename the
        target to tranlations-update.  This allows developers to overwrite
        the translations in the source tree, ready for analysis or checkin,
        as appropriate.
      9073131c
  10. Oct 13, 2010
    • rtoy's avatar
      Some changes to replace calls to gettext with _"" or _N"" for things · b22644d4
      rtoy authored
      compiled with and without Unicode.  This is needed so that the pot
      files have the same content for both unicode and non-unicode builds.
      (The _"" and _N"" are handled by the reader, so things that are
      conditionalized out still get processed, unlike using gettext.)
      b22644d4
  11. Oct 12, 2010
    • rtoy's avatar
    • rtoy's avatar
      Make read-char and read-byte signal errors when given the wrong kind · 35aebeba
      rtoy authored
      of streams.  This is a change from current 20a and 20b behavior which
      didn't signal errors, but matches the behavior for releases 19f and
      earlier.
      
      But allow them to work on binary-text-streams.  This is the same
      behavior as before for binary-text-stream streams.
      
      However, read-sequence no longer allows reading from streams into
      arbitrary objects, unless the stream is a binary-text-stream stream.
      
      code/fd-stream-extfmt.lisp:
      o In %SET-FD-STREAM-EXTERNAL-FORMAT, only update
        fd-stream-in/fd-stream-out if we have a character or
        binary-text-stream stream.
      o Don't update the fd-stream-string-buffer or lisp-stream-in-buffer if
        we have a binary-text-stream because that will mess up how
        fast-read-char and fast-read-byte dispatch to do the right thing for
        binary-text-stream streams.
      
      code/fd-stream.lisp:
      o Set the fd-stream-in and fd-stream-bin slots appropriately depending
        on whether we have a character, binary, or binary-text-stream
        stream.
      o Only create the lisp-stream-in-buffer if we do NOT have a
        binary-text-stream.  (Binary streams didn't use the
        lisp-stream-buffer previously, so no change there.  Character
        streams use the lisp-stream-buffer and/or lisp-string-buffer.)
      o Set the fd-stream-flags appropriately for the kind of stream this
        is.  Checking a fixnum is faster than checking the type of a stream.
      
      code/struct.lisp:
      o Add FLAGS slot to LISP-STREAM so we can tell what kind of stream
        (character, binary, binary-text-stream) we have.
      
      code/sysmacs.lisp:
      o Change FAST-READ-CHAR so that if we have a have a binary or
        binary-text-stream stream, we dispatch to the fast-read-char methods
        to do the right thing, including signaling an error for the wrong
        kind of stream.
      o Change FAST-READ-BYTE so that if we do not have a binary stream, we
        dispatch to the fast-read-char method to do the right thing.
      
      compiler/dump.lisp:
      o With the above changes, we can no longer write characters to a
        binary stream, like a FASL file.  Make the fasl file a
        binary-text-stream so that we can.  (Alternatively, we could create
        the FASL header as a string, convert to octets and dump the octest
        to the file.  This is easier, and should still be fast for writing
        fasls.)
      35aebeba
  12. Oct 10, 2010
  13. Oct 06, 2010
  14. Sep 30, 2010
  15. Sep 29, 2010
  16. Sep 27, 2010
  17. Sep 26, 2010
  18. Sep 25, 2010
  19. Sep 24, 2010
  20. Sep 21, 2010
Loading