1. 08 Sep, 2011 1 commit
    • Martin Rudalics's avatar
      Rewrite window/frame auto-deletion code. (Bug#9419) and (Bug#9456) · 8b0874b5
      Martin Rudalics authored
      * window.el (frame-auto-delete): Rename to window-auto-delete.
      Make it control auto-deletion of windows and/or frames.
      (window-deletable-p): New argument FORCE.  Rewrite conditions
      for deleting window/frame. (Bug#9419)
      (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
      Rewrite handling of case when window/frame can be deleted.
      (delete-windows-on): Call window-deletable-p with new FORCE
      argument t. (Bug#9456)
      8b0874b5
  2. 07 Sep, 2011 14 commits
  3. 06 Sep, 2011 5 commits
  4. 05 Sep, 2011 8 commits
  5. 04 Sep, 2011 12 commits
    • Paul Eggert's avatar
      Merge from trunk. · 1c262cae
      Paul Eggert authored
      1c262cae
    • Lars Magne Ingebrigtsen's avatar
      Merge changes made in Gnus trunk. · 052bd38a
      Lars Magne Ingebrigtsen authored
      gnus.el (gnus-home-directory): Add warning about setting in .gnus.el (bug#9405).
      gnus-score.el (gnus-summary-increase-score): Doc clarification (bug#9421).
      gnus-spec.el (gnus-face-0): Make all the face specs into defcustoms (bug#9425).
      gnus-art.el (gnus-treatment-function-alist): Remove CRs as the first thing (bug#9426).
      052bd38a
    • Paul Eggert's avatar
      sprintf-related integer and memory overflow issues · 86633eab
      Paul Eggert authored
      Fixes: debbugs:9397 debbugs:9412
      86633eab
    • Paul Eggert's avatar
      Merge from trunk. · 6511acf2
      Paul Eggert authored
      6511acf2
    • Paul Eggert's avatar
      Integer overflow fixes for scrolling, etc. · 53e9fe90
      Paul Eggert authored
      53e9fe90
    • Paul Eggert's avatar
      Merge from trunk. · 7ab3acf4
      Paul Eggert authored
      7ab3acf4
    • Paul Eggert's avatar
      * xdisp.c: Integer overflow fix. · 806add1d
      Paul Eggert authored
      (try_window_id): Check Emacs fixnum range before converting to 'int'.
      806add1d
    • Paul Eggert's avatar
      * window.c: Integer overflow fixes. · 71f02bc5
      Paul Eggert authored
      (window_scroll_line_based, Frecenter):
      Check that an Emacs fixnum is in range before assigning it to 'int'.
      (Frecenter, Fmove_to_window_line): Use EMACS_INT, not int, for
      values converted from Emacs fixnums.
      (Frecenter): Don't wrap around a line count if it is out of 'int'
      range; instead, treat it as an extreme value.
      (Fset_window_configuration, compare_window_configurations):
      Use ptrdiff_t, not int, for index that might exceed 2 GiB.
      71f02bc5
    • Michael Albinus's avatar
      * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but · f5e29b9b
      Michael Albinus authored
      `tramp-cache-unload-hook' where appropriate.
      (tramp-methods): Rename `tramp-remote-sh' to
      `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
      (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
      
      * net/tramp-sh.el (top): Don't require 'shell.
      (tramp-methods): Add `tramp-remote-shell' and
      `tramp-remote-shell-args' entries.
      (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
      (tramp-sh-handle-shell-command): Remove.
      (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
      Use `tramp-remote-shell'.
      f5e29b9b
    • Paul Eggert's avatar
      * search.c: Integer overflow fixes · a0efffc8
      Paul Eggert authored
      (Freplace_match): Use ptrdiff_t, not int, for indexes that can
      exceed INT_MAX.  Check that EMACS_INT value is in range before
      assigning it to the (possibly-narrower) index.
      (match_limit): Don't assume that a fixnum can fit in 'int'.
      a0efffc8
    • Paul Eggert's avatar
      * print.c: Integer overflow fix. · 29ebea3b
      Paul Eggert authored
      (print_object): Use ptrdiff_t, not int, for index that can
      exceed INT_MAX.
      29ebea3b
    • Paul Eggert's avatar
      * indent.c: Integer overflow fixes. · 3f8236f4
      Paul Eggert authored
      (position_indentation): Now takes ptrdiff_t, not int.
      (Fvertical_motion): Don't wrap around LINES values that don't fit
      in 'int'.  Instead, treat them as extreme values.  This is good
      enough for windows, which can't have more than INT_MAX lines anyway.
      3f8236f4