Skip to content
Snippets Groups Projects
  1. Nov 08, 2006
  2. Oct 02, 2006
    • rtoy's avatar
      code/ntrace.lisp: · b2391606
      rtoy authored
      o Add a new :WHEREIN-ONLY option for trace, which is like :WHEREIN,
        but only if the immediate caller is one of the listed functions
        instead of anywhere in the backtrace.
      
      general-info/release-19d.txt:
      o Update for :WHEREIN-ONLY
      b2391606
  3. Aug 21, 2006
    • rtoy's avatar
      Some very basic support for signed zeroes for DOUBLE-DOUBLE-FLOAT. We · e14ba2a5
      rtoy authored
      can now read and print -0w0.
      
      code/float.lisp:
      o Adjust float-sign so that we get the correct sign when
        double-double-floats are used.
      o Adjust FLOAT-RATIO to call %MAKE-DOUBLE-DOUBLE-FLOAT so that we
        preserve the sign of the number.  This is safe because the
        components are known to be properly scaled.
      
      compiler/float-tran.lisp:
      o Use %MAKE-DOUBLE-DOUBLE-FLOAT in %DOUBLE-DOUBLE-FLOAT to preserve
        the sign of the original float.  This is safe because the
        components are known to be properly scaled.
      o Add a FLOAT-SIGN deftransform to handle DOUBLE-DOUBLE-FLOAT.
      e14ba2a5
    • rtoy's avatar
      Print out what kind of weak hash table we have. · ff65e1c0
      rtoy authored
      ff65e1c0
    • rtoy's avatar
      Add BASE-CHAR and CHARACTER to · 8bfbe53c
      rtoy authored
      *READ-INTO-SIMPLE-ARRAY-RECOGNIZED-TYPES* so that READ-VECTOR can read
      binary data from streams of those types.  Fixes Trace ticket 7.
      8bfbe53c
  4. Aug 18, 2006
    • rtoy's avatar
      code/hash-new.lisp: · eff841d2
      rtoy authored
      o Replace the magic value #x80000000 with +eq-based-hash-value+.
      
      lisp/gencgc.c:
      o Replace the magic value 0x80000000 with EQ_BASED_HASH_VALUE.
      o When freeing the hash entry, we forgot to reset the hash-vector
        entry to EQ_BASED_HASH_VALUE.
      eff841d2
    • rtoy's avatar
      Add support for weak value, key-and-value, and key-or-value hash · e206ca4a
      rtoy authored
      tables.  Use boot-2006-08-1-cross to cross-compile.  During worldload,
      you'll get a restart.  Choose the CLOBBER-IT restart.
      
      bootfiles/19c/boot-2006-08-1-cross.lisp:
      o Cross-compile script to mark that a cross-compile is needed.
        Nothing fancy, just load up the example scripts.
      
      code/hash-new.lisp:
      o Update the allowed values for the weak-p slot of a hash table.
      o Change hash table printer to print out the test and weak style.
      o Update MAKE-HASH-TABLE to allow other values for :weak-p keyword arg
        and set the weak-p slot appropriately.
      o Produce an error if a weak key, key-and-value, or key-or-value table
        is created but the test is not EQ or EQL.
      
      compiler/ppc/parms.lisp:
      compiler/sparc/parms.lisp:
      o Add :KEY, :VALUE, :KEY-AND-VALUE, and :KEY-OR-VALUE symbols to the
        static symbols because C code needs them.
      
      lisp/gencgc.c:
      o Add necessary support to handle the new hash types.
      e206ca4a
  5. Aug 16, 2006
    • rtoy's avatar
      code/hash-new.lisp: · 12d78e25
      rtoy authored
      o Add a new slot to the hash-table structure for GC to use for linking
        weak tables together.  (Previously we used the weak-p slot for
        this.  Let's make it explicit, now.  Plus, this allows us to use
        weak-p to indicate other types of weak tables, should they be
        implemented.)
      
      lisp/gencgc.c:
      o Update defstruct appropriately.
      o Use the new next-weak-table slot to chain the weak tables together.
      o Previously we scanned the weak tables in several places in the
        code.  However, this scanning also removed entries.  I don't think
        we want that because later scans could make a key valid.  Thus:
      
        - Change scav_hash_entries so that it doesn't remove a hash-table
          entry unless told to.
        - Add new function to scavenge weak tables without removing a weak
          entry.
        - Adjust scan_weak_tables to remove weak entries.
      
      NOTE:  When building, you'll be asked twice about the hash-table
      structure changing size.  Just select the CLOBBER-IT restart in both
      cases.
      12d78e25
  6. Aug 14, 2006
  7. Aug 11, 2006
    • rtoy's avatar
      Instead of using :empty to denote empty hash entries, use · 11b2eb73
      rtoy authored
      'lisp::empty-hash-entry instead.
      
      Not the best solution, since the user can still access this symbol,
      but being an implementation-specific, non-exported symbol, this seems
      acceptable.
      
      Should try to use the unbound marker instead.
      11b2eb73
  8. Jul 21, 2006
  9. Jul 20, 2006
    • rtoy's avatar
      Include whether a hash-table is weak or not when describing a · 6d768c15
      rtoy authored
      hash-table.
      6d768c15
    • rtoy's avatar
      Port sbcl's changes to room to handle gencgc allocation better. · 05747b21
      rtoy authored
      lisp/gencgc.c:
      o Make last_free_page non-static so Lisp can see it.
      o Add get_page_table_info so Lisp can easily get at the flags and
        bytes_used slots of a page table entry.
      
      code/room.lisp:
      o Add gencgc-page-size constant.
      o Fix SPACE-BOUNDS for sparc and ppc with gencgc.  The
        dynamic-space-free-pointer is something different, and we really
        wanted the last_free_page.
      o Update MAP-ALLOCATED-OBJECTS to handle gencgc (from sbcl).
        Unallocated pages are skipped, as well as anything at the end of a
        page that is not in use.
      05747b21
  10. Jul 19, 2006
  11. Jul 18, 2006
  12. Jul 13, 2006
  13. Jul 07, 2006
  14. Jul 05, 2006
    • rtoy's avatar
      Fix bug about LISP::SOCKET-ERROR not being a valid class. From Craig · 1b8f6914
      rtoy authored
      Brent Ludington, cmucl-help, 2006-06-21.
      
      bootfiles/19c/boot-2006-06-3.lisp:
      o Bootstrap file to remove LISP::SOCKET-ERROR in favor of
        EXT:SOCKET-ERROR.  (Not really needed, if you just answer the
        restarts in the obvious way.)
      
      code/exports.lisp:
      o Export EXT:SOCKET-ERROR.  The LISP package already uses the EXT
        package, so we're set.
      1b8f6914
  15. Jul 01, 2006
  16. Jun 30, 2006
  17. May 15, 2006
  18. May 11, 2006
  19. May 03, 2006
  20. May 01, 2006
    • rtoy's avatar
      code/format.lisp: · ef77f543
      rtoy authored
      o Add an additional case where we want to print out a trailing zero:
        There's no width constraint and the previous character was a decimal
        point, so the fraction to be printed is zero.
      
      code/print.lisp:
      o Honor the d option if we run out of room so (format nil "~,2f"
        0.001) produces "0.00", not "0.001".
      ef77f543
  21. Apr 28, 2006
  22. Apr 26, 2006
    • rtoy's avatar
      src/save.lisp: · 29b5082e
      rtoy authored
      o Add new search-list "ld-library-path:" which contains the value of
        the environment variable "LD_LIBRARY_PATH".
      
      src/foreign.lisp:
      o Modify LOAD-FOREIGN so that we will try to load a single file as a
        shared library first.  If that fails, we try loading it as an object
        file.  We do not try to see if the library exists (via probe-file or
        anything).  Instead we let dlopen do whatever it would normally do
        to find the file, including searching LD_LIBRARY_PATH.
      
      o REINITIALIZE-GLOBAL-TABLE now has a few restarts to allow the user
        to decide what to do if a shared library cannot be found.  The
        restarts are ignoring the problem, trying to reload the file again,
        or specifying a new path.
      
      o REINITIALIZE-GLOBAL-TABLE is placed on
        EXT:*AFTER-SAVE-INITIALIZATIONS* now.
      29b5082e
  23. Apr 13, 2006
  24. Mar 17, 2006
    • rtoy's avatar
      lisp/Linux-os.c: · 7575e738
      rtoy authored
      o Add function get_h_errno to extract h_errno.
      
      code/internet.lisp:
      o On Linux, call the get_h_errno function to get h_errno instead of
        calling __h_errno_location ourselves since that's not part of the
        public API.
      7575e738
  25. Mar 14, 2006
    • rtoy's avatar
      Fix a few compiler warnings pointing to real issues: · c4cd431c
      rtoy authored
      o The error message in CONNECT-TO-INET-SOCKET could be getting the
        wrong message if closing the socket causes an error.
      
      o The function (FLET DOTTED-QUAD CONNECT-TO-INET-SOCKET/NON-BLOCKING)
        was not using its argument.  (No actual change in behavior because
        all uses of DOTTED-QUAD were with an arg of ADDR anyway.)
      c4cd431c
    • rtoy's avatar
      o Add docstring for *IGNORE-WILDCARDS*. · 172f99d7
      rtoy authored
      o Make UNPARSE-UNIX-PIECE honor *IGNORE-WILDCARDS*.
      
      Requested by Lynn Quam so namestrings can be given to run-program and
      friends without pathname wildcards escaped.
      172f99d7
Loading