Skip to content
Snippets Groups Projects
  1. Nov 26, 2014
    • Raymond Toy's avatar
      Fix some issues with log2 and log10 of big rationals. · 37d383ae
      Raymond Toy authored
       * src/code/irrat.lisp:
         * Add log10 function to handle the computation of the base 10 log
           of big rationals that might not fit in a double-float.
         * Fix some issues where CL:LOG wasn't handling logs of big
           rationals. (A regression).
       * tests/trac.lisp:
         * Update trac.8 test to include logs base 10.
      37d383ae
    • Raymond Toy's avatar
      Use new log2 function in C · 0a522bd0
      Raymond Toy authored
       * code/exports.lisp:
         * Export %LOG2.
       * code/irrat.lisp:
         * Define %log2
         * Use %log2 instead of log2. (This needs work)
       * compiler/float-tran.lisp:
         * Use %log2 instead of log2 in the deftransforms.
      0a522bd0
    • Raymond Toy's avatar
      Extract the log2 code out of e_pow.c to implement log2 function. · cc8c049f
      Raymond Toy authored
       * log2.c:
         * New file containing the parts of e_pow.c that implemented a log2
           function for use in pow().
       * GNUmakefile:
         * Compile log2.c as part of the build.
      cc8c049f
  2. Nov 25, 2014
  3. Nov 24, 2014
  4. Nov 22, 2014
  5. Nov 15, 2014
  6. Nov 13, 2014
  7. Nov 12, 2014
  8. Nov 08, 2014
    • Raymond Toy's avatar
      Auto-generate dependencies. · 96b342a8
      Raymond Toy authored
       * Config.solaris:
         * Add appropriate value for DEPEND_FLAGS
      96b342a8
    • Raymond Toy's avatar
      Auto-generate dependencies. · 4d6ff8ea
      Raymond Toy authored
       * GNUmakefile:
         * Auto-generate dependencies using same approach as for lisp.
       * Config.Darwin:
       * Config.NetBSD:
       * Config.solaris_sunc:
       * Config.x86:
         * Add appropriate value for DEPEND_FLAGS
      4d6ff8ea
    • Raymond Toy's avatar
      For linux, build 64-bit motifd again · 1769b2a4
      Raymond Toy authored
      Now that motifd can run as a 64-bit binary again, build the 64-bit
      binary on linux. Clean up list of LIBS as well.
      
      Simple tests show this works on Linux.
      1769b2a4
  9. Nov 07, 2014
  10. Nov 06, 2014
    • Raymond Toy's avatar
      Add iterators and loop paths for codepoints and glyphs · 2b1925b6
      Raymond Toy authored
       * src/code/string.lisp:
         * Add WITH-STRING-CODEPOINT-ITERATOR to allow iterating over the
           codepoints in a string.
         * Add WITH-STRING-GLYPO-ITERATOR to allow iterating over the
           glpyhs in a string.
       * src/code/exports.lisp:
         * Export WITH-STRING-CODEPOINT-ITERATOR and
           WITH-STRING-GLYPH-ITERATOR. 
       * src/code/loop.lisp:
         * Support (loop for cp being the codepoint of string ...) which
           extracts the consecutive codepoints from the string. Allow
           codepoints, code-point, and code-points as aliases of codepoint.
         * Support (loop for g-string being the glyph of string ...) which
           extracts each glyph (as a string) from the string.  Allow glpyhs
           as an alias.
       * tests/extended-loop.lisp:
         * New file of tests for the new loop paths.
       * src/i18n/locale/cmucl.pot:
         * Update.
      2b1925b6
    • Raymond Toy's avatar
      Initialize fpu_type to SSE2 instead of AUTO. · 6e5af748
      Raymond Toy authored
      This shows up when creating executables.  Executables don't have the
      magic number in the core file to indicate whether the core suports
      sse2 or x87, so the fpu_type is never set to the actual type, and
      fpu_mode is set to the value of fpu_type.  But there are asserts in
      the C code to check that fpu_mode is SSE2 since we have dropped
      support for x87. 
      
      One case where this happens is building maxima with a cmucl executable
      on darwin.  An assert triggers preventing maxima from running.  This
      change fixes that.
      6e5af748
  11. Nov 02, 2014
  12. Nov 01, 2014
  13. Oct 30, 2014
  14. Oct 27, 2014
    • Raymond Toy's avatar
      Minor tweaks for solaris. · 0bb2950b
      Raymond Toy authored
      0bb2950b
    • Raymond Toy's avatar
      Fix issue in sending a boolean created from a pointer in · 7fa26f32
      Raymond Toy authored
      RXmStringEtLtoR.
      
      Fix from Richard Kreuter.  This makes his clm-young::chooseone demo
      work reliably.  Richard writes:
      
          The detail that this patch affects is non-deterministic:
      
          RXmStringGetLtoR in xmstring.c calls message_write_boolean on a
          pointer, message_write_boolean in datatrans.c calls
          combine_type_and_data with the pointer and the boolean type tag,
          and combine_type_and_data in datatrans.h IORs the boolean type tag
          with the bits 25 to 32 from the start of the pointer.
      
          This gave a decoding error on the Lisp side in TOOLKIT-READ-VALUE,
          because the high 8 bits of the 32 bits being decoded indexed past
          the end of *TYPE-TABLE*. (But other incorrect outcomes are
          possible, e.g., the result of combine_type_and_data could index a
          valid, but wrong, type code, etc.)
      7fa26f32
  15. Oct 25, 2014
  16. Oct 19, 2014
  17. Oct 16, 2014
  18. Oct 14, 2014
  19. Oct 11, 2014
Loading