1. 27 Jul, 2015 3 commits
    • Eli Zaretskii's avatar
      Handle NULL pointers in w32heap.c allocation routines · 094d5e9e
      Eli Zaretskii authored
      * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
      freeable".
      (realloc_after_dump, realloc_before_dump, free_before_dump):
      Handle NULL pointers gracefully, as Emacs now seems to expect
      that.
      094d5e9e
    • Eli Zaretskii's avatar
      Fix Cairo build without PNG · 3266513e
      Eli Zaretskii authored
      * src/image.c: Define PNG function when USE_CAIRO is defined, even
      if HAVE_PNG is not.  (Bug#21133)
      3266513e
    • Eli Zaretskii's avatar
      MS-Windows follow-up for recent TZ-related changes · 70096743
      Eli Zaretskii authored
      * nt/mingw-cfg.site (ac_cv_header_pthread_h)
      (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
      picking up 'struct timespec' from pthread.h, if it is installed on
      the user's system.  We want either the definitions from MinGW
      system headers, if available, or the Gnulib replacements if not.
      
      * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
      lib/time.h.
      
      * lib/time.in.h: Don't let __need_* symbols affect what happens on
      MinGW.  These symbols are defined by MinGW system headers, but we
      don't want that to affect whether Gnulib portions of the header
      are or aren't used.
      70096743
  2. 26 Jul, 2015 6 commits
    • Paul Eggert's avatar
      075f8d96
    • Paul Eggert's avatar
      New optional ZONE arg for format-time-string etc. · af32fa95
      Paul Eggert authored
      This simplifies time conversions in other time zones.
      It also prevents display-time-world tampering with TZ (Bug#21020).
      * admin/admin.el (add-release-logs):
      Use improved add-log-time-format API.
      * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
      (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
      * configure.ac (tzalloc): Remove test for this, since
      Emacs no longer uses HAVE_TZALLOC directly.
      * doc/lispref/os.texi (Time of Day, Time Conversion)
      (Time Parsing):
      * etc/NEWS: Document the new behavior.
      Merge from gnulib, incorporating:
      2015-07-25 strftime: fix newly-introduced bug on Solaris
      2015-07-23 fprintftime, strftime: use timezone_t args
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
      * m4/time_h.m4:
      Update from gnulib.
      * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
      New files from gnulib.
      * lisp/time-stamp.el (time-stamp-string):
      * lisp/time.el (display-time-w...
      af32fa95
    • Shigeru Fukaya's avatar
      Fix infinite loop in delete-consecutive-dups · 4c55786d
      Shigeru Fukaya authored
      * lisp/subr.el (delete-consecutive-dups): Work even if the last
      element is nil (Bug#20588).  Avoid rescan of a circular list in
      deletion of last element.
      4c55786d
    • Martin Rudalics's avatar
      Have `x-frame-geometry' return nil for terminal and initial frames (Bug#21132) · fac84926
      Martin Rudalics authored
      * src/nsfns.m (Fx_frame_geometry):
      * src/xfns.c (Fx_frame_geometry): Return nil for initial and
      terminal frames.
      * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
      (Fx_frame_geometry): Return nil for terminal frames
      fac84926
    • Glenn Morris's avatar
      ; Auto-commit of ChangeLog files. · f2576da4
      Glenn Morris authored
      f2576da4
    • HOSOYA Kei's avatar
      * etc/tutorials/TUTORIAL.ja: Improve translation. · 2cf501ce
      HOSOYA Kei authored
      Copyright-paperwork-exempt: yes
      2cf501ce
  3. 25 Jul, 2015 2 commits
    • Eli Zaretskii's avatar
      Avoid crashes when w32 GUI functions are called in -batch · 7c3506ed
      Eli Zaretskii authored
      * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
      (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
      FRAME_W32_WINDOW for initial frame.  (Bug#21132)
      7c3506ed
    • Eli Zaretskii's avatar
      Fix flyspell-check-previous-highlighted-word · 5e63841f
      Eli Zaretskii authored
      * lisp/textmodes/flyspell.el
      (flyspell-check-previous-highlighted-word): Really accept a
      numeric argument, as the doc string describes.  Fix an off-by-one
      error in looking up overlays, so invocation with point immediately
      after a word would check that word.  Clarify the doc string as
      Suggested by N. Jackson <nljlistbox2@gmail.com>.  (Bug#21129)
      5e63841f
  4. 24 Jul, 2015 5 commits
  5. 23 Jul, 2015 1 commit
    • Michael Albinus's avatar
      Fix some Tramp problems with HP-UX · 8e03731c
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
      Add "tab0" to stty call.
      
      * test/automated/tramp-tests.el (tramp-persistency-file-name):
      Set to nil.
      (tramp--test-hpux-p): New defun.
      (tramp--test-utf8): Use it.
      8e03731c
  6. 22 Jul, 2015 7 commits
  7. 21 Jul, 2015 7 commits
    • Stefan Monnier's avatar
      (advice--called-interactively-skip): Fix inf-loop (bug#21083) · 5abadebc
      Stefan Monnier authored
      * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
      Fix inf-loop (bug#21083).
      5abadebc
    • Glenn Morris's avatar
      * test/automated/package-test.el (package-test-signed): · 492ea241
      Glenn Morris authored
      Update for recent changes.
      492ea241
    • Glenn Morris's avatar
      * test/automated/elisp-mode-tests.el · 3046b176
      Glenn Morris authored
      (elisp-xref-finds-both-function-and-variable)
      (elisp-xref-finds-only-function-for-minor-mode):
      Update for recent xref name changes.
      3046b176
    • Dmitry Gutov's avatar
      Make eldoc timer non-repeatable · 7f58daf8
      Dmitry Gutov authored
      * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
      non-repeatable.  Since it's on post-command hook, that just wasted
      CPU cycles.
      7f58daf8
    • Michael Albinus's avatar
      72dc7e78
    • Michael Albinus's avatar
      Sync with Tramp repository · b0dbf4c0
      Michael Albinus authored
      * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
      required prior changing its configuration.
      (Connection caching, Predefined connection information)
      (Remote shell setup): Fix typos.
      (Predefined connection information): Describe, how to overwrite
      parameters of `tramp-methods'.
      (Remote programs, Remote processes, Traces and Profiles):
      Simplify example.
      (Remote programs): Remove superfluous comment.
      
      * doc/misc/trampver.texi: Update release number.
      
      * lisp/net/tramp-cache.el (tramp-connection-properties): Adapt docstring.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
      (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
      (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
      "gvfs-mkdir -p ..." does not work robust.
      (tramp-gvfs-maybe-open-connection): Adapt `tramp-get-method-parameter' call.
      
      * lisp/net/tramp-sh.el (tramp-methods):
      Add `tramp-remote-shell-login' parameter where it fits.
      (tramp-get-remote-path): Use it.
      (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
      (all): Adapt `tramp-get-method-parameter' calls.
      
      * lisp/net/tramp.el (tramp-methods): Adapt docstring.
      (tramp-get-method-parameter): Replace argument METHOD by VEC.
      Check also for hits in `tramp-connection-properties'.  Adapt docstring.
      (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
      (all): Adapt `tramp-get-method-parameter' calls.
      
      * lisp/net/trampver.el Update release number.
      
      * test/automated/tramp-tests.el (tramp--instrument-test-case):
      Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
      (tramp-test13-make-directory, tramp--test-adb-p)
      (tramp--test-smb-or-windows-nt-p): Simplify.
      (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
      (tramp--test-special-characters): Fix docstring.  Add gvfs and ftp tests.
      (tramp--test-utf8): Fix docstring.
      b0dbf4c0
    • Dmitry Gutov's avatar
      Add new xref-query-replace command · b6ac30ab
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--match-buffer-bounds): New
      function, extracted from xref-pulse-momentarily.
      (xref-query-replace): New command.
      (xref--query-replace-1): New helper function.
      (xref--xref-buffer-mode-map): Add `r' binding.
      b6ac30ab
  8. 20 Jul, 2015 6 commits
    • Dmitry Gutov's avatar
      ; Fix a typo · 4051fb20
      Dmitry Gutov authored
      4051fb20
    • Paul Eggert's avatar
      Simplify icalendar decoding of Z dates · 136dd7bc
      Paul Eggert authored
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
      Simplify calculation of time strings with trailing "Z".
      136dd7bc
    • Dmitry Gutov's avatar
      Do not corrupt grep-find-ignored-files · 057f9349
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project-ignores): Change the order of
      the arguments to nconc, in order not to corrupt grep-find-ignored-files.
      057f9349
    • Dmitry Gutov's avatar
      Add xref-match-item, and use it · 5330a45e
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
      (xref-file-location): Add reader for the column slot.
      (xref-match-item): New class.
      (xref-match-bounds): A method implementation for it.
      (xref-make-match): New constructor function.
      (xref--current-item): New private variable.
      (xref-pulse-momentarily): Use it.
      (xref--pop-to-location): Change the first argument to an xref
      item, instead of location, bind xref--current-item.
      Update all callers.
      (xref-next-line, xref-prev-line, xref--next-error-function)
      (xref--mouse-2): Look for the property `xref-item',
      instead of `xref-location'.
      (xref--item-at-point): Likewise.  This function replaces
      `xref-location-at-point'.  Update all callers.
      (xref--insert-xrefs): Add the `xref-item' text property, instead
      of `xref-location'.
      (xref--collect-match): Use xref-make-match.
      5330a45e
    • Dmitry Gutov's avatar
      Rename xref--xref to xref-item · 10ac9dbd
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
      Update all references.
      10ac9dbd
    • Dmitry Gutov's avatar
      Rename xref description slot to summary · e29206e8
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--xref): Rename the `description'
      slot to `summary'.
      e29206e8
  9. 19 Jul, 2015 3 commits