1. 08 Jul, 2014 14 commits
  2. 07 Jul, 2014 4 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
    • Katsumi Yamaoka's avatar
  3. 05 Jul, 2014 1 commit
  4. 04 Jul, 2014 4 commits
  5. 03 Jul, 2014 7 commits
  6. 02 Jul, 2014 9 commits
  7. 01 Jul, 2014 1 commit
    • Juri Linkov's avatar
      Display man pages immediately and use process-filter to format them asynchronously. · a4b0fffe
      Juri Linkov authored
      * lisp/man.el (Man-width): Doc fix.
      (man): Doc fix.
      (Man-start-calling): Use `with-selected-window' to get
      `frame-width' and `window-width'.
      (Man-getpage-in-background): Call `Man-notify-when-ready'
      immediately after creating a new buffer.  Call `Man-mode' and set
      `mode-line-process' in the created buffer.  Set process-filter to
      `Man-bgproc-filter' in start-process branch.  In call-process branch
      call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
      Use `Man-start-calling' inside `with-current-buffer'.
      (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
      (Man-cleanup-manpage): Don't print messages.
      (Man-bgproc-filter): New function.
      (Man-bgproc-sentinel): Add `save-excursion' to keep point when
      user moved it during asynchronous formatting.  Move calls of
      `Man-fontify-manpage' and `Man-cleanup-manpage' to
      `Man-bgproc-filter'.  Move the call of `Man-mode' to
      `Man-getpage-in-background'.  Use `quit-restore-window'
      instead of `kill-buffer'.  Use `message' instead of `error'
      because errors are catched by process sentinel.
      (Man-mode): Move calls of `Man-build-page-list',
      `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
      `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
      a4b0fffe