Commit graph

1639 commits

Author SHA1 Message Date
Wim Taymans
85f2e93c54 Relicense as MIT/X11
Remove some obsolete files
2018-11-05 17:48:52 +01:00
Wim Taymans
e107d75248 protocol-native: improve permission checks 2018-11-05 15:27:13 +01:00
Wim Taymans
eb0a561f8c permissions: pass pw_permission struct around
Use a pw_permission struct to express permissions of object.
Improve client permissions, add/remove globals when permissions
are changed.
2018-11-05 15:02:08 +01:00
Wim Taymans
f994b7eb70 protocol-native: only add fd if client active 2018-11-05 14:58:13 +01:00
Wim Taymans
9088b2f0d9 splitter: fix compilation 2018-11-02 17:51:30 +01:00
Wim Taymans
7b6df9e127 audioconvert: don't clear profile when format is cleared 2018-11-02 17:19:15 +01:00
Wim Taymans
4733bd32c8 update submodules 2018-11-02 12:32:36 +01:00
Wim Taymans
b87397025e pod: handle unknown types without crashing 2018-11-02 12:12:34 +01:00
Wim Taymans
b905b70a76 stream: pass target id as uint32_t 2018-11-02 11:52:39 +01:00
Wim Taymans
8089d856c8 protocol: add more debug and check right permissions 2018-10-31 16:31:15 +00:00
Wim Taymans
7e8fac2272 type: restore type info for pipewire types 2018-10-31 16:05:58 +00:00
Wim Taymans
6bb90ed88e alsa: refactor get_status 2018-10-31 15:21:23 +00:00
George Kiagiadakis
9236be5f7a ci: implement a sensible travis + docker setup for automated builds
The Dockerfile was rewritten and moved to a separete repository
for doing automated builds on docker hub
-> https://github.com/gkiagia/pipewire_build_environment
2018-10-31 15:13:13 +00:00
Wim Taymans
95c1b7d0a3 remote: add exported signal
Add a signal to notify when a proxy id has been expored. Use this in the
stream to signal the configure state.
2018-10-31 14:31:49 +00:00
Wim Taymans
f8b93d2a1b stream: only activate when asked 2018-10-31 14:31:20 +00:00
Wim Taymans
db56f1c9f6 pulse: update submodule 2018-10-31 11:10:27 +00:00
Wim Taymans
0bc6ba8559 node: allow for setting driver root
The driver root is the graph that should be run when a remote driver
starts the graph and can be different from the node itself when it's
part of a subgraph like in client-stream.
2018-10-31 10:57:26 +00:00
Wim Taymans
32afd8d228 video-src: the size is a range 2018-10-31 10:57:26 +00:00
Wim Taymans
0023e348ac Makefile: add uninstall target 2018-10-31 10:57:26 +00:00
George Kiagiadakis
57cd209d2a spa: tests: add automated unit test for spa_ringbuffer 2018-10-31 10:50:36 +00:00
George Kiagiadakis
9724aea17f spa: tests: add automated unit test for spa_hook_list 2018-10-31 10:50:36 +00:00
George Kiagiadakis
ef8b7bc003 spa: tests: add automated unit test for spa_list 2018-10-31 10:50:36 +00:00
George Kiagiadakis
483607af3a Makefile: add 'make test' target to run the automated unit tests 2018-10-31 10:50:36 +00:00
George Kiagiadakis
cef55ea47d spa: tests: add automated unit test for spa_dict 2018-10-31 10:50:36 +00:00
Wim Taymans
10531d99eb fmt: fix conversion 2018-10-31 10:40:06 +00:00
Wim Taymans
63363d09dd fmt: small fix to s16 conversion 2018-10-31 09:38:31 +00:00
Wim Taymans
aeb77e37f7 gst: don't dup, use DONT_CLOSE flag on fd_allocator 2018-10-31 09:36:19 +00:00
Thibault Saunier
c2cb8e46b9 Fix build when systemd is found but not libsystemd
Getting the following otherwise:

