Commit Graph

45 Commits

Author SHA1 Message Date
Nedko Arnaudov 9f6946c97f remove the obsolete "safety" memory functions
Juuso favours them but I favour explicit handling of memory allocation checks
that cause current function to fail
2010-04-04 21:45:53 +03:00
Nedko Arnaudov 9d4d8c6ea0 dbus: remove obsolete kludge 2010-04-04 21:33:17 +03:00
Nedko Arnaudov e154c89ce3 Improve the helper for retrieving dbus dict entries 2010-03-07 13:45:10 +02:00
Nedko Arnaudov 47dbbb940a sane helper for sending signals with complex parameters
* expose dbus_signal_send()
 * dbus_signal_emit() is lame for complex parameters because path, interface and name function parameters are unused
2010-03-07 13:42:44 +02:00
Nedko Arnaudov a76c415981 properly handle dbus_connection_register_object_path() failure 2010-03-06 16:55:07 +02:00
Nedko Arnaudov f813dbd025 Improved log 2010-03-06 16:54:22 +02:00
Nedko Arnaudov eee9239f0c Add newline at the end of introspection xml 2010-03-06 16:53:51 +02:00
Nedko Arnaudov 49e18befb1 increase dbus call timeout
probably this will improve situation where jack server stop call fails
with timeout then it is waited for five seconds and wait finishes almost
imidiately and then jack server stop signal is received that causes sutdio
crashed signal to be emited
2009-12-19 00:21:41 +02:00
Nedko Arnaudov 78f5665ac5 helpers for handling dbus signals 2009-12-13 17:48:29 +02:00
Nedko Arnaudov 540d2eb721 Make assert print error message to log 2009-09-20 18:48:42 +03:00
Nedko Arnaudov 5f832c8668 rename log macros 2009-09-20 18:23:42 +03:00
Nedko Arnaudov d38f42ffef common/debug.h -> log.h 2009-09-20 18:02:10 +03:00
Nedko Arnaudov 7a8931a94a graph dict dbus interface and persist canvas positions of modules 2009-09-07 20:53:56 +03:00
Nedko Arnaudov e2bfe55e2c Fix crash when method or signals are not defined for interface 2009-09-07 20:50:48 +03:00
Nedko Arnaudov 75f9a08aa8 fix dbus message refcount leak 2009-09-07 20:49:16 +03:00
Nedko Arnaudov 9ce6f0a4e4 Allow external creation of input message for dbus_call() 2009-09-05 19:19:55 +03:00
Nedko Arnaudov 9290a15648 rewrite the helper for emiting signals 2009-09-05 19:12:53 +03:00
Nedko Arnaudov ceef54d330 Rename dbus_call_simple() to dbus_call() and fix input_signature type
It is not simple because NULL can be supplied for output signature.
In future NULL will be valid for input signature too.
NULL signature means that message is handled externally.
input_signature is const point now. It is not modified.
2009-09-05 19:04:56 +03:00
Nedko Arnaudov 303d802270 Move generic message helpers out of method.h 2009-09-05 18:31:25 +03:00
Nedko Arnaudov 68d4ac0eca Remove dbus/types.h
Handles must be defined as type
2009-09-05 18:18:07 +03:00
Nedko Arnaudov 867f06a597 Hide dbus_object_path internals behind the interface 2009-09-05 17:27:56 +03:00
Nedko Arnaudov e3b12afc0e Allow different interfaces of same object path to have different contexts 2009-09-05 15:29:09 +03:00
Nedko Arnaudov 47728b1cd8 Dual license dbus helpers to match the libdbus licensing
Juuso Alasuutari will sign this commit with a GPG signed git tag
2009-09-05 00:13:40 +03:00
Nedko Arnaudov 322dca7c1c cleanup dbus helpers 2009-09-04 02:27:05 +03:00
Nedko Arnaudov 186b8ac84e GetStudioList implemented 2009-08-24 01:58:14 +03:00
Nedko Arnaudov 667a5830c0 Fix crash in jack_proxy
This was caused by using uninitialized DBusError.
g_dbus_error should be used instead.
2009-08-23 00:22:16 +03:00
Nedko Arnaudov 08105b1efd Disable log on each dbus call
annoying when polling
2009-08-22 19:20:22 +03:00
Nedko Arnaudov 5fe3f67e31 Link patchbay interface to studio object 2009-08-21 23:13:19 +03:00
Nedko Arnaudov b0a9409cbf patchbay interface 2009-08-20 23:50:24 +03:00
Nedko Arnaudov 6d927edeb6 basic control_proxy object 2009-08-20 00:51:27 +03:00
Nedko Arnaudov 5defb7982b Move daemon jack_proxy code to top dir
Step toward removal of code duplication between daemon and gui
2009-08-11 11:50:22 +03:00
Nedko Arnaudov aea1b7bd19 graph object implementation 2009-08-10 02:18:55 +03:00
Nedko Arnaudov d9ac0f36cd new dbus helper function: dbus_call_simple() 2009-08-09 22:19:32 +03:00
Nedko Arnaudov d88e11f203 D-Bus interface macro improvements
* Descriptions for methods, signals and arguments
 * Use real boolean in method descriptor
 * Use dedicated macros for in and out params. The direction argument is always a C constant.
2009-08-09 19:23:04 +03:00
Nedko Arnaudov b123acc84f unify source copyright headers in in dbus/ and common/ 2009-08-01 19:51:07 +03:00
Nedko Arnaudov f93e4e8761 studio appeared/disappeared signals (again) 2009-08-01 19:24:00 +03:00
Nedko Arnaudov 4b93feb267 Separate d-bus object paths for control and studio objects 2009-08-01 19:07:16 +03:00
Nedko Arnaudov 3018d63225 int->bool 2009-07-31 01:40:04 +03:00
Nedko Arnaudov 6368707025 Clean the control interface 2009-07-31 00:48:20 +03:00
Nedko Arnaudov f03cc60ad2 Use define for dbus name/path 2009-07-13 02:34:32 +03:00
Nedko Arnaudov 1e63ba92bb Remove autohell traces 2009-07-13 01:08:55 +03:00
Nedko Arnaudov 177197f8ca tabs->spaces 2009-07-13 00:15:44 +03:00
Nedko Arnaudov d364193985 waf buildable daemon 2009-07-12 22:56:19 +03:00
Nedko Arnaudov ad6922d788 fix slight misuse of autotools by iuso (as said by iuso)
git-svn-id: svn://svn.savannah.nongnu.org/lash/trunk@580 1de19dc7-4e3f-0410-a61d-eddf686bf0b7
2008-09-23 21:59:50 +00:00
Nedko Arnaudov 4d77bc329c merge the dbus development branch, 77:541
git-svn-id: svn://svn.savannah.nongnu.org/lash/trunk@542 1de19dc7-4e3f-0410-a61d-eddf686bf0b7
2008-09-06 22:48:05 +00:00