summaryrefslogtreecommitdiff
path: root/src/modules/dbus/module-dbus-protocol.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-14update FSF addresses to FSF web pageOndrej Holecek1-3/+1
FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources.
2014-12-08Warn on loading module-dbus-protocolAlexander E. Patrakov1-0/+5
See also https://www.mail-archive.com/ubuntu-audio-dev@lists.launchpad.net/msg00268.html The warning may be useful for users who carried over the module-loading statement from default configuration files shipped with old PulseAudio versions. Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
2013-07-04Revert dbus_bool_t variables to use TRUE/FALSE instead of true/falsepoljar (Damir Jelić)1-5/+5
2013-07-04Remove pa_bool_t and replace it with bool.poljar (Damir Jelić)1-18/+18
commands used for this (executed from the pulseaudio/src directory): find . -regex '\(.*\.[hc]\|.*\.cc\|.*\.m4\)' -not -name 'macro.h' \ -a -not -name 'reserve.[ch]' -a -not -name 'reserve-monitor.[ch]' \ -a -not -name 'glib-mainloop.c' -a -not -name 'gkt-test.c' \ -a -not -name 'glib-mainloop.c' -a -not -name 'gkt-test.c' \ -a -not -name 'poll-win32.c' -a -not -name 'thread-win32.c' \ -a -not -name 'dllmain.c' -a -not -name 'gconf-helper.c' \ -exec sed -i -e 's/\bpa_bool_t\b/bool/g' \ -e 's/\bTRUE\b/true/g' -e 's/\bFALSE\b/false/g' {} \; and: sed -i -e '181,194!s/\bpa_bool_t\b/bool/' \ -e '181,194!s/\bTRUE\b/true/' -e \ '181,194!s/\bFALSE\b/false/' pulsecore/macro.h
2013-06-24Whitespace cleanup: Fix broken indentation by handpoljar (Damir Jelić)1-2/+2
This patch fixes wrong indentation introduced by the last patch. This was mostly done with vim-s retab feature.
2013-06-24Whitespace cleanup: Remove tabspoljar (Damir Jelić)1-2/+2
This patch removes all tabs hidden inside the source tree and replaces them with 4 spaces. Command used for this: find . -type d \( -name bluetooth \) -prune -o -regex '\(.*\.[hc]\|.*\.cc\)' -a -not -name 'reserve*.[ch]' -a -not -name 'gnt*.h' -a -not -name 'adrian*' -exec sed -i -e 's/\t/ /g' {} \; The excluded files are mirrored files from external sources containing tabs.
2013-02-16idxset: Use pa_free_cb_t instead of pa_free2_cb_tTanu Kaskinen1-7/+2
There were no users for the userdata pointer.
2013-02-06dbus: Fix connection cleanup when killing clientsTanu Kaskinen1-0/+1
2012-06-09modules: Use pa_streq instead of strcmp.Arti Trivedi Bora1-3/+3
2011-09-22dbus: Don't crash if the module does not loadDavid Henningsson1-3/+5
If module-dbus-protocol fails to start, pa__done is still called, which falsified the assumption that u->connections was always set. BugLink: http://bugs.launchpad.net/bugs/855729 Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2011-08-12Plug some memory leaks and an invalid readMaarten Bosmans1-0/+2
Note in protocol-dbus.c specifically, method_signatures needs to be freed before method_handlers, because otherwise h->method_name is freed while it is still in use as a key in the method_signatures hashmap.
2011-04-29dbus: Fix the order of freeing stuff when unloading module-dbus-protocol.Tanu Kaskinen1-3/+9
2011-04-29dbus: Fix connection idxset freeing when unloading the module.Tanu Kaskinen1-13/+8
If u->connections isn't empty when module-dbus-protocol is unloaded, then connection_free() is called for the remaining connections when the idxset is freed. connection_free() tries to remove the connection from the idxset, but that fails, because the item has already been removed from the idxset in this scenario. The problem is solved by not trying to remove the connection from the idxset in connection_free(). Instead, whoever wants to delete connections, has to remove the connection from the idxset in addition to calling connection_free().
2010-05-10dbus: Stop polling every 10 seconds to check whether all clients are still ↵Tanu Kaskinen1-22/+28
alive. Instead, watch for org.freedesktop.DBus.Disconnected signals.
2010-05-10dbus: Initialize properly the type field of new server structs.Tanu Kaskinen1-0/+1
2010-05-10dbus: Make it possible to allow remote connections from outside localhost.Tanu Kaskinen1-2/+8
2009-11-21Rename all the signal parameters and variables to something more explicit.Diego Elio 'Flameeyes' Pettenò1-7/+7
Without this change, on FreeBSD you'll be bothered by tons of warnings about overshadowing signal(2).
2009-08-26dbus: Finish the Client D-Bus interface.Tanu Kaskinen1-2/+29
2009-07-21Add the forgotten src/modules/dbus directory to git.Tanu Kaskinen1-0/+580