~ubuntu-elisp/emacs/+git/master:scratch/dbusbind-type-tests

Last commit made on 2015-09-03
Get this branch:
git clone -b scratch/dbusbind-type-tests https://git.launchpad.net/~ubuntu-elisp/emacs/+git/master

Branch merges

Branch information

Name:
scratch/dbusbind-type-tests
Repository:
lp:~ubuntu-elisp/emacs/+git/master

Recent commits

def5829... by Daiki Ueno <email address hidden>

dbusbind: Check required args following :type

* src/dbusbind.c (xd_build_message): If no argument follows a type
specification, pass Qnil as OBJECT argument of
xd_append_arg_with_type_spec.
* test/automated/dbus-tests.el
(dbus-test04-create-message-parameters): Remove a temporary
comment.

7778488... by Daiki Ueno <email address hidden>

dbusbind: Avoid redefinition of :signature symbol

* src/dbusbind.c (syms_of_dbusbind): Don't redefine `:signature'
symbol.
(xd_dbus_message_to_lisp): Temporarily map
QCdbus_message_signature to QCdbus_type_signature.

8987263... by Michael Albinus

Fix minor glitches in D-Bus code.

* src/dbusbind.c (xd_build_message): New arg CALLER.
(Fdbus_message_internal, Fdbus_message_internal_to_lisp): Use it.
(XD_ADD_HEADER): Rename from ADD_HEADER.
(syms_of_dbusbind): Declare Qdbus_message_internal_to_lisp.

* test/automated/dbus-tests.el
(dbus--test-create-message-with-args): Add docstring. Use Emacs
namespace for interface and path.
(dbus-test04-create-message-parameters): Add tests.

88ef231... by Daiki Ueno <email address hidden>

dbusbind: Fix typo in cd77eaeb

* src/dbusbind.c (xd_dbus_type_to_symbol): Return Qnil instead of
DBUS_TYPE_INVALID, if the type is unknown.

179aa63... by Daiki Ueno <email address hidden>

dbus-tests: Add new testcase for parameter types

* test/automated/dbus-tests.el
(dbus--test-create-message-with-args): New helper function.
(dbus-test04-create-message-parameters): New test.

cd77eae... by Daiki Ueno <email address hidden>

dbusbind: Add function to expose D-Bus message

* src/dbusbind.c (xd_dbus_type_to_symbol): New function.
(xd_arg_type_to_lisp): New function.
(struct xd_message): New struct.
(xd_build_message): New function, split from Fdbus_message_internal.
(Fdbus_message_internal): Use xd_build_message.
(xd_dbus_message_to_lisp): New function.
(Fdbus_message_internal_to_lisp): New function.
(syms_of_dbusbind): Register Sdbus_message_internal_to_lisp,
QCdbus_message_path, QCdbus_message_interface,
QCdbus_message_member, QCdbus_message_destination,
QCdbus_message_sender, QCdbus_message_signature,
and QCdbus_message_args.

47b7026... by Michael Albinus

* doc/misc/dbus.texi (Type Conversion): Check for subfeature.

* src/dbusbind.c (syms_of_dbusbind):
* lisp/net/dbus.el (top): Provide proper subfeature.

f2749ce... by Daiki Ueno <email address hidden>

dbusbind: Add alternative form of compound argument

* src/dbusbind.c (xd_append_basic_arg): New function, split from
xd_append_arg.
(xd_append_arg): Use xd_append_arg.
(xd_type_spec_to_signature): New function.
(xd_append_arg_with_type_spec): New function.
(Fdbus_message_internal): Use xd_append_arg_with_type_spec,
instead of xd_append_arg.
(syms_of_dbusbind): Provide subfeature `:type'.
* doc/misc/dbus.texi (Type Conversion): Mention `:type' keyword.

Fixes: debbugs:20193

572f68e... by Wieland Hoffmann

; Fix a typo in the EPA docs

* doc/misc/epa.texi: Fix a typo

b142c48... by Paul Eggert <email address hidden>

Tweak startup screen quoting

* lisp/startup.el (normal-splash-screen): Use standard
"M-" abbrevation rather than a confusingly-different one.
(normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.