profile/ivi/pulseaudio.git
16 years agoUpdate code to use libtool 2.2. Use convenience recursive libltdl.
Diego 'Flameeyes' Pettenò [Fri, 8 Aug 2008 10:24:57 +0000 (12:24 +0200)]
Update code to use libtool 2.2. Use convenience recursive libltdl.

Also remove the code for older libtool from the daemon.

16 years agoCreate an m4 directory for common macros and use it.
Diego 'Flameeyes' Pettenò [Fri, 8 Aug 2008 10:18:53 +0000 (12:18 +0200)]
Create an m4 directory for common macros and use it.

Split acinclude.m4 in multiple macro files.

Let it be known to autoconf and aclocal to use the m4 directory.
Ignore macro files copied or linked by libtool and intltool.

16 years agoRemove gettext macros from configure.ac, intltool is used.
Diego 'Flameeyes' Pettenò [Fri, 8 Aug 2008 10:15:26 +0000 (12:15 +0200)]
Remove gettext macros from configure.ac, intltool is used.

When using intltool there is no need to _also_ use gettext, so remove
gettext macros so that autoreconf does not copy them over.

16 years agoBump autoconf requirement to 2.62 (latest released version).
Diego 'Flameeyes' Pettenò [Thu, 7 Aug 2008 17:09:23 +0000 (19:09 +0200)]
Bump autoconf requirement to 2.62 (latest released version).

16 years agoremove some leftover debug string
Lennart Poettering [Thu, 7 Aug 2008 00:29:44 +0000 (02:29 +0200)]
remove some leftover debug string

16 years agoModify pa_state_path() to take an additional argument for prepending the machine...
Lennart Poettering [Thu, 7 Aug 2008 00:28:47 +0000 (02:28 +0200)]
Modify pa_state_path() to take an additional argument for prepending the machine id to the file name.

16 years agoRework state/runtime directory logic
Lennart Poettering [Thu, 7 Aug 2008 00:25:48 +0000 (02:25 +0200)]
Rework state/runtime directory logic

The runtime directory is now guaranteed to be in /tmp which will hopefully
provide support for POSIX file locking and UNIX sockets.

The state directory stays in $HOME.

16 years agodon't spam to stderr in API functions
Lennart Poettering [Thu, 7 Aug 2008 00:24:19 +0000 (02:24 +0200)]
don't spam to stderr in API functions

16 years agoprint machine id during startup
Lennart Poettering [Thu, 7 Aug 2008 00:23:45 +0000 (02:23 +0200)]
print machine id during startup

16 years agoadd new function pa_machine_id()
Lennart Poettering [Thu, 7 Aug 2008 00:22:57 +0000 (02:22 +0200)]
add new function pa_machine_id()

16 years agotranslate error strings
Lennart Poettering [Wed, 6 Aug 2008 23:57:23 +0000 (01:57 +0200)]
translate error strings

16 years agoinclude host name in default sink/default source file
Lennart Poettering [Wed, 6 Aug 2008 19:35:32 +0000 (21:35 +0200)]
include host name in default sink/default source file

16 years agofix a few things in the translations
Lennart Poettering [Wed, 6 Aug 2008 18:27:03 +0000 (20:27 +0200)]
fix a few things in the translations

16 years agoadd basic german translation
Lennart Poettering [Wed, 6 Aug 2008 18:24:03 +0000 (20:24 +0200)]
add basic german translation

16 years agofix channel position string
Lennart Poettering [Wed, 6 Aug 2008 18:16:37 +0000 (20:16 +0200)]
fix channel position string

16 years agoadd a few configuration sanity checks for system mode
Lennart Poettering [Wed, 6 Aug 2008 17:56:15 +0000 (19:56 +0200)]
add a few configuration sanity checks for system mode

16 years agoadd disallow-exit to default configuration file
Lennart Poettering [Wed, 6 Aug 2008 17:55:50 +0000 (19:55 +0200)]
add disallow-exit to default configuration file

16 years agoadd new switch --disallow-exit
Lennart Poettering [Wed, 6 Aug 2008 17:39:12 +0000 (19:39 +0200)]
add new switch --disallow-exit

16 years agoadd i18n support
Lennart Poettering [Wed, 6 Aug 2008 16:54:13 +0000 (18:54 +0200)]
add i18n support

