1. 11 Jul, 2014 4 commits
    • 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.
      5f7c30e7
    • 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
      8f4fc468
    • Michael Albinus's avatar
      0e02d309
    • 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
      c0ada759
  2. 10 Jul, 2014 5 commits
  3. 09 Jul, 2014 7 commits
  4. 08 Jul, 2014 21 commits
  5. 07 Jul, 2014 3 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.
      cae17e36
    • 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!).
      0e142329
    • Luke Lee's avatar
      HideIfDef mode bug fixes and enhancements. This is #3 of 3 patches based · 2c578850
      Luke Lee authored
      on the completed work posted on http://www.emacswiki.org/emacs/HideIfDef.
      
      - Add macro evaluation function and key binding for a marked region.
      - Merge continuous "..." lines into one.
      - Fix old hideif bugs that fail to hide the correct #elif regions
      - Support hide/show commands in a marked region.
      - Expand top level for .h files to prevent re-inclusion protection.
      - Change maintainer.
      
      * lisp/progmodes/hideif.el (hide-ifdef-env): Change to global.
      (hide-ifdef-env-backup): New variable.
      (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
      New customizable variables.
      (hif-clear-all-ifdef-defined): New defun.
      (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
      (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
      (hif-tokenize): Fix for MS-DOS/Win EOL style.
      (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
      Fix bug to hide the correct #elif region(s).
      (hif-range-elif): New defun.
      (hif-recurse-level): New var.
      (hif-evaluate-region, hif-evaluate-macro): New defun.
      (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
      fully hidden.
      (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
      Better interaction.
      2c578850