1. 28 Jun, 2012 15 commits
    • 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
    • Julien Danjou's avatar
      term: rework color cutomizing · ae4969c2
      Julien Danjou authored
      * term.el (term-handle-colors-array): Use a set of new faces to
      color the terminal.  Also uses :inverse-video property.
      (term-default-fg-color): Set to nil by default, deprecate in favor
      of `term-face'.
      (term-default-bg-color): Set to nil by default, deprecate in favor
      of `term-face'.
      (term-current-face): Use `term-face' by default.
      (term-bold-attribute): Variable deleted.
      ae4969c2
    • Glenn Morris's avatar
      Auto-commit of generated files. · 7ee3791f
      Glenn Morris authored
      7ee3791f
    • Juanma Barranquero's avatar
    • 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
    • Glenn Morris's avatar
      * simple.el (completion-list-mode-finish): Don't use toggle-read-only. · 1c9bd870
      Glenn Morris authored
      Since completion-list-mode has a special mode-class, it wasn't doing
      anything extra anyway.
      1c9bd870
    • Glenn Morris's avatar
      TODO updates; add wishlist section · acd97ed6
      Glenn Morris authored
      acd97ed6
    • Glenn Morris's avatar
      * emacs.py, emacs2.py, emacs3.py: Remove files. · 9ab89959
      Glenn Morris authored
      AFAICS, the new python.el does not use these files.
      9ab89959
    • Paul Eggert's avatar
      * configure.in: Don't check for sys/select.h, sys/time.h, utime.h. · 15458df4
      Paul Eggert authored
      Emacs proper no longer uses these headers, and can rely on Gnulib
      for these checks.
      15458df4
    • Stefan Monnier's avatar
      Make inlining of other-mode interpreted functions work. · c207708c
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
      (byte-compile): Use it to fix compilation of lexical-binding closures.
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
      function, if needed.
      
      Fixes: debbugs:11799
      c207708c
    • Paul Eggert's avatar
      Merge from gnulib. · 059e4fb5
      Paul Eggert authored
      * m4/getopt.m4: Copy new version from gnulib, incorporating:
      getopt-posix: No longer guarantee that option processing is resettable.
      059e4fb5
  2. 27 Jun, 2012 23 commits
  3. 26 Jun, 2012 2 commits