1. 19 Dec, 2016 2 commits
  2. 18 Dec, 2016 5 commits
  3. 17 Dec, 2016 5 commits
    • Reuben Thomas's avatar
      Fix spelling mistake in private defun name (Bug#25218) · 1a15d14e
      Reuben Thomas authored
      lisp/textmodes/flyspell.el (flyspell-ajust-cursor-point): Rename to
      `flyspell-adjust-cursor-point'.
      1a15d14e
    • Reuben Thomas's avatar
      Remove XEmacs support from flyspell.el (Bug#25218) · 63f827ab
      Reuben Thomas authored
      lisp/textmodes/flyspell.el (flyspell-prog-mode, flyspell-mode-on):
      (flyspell-word, flyspell-delete-region-overlays):
      (flyspell-correct-word-before-point): Remove XEmacs support.
      (flyspell-xemacs-popup): Remove XEmacs-specific defun.
      63f827ab
    • Michael Albinus's avatar
      More tests for Tramp · cfa2fb26
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-drop-volume-letter): Handle quoted
      file names.
      
      * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name): Quote file
      name properly.
      
      * test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name):
      Mark quoted file name as absolute.  (Bug#25183)
      (tramp--test-windows-nt-and-batch)
      (tramp--test-windows-nt-and-pscp-psftp-p): New defuns.
      (tramp--test-windows-nt-or-smb-p): Rename from
      `tramp--test-smb-windows-nt-p'.  Adapt callees.
      (tramp--test-check-files): Improve checks for environment variables.
      (tramp-test33-special-characters)
      (tramp-test33-special-characters-with-stat)
      (tramp-test33-special-characters-with-perl)
      (tramp-test33-special-characters-with-ls, tramp-test34-utf8)
      (tramp-test34-utf8-with-stat, tramp-test34-utf8-with-perl)
      (tramp-test34-utf8-with-ls): Add more checks for skip.
      cfa2fb26
    • Eli Zaretskii's avatar
      Fix comments · 0390edcb
      Eli Zaretskii authored
      * src/thread.h (struct thread_state): Fix comments.
      * src/process.c (wait_reading_process_output): Fix a typo in
      commentary.
      0390edcb
    • Eli Zaretskii's avatar
      Fix crashes on MS-Windows during dumping · 0757b4f2
      Eli Zaretskii authored
      * src/unexw32.c (get_section_info): Make extra_bss_size be the
      maximum of extra_bss_size and extra_bss_size_static.  This avoids
      computing the size of the output file smaller than it actually
      needs to be, which then causes copy_executable_and_dump_data to
      write beyond the requested size of the file mapping, thus relying
      on the OS roundup to page boundary to save us from ourselves.  See
      http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00642.html
      for the details.
      
      * lib/stdio-impl.h: Revert the workaround fix of not including
      errno.h for MinGW.
      0757b4f2
  4. 16 Dec, 2016 7 commits
    • Mark Oteiza's avatar
      Be more selective clearing the image cache · 6bf83218
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-create-thumbs):
      (image-dired-rotate-thumbnail, image-dired-refresh-thumb): Only clear
      the current thumbnail file from the image cache.
      6bf83218
    • Eli Zaretskii's avatar
      Unbreak the MinGW build · b3cf2811
      Eli Zaretskii authored
      * lib/stdio-impl.h [__MINGW32__]: Don't include errno.h.  Without
      this, temacs crashes while dumping.
      b3cf2811
    • NicolasPetton's avatar
      Make seq-into return the sequence when no conversion needed · fb2fdb14
      NicolasPetton authored
      * lisp/emacs-lisp/seq.el (seq-into): Do not convert the sequence when
        no conversion is needed.
      * test/lisp/emacs-lisp/seq-tests.el (test-seq-into-and-identity): Add
        a regression test checking for identity.
      fb2fdb14
    • Mark Oteiza's avatar
      New commands image-scroll-left and image-scroll-right · cdf5340f
      Mark Oteiza authored
      * etc/NEWS: Mention them.
      * lisp/image-mode.el (image-scroll-left, image-scroll-right): New
      functions.
      cdf5340f
    • Mark Oteiza's avatar
      More image-dired refactoring · f8a47b07
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-thumbnail-mode):
      (image-dired-display-image-mode): Add :group 'image-dired so
      customize-mode works.
      (image-dired-display-image): Rearrange.
      (image-dired-copy-with-exif-file-name): This map is for side effect.
      (image-dired-dired-edit-comment-and-tags): Just use #'identity.
      f8a47b07
    • Mark Oteiza's avatar
      9886239b
    • Mark Oteiza's avatar
      Teach image-dired to also generate large thumbs · 7ec55a18
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-thumbnail-storage): Add
      standard-large option.
      (image-dired-thumb-size): Add condition for standard-large storage.
      (image-dired-insert-thumbnail): Check for new option.  Change
      thumbnail path conditionally.
      (image-dired-thumb-size): New function.
      (image-dired-create-thumb, image-dired-line-up-dynamic): Use it.
      7ec55a18
  5. 15 Dec, 2016 11 commits
    • Paul Eggert's avatar
      Merge from gnulib · 5942af61
      Paul Eggert authored
      This incorporates:
      2016-12-14 xalloc-oversized: check for PTRDIFF_MAX too
      2016-12-12 fpending: port to native Windows with MSVC
      * .gitignore: Do not ignore lib/stdio-impl.h.
      * lib/fpending.c, lib/xalloc-oversized.h, m4/fpending.m4:
      Copy from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/stdio-impl.h:
      New file, copied from gnulib.
      * nt/gnulib.mk (EXTRA_DIST): Add stdio-impl.h.
      5942af61
    • Paul Eggert's avatar
      * emacs-document.svg: Append newline. · b80485f6
      Paul Eggert authored
      b80485f6
    • Mark Oteiza's avatar
      Don't abuse princ and spam messages · b22cb969
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-format-properties-string): Nix princ.
      (image-dired-display-thumb-properties):
      (image-dired-dired-display-properties): Nix princ.  Bind
      message-log-max to nil.
      b22cb969
    • Mark Oteiza's avatar
      Inherit things from special-mode and image-mode · 214acb1e
      Mark Oteiza authored
      * lisp/image-dired.el: Require image-mode library.
      (image-dired-thumbnail-mode-map): Remove superfluous binding.
      (image-dired-display-image-mode-map): Remove superfluous binding.
      Add movement remaps from image-mode-map.
      (image-dired-thumbnail-mode): Derive from special-mode.
      (image-dired-display-image-mode): Derive from special-mode. Call
      image-mode-setup-winprops.
      214acb1e
    • Mark Oteiza's avatar
      Fix some image-dired customization types · d79ff2a4
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired): Add info link to defgroup.
      (image-dired-dir, image-dired-gallery-dir): Set type to directory.
      (image-dired-db-file, image-dired-temp-image-file):
      (image-dired-cmd-create-thumbnail-program):
      (image-dired-cmd-create-temp-image-program):
      (image-dired-cmd-rotate-thumbnail-program):
      (image-dired-cmd-rotate-original-program):
      (image-dired-temp-rotate-image-file):
      (image-dired-cmd-write-exif-data-program):
      (image-dired-cmd-read-exif-data-program): Set type to file.
      (image-dired-create-thumb, image-dired-line-up-dynamic): Check storage
      type at runtime, since setting image-dired-thumb-size does not
      automatically set image-dired-thumb-width and image-dired-thumb-height.
      d79ff2a4
    • Eli Zaretskii's avatar
      Prevent crashes in xg_select due to concurrency · 4fbda463
      Eli Zaretskii authored
      * src/xgselect.c (xg_select): Don't call Glib functions that use
      'context' if we failed to acquire it.  This means some other
      thread owns the context, in which case both using the context and
      calling block_input/unblock_input will step on that thread's toes
      and eventually lead to crashes.  (Bug#25172)
      4fbda463
    • NicolasPetton's avatar
      Fix circular list handling in seq-mapn · 09a66ceb
      NicolasPetton authored
      * lisp/emacs-lisp/seq.el (seq-mapn): Do not copy list arguments.
      * test/lisp/emacs-lisp/seq-tests.el (test-seq-mapn-circular-lists):
        Add a regression test.
      09a66ceb
    • Michael Albinus's avatar
      Check in tramp-tests.el, that environment variables are set correctly · acbe32ab
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp--test-check-files):
      Check also, that environment variables are set correctly.
      acbe32ab
    • Dominique Quatravaux's avatar
      Protect environment variables with double quotes in Tramp · d381db25
      Dominique Quatravaux authored
      * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
      Protect environment variables with double quotes.
      
      Copyright-paperwork-exempt: yes
      d381db25
    • Tino Calancha's avatar
    • Mark Oteiza's avatar
  6. 14 Dec, 2016 5 commits
    • Mark Oteiza's avatar
    • Mark Oteiza's avatar
      Recognize pngnq or pngnq-s9 · 53e8d7fb
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-cmd-pngnq-program): Also consider
      pngnq-s9 as a possible executable.
      53e8d7fb
    • Mark Oteiza's avatar
      Update standard image-dired thumbnail location · 66ccc659
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-thumb-name): Conform to the latest
      standard: consider XDG_CACHE_HOME, falling back on ~/.cache.
      66ccc659
    • Mark Oteiza's avatar
      Reset window scroll when displaying an image · 44a77d34
      Mark Oteiza authored
      When viewing a large image full size and scrolling, for instance, to
      the lower right corner, then selecting a much smaller image in the
      thumbnail buffer, the window stays scrolled so the new image is out of
      the window.  One must scroll back to the "origin" to view the new
      displayed image, or just kill the image-dired-display-image buffer and
      try again.  This fixes the issue.
      * lisp/image-dired.el (image-dired-display-window-width):
      (image-dired-display-window-height): Operate on a window as argument.
      (image-dired-display-image): Bind (image-dired-display-window) and use
      it. Set window vscroll and hscroll to zero when refreshing the
      buffer's contents.
      44a77d34
    • Mark Oteiza's avatar
      More image-dired polish · 51b2669a
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-file-name-at-point): New function.
      (image-dired-thumbnail-mode, image-dired-display-image-mode): Disable
      undo list. Add image-dired-file-name-at-point to
      file-name-at-point-functions to facilitate find-file and friends.
      (image-dired-thumbnail-display-external):
      (image-dired-dired-display-external): Use start-process instead, to
      avoid needlessly blocking and using a shell.
      51b2669a
  7. 13 Dec, 2016 5 commits
    • Phillip Lord's avatar
      Replace ldefs-boot with a much smaller file · c27b6459
      Phillip Lord authored
       * Makefile.in (bootstrap-build,generate-ldefs-boot): New targets.
         (bootstrap): Depend on bootstrap-build.
       * admin/ldefs-clean.el: New file.
       * lisp/Makefile.in (compile-first): Depend on loaddefs.el
       * lisp/ldefs-boot.el: Remove.
       * lisp/ldefs-boot-auto.el: New file.
       * lisp/ldefs-boot-manual.el: New file.
       * lisp/loadup.el: Load ldefs-boot-manual.el.
       * src/emacs.c (generating_ldefs_boot): New variable.
         (main): Check whether we are generating ldefs.
       * src/eval.c (autoload-do-load): Dump autoload forms to stderr when
         requested.
       * src/lisp.h (generating_ldefs_boot): New variable.
       * admin/gitmerge.el, admin/make-tarball.txt, admin/notes/copyright,
         lisp/Makefile.in, lisp/cus-dep.el, lisp/emacs-lisp/elint.el,
         lisp/finder.el, lisp/loadup.el, msdos/mainmake.v2: Update reference to
         ldefs-boot.
       * admin/update_autogen: Alter mechanism for ldefs-boot generation.
      c27b6459
    • Reuben Thomas's avatar
      Remove support for aspell < 0.60 (from 2004) · 9e6618be
      Reuben Thomas authored
      lisp/textmodes/ispell.el (ispell-check-version): Require Aspell 0.60.
      (ispell-aspell-dictionary-alist): Remove check that we have Aspell 0.60.
      9e6618be
    • Reuben Thomas's avatar
      Minor docstring and comment fixes to ispell.el · 97f327d8
      Reuben Thomas authored
      lisp/textmodes/ispell.el (ispell-aspell-dictionary-alist): Mention
      ispell-aspell-dictionary-alist, not ispell-dictionary-alist.
      (ispell-set-spellchecker-params): Change double-single quotes to
      single single quotes in comment.
      97f327d8
    • Reuben Thomas's avatar
      Remove unused variable · 94834bdf
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (current-ispell-directory): Remove.
      94834bdf
    • Reuben Thomas's avatar
      Remove XEmacs-specific ispell-with-no-warnings · 6b5ac583
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-with-no-warnings): Remove this
      defmacro, needed only for XEmacs.
      (ispell-command-loop, ispell-message): Use with-no-warnings directly.
      6b5ac583