16 years agoremove authkey-prop from tree
Lennart Poettering [Wed, 6 Aug 2008 01:05:20 +0000 (03:05 +0200)]
remove authkey-prop from tree

16 years agodon't include authkey-prop.h anymore
Lennart Poettering [Wed, 6 Aug 2008 01:04:53 +0000 (03:04 +0200)]
don't include authkey-prop.h anymore

16 years agofix a few potential bad memory accesses
Lennart Poettering [Wed, 6 Aug 2008 01:04:22 +0000 (03:04 +0200)]
fix a few potential bad memory accesses

16 years agofix shutdown when --disallow-module-loading=1 is passed
Lennart Poettering [Tue, 5 Aug 2008 21:56:25 +0000 (23:56 +0200)]
fix shutdown when --disallow-module-loading=1 is passed

16 years agoadd a function to dump the stream database for debugging purposes
Lennart Poettering [Tue, 5 Aug 2008 17:03:11 +0000 (19:03 +0200)]
add a function to dump the stream database for debugging purposes

16 years agodon't enforce valid callbacks for extension module APIs
Lennart Poettering [Tue, 5 Aug 2008 17:01:51 +0000 (19:01 +0200)]
don't enforce valid callbacks for extension module APIs

16 years agoallow extension messages to actually carry information
Lennart Poettering [Tue, 5 Aug 2008 17:01:25 +0000 (19:01 +0200)]
allow extension messages to actually carry information

16 years agofix error path (spotted by Coling Guthrie)
Lennart Poettering [Tue, 5 Aug 2008 14:31:17 +0000 (16:31 +0200)]
fix error path (spotted by Coling Guthrie)

16 years agofix a few more copy/paste errors
Lennart Poettering [Tue, 5 Aug 2008 12:26:43 +0000 (14:26 +0200)]
fix a few more copy/paste errors

16 years agofix copy/paste error
Lennart Poettering [Mon, 4 Aug 2008 21:33:29 +0000 (23:33 +0200)]
fix copy/paste error

16 years agofix documentation to follow what actually happens
Lennart Poettering [Mon, 4 Aug 2008 21:33:10 +0000 (23:33 +0200)]
fix documentation to follow what actually happens

16 years agoinherit proplist on sample playback from client
Lennart Poettering [Mon, 4 Aug 2008 21:32:52 +0000 (23:32 +0200)]
inherit proplist on sample playback from client

16 years agoremove port definitions from header file since they are not actually used yet
Lennart Poettering [Mon, 4 Aug 2008 17:49:33 +0000 (19:49 +0200)]
remove port definitions from header file since they are not actually used yet

16 years agoadd missing C++ checks in header
Lennart Poettering [Mon, 4 Aug 2008 17:49:13 +0000 (19:49 +0200)]
add missing C++ checks in header

16 years agopa_bool_t is not exported
Lennart Poettering [Mon, 4 Aug 2008 17:45:47 +0000 (19:45 +0200)]
pa_bool_t is not exported

16 years agoignore PA_GCC_DEPRECATED and PA_GCC_PRINTF_ATTR when generating map file
Lennart Poettering [Mon, 4 Aug 2008 17:45:30 +0000 (19:45 +0200)]
ignore PA_GCC_DEPRECATED and PA_GCC_PRINTF_ATTR when generating map file

16 years agoupdate list of exported symbols
Lennart Poettering [Mon, 4 Aug 2008 17:44:55 +0000 (19:44 +0200)]
update list of exported symbols

16 years agoFix linking
Colin Guthrie [Sun, 3 Aug 2008 22:38:13 +0000 (22:38 +0000)]
Fix linking

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agowrap protocol extension of module-stream-restore
Lennart Poettering [Mon, 4 Aug 2008 17:02:20 +0000 (19:02 +0200)]
wrap protocol extension of module-stream-restore

16 years agoadd protocol extension to module-stream-restore
Lennart Poettering [Mon, 4 Aug 2008 17:01:13 +0000 (19:01 +0200)]
add protocol extension to module-stream-restore

16 years agostore channel map in database and remap volumes if necessary
Lennart Poettering [Mon, 4 Aug 2008 17:00:43 +0000 (19:00 +0200)]
store channel map in database and remap volumes if necessary

