1. 30 Jun, 2012 2 commits
  2. 29 Jun, 2012 5 commits
  3. 28 Jun, 2012 8 commits
    • Stefan Monnier's avatar
      * src/editfns.c (region_limit): Clip to narrowing. · 7d7e0027
      Stefan Monnier authored
      Fixes: debbugs:11770
      7d7e0027
    • Paul Eggert's avatar
      Avoid integer overflow on scroll-left and scroll-right. · aa754e6a
      Paul Eggert authored
      * window.c (HSCROLL_MAX): New macro.
      (Fscroll_left, Fscroll_right): Avoid undefined behavior on integer
      overflow when requested scroll falls outside ptrdiff_t range.
      aa754e6a
    • Dmitry Antipov's avatar
      * window.h (struct window): Change type of 'hscroll', · 80b00b08
      Dmitry Antipov authored
      'min_hscroll' and 'last_point' from Lisp_Object to ptrdiff_t,
      'last_modified' and 'last_overlay_modified' to EMACS_INT.
      Adjust users accordingly.
      * xdisp.c (try_cursor_movement): Replace type check with eassert.
      * window.c (Fscroll_left, Fscroll_right): Change type of 'hscroll'
      from EMACS_INT to ptrdiff_t.
      (make_window): Omit redundant initialization.
      80b00b08
    • Juanma Barranquero's avatar
    • Dmitry Antipov's avatar
      * window.h (struct window): Change type of 'use_time' and · 45942c7d
      Dmitry Antipov authored
      'sequence_number' from Lisp_Object to int.
      * frame.c (make_frame): Adjust users accordingly.
      * print.c (print_object): Likewise.
      * window.c (select_window, Fwindow_use_time, make_parent_window)
      (make_window): Likewise.
      45942c7d
    • Dmitry Antipov's avatar
      * configure.in: Add glyphs category to --enable-checking option. · e509cfa6
      Dmitry Antipov authored
      (GLYPH_DEBUG): Define if glyphs debugging is enabled.
      * src/dispextern.h (GLYPH_DEBUG): Now defined in config.h if
      enabled with --enable-checking=[all,glyphs] configure option.
      Fix GLYPH_DEBUG usage assuming that it may be undefined,
      adjust comments accordingly.
      * src/dispnew.c: Fix GLYPH_DEBUG usage assuming that it may be
      undefined, adjust comments accordingly.
      * src/image.c: Likewise.
      * src/scroll.c: Likewise.
      * src/w32fns.c: Likewise.
      * src/w32term.c: Likewise.
      * src/xdisp.c: Likewise.
      * src/xfaces.c: Likewise.
      * src/xfns.c: Likewise.
      * src/xterm.c: Likewise.
      e509cfa6
    • Dmitry Antipov's avatar
      Generalize run-time debugging checks. · a54e2c05
      Dmitry Antipov authored
      * configure.in (ENABLE_CHECKING): Update comment.
      * src/dispextern.h (XASSERTS): Remove.
      * src/fontset.c (xassert): Remove.
      Convert from xassert to eassert.
      * src/alloc.c: Convert from xassert to eassert.
      * src/bidi.c: Likewise.
      * src/dispnew.c: Likewise.
      * src/fns.c: Likewise.
      * src/fringe.c: Likewise.
      * src/ftfont.c: Likewise.
      * src/gtkutil.c: Likewise.
      * src/image.c: Likewise.
      * src/keyboard.c: Likewise.
      * src/menu.c: Likewise.
      * src/process.c: Likewise.
      * src/scroll.c: Likewise.
      * src/sound.c: Likewise.
      * src/term.c: Likewise.
      * src/w32console.c: Likewise.
      * src/w32fns.c: Likewise.
      * src/w32term.c: Likewise.
      * src/window.c: Likewise.
      * src/xdisp.c: Likewise.
      * src/xfaces.c: Likewise.
      * src/xfns.c: Likewise.
      * src/xselect.c: Likewise.
      * src/xterm.c: Likewise.
      a54e2c05
    • Andreas Schwab's avatar
      * gnutls.c (emacs_gnutls_handshake): Revert last change. Add QUIT · 57570cd3
      Andreas Schwab authored
      to make the loop interruptible.
      57570cd3
  4. 27 Jun, 2012 10 commits
  5. 26 Jun, 2012 8 commits
  6. 25 Jun, 2012 7 commits