1. 24 Aug, 2013 1 commit
    • Paul Eggert's avatar
      System-dependent integer overflow fixes. · 9c05bccf
      Paul Eggert authored
      * process.c (Fset_process_window_size): Signal an error if
      the window size is outside the range supported by the lower level.
      * sysdep.c (set_window_size): Return negative on error,
      nonnegative on success, rather than -1, 0, 1 on not in system,
      failure, success.  This is simpler.  Caller changed.
      (serial_configure): Remove unnecessary initialization of local.
      (procfs_get_total_memory) [GNU_LINUX]: Don't assume system memory
      size fits in unsigned long; this isn't true on some 32-bit hosts.
      Avoid buffer overrun if some future version of /proc/meminfo has a
      variable name longer than 20 bytes.
      (system_process_attributes) [__FreeBSD__]:
      Don't assume hw.availpages fits in 'int'.
  2. 23 Aug, 2013 13 commits
  3. 22 Aug, 2013 4 commits
    • Paul Eggert's avatar
      * process.c (flush_pending_output): Remove stub. · 26495794
      Paul Eggert authored
      All uses removed.
    • Paul Eggert's avatar
      * configure.ac (EMACS_CONFIG_OPTIONS): Quote systematically. · 917c483a
      Paul Eggert authored
      This improves on the patch already installed, by quoting options
      that contain spaces and suchlike systematically, so that
      EMACS_CONFIG_OPTIONS is no longer ambiguous when options contain
      these characters.
      Fixes: debbugs:13274
    • Stefan Monnier's avatar
      * lisp/erc/erc.el: Use lexical-binding. · d0fcaff5
      Stefan Monnier authored
      (erc-user-full-name): Minor CSE simplification.
      (erc-mode-map): Assume command-remapping is available.
      (erc-once-with-server-event): Replace `forms' arg with a function arg.
      (erc-once-with-server-event-global): Remove.
      (erc-ison-p): Adjust to change in erc-once-with-server-event.
      (erc-get-buffer-create): Remove arg `proc'.
      (iswitchb-make-buflist-hook): Declare.
      (erc-setup-buffer): Use pcase; avoid ((lambda ..) ..).
      (read-passwd): Assume it exists.
      (erc-display-line, erc-cmd-IDLE): Avoid add-to-list, adjust to change
      in erc-once-with-server-event.
      (erc-cmd-JOIN, erc-set-channel-limit, erc-set-channel-key)
      (erc-add-query): Minor CSE simplification.
      (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Adjust to change
      in erc-once-with-server-event.
      (erc-echo-notice-in-user-and-target-buffers): Avoid add-to-list.
      * lisp/erc/erc-track.el: Use lexical-binding.
      (erc-make-mode-line-buffer-name): Use closures instead of `(lambda...).
      (erc-faces-in): Avoid add-to-list.
      * lisp/erc/erc-notify.el: Use lexical-binding.
      (erc-notify-timer): Adjust to change in erc-once-with-server-event.
      (erc-notify-QUIT): Use a closure instead of `(lambda...).
      * lisp/erc/erc-list.el: Use lexical-binding.
      (erc-list-install-322-handler, erc-cmd-LIST): Adjust to change in
      * lisp/erc/erc-button.el: Use lexical-binding.
      (erc-button-next-function): Use a closure instead of `(lambda...).
    • Stefan Monnier's avatar
      * lisp/calendar/timeclock.el: Minor cleanups. · 8352b530
      Stefan Monnier authored
      (timeclock-ask-before-exiting, timeclock-use-display-time): Use `symbol'.
      (timeclock-modeline-display): Define as alias before the actual definition.
      (timeclock-mode-line-display): Use define-minor-mode.
      (timeclock-day-list-template): Make it a function, add an argument.
      (timeclock-day-list-required, timeclock-day-list-length)
      (timeclock-day-list-debt, timeclock-day-list-span)
      (timeclock-day-list-break): Adjust calls accordingly.
  4. 21 Aug, 2013 8 commits
  5. 20 Aug, 2013 8 commits
  6. 19 Aug, 2013 6 commits