DBus binding for Tcl

Timeline
Login

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

50 most recent check-ins

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. Leaf 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
2015-04-26
20:36
- Allow specifying an empty string for the dbus call -handler option, which will be handled the same as not having the option at all, i.e.: synchronous operation. check-in: 0b3c92f22b user: schelte tags: trunk
2015-04-25
14:32
- Allow method scripts to decide at runtime if the response will be given asynchronous or not. - Accept server addresses as dbus identifiers for all commands. - Bump version to 2.1. check-in: 06ac7273ed user: schelte tags: trunk
09:51
Improved version of the "integer constant is too large" patch by Stuart. check-in: 8b5174cf77 user: schelte tags: trunk
2015-04-22
19:25
Silence compiler warning: integer constant is too large for 'long' type. https://sourceforge.net/p/dbus-tcl/bugs/4/ Thanks to Stuart Cassoff for reporting and providing the patch. check-in: 6f22faf9bc user: schelte tags: trunk
19:20
- Make sure type signatures and object paths are valid before passing them to dbus functions, because the library will panic on invalid values. check-in: 1596f252f2 user: schelte tags: trunk
2015-01-07
23:02
- Add a new dbus info subcommand to check if a dbus connection supports file descriptor passing. check-in: f2b14e4cf5 user: schelte tags: trunk
2015-01-06
22:08
+ Add support for passing file handles over the dbus. check-in: 2a638948e0 user: schelte tags: trunk
2014-12-13
22:19
- Properly return dbus object paths and type signatures. check-in: 9bcf8b9431 user: schelte tags: trunk
2013-08-17
19:01
- Silence configure warning check-in: ede99c441b user: schelte tags: trunk, dbus-2-0
15:28
- Use fewer hardcoded names in the Makefile check-in: 3262e6e8b9 user: schelte tags: trunk
14:56
- Prepare for release of version 2.0 check-in: fbc0428560 user: schelte tags: trunk
14:34
- The unknown subcommand should also understand the -details option check-in: 30c7a28aed user: schelte tags: trunk
07:48
- Provide a dbus monitoring demo check-in: d268aded1d user: schelte tags: trunk
2013-08-08
13:46
- Properly handle 32- and 64-bit unsigned arguments check-in: 6333309baf user: schelte tags: trunk
13:44
- Add tests for the monitoring functionality check-in: e2136ef24d user: schelte tags: trunk
2013-08-03
19:44
- Do monitoring via a filter, rather than a fallback handler. That way also method_return- and error messages can be seen. check-in: 69fdcf35ac user: schelte tags: trunk
2013-08-01
20:18
- Add eavesdrop filter option check-in: eebd7a1c68 user: schelte tags: trunk
15:29
- Add eavesdrop filter option check-in: e5778ffd67 user: schelte tags: trunk
15:27
- Upgrading tclconfig broke make install check-in: 4d083de615 user: schelte tags: trunk
2013-07-30
18:52
- Use the new -details option to be able to report the actual type of received variant arguments. - Add more argument type names check-in: 1e45b9d6b9 user: schelte tags: trunk