[PATCH v4 05/10] core: support kqueue

2019-02-09 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 3 +- configure.ac | 19 +- doc/doxygen/Makefile.am | 3 +- src/{event-loop.c => event-loop-epoll.c} | 6 +- src/event-loop-kqueue.c | 800

[PATCH v4 04/10] tests: use *BSD replacement for /proc

2019-02-09 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 1 + configure.ac | 12 tests/test-helpers.c | 31 ++- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 489f581..435957f 100644 ---

[PATCH v4 09/10] tests: add OS-specific tracing to runner

2019-02-09 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac| 3 +++ tests/test-runner.c | 22 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 15535ff..40cbd08 100644 --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,9 @@

[PATCH v4 01/10] tests: fix main symbol duplication

2019-02-09 Thread Leonid Bobrov
So far I got these errors before patching: libtool: link: cc -o .libs/headers-test -pthread -Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -O2 -pipe tests/headers-test.o tests/headers-protocol-test.o tests/headers-protocol-core-test.o

[PATCH v4 08/10] server: add *BSD credentials support

2019-02-09 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac | 3 +++ src/wayland-server.c | 35 +++ src/wayland-shm.c| 10 ++ 3 files changed, 48 insertions(+) diff --git a/configure.ac b/configure.ac index 3c227a2..15535ff 100644 --- a/configure.ac +++

[PATCH v4 10/10] shm: use workaround if mremap() is not available

2019-02-09 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac | 4 src/wayland-shm.c | 30 ++ 2 files changed, 34 insertions(+) diff --git a/configure.ac b/configure.ac index 40cbd08..f49ca24 100644 --- a/configure.ac +++ b/configure.ac @@ -104,6 +104,10 @@

[PATCH v4 07/10] tests: support waitpid()

2019-02-09 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac| 4 tests/test-compositor.c | 25 +++-- tests/test-runner.c | 29 - 3 files changed, 55 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index

[PATCH v4 02/10] configure: detect libdl and librt

2019-02-09 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 6 +++--- configure.ac | 16 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index f47d055..489f581 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,7 +71,7 @@ nodist_include_HEADERS =

[PATCH v4 03/10] client: define EPROTO if it's not defined

2019-02-09 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- src/wayland-client.h | 4 1 file changed, 4 insertions(+) diff --git a/src/wayland-client.h b/src/wayland-client.h index 9f70fa3..690c446 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -39,4 +39,8 @@ #include "wayland-client-core.h"

[PATCH v4 06/10] core: define SO_PEERCRED if it's not defined

2019-02-09 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- src/wayland-os.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland-os.h b/src/wayland-os.h index 321e34d..28e3350 100644 --- a/src/wayland-os.h +++ b/src/wayland-os.h @@ -41,6 +41,9 @@ wl_os_queue_create_cloexec(void); int