1. 19 Mar, 2016 1 commit
    • Fabrice Popineau's avatar
      Improve w32notify notifications · 326fff41
      Fabrice Popineau authored
      * src/w32notify.c (DIRWATCH_BUFFER_SIZE): New macro.
      (struct notification): 'terminate' is now a HANDLE.
      (send_notifications): Argument is now a pointer to a
      notification.  Don't loop waiting for the notification to be
      acknowledged by the main thread; instead, just add the
      notification to the linked list of notifications waiting to be
      (watch_end): Don't close the directory handle.
      (watch_completion): Allocate a new notification structure to be
      added to the notifications set.  Call ReadDirectoryChangesW
      immediately after adding the new notification, and before sending
      a message to the main thread about them.
      (watch_worker): Don't loop calling ReadDirectoryChangesW; instead,
      call it just once -- it will be called again in watch_completion.
      Loop waiting for the main thread's indication to terminate.
      (start_watching): Create the event to be used to indicate to the
      worker thread that its should terminate.
      (remove_watch): Indicate to the worker thread that it should
      * src/w32term.c (queue_notifications): Loop over all the
      notifications in the linked list, processing all of them in one
      * src/w32inevt.c (handle_file_notifications): Loop over all the
      notifications in the linked list.
      * src/w32xfns.c (init_crit): Initialize the linked list of file
      (delete_crit): Free the linked list of file notifications,
      including any unprocessed notifications left in it.
      * src/w32term.h (struct notifications_se): New struct.
      * test/lisp/filenotify-tests.el (file-notify-test02-events)
      (file-notify-test05-dir-validity): Add read-event calls to
      facilitate event recognition by the main thread in batch mode.
  2. 17 Mar, 2016 2 commits
  3. 16 Mar, 2016 2 commits
    • Glenn Morris's avatar
    • Thomas Fitzsimmons's avatar
      Sync with soap-client repository, version 3.1.1 · 6e3d1682
      Thomas Fitzsimmons authored
      * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix error
      (soap-find-port): Delete trailing whitespace.
      (soap-find-operation): Fix documentation and rename parameter.
      (soap-find-port): Likewise.
      (soap-operation-arity): Likewise.
      * lisp/net/soap-client.el: Update copyright years.
      (soap-warning): Fix docstring quoting.
      (soap-decode-date-time): Likewise.
      (soap-validate-xs-simple-type): Remove tabs for indentation.
      * lisp/net/soap-inspect.el: Update copyright years.
      * lisp/net/soap-client.el (soap-encode-xs-basic-type): Do not
      assume xsd:base64Binary values are UTF-8 strings.
      (soap-decode-xs-basic-type): Likewise.
      (soap-invoke): Document xsd:base64Binary handling.
      * lisp/net/soap-client.el (soap-find-port, soap-find-operation)
      (soap-operation-arity): new defuns
      (soap-invoke-internal): use soap-find-port, soap-find-operation.
      Co-authored-by: default avatarAlex Harsanyi  <AlexHarsanyi@gmail.com>
  4. 15 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · b48197d8
      Paul Eggert authored
      This incorporates:
      2016-03-15 std-gnu11: improve clang support
      * m4/std-gnu11.m4: Copy from gnulib.
  5. 14 Mar, 2016 2 commits
    • Lars Magne Ingebrigtsen's avatar
      Disable MOVE more for Dovecot · d5427e71
      Lars Magne Ingebrigtsen authored
      * lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Also
      disable MOVE when expirying.
      (nnimap-split-incoming-mail): And when splitting mail.
    • Lars Magne Ingebrigtsen's avatar
      Don't use MOVE on Dovecot · 8ed27bdf
      Lars Magne Ingebrigtsen authored
      * lisp/gnus/nnimap.el (nnimap-request-move-article): Don't use
      MOVE on Dovecot, since it's broken in many versions.
      (nnimap-quirks): Mark MOVE on Dovecot as non-working.
  6. 13 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Improve diff hunk headers when maintaining Emacs · 181e92c4
      Paul Eggert authored
      * .gitattributes: Improve diff hunk header support for makefiles,
      shell scripts, Ada, C, C++, Objective C, HTML, SHTML, XML, Java,
      Perl, PHP, Python, Ruby, and TeX, all of which are used in Emacs
      somewhere (sometimes just in test cases).
      * autogen.sh: Add regexes for makefiles and shell scripts.
  7. 12 Mar, 2016 1 commit
  8. 11 Mar, 2016 9 commits
  9. 10 Mar, 2016 15 commits
    • Stefan Monnier's avatar
      * lisp/textmodes/tex-mode.el: Complete local envs. Use #'. · ea626c72
      Stefan Monnier authored
      Use #' for function names.
      (latex-complete-envnames): Include existing environments in
      current buffer.
      (latex-insert-block): Use latex-complete-envnames.
      (tildify-foreach-ignore-environments): Declare.
    • Ken Raeburn's avatar
      Don't use XRANDR 1.3 extensions if the server doesn't support them. · 8b8a6ad3
      Ken Raeburn authored
      * src/xterm.h (struct x_display_info): Add fields to save XRANDR
      version number.
      * src/xfns.c (x_get_monitor_attributes): Save the version numbers
      after querying the X server.
      (x_get_monitor_attributes_xrandr): Don't use XRRGetOutputPrimary or
      XRRGetScreenResourcesCurrent if the server doesn't support at least
      RANDR version 1.3.  Conditionalize the code blocks on compiling
      against library version 1.3 or better, rather than feature tests for
      each function.
      * configure.ac: Stop testing for those two functions.
    • Eli Zaretskii's avatar
      ; NEWS update for the last change in etags · 985dacfa
      Eli Zaretskii authored
    • Paul Eggert's avatar
      Sync with gnulib · 741a6f8e
      Paul Eggert authored
      This incorporates:
      2016-03-08 intprops: make .h file license match module
      2016-03-08 acl: fix missing return on Cygwin
      2016-03-05 extern-inline: port to PGI CC
      * doc/misc/texinfo.tex, lib/intprops.h, lib/set-permissions.c:
      * m4/extern-inline.m4:
      Copy from gnulib.
    • Paul Eggert's avatar
      Rework C source files to avoid ^( · 7352c6c6
      Paul Eggert authored
      Work around Bug#22884 by rewording comments and strings to avoid ‘(’
      at the start of a line unless it starts a function.  This change
      is a short-term hack; in the longer run we plan to fix cc-mode’s
      performance for C files that have ‘(’ at the start of a line in a
      comment or string.
    • Eli Zaretskii's avatar
      By default, etags produces unqualified Perl tag names · a589e9ae
      Eli Zaretskii authored
      * lib-src/etags.c (Perl_functions): Produce unqualified names,
      unless -Q was specified.
      (print_help): Update the description of -Q.
      * doc/man/etags.1: Update the documentation of -Q.
      * test/etags/ETAGS.good_1:
      * test/etags/ETAGS.good_2:
      * test/etags/ETAGS.good_3:
      * test/etags/ETAGS.good_4:
      * test/etags/ETAGS.good_5:
      * test/etags/CTAGS.good: Adapt the expected test results to the
      changed Perl functionality.
    • Alain Schneble's avatar
      Fix asynchronous TLS connections on MS-Windows · dda6201a
      Alain Schneble authored
      * src/w32.c (sys_write): Don't switch the socket to blocking mode
      if the connection attempt is in progress.  Instead, return either
      EWOULDBLOCK immediately if the connection is in progress, or the
      error code produced by '_sys_wait_connect' if the connection
      failed.  Switching the socket to blocking mode was found to
      interfere with GnuTLS handshake.  (Bug#22789)
    • Nicolas Richard's avatar
    • Dmitry Gutov's avatar
      Indent methods with keyword names correctly · 72c7438c
      Dmitry Gutov authored
      * lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call):
      Rename to ruby-smie--before-method-name.  Now also check if we're
      after a 'def' keyword.  Update both callers.
    • Dmitry Gutov's avatar
      Propertize character literals and special global variables differently · 28532a91
      Dmitry Gutov authored
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize
      character literals and global variables with special names with
      prefix and symbol syntax classes, for SMIE to tokenize them
      together automatically.
      (ruby-font-lock-keywords): Fix an old regression in highlighting
      character literals.
    • Alan Mackenzie's avatar
    • Alan Mackenzie's avatar
      Clarify the documentation of nested comments. · f7adb8a4
      Alan Mackenzie authored
      * doc/lispref/syntax.texi (Syntax Flags): State that only comments of the same
      style are recognized inside nestable comments.
      (Low-Level Parsing): Clarify that parsing will stop after the start or end of
      UNNESTED comments.
    • Eli Zaretskii's avatar
      ; Fix last change in NEWS · a7d6f39d
      Eli Zaretskii authored
    • Nicolas Richard's avatar
      Add new function display-buffer-reuse-mode-window · 2d382515
      Nicolas Richard authored
      * lisp/window.el (display-buffer-reuse-mode-window): New function.
      * doc/lispref/windows.texi (Display Action Functions): Document it.
    • Paul Eggert's avatar
      Minor fixes for getaddrinfo_a usage · f0b31080
      Paul Eggert authored
      * src/process.c (Fdelete_process): Check gai_cancel return value.
      That way, there’s no need to invoke gai_error.  Check gai_suspend
      return value.
      (Fmake_network_process): Don’t assume gai_strerror returns a UTF-8
      string.  Simplify call to connect_network_socket.
      (check_for_dns): Avoid unnecessary initialization of local.
  10. 09 Mar, 2016 6 commits