1. 10 Dec, 2013 1 commit
  2. 09 Dec, 2013 11 commits
  3. 08 Dec, 2013 20 commits
    • Katsumi Yamaoka's avatar
      lisp/gnus/gnus-msg.el (gnus-setup-message): Fix the type of argument passed to... · b51eddb2
      Katsumi Yamaoka authored
      lisp/gnus/gnus-msg.el (gnus-setup-message): Fix the type of argument passed to nnir-article-number and nnir-article-group
    • Paul Eggert's avatar
      Spelling fixes. · 09a7c0fe
      Paul Eggert authored
    • Eli Zaretskii's avatar
      Fix librsvg build on MS-Windows. · 83a5a2c8
      Eli Zaretskii authored
       configure.ac (HAVE_RSVG) [mingw32]: Don't link against librsvg statically.
    • Dmitry Gutov's avatar
      Mention test/indent/js.js, and restore one lost piece of it · 939fef29
      Dmitry Gutov authored
      * test/indent/js.js: New file.
    • Dmitry Gutov's avatar
      Port indentation code from js2-mode to js-mode · 47e59c66
      Dmitry Gutov authored
      * lisp/progmodes/js.el (js-auto-indent-flag): Remove, was unused.
      (js-switch-indent-offset): New option.
      (js--proper-indentation): Use it.  And handle the case when
      "default" is actually a key in an object literal.
      (js--same-line): New function.
      (js--multi-line-declaration-indentation): Use it.
      (js--indent-in-array-comp, js--array-comp-indentation): New
      (js--proper-indentation): Use them, to handle array comprehension
    • Juanma Barranquero's avatar
      Fix typos in doc files (bug#16089). · 36291308
      Juanma Barranquero authored
      * emacs/msdog.texi (Windows Keyboard): Fix typo.
      * lispref/display.texi (Progress, Face Remapping):
      * lispref/processes.texi (Serial Ports):
      * lispref/windows.texi (Recombining Windows): Fix typos.
      * misc/dbus.texi (Properties and Annotations): Fix typo.
    • Jan Djärv's avatar
      Fix GNUStep toolbar not updating. · b3e42b70
      Jan Djärv authored
      * src/nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating.
    • Jan Djärv's avatar
    • Martin Rudalics's avatar
      In x_set_font mark frame as garbaged (Bug#16028). · acfe4602
      Martin Rudalics authored
      * frame.c (x_set_font): Mark frame as garbaged (Bug#16028).
    • Leo Liu's avatar
      Re-write flymake-highlight-line in flymake.el · 974ebc9c
      Leo Liu authored
      * progmodes/flymake.el (flymake-highlight-line): Re-write.
      (flymake-make-overlay): Remove arg MOUSE-FACE.
      (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
    • Paul Eggert's avatar
      * configure.ac: Simplify supression of GTK deprecation warning. · 3bc9da32
      Paul Eggert authored
      Move -DGDK_DISABLE_DEPRECATION_WARNINGS out of the command line
      and into config.h, to shorten the command line when doing 'make'.
      Don't AC_SUBST GTK_CFLAGS, as this is not needed.
    • Stefan Monnier's avatar
      Make CUA-mode use shift-select-mode. · 27262e39
      Stefan Monnier authored
      * lisp/emulation/cua-base.el (cua--explicit-region-start)
      (cua--last-region-shifted): Remove.
      (cua--deactivate): Use deactivate-mark.
      (cua--pre-command-handler-1): Don't handle shift-selection.
      (cua--post-command-handler-1): Don't change transient-mark-mode.
      (cua--select-keymaps): Use region-active-p rather than
      cua--explicit-region-start or cua--last-region-shifted.
      (cua-mode): Enable shift-select-mode.
      * lisp/emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
      New function.
      (redisplay-highlight-region-function): Use it.
    • 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
      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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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-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-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
    • Stefan Monnier's avatar
      * src/window.c (set_window_buffer): Update mode line. · 0d9cba29
      Stefan Monnier authored
      Fixes: debbugs:16084
  4. 07 Dec, 2013 8 commits
    • Paul Eggert's avatar
      Fix minor problems found by static checking. · 67840e66
      Paul Eggert authored
      * keyboard.c (poll_for_input_1, input_polling_used):
      Define only if HAVE_NTGUI.
      * xmenu.c (popup_activate_callback): Omit unnecessary
      check against USE_X_TOOLKIT, which must be defined here anyway.
      * xterm.c, xterm.h (x_dispatch_event) [! (USE_X_TOOLKIT || USE_MOTIF)]:
      Now static.
    • Bozhidar Batsov's avatar
    • Martin Rudalics's avatar
      Fix int/Lisp_Object type mixup in w32_read_socket. · 947003b5
      Martin Rudalics authored
      * w32term.c (w32_read_socket): Fix int/Lisp_Object type mixup.
    • Jan Djärv's avatar
    • Tassilo Horn's avatar
      Fix describe-function with advised functions. · faec28d9
      Tassilo Horn authored
      * lisp/help-fns.el (describe-function-1): Use new advice-* functions
      rather than old ad-* functions.  Fix function type description and
      source links for advised functions and subrs.
    • Jan Djärv's avatar
      Fix GNUStep issues with startup. · 1bb2debd
      Jan Djärv authored
      * nsterm.h (EmacsApp): Add applicationDidFinishLaunchingCalled.
      Pixel resize changes for NS.
      * nsterm.m (x_set_window_size): Change parameters rows/cols to
      height/width.  row/cols are locals.
      Pass pixelwise to check_frame_size.  Don't set FRAME_PIXEL_WIDTH/HEIGHT.
      (updateFrameSize:): Remove gsextra.  Adjust for pixelwise resize.
      (windowWillResize): Remove gsextra.  Calculate extra as in
      (x_new_font): Don't change frame size if fullscreen.  Change
      size pixelwise.
      * nsterm.m (x_set_window_size): Remove fprintf.
      (init): Define always.  Set applicationDidFinishLaunchingCalled
      for GNUStep.
      (applicationDidFinishLaunching:): Set
      (applicationDidBecomeActive:): Call applicationDidFinishLaunching if
      not called.
    • Jan Djärv's avatar
      Mention bug 16049. · fa6fa1a1
      Jan Djärv authored
    • Jan Djärv's avatar
      Handle pixelwise resize changes in NS port. · 7def8cbd
      Jan Djärv authored
      * src/nsfns.m (Fx_create_frame): Call change_frame_size twice as per
      comment in xfns.c.  Change to pixelwise call.
      * src/nsterm.m (x_set_window_size): Change parameters rows/cols to
      height/width.  row/cols are locals.
      Pass pixelwise to check_frame_size.  Don't set FRAME_PIXEL_WIDTH/HEIGHT.
      (updateFrameSize:): Remove gsextra.  Adjust for pixelwise resize.
      (windowWillResize): Remove gsextra.  Calculate extra as in
      (x_new_font): Don't change frame size if fullscreen.  Change
      size pixelwise.