16 years agoadd hooks for connection creation/deletion, for that export pa_native_connection
Lennart Poettering [Mon, 4 Aug 2008 16:58:29 +0000 (18:58 +0200)]
add hooks for connection creation/deletion, for that export pa_native_connection

16 years agosplit out save trigger function
Lennart Poettering [Mon, 4 Aug 2008 16:56:12 +0000 (18:56 +0200)]
split out save trigger function

16 years agostore channel map in database and remap volumes if ncessary
Lennart Poettering [Mon, 4 Aug 2008 16:55:50 +0000 (18:55 +0200)]
store channel map in database and remap volumes if ncessary

16 years agoadd new API function pa_cvolume_remap()
Lennart Poettering [Mon, 4 Aug 2008 16:40:53 +0000 (18:40 +0200)]
add new API function pa_cvolume_remap()

16 years agodon't hit an assert if when process_rewind() is called with nbytes=0
Lennart Poettering [Mon, 4 Aug 2008 13:33:41 +0000 (15:33 +0200)]
don't hit an assert if  when process_rewind() is called with nbytes=0

16 years agoload module-device-restore and module-stream-restore by default, don't load module...
Lennart Poettering [Sun, 3 Aug 2008 21:23:46 +0000 (23:23 +0200)]
load module-device-restore and module-stream-restore by default, don't load module-volume-restore anymore

16 years agoadd new module module-stream-restore
Lennart Poettering [Sun, 3 Aug 2008 21:23:13 +0000 (23:23 +0200)]
add new module module-stream-restore

16 years agoa bit of refactoring
Lennart Poettering [Sun, 3 Aug 2008 21:22:38 +0000 (23:22 +0200)]
a bit of refactoring

16 years agofix uninitialized memory access
Lennart Poettering [Sun, 3 Aug 2008 21:21:51 +0000 (23:21 +0200)]
fix uninitialized memory access

16 years agodefine CANONICAL_HOST as macro for the GNU canonical host
Lennart Poettering [Sun, 3 Aug 2008 21:21:06 +0000 (23:21 +0200)]
define CANONICAL_HOST as macro for the GNU canonical host

16 years agoadd extension system for native protocol
Lennart Poettering [Sun, 3 Aug 2008 16:56:10 +0000 (18:56 +0200)]
add extension system for native protocol

16 years agostore load_once flag for module
Lennart Poettering [Sun, 3 Aug 2008 16:55:42 +0000 (18:55 +0200)]
store load_once flag for module

16 years agoadd a new error code PA_ERR_NOEXTENSION
Lennart Poettering [Sun, 3 Aug 2008 16:54:55 +0000 (18:54 +0200)]
add a new error code PA_ERR_NOEXTENSION

16 years agostart idle timer even when no module is ever loaded
Lennart Poettering [Sun, 3 Aug 2008 16:53:43 +0000 (18:53 +0200)]
start idle timer even when no module is ever loaded

16 years agosome pa_bool_t'ization
Lennart Poettering [Sun, 3 Aug 2008 15:00:52 +0000 (17:00 +0200)]
some pa_bool_t'ization

16 years agofix iteration over random devices
Sjoerd Simons [Sun, 3 Aug 2008 11:45:35 +0000 (12:45 +0100)]
fix iteration over random devices

Actually iterate over the various random devices. Fixes a infinite loop on
startup when /dev/urandom isn't readable. Patch by Matt Kraai on Debian bug
491270, closes #333

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agomake all protocol objects global singletons
Lennart Poettering [Sun, 3 Aug 2008 14:44:38 +0000 (16:44 +0200)]
make all protocol objects global singletons

16 years agouse pa_channel_map_init_extend() instead of pa_channel_map_init_auto() to make things...
Lennart Poettering [Sun, 3 Aug 2008 14:43:51 +0000 (16:43 +0200)]
use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() to make things more robust

16 years agosimplify a bit
Lennart Poettering [Sun, 3 Aug 2008 14:42:41 +0000 (16:42 +0200)]
simplify a bit

16 years agoadd new api function pa_cli_get_module()
Lennart Poettering [Sun, 3 Aug 2008 14:42:16 +0000 (16:42 +0200)]
add new api function pa_cli_get_module()

