Daniel Eklöf
121b2f1575
meson: enable_x11 -> backend_x11, enable_wayland -> backend_wayland
2019-05-06 21:45:01 +02:00
Daniel Eklöf
8135313396
post-merge: undo version changes
2019-05-04 14:52:00 +02:00
Daniel Eklöf
88d4bf5b66
Merge branch 'releases/1.0'
2019-05-04 14:51:36 +02:00
Daniel Eklöf
20f065d1ca
PKGBUILD: set version
2019-05-04 14:50:52 +02:00
Daniel Eklöf
596c52fd9d
meson: set versoion
2019-05-04 14:50:44 +02:00
Daniel Eklöf
223803901c
README: remove configuration details
...
Refer to the man pages instead. Keep a simplified list of available
modules.
2019-05-04 14:39:15 +02:00
Daniel Eklöf
ea9aea8daf
cmake: remove build files (replaced with meson)
2019-05-04 11:48:20 +02:00
Daniel Eklöf
aa3e03355e
meson: -Wno-unused-result no longer needed
2019-05-04 11:28:49 +02:00
Daniel Eklöf
27a47a96ed
module/mpd: check return value of write()
...
Fixes building with -D_FORTIFY_SOURCE=2
2019-05-04 11:28:25 +02:00
Daniel Eklöf
2450cbe7a6
bar: xcb: check return values of ftruncate(), read() and write()
...
Fixes building with -D_FORTIFY_SOURCE=2
2019-05-04 11:28:17 +02:00
Daniel Eklöf
b41255dbcc
bar: wayland: check return values of ftruncate(), read() and write()
...
Fixes building with -D_FORTIFY_SOURCE=2
2019-05-04 11:27:51 +02:00
Daniel Eklöf
48da200924
particle: ignore write() return value
...
We're in a subprocess about to exit anyway, with stdout/stderr
typically closed. We can't do anything but ignore write() failures.
Fixes building with -D_FORTIFY_SOURCE=2
2019-05-04 11:26:58 +02:00
Daniel Eklöf
8cc6e67c16
main: check return value of write()
...
Fixes build with -D_FORTIFY_SOURCE=2
2019-05-04 11:26:27 +02:00
Daniel Eklöf
2654d37548
meson: no need to build static libs of plugins
2019-05-03 23:18:49 +02:00
Daniel Eklöf
3b48ba7566
meson: fold long line
2019-05-03 23:10:27 +02:00
Daniel Eklöf
789cdd949b
meson: use join_paths()
2019-05-03 23:10:01 +02:00
Daniel Eklöf
64171b412a
meson: doc: set 'capture: true' instead of redirecting stdout
2019-05-03 23:07:37 +02:00
Daniel Eklöf
6a10ddbc39
meson: don't compress man pages
...
This is up to the distribution/packager.
For example, arch automatically compresses man pages.
2019-05-03 22:58:22 +02:00
Daniel Eklöf
22989d60e3
Merge branch 'meson'
2019-05-03 22:49:37 +02:00
Daniel Eklöf
04f18f98c6
PKGBUILD: switch to meson
2019-05-03 22:47:21 +02:00
Daniel Eklöf
5ae658c8ed
meson: for now, disable unused-result warnings
2019-05-03 22:45:35 +02:00
Daniel Eklöf
aaa5239b07
meson: install header files
2019-05-03 22:43:41 +02:00
Daniel Eklöf
095766ca12
meson: generate man pages
2019-05-03 22:37:47 +02:00
Daniel Eklöf
e563761093
meson: install plugins
2019-05-01 22:08:15 +02:00
Daniel Eklöf
ded98baa4e
meson: don't reference xcb_stuff in wayland-only builds
2019-05-01 20:27:17 +02:00
Daniel Eklöf
3995464d49
meson: modules: make it data-driven
2019-05-01 20:24:31 +02:00
Daniel Eklöf
88a415cbbd
meson: decorations: don't set target_type
2019-05-01 20:24:17 +02:00
Daniel Eklöf
55ae279bb9
ci: switch to meson
2019-05-01 20:07:15 +02:00
Daniel Eklöf
fdb9a9bc1c
meson: initial support for building plugins as shared libraries
2019-05-01 18:21:35 +02:00
Daniel Eklöf
51e9d691e4
meson: initial build conf
...
Not that well tested yet, does not support plugins-as-modules
2019-05-01 12:39:59 +02:00
Daniel Eklöf
a1be489293
plugin: set lib = RTLD_DEFAULT for builtin plugins
2019-05-01 12:39:00 +02:00
Daniel Eklöf
0d8765da1f
cmake: doc: require 'scdoc' and 'gzip'
2019-04-29 19:21:10 +02:00
Daniel Eklöf
bed2c071e5
doc: mention that XDG_CONFIG_HOME is searched (before ~/.config)
2019-04-29 18:55:13 +02:00
Daniel Eklöf
63f7f6b3d8
main: get_config_path: look in XDG_CONFIG_HOME first
2019-04-29 18:55:08 +02:00
Daniel Eklöf
750615b35f
PKGBUILD.wayland-only: provides 'f00bar'
2019-04-29 18:50:59 +02:00
Daniel Eklöf
5ace4d77c7
yml: handle root's node being NULL
2019-04-29 18:49:44 +02:00
Daniel Eklöf
6622616ec7
yml: post-process: root's node may be NULL (empty configuration)
2019-04-29 18:47:46 +02:00
Daniel Eklöf
aba597d5cc
main: print error and exit when we fail to find a conf file
2019-04-29 18:47:21 +02:00
Daniel Eklöf
d1c958aae0
wlr-protocols: bump
2019-04-25 19:26:53 +02:00
Daniel Eklöf
bec50782b8
particle: improve error handling in on-click handler
...
* Make sure to _exit() in all forked code paths that doesn't end in a
successful exec()
* Report errno to parent process on failure so that we can log it
The second point is implemented by a) manually double forking instead
of calling daemon(), and b) using a pipe in the inner fork to be able
to wait for the child process to either succeed in its exec() call, or
write errno to the pipe on failure.
This fixes hangs and crashes when e.g. the binary we're trying to
execute doesn't exist.
2019-04-23 19:02:21 +02:00
Daniel Eklöf
853ab244a9
doc: tips for writing configuration
2019-04-22 12:51:25 +02:00
Daniel Eklöf
6b050ff457
doc: xwindow
2019-04-22 12:32:26 +02:00
Daniel Eklöf
040aa9417b
doc: xkb
2019-04-22 12:28:58 +02:00
Daniel Eklöf
70ff05b2e2
doc: removables
2019-04-22 12:22:40 +02:00
Daniel Eklöf
05b54a6141
doc: network
2019-04-22 12:07:44 +02:00
Daniel Eklöf
35bd1bb66c
doc: mpd
2019-04-22 11:58:43 +02:00
Daniel Eklöf
69dcc66b8a
doc: label
2019-04-22 11:10:09 +02:00
Daniel Eklöf
e76dbbacd6
doc: i3
2019-04-22 11:06:09 +02:00
Daniel Eklöf
f7c9a1a47e
doc: clock
2019-04-22 10:44:41 +02:00
Daniel Eklöf
4b79603129
doc: battery
2019-04-22 10:39:58 +02:00