1. 12 Nov, 2014 2 commits
  2. 08 Nov, 2014 3 commits
    • Raymond Toy's avatar
      Auto-generate dependencies. · 96b342a8
      Raymond Toy authored
       * Config.solaris:
         * Add appropriate value for DEPEND_FLAGS
    • 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
    • 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.
  3. 07 Nov, 2014 1 commit
  4. 06 Nov, 2014 3 commits
    • 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:
       * 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.
    • Raymond Toy's avatar
      Add a final newline to the file. · 4c0e2967
      Raymond Toy authored
    • 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.
  5. 03 Nov, 2014 1 commit
  6. 02 Nov, 2014 4 commits
  7. 01 Nov, 2014 1 commit
  8. 30 Oct, 2014 1 commit
  9. 29 Oct, 2014 1 commit
  10. 27 Oct, 2014 2 commits
    • Raymond Toy's avatar
      Minor tweaks for solaris. · 0bb2950b
      Raymond Toy authored
    • Raymond Toy's avatar
      Fix issue in sending a boolean created from a pointer in · 7fa26f32
      Raymond Toy authored
      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.)
  11. 25 Oct, 2014 3 commits
    • Raymond Toy's avatar
      Support 64-bit time-t on NetBSD. · 088e156b
      Raymond Toy authored
      Fixes from Robert Swindells.
    • Raymond Toy's avatar
      Fix motifd text callback. · 9829658f
      Raymond Toy authored
      Merge fix from Richard Kreuter's clm-text-callback branch. This fixes an
      issue where text callbacks get nil. The test case is clm-young::numeric
      from Richard Kreuter.  Without this patch, running (clm-young::numeric)
      and entering digits and characters causes errors[1].  With this patch,
      digits can be entered, and non-digits are correctly rejected.
      [1] On linux. For whatever reason, this works on darwin/x86 even without
          this patch.
    • Raymond Toy's avatar
      Fix #84: motifd is 64-bit app. · 2dd94c9b
      Raymond Toy authored
      Merge Richard Kreuter's clm-oids branch to master.  This allows
      motifd to work even if motifd is a 64-bit app.  From Richard:
      ...the server passes out 32-bits of a pointer as external IDs for
      instances of a handful of types [1]. On a 64-bit machine, the instances'
      addresses might not fit in a 32-bit address, though.
      (In fact, on my FreeBSD/amd64 machine, when I run the example from the
      documentation, the first shell widget always gets created at
      create the second widget with the shell as parent crashes the server.)
      Seems like there are two options:
      A. Change the wire protocol to accomodate 64-bit integers.
      B. Synthesize 32-bit identifiers for instances of the offending types.
      Option B seems simpler....
      [It] suffices to run the example in the doc and the programs in
      INTERFACE.... Obvious problems in the current code:
      1. It's a doubly linked alist associating pointers with 32-bit integers.
      2. It looks like nothing ever gets removed from the alist....
      3. I'm not certain that I've caught all the places where motifd hands
         out pointers to Lisp.
      [1] I think the complete list is AcceleratorTable, Atom, FontList,
      TranslationTable, Widget, and sometimes XmString.
  12. 19 Oct, 2014 3 commits
  13. 16 Oct, 2014 3 commits
    • Raymond Toy's avatar
      Fix compiler warning on ppc about &context->uc_mcontext->__es.__dar · b6f5f1f5
      Raymond Toy authored
      and __dsisr.
      __dar and __dsisr are declared to be type unsigned long, but on a
      32-bit system unsigned int and unsigned long are the same.
    • Raymond Toy's avatar
      Remove OS_LINK_FLAGS that were creating a CMUCLRO section. · c65697e5
      Raymond Toy authored
      They were commented out in 2004/10 so it's way past time to remove them.
    • Raymond Toy's avatar
      Remove darwin-lispadjuster.c and ppc-darwin-dlshim.c · bcb27939
      Raymond Toy authored
      Use of ppc-darwin-dlshim.c was removed, but I forgot to remove the
      Use of darwin-lispadjuster.c has been commented out for a while, so
      I'm getting rid of it. It seems at one point it was needed to resize
      the CMUCLRO section in the lisp executable, but there is CMUCLRO
      section anymore.
       * Deleted
       * Remove Make rule for adjustlisp and friends.
       * Remove old commented out version of OS_SRC; we don't use
         ppc-darwin-dlshim.c anymore.
  14. 14 Oct, 2014 3 commits
  15. 11 Oct, 2014 7 commits
  16. 10 Oct, 2014 2 commits