16 years agointroduce pa_cli_eof_cb_t
Lennart Poettering [Sun, 3 Aug 2008 14:41:52 +0000 (16:41 +0200)]
introduce pa_cli_eof_cb_t

16 years agorename pa_hook_free() to pa_hook_done() since the hook struct is allocated on the...
Lennart Poettering [Sun, 3 Aug 2008 14:21:08 +0000 (16:21 +0200)]
rename pa_hook_free() to pa_hook_done() since the hook struct is allocated on the stack not via malloc

16 years agouse @ as seperator between shared name variable and instance
Lennart Poettering [Sun, 3 Aug 2008 14:17:50 +0000 (16:17 +0200)]
use @ as seperator between shared name variable and instance

16 years agomake sure we don't leak userdata struct
Lennart Poettering [Sun, 3 Aug 2008 14:17:17 +0000 (16:17 +0200)]
make sure we don't leak userdata struct

16 years agoallow running of PA with a valgring that doesn't know cap_set_caps
Lennart Poettering [Sun, 3 Aug 2008 14:16:22 +0000 (16:16 +0200)]
allow running of PA with a valgring that doesn't know cap_set_caps

16 years agoadd new auth cookie singleton
Lennart Poettering [Sun, 3 Aug 2008 14:15:37 +0000 (16:15 +0200)]
add new auth cookie singleton

16 years agorename props.[ch] to shared.[ch]
Lennart Poettering [Thu, 31 Jul 2008 23:10:54 +0000 (02:10 +0300)]
rename props.[ch] to shared.[ch]

16 years agorename pa_property_xxx to pa_shared_xxx to avoid confusion with property lists
Lennart Poettering [Thu, 31 Jul 2008 22:56:09 +0000 (01:56 +0300)]
rename pa_property_xxx to pa_shared_xxx to avoid confusion with property lists

16 years agofix build without ALSA
Lennart Poettering [Thu, 31 Jul 2008 22:54:53 +0000 (01:54 +0300)]
fix build without ALSA

16 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Thu, 31 Jul 2008 20:34:09 +0000 (23:34 +0300)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

16 years agoA fix on src/Makefile.am
Stanley Cai [Thu, 31 Jul 2008 13:34:47 +0000 (21:34 +0800)]
A fix on src/Makefile.am

It needs dbus not hal to build module-console-kit.so

Signed-off-by: Lennart Poettering <lennart@poettering.net>
16 years agoa bit of pa_bool_t'ization
Lennart Poettering [Thu, 31 Jul 2008 19:25:58 +0000 (21:25 +0200)]
a bit of pa_bool_t'ization

16 years agoallow global tsched setting for all modules loaded by module-hal
Lennart Poettering [Thu, 31 Jul 2008 19:24:23 +0000 (21:24 +0200)]
allow global tsched setting for all modules loaded by module-hal

16 years agoreword comment on dbus a bit
Lennart Poettering [Thu, 31 Jul 2008 19:22:43 +0000 (21:22 +0200)]
reword comment on dbus a bit

16 years agoWork around D-Bus bug that involves dbus_shutdown() to call exit() when it shouldn...
Lennart Poettering [Wed, 30 Jul 2008 23:25:33 +0000 (01:25 +0200)]
Work around D-Bus bug that involves dbus_shutdown() to call exit() when it shouldn't. Patch from Coling Guthrie

16 years agodon't allow --start in system mode
Lennart Poettering [Wed, 30 Jul 2008 18:36:34 +0000 (20:36 +0200)]
don't allow --start in system mode

16 years agouse the right LIBICONV macro, spotted by woglinde, closes #324
Lennart Poettering [Wed, 30 Jul 2008 15:16:59 +0000 (17:16 +0200)]
use the right LIBICONV macro, spotted by woglinde, closes #324

16 years agobump needed automake version
Lennart Poettering [Wed, 30 Jul 2008 15:01:31 +0000 (17:01 +0200)]
bump needed automake version

16 years agoinstall a default system.pa
Lennart Poettering [Wed, 30 Jul 2008 14:59:30 +0000 (16:59 +0200)]
install a default system.pa