```
[13/28] Compiling C object 'src/modules/src@modules@@pipewire-module-protocol-native@sha/module-protocol-native.c.o'.
FAILED: src/modules/src@modules@@pipewire-module-protocol-native@sha/module-protocol-native.c.o
ccache cc -Isrc/modules/src@modules@@pipewire-module-protocol-native@sha -Isrc/modules -I../src/modules -I. -I../ -Ispa/include -I../spa/include -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O2 -g -fPIC -pthread -DHAVE_CONFIG_H -D_GNU_SOURCE  -MD -MQ 'src/modules/src@modules@@pipewire-module-protocol-native@sha/module-protocol-native.c.o' -MF 'src/modules/src@modules@@pipewire-module-protocol-native@sha/module-protocol-native.c.o.d' -o 'src/modules/src@modules@@pipewire-module-protocol-native@sha/module-protocol-native.c.o' -c ../src/modules/module-protocol-native.c
../src/modules/module-protocol-native.c:36:10: fatal error: systemd/sd-daemon.h: No such file or directory
 #include <systemd/sd-daemon.h>
          ^~~~~~~~~~~~~~~~~~~~~
```
2018-10-31 07:54:59 +00:00
Arun Raghavan
2ff6b22b27 gitignore: Add vim files 2018-10-31 07:54:22 +00:00
Arun Raghavan
94656393fd gitignore: Add build dir and cscope files 2018-10-31 07:54:08 +00:00
Nicolas Dufresne
97eec36f8e makefile: Add helper to run in gdb and valgrind
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
2018-10-31 07:49:35 +00:00
Nicolas Dufresne
02e3713cf1 rtkit: Allow disabling with DISABLE_RTKIT
Allow disabling real time thread, this is useful to run inside
valgrind without being killed.

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
2018-10-31 07:49:35 +00:00
Jan Grulich
a61f8cf666 Coding style 2018-10-31 07:48:28 +00:00
Jan Grulich
a813afd810 Fix build with c++ compilers 2018-10-31 07:48:28 +00:00
Jan Grulich
2aeb5d9d98 Install a missing header
This header is used by param/video/format-utils.h and therefore needed to be installed as well.
2018-10-31 07:47:31 +00:00
Wim Taymans
df4a5efb89 client-node: don't try to modify the clock
The clock position should match the buffer timestamps and we should
not try to change it. If a client wants to align stream it will
have to do this itself.
2018-10-30 16:32:25 +00:00
Wim Taymans
ee72023629 media-session: try to connect to the node directly
If we can't find a session for the target node, try to connect to the
node directly if it exists.
2018-10-30 16:30:16 +00:00
Wim Taymans
093c675995 a2dp: don't faile set_io 2018-10-30 16:29:39 +00:00
Wim Taymans
e1583146ff video-src: Add alternative style format pod example 2018-10-30 15:34:54 +00:00
Wim Taymans
ef7a111611 fmt: fix and enable f32 -> s16 conversion 2018-10-30 08:37:07 +00:00
Wim Taymans
4432db4fa7 fmt-ops: fix conversion 2018-10-29 18:38:14 +00:00
Wim Taymans
57d9f597d9 jack: update submodule 2018-10-29 14:30:44 +00:00
Wim Taymans
ae9843aca2 disable s16 sse until fixed 2018-10-29 14:07:19 +00:00
Wim Taymans
9f61ef96ff fmt-ops: add f32 -> s16 see optimisations 2018-10-29 09:21:33 +00:00
Wim Taymans
83517e22ac media-session: set permissions on restricted access clients 2018-10-29 08:47:45 +00:00
Wim Taymans
9364253886 module-access: use check_access signal
Add restricted, blacklisted and flatpak access types.
2018-10-29 08:46:09 +00:00
Wim Taymans
1c450ce2c1 client: add check_access signal
Fire the check access signal right after creating a client to make it
possible to set permissions.
2018-10-29 08:44:56 +00:00
Wim Taymans
dfde479b20 protocol-native: put client properties in global 2018-10-29 08:43:53 +00:00
Wim Taymans
161ad70114 init and update submodules 2018-10-28 10:41:42 +00:00
Wim Taymans
68cab0a8f0 update url 2018-10-28 10:34:08 +00:00