Tcl DBus Interface

Check-in [5c978c81f0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:- Prepare for releasing dbif 1.3
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | master | release-1-3
Files: files | file ages | folders
SHA3-256:5c978c81f0bea85fbf0f3549833d30cf7194899621af5dc1e042e0ae7ddfaf47
User & Date: schelte 2018-06-21 20:36:11
Context
2018-09-28
09:42
- Version 1.4 - Accept both version 2.1+ and 3.0+ of the dbus library. check-in: 18f295af66 user: schelte tags: trunk, master
2018-06-21
20:36
- Prepare for releasing dbif 1.3 check-in: 5c978c81f0 user: schelte tags: trunk, master, release-1-3
2017-06-10
13:11
- Add information about how to obtain the dbus handle. check-in: 4898c5e31c user: schelte tags: trunk, master
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.

37
38
39
40
41
42
43























	- Adopt the [return -async 1] idom from dbus 2.1.
	- Provide a way to add/replace methods and signals for standard
	  interfaces.
	- Completely clean up the old signal when reusing a signalID.
	- Clean up (array) variables when they are no longer needed.
	- Fix introspection when no objects have been defined.
	- Correctly handle signals without a handler.






























>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
	- Adopt the [return -async 1] idom from dbus 2.1.
	- Provide a way to add/replace methods and signals for standard
	  interfaces.
	- Completely clean up the old signal when reusing a signalID.
	- Clean up (array) variables when they are no longer needed.
	- Fix introspection when no objects have been defined.
	- Correctly handle signals without a handler.

Version 1.3 - Jun 21 2018
	- Adapt the code to changes introduced in dbus-tcl 2.2
	- Add a 'dbif pave' command for creating a path without any specific
	  methods or signals. This may be useful for paths that only contain
	  universal methods and/or signals.
	- Add a -single option to 'dbif delete' to only delete the specified
	  path and leave the underlying structure in place.
	- Undefine methods by specifying an empty body.
	- Pass the msgid to the property body code.
	- Change the error code for unknown properties from InvalidArgs to the
	  more apt UnknownProperty.
	- Simplify the generation of xml data for introspection.
	- Improve error reporting when property variables are set to a value
	  that doesn't match the signature.
	- Nodes without any methods, signals, or properties would prevent any
	  underlying nodes from being discovered via introspection.
	- Deleting a node should also delete any child nodes.
	- Fix error when a method deletes its own path.
	- The generate command doesn't always correctly determine whether the
	  result of the signal body should be interpreted as a single value or
	  a list.
	- Properly handle complex signatures for properties.

Changes to Makefile.in.

67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
dist-clean:
	rm -rf $(DIST_DIR) $(DIST_ROOT)/$(PKG_DIR).tar.*

dist: dist-clean
	mkdir -p $(DIST_DIR)
	cp -p $(srcdir)/ChangeLog $(srcdir)/INSTALL* $(srcdir)/README* \
		$(srcdir)/license* $(srcdir)/dbif.m4 $(srcdir)/aclocal.m4 \
		$(srcdir)/configure $(srcdir)/*.in $(DIST_DIR)/
	chmod 664 $(DIST_DIR)/Makefile.in $(DIST_DIR)/aclocal.m4
	chmod 775 $(DIST_DIR)/configure $(DIST_DIR)/configure.in

	for i in $(srcdir)/*.tcl; do \
	    if [ -f $$i ]; then \
		cp -p $$i $(DIST_DIR)/ ; \
	    fi; \
	done;








|

|







67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
dist-clean:
	rm -rf $(DIST_DIR) $(DIST_ROOT)/$(PKG_DIR).tar.*

dist: dist-clean
	mkdir -p $(DIST_DIR)
	cp -p $(srcdir)/ChangeLog $(srcdir)/INSTALL* $(srcdir)/README* \
		$(srcdir)/license* $(srcdir)/dbif.m4 $(srcdir)/aclocal.m4 \
		$(srcdir)/configure $(srcdir)/*.in $(srcdir)/*.ac $(DIST_DIR)/
	chmod 664 $(DIST_DIR)/Makefile.in $(DIST_DIR)/aclocal.m4
	chmod 775 $(DIST_DIR)/configure $(DIST_DIR)/configure.ac

	for i in $(srcdir)/*.tcl; do \
	    if [ -f $$i ]; then \
		cp -p $$i $(DIST_DIR)/ ; \
	    fi; \
	done;