1. 11 Jul, 2014 5 commits
    • Dmitry Antipov's avatar
      * src/alloc.c (Fmemory_info) [HAVE_LINUX_SYSINFO]: Return nil if · 3aa96ff5
      Dmitry Antipov authored
      sysinfo failed.  Adjust docstring.
      * doc/lispref/internals.texi (Garbage Collection): Mention memory-info.
      * lisp/files.el (out-of-memory-warning-percentage): New defcustom.
      (warn-maybe-out-of-memory): Use it.
    • Eli Zaretskii's avatar
      Implement memory-info for MS-DOS. · 5f7c30e7
      Eli Zaretskii authored
       src/dosfns.c (dos_memory_info): New function.
       src/dosfns.h (dos_memory_info): Add prototype.
       src/alloc.c (Fmemory_info) [MSDOS]: Call dos_memory_info.
       src/vm-limit.c (get_lim_data) [MSDOS]: Call dos_memory_info, instead
       of doing some of its job.
    • Eli Zaretskii's avatar
      Temporary fix for the MS-Windows build broken by last commit. · 8f4fc468
      Eli Zaretskii authored
       src/minibuf.c (read_minibuf_noninteractive) [WINDOWSNT]: Don't
       reference termios structure members.
      Fixes: debbugs:17839
    • Michael Albinus's avatar
    • Michael Albinus's avatar
      Hide password in batch mode · c0ada759
      Michael Albinus authored
      * doc/lispref/minibuf.texi (Intro to Minibuffers, Reading a Password):
      Password hiding is available in batch mode, do not mention it in
      the exclusion list.  Mention `read-hide-char'. 
      * lisp/subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
      when calling `read-string'.
      * src/minibuf.c (top): Include systty.h.  Declare external
      emacs_get_tty and emacs_set_tty.
      (Vread_hide_char): New lisp variable.
      (read_minibuf_noninteractive): Hide characters with
      Vread_hide_char if it is a character.
      * src/sysdep.c (emacs_get_tty, emacs_set_tty): Make them externally visible.
      Fixes: debbugs:17839
  2. 10 Jul, 2014 5 commits
  3. 09 Jul, 2014 7 commits
  4. 08 Jul, 2014 21 commits
  5. 07 Jul, 2014 2 commits
    • Paul Eggert's avatar
      Minor fixups related to usage of the 'long' type. · cae17e36
      Paul Eggert authored
      * gnutls.c (emacs_gnutls_handshake):
      * xfaces.c (dump_realized_face):
      Work even if 'long' is narrower than 'void *'.
      * termcap.c (scan_file):
      * xselect.c (x_decline_selection_request)
      (x_reply_selection_request, x_get_window_property):
      * xterm.c (x_set_frame_alpha):
      Remove unnecessary 'L' suffixes of integer constants.
      * xfns.c (hack_wm_protocols):
      * xselect.c (x_fill_property_data):
      * xterm.c (x_set_offset, x_set_window_size_1, x_make_frame_invisible):
      Remove unnecessary casts to 'long'.
      (set_machine_and_pid_properties): Don't assume pid_t fits in 32 bits.
    • Paul Eggert's avatar
      Minor ImageMagick safety fixes. · 0e142329
      Paul Eggert authored
      * image.c (imagemagick_compute_animated_image):
      Remove useless assignment to local.  Avoid problems if dest_width is 0.
      (imagemagick_load_image): Use int for pixel counts that can't
      exceed INT_MAX.  Avoid problem if PixelGetNextIteratorRow returns
      a row width greater than the image width (or greater than LONG_MAX!).