1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/lisp/net
Michael Albinus f8624fb834 Make D-Bus properties type safe
* doc/misc/dbus.texi (Properties and Annotations):
Precise dbus-get-property and dbus-set-property.
(Type Conversion): Explain :byte and :boolean type conversion.
(Errors and Events): dbus-ignore-errors returns nil when there is
a D-Bus error.  Remove dbus-show-dbus-errors.

* etc/NEWS: Some D-Bus relevant changes.

* lisp/net/dbus.el (dbus-show-dbus-errors): Remove.
(dbus-ignore-errors): Replay implamentation without that variable.
(dbus-check-arguments): New defun.
(dbus-list-activatable-names, dbus-list-names)
(dbus-list-queued-owners, dbus-get-name-owner, dbus-introspect)
(dbus-get-all-properties, dbus-get-all-managed-objects): Don't debug.
(dbus-get-property, dbus-set-property): Propagate errors.
(dbus-register-property): Check for valid VALUE.
(dbus-property-handler): Simplify.

* src/dbusbind.c (Fdbus_message_internal): Adapt docstring.
Handle DBUS_MESSAGE_TYPE_INVALID.

* test/lisp/net/dbus-tests.el (dbus-show-dbus-errors): Don't declare.
(dbus-test06-register-property)
(dbus-test06-register-property-emits-signal): Adapt tests.
2020-09-20 16:44:17 +02:00
..
ange-ftp.el
browse-url.el Use `format-prompt' when prompting with default values 2020-09-06 16:56:54 +02:00
dbus.el Make D-Bus properties type safe 2020-09-20 16:44:17 +02:00
dig.el
dns.el Remove Emacs 22 compat code from dns.el 2020-08-13 01:39:53 +02:00
eudc-bob.el * lisp/net/eudc-bob.el (eudc-bob-pipe-object-to-external-program): Simplify 2020-08-15 22:44:16 -04:00
eudc-export.el
eudc-hotlist.el
eudc-vars.el
eudc.el
eudcb-bbdb.el
eudcb-ldap.el
eudcb-mab.el
eudcb-macos-contacts.el EUDC: Fix a minor formatting issue 2020-09-05 21:57:23 -04:00
eww.el Fix the defcustom type of eww-retrieve-command 2020-09-18 15:03:03 +02:00
gnutls.el Merge from origin/emacs-27 2020-07-20 07:50:44 -07:00
goto-addr.el Add global-goto-address-mode 2020-08-20 15:17:19 +02:00
hmac-def.el
hmac-md5.el
imap.el * lisp/net/imap.el: Use proper outline headings 2020-08-13 11:34:49 +02:00
ldap.el
mailcap.el Tweak previous mailcap patch (for external viewers) 2020-09-11 15:37:00 +02:00
mairix.el
net-utils.el
netrc.el
network-stream.el Allow open-network-stream to use different TLS capability commands 2020-07-19 02:56:40 +02:00
newst-backend.el
newst-plainview.el
newst-reader.el
newst-ticker.el
newst-treeview.el Remove many items obsolete since Emacs 23.1 2020-08-14 13:07:26 +02:00
newsticker.el
nsm.el
ntlm.el Stop using calc for ntlm time computation 2020-08-16 11:08:43 +02:00
pop3.el
puny.el
quickurl.el
rcirc.el Use `format-prompt' when prompting with default values 2020-09-06 16:56:54 +02:00
rfc2104.el
rlogin.el
sasl-cram.el
sasl-digest.el
sasl-ntlm.el
sasl-scram-rfc.el
sasl-scram-sha256.el
sasl.el
secrets.el
shr-color.el
shr.el Fix bug out when indenting inserted images in shr 2020-09-20 13:03:20 +02:00
sieve-manage.el
sieve-mode.el
sieve.el
snmp-mode.el
soap-client.el
soap-inspect.el
socks.el
telnet.el Declare some ancient compat aliases obsolete (Bug#41328) 2020-07-31 06:02:30 +02:00
tramp-adb.el Implement Tramp direct async processes fallback for multi-hops 2020-08-12 12:45:45 +02:00
tramp-archive.el Rearrange detecting remote uid and gid in Tramp 2020-06-14 15:31:17 +02:00
tramp-cache.el Tramp code cleanup 2020-06-07 16:56:59 +02:00
tramp-cmds.el Minor improvements in Tramp error reporting 2020-09-05 19:29:12 +02:00
tramp-compat.el Fix remaining problems with tramp-crypt.el 2020-06-21 15:19:51 +02:00
tramp-crypt.el Fix remaining problems with tramp-crypt.el 2020-06-21 15:19:51 +02:00
tramp-ftp.el More Tramp code cleanup 2020-07-12 15:02:56 +02:00
tramp-gvfs.el More Tramp code cleanup 2020-07-12 15:02:56 +02:00
tramp-integration.el
tramp-rclone.el Some Tramp cleanups, mainly in tramp-crypt.el 2020-06-18 20:00:26 +02:00
tramp-sh.el Add sanity check in tramp-sh-get-signal-strings 2020-08-24 12:11:48 +02:00
tramp-smb.el More Tramp code cleanup 2020-07-12 15:02:56 +02:00
tramp-sudoedit.el More Tramp code cleanup 2020-07-12 15:02:56 +02:00
tramp-uu.el
tramp.el Adapt Tramp doc 2020-09-09 19:29:18 +02:00
trampver.el
webjump.el Use lexical-binding in webjump.el and add tests 2020-05-18 17:58:01 +02:00
zeroconf.el