16 years agoMake the alsa error message give out the needed version.
Petteri Räty [Sat, 26 Jul 2008 20:04:09 +0000 (23:04 +0300)]
Make the alsa error message give out the needed version.

16 years agodon't pass rediculously high values to umask()
Lennart Poettering [Wed, 30 Jul 2008 12:21:11 +0000 (14:21 +0200)]
don't pass rediculously high values to umask()

16 years agoremove debug message
Lennart Poettering [Wed, 30 Jul 2008 11:44:20 +0000 (13:44 +0200)]
remove debug message

16 years agohide doxygen docs from git
Lennart Poettering [Tue, 29 Jul 2008 13:36:25 +0000 (15:36 +0200)]
hide doxygen docs from git

16 years agofix two thinkos in signal reset/close_all code
Lennart Poettering [Tue, 29 Jul 2008 13:36:00 +0000 (15:36 +0200)]
fix two thinkos in signal reset/close_all code

16 years agomake module-hal and module-ck live together in peace
Lennart Poettering [Thu, 24 Jul 2008 01:02:09 +0000 (03:02 +0200)]
make module-hal and module-ck live together in peace

16 years agofix destruction of dbus modules: make sure we don't leave filter function registered...
Lennart Poettering [Thu, 24 Jul 2008 00:21:58 +0000 (02:21 +0200)]
fix destruction of dbus modules: make sure we don't leave filter function registered after unreffing the dbus connection

16 years agohide start-pulseaudio-x11
Lennart Poettering [Wed, 23 Jul 2008 23:32:00 +0000 (01:32 +0200)]
hide start-pulseaudio-x11

16 years agoreset dbus error struct before retrying parsing messages
Lennart Poettering [Wed, 23 Jul 2008 23:31:33 +0000 (01:31 +0200)]
reset dbus error struct before retrying parsing messages

16 years agoadd missing pieces for new startup logic
Lennart Poettering [Wed, 23 Jul 2008 20:46:39 +0000 (22:46 +0200)]
add missing pieces for new startup logic

16 years agobump api verson
Lennart Poettering [Wed, 23 Jul 2008 20:44:41 +0000 (22:44 +0200)]
bump api verson

16 years agofollow consolekit's recent D-Bus API change, original patch from William Jon McCan
Lennart Poettering [Wed, 23 Jul 2008 14:59:55 +0000 (16:59 +0200)]
follow consolekit's recent D-Bus API change, original patch from William Jon McCan

16 years agoallow module-x11-xsmp to be loaded more than once
Lennart Poettering [Wed, 23 Jul 2008 14:50:48 +0000 (16:50 +0200)]
allow module-x11-xsmp to be loaded more than once

16 years agodon't break if we fail to resume access to an audio device
Lennart Poettering [Wed, 23 Jul 2008 14:50:16 +0000 (16:50 +0200)]
don't break if we fail to resume access to an audio device

16 years agobump alsa dep to 1.0.17
Lennart Poettering [Wed, 23 Jul 2008 00:00:28 +0000 (02:00 +0200)]
bump alsa dep to 1.0.17

16 years agomake missing gdbm fatal (spotted by Betelgeuse)
Lennart Poettering [Wed, 23 Jul 2008 00:00:09 +0000 (02:00 +0200)]
make missing gdbm fatal (spotted by Betelgeuse)

16 years agodon't drop caps if we are started as normal root user
Lennart Poettering [Tue, 22 Jul 2008 19:13:46 +0000 (21:13 +0200)]
don't drop caps if we are started as normal root user

16 years agoenable exit-on-idle by default
Lennart Poettering [Tue, 22 Jul 2008 17:45:18 +0000 (19:45 +0200)]
enable exit-on-idle by default

16 years agoprepare doxygen docs for 0.9.11
Lennart Poettering [Mon, 21 Jul 2008 16:55:17 +0000 (18:55 +0200)]
prepare doxygen docs for 0.9.11

16 years agofix gconf autoconf check
Lennart Poettering [Mon, 21 Jul 2008 16:53:30 +0000 (18:53 +0200)]
fix gconf autoconf check

16 years agoforward process_msg calls to the generic source handler, not the generic sink handler
Lennart Poettering [Wed, 16 Jul 2008 09:28:46 +0000 (11:28 +0200)]
forward process_msg calls to the generic source handler, not the generic sink handler