1. 17 Apr, 2019 1 commit
    • Andrii Kolomoiets's avatar
      Make python-shell-prompt-block-regexp match IPython prompt · 6f8fe0d5
      Andrii Kolomoiets authored
      * lisp/progmodes/python.el (python-shell-prompt-block-regexp): Match
      also IPython's multiline prompt.  It allows to correctly disable
      non-native completions during multiline statement in
      inferior-python-mode that runs IPython interpreter (Bug#34582).
      
      Copyright-paperwork-exempt: yes
      6f8fe0d5
  2. 16 Apr, 2019 7 commits
  3. 15 Apr, 2019 10 commits
    • Eli Zaretskii's avatar
      Minor change in a comment · 74412e7d
      Eli Zaretskii authored
      * test/src/callproc-tests.el
      (call-process-w32-debug-spawn-error): Minor copyedits of the
      commentary.
      74412e7d
    • Eli Zaretskii's avatar
      Fix MS-Windows build broken by make-fingerprint changes · 3ec22997
      Eli Zaretskii authored
      * lib-src/make-fingerprint.c (fseeko) [WNDOWSNT]: Define to
      fseeko64 for non-MinGW64 MinGW.
      
      * lib-src/ntlib.c (stat): Fix calculation of file size.
      (fstat): New function, a subset of src/w32.c:fstat.  This is
      needed because make-fingerprint.c now calls 'fstat', and the
      MS version will fail to produce reliable results because
      nt/inc/sys/stat.h redefines 'struct stat'.
      3ec22997
    • Michael Albinus's avatar
    • Mattias Engdegård's avatar
      Don't remove notify descriptor that is already gone · e9e807e9
      Mattias Engdegård authored
      * lisp/autorevert.el (auto-revert-use-notify, auto-revert-mode,
      global-auto-revert-mode, auto-revert-notify-rm-watch,
      auto-revert-notify-add-watch, auto-revert-notify-handler,
      auto-revert-notify-rm-watch-callback):
      Don't remove a notify descriptor after receiving a `stopped' notification
      event, because the descriptor is then already gone and any attempt to
      remove it causes a recursive call to `auto-revert-notify-handler'.
      e9e807e9
    • Michael Albinus's avatar
      * doc/misc/tramp.texi: Fix direntry. · ba6ed9a4
      Michael Albinus authored
      ba6ed9a4
    • Paul Eggert's avatar
      Remove static var system_eol_type · 8065e05a
      Paul Eggert authored
      * src/coding.c (system_eol_type): Remove.
      (coding_inherit_eol_type, syms_of_coding):
      Simplify to avoid the need for system_eol_type.
      8065e05a
    • YAMAMOTO Mitsuharu's avatar
      Avoid compiler warnings on cairo build · da3e3fc7
      YAMAMOTO Mitsuharu authored
      * src/image.c (jpeg_load_body) [USE_CAIRO]: #ifdef out USE_SAFE_ALLOCA
      and SAFE_FREE.
      * src/xterm.c (x_composite_image) [USE_CAIRO]: #ifdef out unused function.
      (x_draw_image_glyph_string) [USE_CAIRO]: #ifdef out unused variable pixmap.
      da3e3fc7
    • Noam Postavsky's avatar
      Let debugger handle process spawn errors on w32 (Bug#33016) · 9800df69
      Noam Postavsky authored
      Since child_setup() is called between block_input()...unblock_input(),
      when an error is signaled the Lisp debugger is prevented from
      starting.  Therefore, let the callers signal the error instead (which
      they already do for non-w32 platforms, just the error message needs an
      update).
      * src/callproc.c (child_setup) [WINDOWSNT]: Don't call
      report_file_error here.
      (call_process) [WINDOWNT]:
      * src/process.c (create_process) [WINDOWSNT]: Call report_file_errno
      here instead, after the unblock_input() call, same as for !WINDOWSNT.
      * src/lisp.h (CHILD_SETUP_ERROR_DESC): New preprocessor define.  Flip
      the containing ifndef DOS_NT branches so that it's ifdef DOS_NT.
      * src/eval.c (when_entered_debugger): Remove.
      (syms_of_eval) <internal-when-entered-debugger>: Define it as a Lisp
      integer variable instead.
      (maybe_call_debugger): Update comment.
      * test/src/process-tests.el (make-process-w32-debug-spawn-error):
      * test/src/callproc-tests.el (call-process-w32-debug-spawn-error): New
      tests.
      9800df69
    • Alexander Gramiak's avatar
      Bump minimum GTK versions to 2.24 and 3.10 · fc0f469f
      Alexander Gramiak authored
      * configure.ac: Bump required GTK 2 and GTK 3 versions and the
      associated GLib versions. Remove obsolete AC_CHECK_FUNCS calls. These
      check for functions available in later GTK 2 versions. These checks
      and can safely be removed with the exception of
      gtk_window_set_has_resize_grip, which according to a comment in
      gtkutil.c causes an issue in Ubuntu's GTK 2.
      
      * src/gtkutil.c:
      * src/xfns.c:
      * src/xterm.c:
      * src/xterm.h: Remove now unused conditional blocks. Use HAVE_GTK3
      instead of GTK_CHECK_VERSION where now applicable. Remove checks of
      now always true USE_GTK_TOOLTIP.
      fc0f469f
    • Paul Eggert's avatar
      Replace executable’s fingerprint in place · 5c2f94a1
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add memmem-simple.
      (AVOIDED_MODULES): Add memchr.
      * configure.ac (HAVE_PDUMPER): AC_SUBST it, too, for use in makefiles.
      * lib/Makefile.in (libgnu_a_OBJECTS): Add fingerprint.o.
      * lib/fingerprint.c: New file.
      * lib/memmem.c, lib/str-two-way.h, m4/memmem.m4: New files,
      copied from Gnulib.
      * lib/fingerprint.h: Rename from src/fingerprint.h.
      * lib-src/make-fingerprint.c: Include limits.h, sys/stat.h,
      fingerprint.h, intprops.h, min-max.h.
      (SSIZE_MAX): New macro, if not already defined.
      (main): Without -r, Replace the fingerprint in the input file
      instead of generating a fingerprint.c.
      * lib/Makefile.in (libgnu_a_OBJECTS): Add fingerprint.o.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * src/Makefile.in (HAVE_PDUMPER, MAKE_PDUMPER_FINGERPRINT):
      New macros.
      (temacs$(EXEEXT)): Use them to replace the fingerprint instead
      of precalculating it.
      (mostlyclean, ctagsfiles1): Do not worry about fingerprint.c.
      5c2f94a1
  4. 14 Apr, 2019 12 commits
  5. 13 Apr, 2019 10 commits