Skip to content
Snippets Groups Projects
  1. Nov 15, 2014
  2. Nov 13, 2014
  3. Nov 12, 2014
  4. 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
  5. Nov 07, 2014
  6. 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
  7. Nov 02, 2014
  8. Nov 01, 2014
  9. Oct 30, 2014
  10. 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
  11. Oct 25, 2014
  12. Oct 19, 2014
  13. Oct 16, 2014
  14. Oct 14, 2014
  15. Oct 11, 2014
  16. Oct 10, 2014
    • Raymond Toy's avatar
    • Raymond Toy's avatar
      a1946b35
    • Raymond Toy's avatar
      Unify extern-alien-name for darwin x86 and ppc. · 571dd490
      Raymond Toy authored
      Initial attempt to unify extern-alien-name, primarily for darwin (x86
      and ppc). Thus, systems using elf do not prepend an underscore, but
      other systems are assumed to prepend an underscore.
      
      This is currently only for darwin/x86.  A cross-compile on darwin x86
      is needed.
      
       * code/x86-vm.lisp:
         * For elf systems, don't prepend an underscore.  For other systems,
           do prepend.
       * compiler/generic/new-genesis.lisp:
         * Fix long-standing bug where we should call EXTERN-ALIEN-NAME to
           get the right name for "resolve_linkage_tramp".
       * lisp/Darwin-os.c:
         * Update os_dlsym to assume the external name is always preceded by
           an underscore.  The lookup for dlysm is done by stripping off the
           leading underscore.
       * lisp/os-common.c:
         * Add EXTERN_ALIEN_NAME macro to create the correct alien name for
           elf and non-elf systems.
         * Use it to generate the correct name to be used for comparison in
           the sanity checks of the linkage table entries.
      571dd490
  17. Oct 09, 2014
    • Raymond Toy's avatar
      First cut at removing ppc-darwin-dlshim.c. Not needed anymore because · 57711cc2
      Raymond Toy authored
      dlsym works on OSX/ppc like on other ports.
      
      A cross-compile was used with cross-ppc-ppc-darwin.lisp.  I'm not sure
      a cross-compile is required, though.
      
       * code/ppc-vm.lisp:
         * EXTERN-ALIEN-NAME doesn't need to prepend an underscore anymore. 
       * lisp/Config.ppc_darwin:
         * Don't compile/link ppc-darwin-dlshim.c.
       * lisp/os-common.c:
         * Don't prepend underscore for call_into_lisp.
       * tools/cross-scripts/cross-ppc-ppc-darwin.lisp:
         * EXTERN-ALIEN-NAME doesn't need to prepend an underscore anymore.
      57711cc2
    • Raymond Toy's avatar
      Fix issue with negative value for lisp::cycles-per-tick. · 2c1badef
      Raymond Toy authored
      This causes negative cpu cyles with TIME. Basic issue is that a cpu
      frequency of 2.3 GHZ won't fit in an int. Use an unsigned int.
      
      We also take this opportunity to use a rounded value for
      clocks-per-tick instead of truncating.  For this particular case the
      ratio is actual 68.99 which would truncated to 68. We should probably
      use 69 instead.
      2c1badef
Loading