1. 26 Nov, 2019 14 commits
    • Stefan Monnier's avatar
    • Robert Pluim's avatar
      Use 127.0.0.1 in nsm-tests · 95e218af
      Robert Pluim authored
      Winsock doesn't like "127.1"
      
      * test/lisp/net/nsm-tests.el (nsm-check-local-subnet-ipv4): Spell
      numeric localhost as "127.0.0.1" instead of "127.1".
      95e218af
    • Stefan Monnier's avatar
      * test/lisp/minibuffer-tests.el (completion-table-test-quoting): New test · 384d1c47
      Stefan Monnier authored
      * test/data/minibuffer-test-cttq$tion: New file-name test data.
      384d1c47
    • Eli Zaretskii's avatar
      Support ':extend' in faces defined by list of key/value pairs · d4515f3c
      Eli Zaretskii authored
      * src/xfaces.c: Update and improve commentary at the beginning
      of the file.
      (face_attr_sym): New static array.
      (init_xfaces): Initialize 'face_attr_sym'.
      (merge_face_ref): Handle the :extend attribute in faces
      specified as lists of key/value pairs.  (Bug#37774)
      d4515f3c
    • Eli Zaretskii's avatar
      Fix MS-Windows build with mingw.org's MinGW · 094eb04c
      Eli Zaretskii authored
      mingw.org's MinGW by default targets Windows 9X, so
      _WIN32_WINNT is set to a value that bypasses declarations
      in system headers we need to compile network_interface_list.
      Also, the code needed a workaround for Windows XP, where
      some functionality is missing from the GetAdaptersAddresses
      API.
      
      * src/w32.c (_WIN32_WINNT): Define to 0x0501, if the value is
      lower, temporarily while processing iphlpapi.h.
      (address_prefix_match): New helper function.
      (network_interface_list): Work around the fact that the
      OnLinkPrefixLength member of IP_ADAPTER_UNICAST_ADDRESS is not
      available when _WIN32_WINNT < 0x0600.  On Windows XP use
      special code that calls address_prefix_match to compute the
      network prefix length.
      094eb04c
    • Stefan Monnier's avatar
    • Juanma Barranquero's avatar
      (next|previous)-buffer no longer fail silently (bug#38384) · e495dbea
      Juanma Barranquero authored
      * lisp/window.el (next-buffer, previous-buffer):
      Signal 'user-error' if there is no buffer to switch to.
      
      * etc/NEWS: Document it.
      e495dbea
    • Juanma Barranquero's avatar
      lisp/auth-source.el: Depend on cl-lib unconditionally · 90a7cd07
      Juanma Barranquero authored
      A change in 2016-04-24 introduced a run-time dependency on cl-subseq.
      90a7cd07
    • Juanma Barranquero's avatar
      lisp/auth-source-pass.el: Require cl-lib unconditionally · db2d6398
      Juanma Barranquero authored
      Changes in 2019-05-05 and 2019-05-14 introduced run-time dependencies
      on cl-maplist and cl-remove-if-not.
      db2d6398
    • Martin Rudalics's avatar
      2019-11-26 Martin Rudalics <rudalics@gmx.at> · 261b060f
      Martin Rudalics authored
      * lisp/window.el (switch-to-visible-buffer): Declare obsolete.
      (switch-to-prev-buffer-skip): New option.
      (switch-to-prev-buffer, switch-to-next-buffer): Obey
      'switch-to-prev-buffer-skip'.
      * doc/lispref/windows.texi (Window History): Remove
      description of 'switch-to-visible-buffer'.  Describe new
      option 'switch-to-prev-buffer-skip'
      * etc/NEWS: Mention switch from 'switch-to-visible-buffer' to
      'switch-to-prev-buffer-skip'.
      261b060f
    • Alex Murray's avatar
      Fix auth-source password lookup · b006095b
      Alex Murray authored
      * lisp/net/network-stream.el
      (network-stream-certificate): Ensure :port is specified as a string to
      'auth-source-search' (Bug#38371).
      
      Copyright-paperwork-exempt: yes
      b006095b
    • Robert Pluim's avatar
      Extend network-interface-list to return IPv6 and network info · 650a514e
      Robert Pluim authored
      Bug#38218
      
      * src/process.c (Fnetwork_interface_list): Extend argument list to
      allow requesting full network info and/or IPv4/IPv6 info.
      (network_interface_list) [HAVE_GETIFADDRS]: Use getifaddrs to retrieve
      interface IP addresses.
      
      * src/process.h: Update prototype of network_interface_list.
      
      * src/w32.c (g_b_init_get_adapters_addresses): New init flag.
      (globals_of_w32): Initialize it.
      (GetAdaptersAddresses_Proc): New function typedef.
      (get_adapters_addresses): New wrapper function.
      (init_winsock): Load htonl and ntohl.
      (sys_htonl, sys_ntohl): New wrapper functions.
      (network_interface_list): Implement in terms of
      get_adapters_addresses.
      
      * nt/inc/sys/socket.h: Add sys_htonl and sys_ntohl prototypes.
      
      * etc/NEWS: Announce IPv4/IPv6 changes in network-interface-list.
      
      * doc/lispref/processes.texi (Misc Network): Document updated arglist
      and return values for network-interface-list.
      650a514e
    • Lars Ingebrigtsen's avatar
      Fix previous message.el point-restoring fix · 5c3d0cf7
      Lars Ingebrigtsen authored
      * lisp/gnus/message.el (message-send-and-exit): Restore window
      point before burying buffer so we actually bury the buffer.
      5c3d0cf7
    • Lars Ingebrigtsen's avatar
      Remove outdated documentation · c97c7bb2
      Lars Ingebrigtsen authored
      * doc/misc/eieio.texi (Predicates): Remove documentation of
      same-class-fast-p, which was removed some years back (bug#38362).
      c97c7bb2
  2. 25 Nov, 2019 5 commits
  3. 23 Nov, 2019 13 commits
    • Paul Eggert's avatar
      Add eassert check for bad default face · 5a3e96b1
      Paul Eggert authored
      * src/xdisp.c (append_space_for_newline): Add an eassert check
      that default_face is not null, by calling FACE_FROM_ID instead of
      FACE_FROM_ID_OR_NULL.  Initialize a local only if needed.
      5a3e96b1
    • Paul Eggert's avatar
      Port gnutls.c to --enable-gcc-warnings --without-gnutls · 603a7c8a
      Paul Eggert authored
      * src/gnutls.c: Move the "#ifdef HAVE_GNUTLS" earlier, so
      that "./configure --enable-gcc-warnings --without-gnutls"
      does not complain about macros being defined but never used.
      Indent "#" directives more consistently.
      603a7c8a
    • Juanma Barranquero's avatar
      Rework previous fix to bug#38222 · c2bd4283
      Juanma Barranquero authored
      * lisp/help.el (help--doc-without-fn): Remove.
      (describe-mode): Use help-split-fundoc instead.
      c2bd4283
    • Juanma Barranquero's avatar
      Make help-split-fundoc more flexible about what returns · 6f3ff47c
      Juanma Barranquero authored
      * lisp/help.el (help-split-fundoc): New arg SECTION to return
      only the usage or doc parts of the docstring, or both even if
      there is no usage.
      
      * test/lisp/help-tests.el: New file.
      6f3ff47c
    • Juri Linkov's avatar
      Use new macro debounce-reduce to make mouse scaling of images more responsive · 4b5d04be
      Juri Linkov authored
      * lisp/emacs-lisp/timer.el (debounce, debounce-reduce): New macros.
      
      * lisp/image.el (image-increase-size, image-decrease-size):
      Use funcall to call image--change-size-function.
      (image--change-size-function): Move code from defun of
      image--change-size to defvar that has the value of lambda
      returned from debounce-reduce.  (Bug#38187)
      4b5d04be
    • Robert Pluim's avatar
      Default network-stream-use-client-certificates to nil · 8934762b
      Robert Pluim authored
      * lisp/net/network-stream.el (network-stream-use-client-certificates):
      Default to nil.
      (open-network-stream): Adapt description to new default of
      network-stream-use-client-certificates.
      
      * etc/NEWS: network-stream-use-client-certificates defaults to nil
      now.
      
      * doc/lispref/processes.texi (Network): Flip
      network-stream-use-client-certificates description.
      
      * doc/misc/auth.texi (Help for users): Mention
      network-stream-use-client-certificates.
      8934762b
    • Robert Pluim's avatar
      Have what-cursor-position optionally show character name · a27c8929
      Robert Pluim authored
      * lisp/simple.el (what-cursor-show-names): New defcustom, default nil.
      (what-cursor-position): Show character names if what-cursor-show-names
      is non-nil.
      
      * doc/emacs/basic.texi (Position Info): Add what-cursor-show-names
      description.
      
      * etc/NEWS: Announce what-cursor-show-names.
      a27c8929
    • Christopher Schmidt's avatar
      Always expand "total" in dired · b9e99ab5
      Christopher Schmidt authored
      * lisp/files.el (insert-directory): Always replace "total" with
      "total used in directory", even when we don't have free disk space
      (bug#13191).  This makes the display more consistent.
      b9e99ab5
    • Michael Heerdegen's avatar
      Fix edebug instrumentation removing from advised functions · 311ca036
      Michael Heerdegen authored
      * lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): Handle
      advised functions correctly.
      311ca036
    • Eli Zaretskii's avatar
      Improve indexing of modifier keys · be779cf7
      Eli Zaretskii authored
      * doc/emacs/commands.texi (User Input): Add index entry for
      the Alt key serving as Meta.
      * doc/emacs/custom.texi (Modifier Keys): Add index entries for
      Alt, Super, and Hyper modifier keys.  (Bug#38315)
      be779cf7
    • Eli Zaretskii's avatar
      Fix cursor display at EOL before extended face · 1265e947
      Eli Zaretskii authored
      * src/xdisp.c (extend_face_to_end_of_line): Make sure the
      character position of the stretch glyph inserted to extend the
      face is zero, as various other parts of the display code rely
      on that.  (Bug#38330)
      1265e947
    • Eli Zaretskii's avatar
      Fix and speed up en/decoding of UTF-8 strings · c26556bd
      Eli Zaretskii authored
      * src/coding.c (get_char_bytes, encode_string_utf_8)
      (decode_string_utf_8): Fix commentary.
      (encode_string_utf_8): Return the original ASCII string only
      if NOCOPY is non-zero.
      (decode_string_utf_8): Accept 2 additional arguments STR and
      STR_LEN, which allow to pass the input text as a C string.
      (make_string_from_utf8): Delegate the job to decode_string_utf_8.
      * src/coding.h: Update the prototype of decode_string_utf_8.
      * src/json.c (json_encode): Call encode_string_utf_8.
      c26556bd
    • João Távora's avatar
  4. 22 Nov, 2019 8 commits