DBus binding for Tcl

Timeline
Login

Timeline

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

50 most recent check-ins

2024-12-21
11:21
Detect presence of system bus and constrain tests accordingly. Fixes [0333dc35e9]. Leaf check-in: d9757ddc0f user: schelte tags: trunk, master
2024-09-27
09:23
Update documentation. check-in: db6ad7b2fc user: schelte tags: trunk, master, dbus-4-1
07:59
Merge the tcl9 branch and bump version to 4.1. check-in: e09754cffb user: schelte tags: trunk, master
2024-07-16
13:22
Update to latest tclconfig, making special handling of Tcl_Size unnecessary. Closed-Leaf check-in: b3d5e68a9f user: schelte tags: tcl9
13:08
Pick up latest updates from trunk. check-in: 5879905783 user: schelte tags: tcl9
2023-10-09
07:16
Tcl_GetRange did not have special handling of negative values for the "last" argument until Tcl version 8.6.12. check-in: 853de8ede8 user: schelte tags: trunk, master
07:13
Fix memory leak when using the legacy filter options. check-in: 4f95f7d86b user: schelte tags: trunk, master
2023-10-07
20:43
Provide details of the dbus response message in the return options of the call command. check-in: 0ae8bd9115 user: schelte tags: trunk, master
2023-09-11
10:21
Update the demos to work with dbus library version 4.0 check-in: d61389c613 user: schelte tags: trunk, master
10:20
Properly escape quotes and commas in filter values. check-in: 778a029696 user: schelte tags: trunk, master
2023-09-08
09:46
Add an option to send a signal to a specific destination. check-in: 877f275bab user: schelte tags: trunk, master
2023-09-07
12:10
Make bus IDs distinct from bus names. Aliases are provided for limited backward compatibility. check-in: 78218b0df4 user: schelte tags: trunk, master
2023-09-05
20:56
Add arg#, arg#path, arg0namespace, and path_namespace filter keys. Drop the leading '-' from the filter keys. check-in: d73e0f3c0a user: schelte tags: trunk, master, dbus-4-0
14:10
Make the necessary changes to be able to compile for Tcl 9.0 check-in: 09fa5cff16 user: schelte tags: tcl9
2023-05-18
11:31
Fix memory leak due to missing Tcl_FreeEncoding(), as reported by chw in ticket [52de142ff4]. check-in: 7419930a80 user: schelte tags: trunk, master
2023-04-22
13:12
Explicitly convert strings in dbus messages from utf-8 to Tcl's internal representation, which is almost, but not exactly utf-8. check-in: 4d6d045e29 user: schelte tags: trunk, master
12:52
Add a return option to specify an error name upon failure of a method handler. Bump version to 3.1. check-in: 10553a0969 user: schelte tags: trunk, master, dbus-3-1
09:30
The '-' character is allowed in bus names, but not in error names. check-in: 889a950d00 user: schelte tags: trunk, master
2022-07-21
20:48
Removing a non-existing filter started throwing a (badly spelled) error with libdbus-1 1.13.20 and later. check-in: 9bae1e50a4 user: schelte tags: trunk, master, dbus-3-0
2022-07-15
21:54
Make demos work with dbus version 3.0 check-in: fcb6c64ee3 user: schelte tags: trunk, master
2019-02-01
16:35
If the Tcl callback script closes the dbus connection, the Tcl_DBusBus structure is freed. Any further use of a pointer pointing to the structure may result in a segmentation fault or panic. check-in: 558c829857 user: schelte tags: trunk, master
2019-01-11
12:43
New dispatch status changes raised while in the process of closing the dbus connection could lead to a segfault. check-in: 18f14dff09 user: schelte tags: trunk, master
2018-09-28
09:26
- Bumped version to 3.0 - Each dbus connect command now creates a new connection to the dbus. This change was needed to be able to use the new preferred way of monitoring the dbus using the BecomeMonitor method. - Improve error reporting by providing useful errorCodes. check-in: 061ad2decf user: schelte tags: trunk, master
2018-06-21
19:46
- Prepare for releasing dbus 2.2 check-in: f1a507c194 user: schelte tags: trunk, dbus-2-2, master
19:25
- Tcl_DBusErrorCode() prototype is also needed when DBUS_MEM_DEBUG is not defined. check-in: cc408621f7 user: schelte tags: trunk, master
19:23
- Messages should not silently pile up when the DBus connection has been closed by the remote end. check-in: 670718ca75 user: schelte tags: trunk, master
2017-07-06
20:07
- Accept symbolic values (like true, false, on, off, y, n) for boolean dbus arguments. check-in: 92d71c1d63 user: schelte tags: trunk, master
19:47
- Populate the errorcode return option in case of an error. - Undo misguided change to the error message from the filter subcommand. check-in: a8da4d9d2b user: schelte tags: trunk, master
2017-05-09
11:00
Correct as well as simplify dumping data in literal format. check-in: 9aa6511e59 user: schelte tags: trunk, master
10:58
Restore error reporting to the previous situation. check-in: ff701df22a user: schelte tags: trunk, master
2017-03-19
14:45
Patch provided by chw: To resolve another possible issue in a threaded environment, move the index variable for generating bus handles to the tsd structure as well. Fix a memory leak. check-in: 49fcc4d49b user: schelte tags: trunk, master
2017-03-18
22:23
Follow the Tcl appartment threading model by using per thread (private) DBUS connections. This is achieved by putting the formerly static "bus" hash table into a thread specific struct as suggested by chw. check-in: dd935abd7d user: schelte tags: trunk, master
2017-03-17
20:52
- Make sure the initial NameAcquired signal is delivered to the application. check-in: 258efbe993 user: schelte tags: trunk, master
2017-03-16
20:23
- Updated version to 2.2. - Assign symbolic names to dbus connections (possible incompatibility) - Attach data to the dbus connection instead of a separate hash table. That way the data can be found if a dbus has an alternative name (like starter). - Fix incorrect size of allocated memory - Make sure initial signals (like NameAcquired) are reported without delay. - Turn fd into a Tcl_Channel for attaching event handlers to avoid problems when using threads. - Switch off the default libdbus behavior to terminate the application when the connection to one of the standard dbusses breaks. Applications that want this behavior can set up a handler for the Disconnect signal. - Protect callback execution from interp deletion while it is running. - Duplicate the callback script on definition to prevent issues when using threads. check-in: 6086e8cf09 user: schelte tags: trunk, master
2017-02-27
16:52
Switch to watching for dbus messages using a select-based setup instead of by polling. check-in: e362e82eff user: schelte tags: trunk, master
2017-02-26
20:45
- Whitespace policing check-in: 8549ddaee6 user: schelte tags: trunk, master
2017-01-07
16:30
Make sure events are posted to the correct thread. check-in: c9685e1951 user: schelte tags: trunk, master
2016-12-11
14:43
Invalid input could lead to the dbus library panicking before the error could be reported back to the Tcl script. check-in: 6fa6e4282a user: schelte tags: trunk, master
14:40
Clean up the Tcl timer in case the dbus library cancels the timeout. check-in: 785487f7df user: schelte tags: trunk, master
2016-05-28
19:52
- Missed variable declaration check-in: c5ac4b871c user: schelte tags: trunk, master
19:49
- Fix segfault when libdbus starts the same timeout multiple times. check-in: a87247a106 user: schelte tags: trunk, master
2016-01-10
17:07
Under certain circumstances not all used Tcl_Objs were being released, which could lead to ever increasing memory consumptions in long-running applications. check-in: dd1cd2860b user: schelte tags: trunk, master
2015-08-01
15:28
- Update to the latest TEA check-in: bd6eece2ac user: schelte tags: trunk, master
14:56
- Application would crash when trying to send a string containing '\0' over the dbus: process 6312: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)" failed in file dbus-message.c line 2676. check-in: c740cfe548 user: schelte tags: trunk, master
14:53
- Make Makefile fit for both gmake and BSD make, as suggested by stu. https://sourceforge.net/p/dbus-tcl/patches/2/ check-in: 17abf691d5 user: schelte tags: trunk, master
2015-06-18
08:41
- Broke the manual page Leaf check-in: 2f7f1d6682 user: schelte tags: trunk, dbus-2-1
08:21
- Summarize changes introduced in version 2.1 check-in: dd7dc3042d user: schelte tags: trunk
08:08
- Doc improvements check-in: 6b3e592807 user: schelte tags: trunk
08:07
- Add --address option to qdbus.tcl to allow examining non-standard busses. check-in: 0d06fab94e user: schelte tags: trunk
2015-05-02
10:50
- Fix wrong return code from [dbus info capabilities] check-in: 39e8bce80d user: schelte tags: trunk