1. 08 Dec, 2013 8 commits
    • Paul Eggert's avatar
      Use libcrypto's checksum implementations if available, for speed. · e9551b12
      Paul Eggert authored
      On commonly used platform libcrypto uses architecture-specific
      assembly code, which is significantly faster than the C code we
      were using.  See Pádraig Brady's note in
      <http://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00000.html>.
      Merge from gnulib, incorporating:
      2013-12-07 md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
      2013-12-07 md5, sha1, sha256, sha512: add 'auto', and set-default method
      2013-12-04 include_next: minimize code duplication
      2013-12-03 md5, sha1, sha256, sha512: support mandating use of openssl
      2013-12-02 md5, sha1, sha256, sha512: use openssl routines if available
      * configure.ac (--without-all): Set with_openssl_default too.
      Use gl_SET_CRYPTO_CHECK_DEFAULT to default to 'auto'.
      (HAVE_LIB_CRYPTO): New var.
      Say whether Emacs is configured to use a crypto library.
      * lib/gl_openssl.h, m4/absolute-header.m4, m4/gl-openssl.m4:
      New files, copied from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h:
      * lib/sha256.c, lib/sha256.h, lib/sha512.c, lib/sha512.h:
      * m4/include_next.m4, m4/md5.m4, m4/sha1.m4, m4/sha256.m4, m4/sha512.m4:
      Update from gnulib.
      * src/Makefile.in (LIB_CRYPTO): New macro.
      (LIBES): Use it.
      e9551b12
    • Stefan Monnier's avatar
      * lisp/rect.el (rectangle-mark-mode): Activate mark even if · 02033d49
      Stefan Monnier authored
      transient-mark-mode is off.
      (rectangle--highlight-for-redisplay): Fix boundary condition when point
      is > mark and at bolp.
      
      Fixes: debbugs:16066
      02033d49
    • Leo Liu's avatar
      Re-implement popup menu for flymake · 6407822c
      Leo Liu authored
      * progmodes/flymake.el (flymake-popup-current-error-menu): Rename
      from flymake-display-err-menu-for-current-line. Reimplement.
      (flymake-posn-at-point-as-event, flymake-popup-menu)
      (flymake-make-emacs-menu): Remove.
      
      Fixes: debbugs:16077
      6407822c
    • Stefan Monnier's avatar
      Use delete-selection-mode in cua-mode. · 6f8dfccf
      Stefan Monnier authored
      * lisp/emulation/cua-base.el (cua--prefix-copy-handler)
      (cua--prefix-cut-handler): Rely on region-extract-function rather than
      checking cua--rectangle.
      (cua-delete-region): Use region-extract-function.
      (cua-replace-region): Delete function.
      (cua-copy-region, cua-cut-region): Obey region-extract-function.
      (cua--pre-command-handler-1): Don't do the delete-selection thing.
      (cua--self-insert-char-p): Ignore `self-insert-iso'.
      (cua--init-keymaps): Don't remap delete-selection commands.
      (cua-mode): Use delete-selection-mode instead of rolling our own.
      * lisp/emulation/cua-rect.el (cua--rectangle-region-extract): New function.
      (region-extract-function): Use it.
      (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
      (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
      Delete functions.
      (cua--init-rectangles): Don't re-remap copy-region-as-kill,
      kill-ring-save, kill-region, delete-char, delete-forward-char.
      Ignore self-insert-iso.
      * lisp/menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
      Obey region-extract-function.
      * lisp/emulation/cua-gmrk.el (cua--init-global-mark):
      Ignore `self-insert-iso'.
      
      Fixes: debbugs:16085
      6f8dfccf
    • Paul Eggert's avatar
      * frame.h (SET_FRAME_VISIBLE): Now an inline function. · 95b3d095
      Paul Eggert authored
      The macro didn't conform to C99 due to type mismatch,
      which caused compilation failure with Sun C 5.12,
      and it was confusing anyway.  Include window.h to declare
      redisplay_other_windows.
      95b3d095
    • Stefan Monnier's avatar
      Make registers and delete-selection-mode work on rectangles. · 00a2b823
      Stefan Monnier authored
      * lisp/register.el (describe-register-1): Don't modify the register's value.
      (copy-to-register): Obey region-extract-function.
      * lisp/delsel.el (delete-active-region): Obey region-extract-function.
      00a2b823
    • Leo Liu's avatar
      Clean up flymake.el · a92fa5f1
      Leo Liu authored
      * lisp/progmodes/flymake.el (flymake, flymake-error-bitmap)
      (flymake-warning-bitmap, flymake-fringe-indicator-position)
      (flymake-compilation-prevents-syntax-check)
      (flymake-start-syntax-check-on-newline)
      (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
      (flymake-start-syntax-check-on-find-file, flymake-log-level)
      (flymake-xml-program, flymake-master-file-dirs)
      (flymake-master-file-count-limit)
      (flymake-allowed-file-name-masks): Relocate.
      (flymake-makehash, flymake-float-time)
      (flymake-replace-regexp-in-string, flymake-split-string)
      (flymake-get-temp-dir): Remove.
      (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
      (flymake-current-row, flymake-selected-frame)
      (flymake-get-point-pixel-pos): Remove xemacs compatibity and
      related functions.
      
      Fixes: debbugs:16077
      a92fa5f1
    • Stefan Monnier's avatar
      * src/window.c (set_window_buffer): Update mode line. · 0d9cba29
      Stefan Monnier authored
      Fixes: debbugs:16084
      0d9cba29
  2. 07 Dec, 2013 10 commits
  3. 06 Dec, 2013 13 commits
  4. 05 Dec, 2013 7 commits
  5. 04 Dec, 2013 2 commits