1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00
emacs/test/lisp/net
Basil L. Contovounesios 97d1f672ac Various dbus.el cleanups (bug#41744)
* etc/NEWS: Announce removal of aliases obsolete since Emacs 24.3.

* lisp/net/dbus.el: Remove unneeded dependency on cl-lib.el.  Quote
function symbols as such.
(dbus-ignore-errors): Don't add macro name to font-lock keywords, as
emacs-lisp-mode now dynamically fontifies new macro definitions.
(dbus-event-error-hooks, dbus-call-method-non-blocking): Remove
aliases obsolete since Emacs 24.3.
(dbus-register-signal, dbus-escape-as-identifier): Simplify.  Use
regexp \` and \' in place of ^ and $.
(dbus--parse-xml-buffer): New function for libxml2 compatibility.
(dbus-introspect-xml): Use it.

(dbus-string-to-byte-array, dbus-byte-array-to-string)
(dbus-unescape-from-identifier, dbus-list-known-names)
(dbus-introspect-get-all-nodes, dbus-get-all-properties)
(dbus-get-all-managed-objects): Simplify.

(dbus--introspect-names, dbus--introspect-name): New convenience
functions.
(dbus-introspect-get-node-names)
(dbus-introspect-get-interface-names)
(dbus-introspect-get-interface, dbus-introspect-get-method-names)
(dbus-introspect-get-method, dbus-introspect-get-signal-names)
(dbus-introspect-get-signal, dbus-introspect-get-property-names)
(dbus-introspect-get-property)
(dbus-introspect-get-annotation-names)
(dbus-introspect-get-annotation)
(dbus-introspect-get-argument-names, dbus-introspect-get-argument):
Use them to DRY.

* test/lisp/net/dbus-tests.el (dbus-test-all): Quote function
symbols as such.
2020-06-18 12:20:48 +01:00
..
tramp-archive-resources Fix Bug#30293 2018-01-31 15:02:46 +01:00
dbus-tests.el Various dbus.el cleanups (bug#41744) 2020-06-18 12:20:48 +01:00
dig-tests.el Use lexical-binding in dig.el and add tests 2020-04-26 01:11:05 +02:00
gnutls-tests.el Use lexical-binding for all net tests 2020-04-24 20:26:36 +02:00
hmac-md5-tests.el Use lexical-binding in hmac-md5.el and add tests 2020-04-28 18:14:28 +02:00
mailcap-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
network-stream-tests.el Make make-{network,serial}-process handle :coding nil consistently 2020-04-03 14:45:49 +02:00
newsticker-tests.el Use lexical-binding for all net tests 2020-04-24 20:26:36 +02:00
nsm-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
puny-tests.el Use lexical-binding in puny.el and add more tests 2020-04-28 18:14:28 +02:00
rcirc-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rfc2104-tests.el Use lexical-binding for all net tests 2020-04-24 20:26:36 +02:00
sasl-scram-rfc-tests.el Add SASL SCRAM-SHA-256 support. 2020-01-16 08:54:04 +01:00
secrets-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
shr-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tramp-archive-tests.el Merge from origin/emacs-27 2020-04-15 07:50:15 -07:00
tramp-tests.el Rearrange detecting remote uid and gid in Tramp 2020-06-14 15:31:17 +02:00
webjump-tests.el Use lexical-binding in webjump.el and add tests 2020-05-18 17:58:01 +02:00