1. 23 May, 2011 4 commits
  2. 22 May, 2011 5 commits
    • Chong Yidong's avatar
      Remove var mistakenly introduced in 2011-05-22T19:46:47Z!cyd@stupidchicken.com. · abb71cf4
      Chong Yidong authored
      * src/xselect.c (syms_of_xselect): Remove unused symbol SAVE_TARGETS.
      (Fx_get_selection_internal): Minor cleanup.
      (Fx_own_selection_internal): Rename arguments for consistency with
      select.el.
      abb71cf4
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Rework Fformat to avoid integer overflow issues. · 37910ab2
      Paul Eggert authored
      * editfns.c: Include <float.h> unconditionally, as it's everywhere
      now (part of C89).  Include <verify.h>.
      (MAX_10_EXP, CONVERTED_BYTE_SIZE): Remove; no longer needed.
      (pWIDE, pWIDElen, signed_wide, unsigned_wide): New defns.
      (Fformat): Avoid the prepass trying to compute sizes; it was only
      approximate and thus did not catch overflow reliably.  Instead, walk
      through the format just once, formatting and computing sizes as we go,
      checking for integer overflow at every step, and allocating a larger
      buffer as needed.  Keep track separately whether the format is
      multibyte.  Keep only the most-recently calculated precision, rather
      than them all.  Record whether each argument has been converted to
      string.  Use EMACS_INT, not int, for byte and char and arg counts.
      Support field widths and precisions larger than INT_MAX.  Avoid
      sprintf's undefined behavior with conversion specifications such as %#d
      and %.0c.  Fix bug with strchr succeeding on '\0' when looking for
      flags.  Fix bug with (format "%c" 256.0).  Avoid integer overflow when
      formatting out-of-range floating point numbers with int
      formats. (Bug#8668)
      37910ab2
    • Chong Yidong's avatar
    • Paul Eggert's avatar
      2e6578fb
  3. 21 May, 2011 5 commits
  4. 20 May, 2011 4 commits
  5. 19 May, 2011 1 commit
    • Glenn Morris's avatar
      Remove the SOME_MACHINE_LISP distinction in src/Makefile.in. · 4a720484
      Glenn Morris authored
      See discussion in http://debbugs.gnu.org/8302
      
      * configure.in (NS_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT)
      (WINDOW_SUPPORT): Remove output variables that are no longer used.
      
      * lib-src/makefile.w32-in (echolisp): Remove rule that is no longer needed.
      (clean): No more echolisp.tmp.
      
      * .bzrignore: Remove lib-src/echolisp.tmp.
      
      * lisp/emacs-lisp/autoload.el (batch-update-autoloads):
      Set autoload-excludes by parsing lisp/loadup.el rather than Makefiles.
      
      * lisp/loadup.el: Update commentary.
      
      * msdos/sed1x.inp (TOOLTIP_SUPPORT, WINDOW_SUPPORT):
      * msdos/sed1v2.inp (MSDOS_SUPPORT, NS_SUPPORT, MOUSE_SUPPORT)
      (TOOLTIP_SUPPORT, WINDOW_SUPPORT): No need to edit these any more.
      
      * src/Makefile.in (MSDOS_SUPPORT_REAL, MSDOS_SUPPORT, NS_SUPPORT)
      (REAL_MOUSE_SUPPORT, GPM_MOUSE_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT)
      (BASE_WINDOW_SUPPORT, X_WINDOW_SUPPORT, WINDOW_SUPPORT): Remove.
      (lisp): Set the order to that of loadup.el.
      (shortlisp): Make it a copy of $lisp.
      (SOME_MACHINE_LISP): Remove.
      ($(etc)/DOC): Depend just on $lisp, not $SOME_MACHINE_LISP too.
      Use just $shortlisp, not $SOME_MACHINE_LISP too.
      4a720484
  6. 18 May, 2011 5 commits
  7. 16 May, 2011 3 commits
  8. 14 May, 2011 2 commits
  9. 13 May, 2011 3 commits
  10. 12 May, 2011 8 commits