Commit graph

210 commits

Author SHA1 Message Date
Lennart Poettering
3bef1a94b4 Make sure libpulse never gets unloaded
When an .so is unloaded during runtime all TLS keys it has registered
need to be freed because the destructor callbacks of the TLS key might
otherwise point to invalid code. Hence it would appear sensible to
destruct the TLS keys from a function marked as __attribute__
((destructor)). However functions marked like that are also called when
an application terminates, on exit(). If a thread continues to run until
the very exit it might still want to access that TLS data. The
destructor functions are called while all other threads are still
running. If __attribute ((destructor)) is used to destruct TLS keys for
such threads this might hence cause a crash when the application shuts
down.

To circumvent this problem we'll now compile libpulse with -z nodelete,
to make it unnecessary to delete the TLS data ever and thus avoiding the
problem. It's suboptimal, but for now I see no better solution.
2008-11-01 21:48:29 +01:00
Lennart Poettering
fa93cb71e8 make distcheck pass 2008-10-06 03:35:46 +02:00
Lennart Poettering
9e79c875a5 Merge commit 'coling/master' 2008-10-01 01:52:14 +02:00
Lennart Poettering
644f39d261 a few FreeBSD fixes, from alexis
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-01 01:31:56 +02:00
Lennart Poettering
3ad8c04564 add a generic priority queue implementation 2008-09-26 09:49:52 -07:00
João Paulo Rechi Vita
4ae124b1c9 Move bluetooth proximity module to src/modules/bluetooth/ 2008-09-11 01:12:10 +03:00
João Paulo Rechi Vita
78a3c72f60 Move bluetooth discover and device modules to src/modules/bluetooth 2008-09-11 01:12:10 +03:00
Russ Dill
447e027217 Fix "file not found" error on load of module-bt-device for Ubuntu Intrepid Ibex 2008-09-11 01:12:09 +03:00
João Paulo Rechi Vita
e7b0839d17 Adds SBC Codec to pa tree 2008-09-11 01:12:04 +03:00
João Paulo Rechi Vita
c62c2ff4ad Add module-bt-device and dependencies to automake 2008-09-11 01:12:03 +03:00
João Paulo Rechi Vita
9d18b90d05 Adding module-bt-discover to Makefile.am 2008-09-11 01:12:01 +03:00
Lennart Poettering
821dc1797f move autospawn lock to pulsecore/ since we don't need it in the client anymore 2008-09-08 17:22:27 +03:00
Colin Guthrie
cd704f8a84 Linking fix for rtclock on libpulsedsp 2008-09-06 12:25:46 +01:00
Lennart Poettering
5a9a6021f1 update map-file script to ignore gcc malloc attributes 2008-09-05 01:28:08 +02:00
Lennart Poettering
bdcb3a493c optionally add timestampts to every line logged 2008-08-29 19:33:06 +02:00
Colin Guthrie
2a78f865c1 Fix more linking issues in x11-publish and stream-restore 2008-08-22 10:58:21 +01:00
Lennart Poettering
15cebbaceb rework autospawning code to survive multiple pa_contexts in a single process 2008-08-09 03:49:42 +02:00
Lennart Poettering
73e2577ca6 add new function pa_machine_id() 2008-08-07 02:22:57 +02:00
Lennart Poettering
f1d2bf8408 add i18n support 2008-08-06 18:54:13 +02:00
Lennart Poettering
dd07276b8e ignore PA_GCC_DEPRECATED and PA_GCC_PRINTF_ATTR when generating map file 2008-08-04 19:45:30 +02:00
Colin Guthrie
580c4342ac Fix linking
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-08-04 19:06:08 +02:00
Lennart Poettering
0cc674d961 wrap protocol extension of module-stream-restore 2008-08-04 19:02:20 +02:00
Lennart Poettering
ad76ca0a35 add new module module-stream-restore 2008-08-03 23:23:13 +02:00
Lennart Poettering
065e7644ac make all protocol objects global singletons 2008-08-03 16:44:38 +02:00
Lennart Poettering
d36c5c97e5 rename props.[ch] to shared.[ch] 2008-08-01 02:13:41 +03:00
Stanley Cai
80428d80b0 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>
2008-07-31 21:32:13 +02:00
Lennart Poettering
656d243f2b use the right LIBICONV macro, spotted by woglinde, closes #324 2008-07-30 17:16:59 +02:00
Lennart Poettering
881046b730 install a default system.pa 2008-07-30 16:59:30 +02:00
Lennart Poettering
e7b9da3209 add missing pieces for new startup logic 2008-07-23 22:46:39 +02:00
Lennart Poettering
1568fcc979 get rid of our internal copy of the speex resampler. Instead, link against a system-installes libspeexdsp 2008-06-28 02:20:14 +02:00
Lennart Poettering
c0e3c254dc add additional file when updating speex resampler 2008-06-27 22:26:27 +02:00
Lennart Poettering
32fce4debb update speex resampler 2008-06-27 22:26:00 +02:00
Lennart Poettering
822366a653 remove remaining $ 2008-06-18 22:38:32 +02:00
Lennart Poettering
0e32db2212 move pa_init_proplist() to proplist-util.[ch]
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2541 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-17 18:23:09 +00:00
Lennart Poettering
92e4fb318e merge Colin Guthrie's module-always-sink module, and add priorization to the hook subsystem while doing so.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2516 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-11 19:45:57 +00:00
Lennart Poettering
c33db3ce68 don't exit when the XSM signals us a session exit. instead just unload all X11 modules
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2512 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-11 16:58:00 +00:00
Lennart Poettering
2cc95df859 add new module-console-kit which tracks ck sessions to avoid termination when there is still some session using the PA instance
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2508 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-11 14:28:35 +00:00
Lennart Poettering
62dde3f1cd add new module module-position-event-sounds for positioning event sounds in space
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2507 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-11 00:38:19 +00:00
Colin Guthrie
3e4afae7f6 Rejig r2495 slightly and directly compile the necessary source files as libpulsecore.so is not available when libpulsedsp.so is built
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2496 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-03 21:10:05 +00:00
Colin Guthrie
3166ce86d0 Also link libpulsecore.la to some libraries (needed for logging). Discovered while compiling with --as-needed
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2495 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-03 19:55:01 +00:00
Lennart Poettering
2ed84edbae define PA_SYSTEM_CONFIG_PATH and PA_SYSTEM_STATE_PATH for C
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2476 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-21 22:45:04 +00:00
Lennart Poettering
b467791b07 add a small test program for pa_close_all()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2467 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-18 19:12:59 +00:00
Lennart Poettering
045c1d602d merge glitch-free branch back into trunk
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-15 23:34:41 +00:00
Lennart Poettering
a9971d284d merge r2195 from prepare-0.9.10
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2210 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-31 22:13:15 +00:00
Lennart Poettering
8a14304b6d rename polkit policy file to org.pulseaudio.policy to follow upstream guidelines
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2130 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-27 19:11:05 +00:00
Diego Petteno
c8a9c9b069 Use check_PROGRAMS rather than noinst_PROGRAMS for test programs.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2103 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-01-24 10:45:33 +00:00
Lennart Poettering
63c616eecc add new property list implementation
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2085 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-12-23 20:12:37 +00:00
Lennart Poettering
95a98fe6f2 Add new subsystem for applying envelopes (such as volume ramps) to audio signals
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2082 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-11-24 16:26:49 +00:00
Diego Petteno
04d7a7ef58 Check for mkdir -p or equivalent, and use that rather than simple mkdir to create the modules, modules/gconf and modules/rtp directories.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2077 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-11-23 21:49:05 +00:00
Diego Petteno
19ee3b6e3f Enable D-Bus if Bluez or HAL are enabled; use DBUS_LIBS/DBUS_CFLAGS when building libdbus-util.la.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2076 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-11-23 16:17:16 +00:00