Daniel Eklöf
74fca1efef
doc: f00bar now have more options than -v
2019-05-29 20:39:23 +02:00
Daniel Eklöf
0e4fbb602c
bar/wayland: read cursor theme/size from XCURSOR_* environment variables
2019-05-21 21:43:12 +02:00
Daniel Eklöf
3adbf70a49
bar/wayland: scale mouse cursor's hotspot coordinate
2019-05-15 19:04:10 +02:00
Daniel Eklöf
d172cc1cd5
bar/wayland: scale cursor surface
...
Fixes low-res mouse cursor on HiDPI outputs.
2019-05-15 18:57:11 +02:00
Daniel Eklöf
3da2ff20b1
test: full-conf: add instances of all particles and decorations
2019-05-12 11:05:15 +02:00
Daniel Eklöf
c4337f7d2a
meson: set is_debug_build at beginning of script
2019-05-12 10:49:22 +02:00
Daniel Eklöf
d52b490e9d
ci: only last to rows are needed for the coverage regexp
2019-05-11 11:39:44 +02:00
Daniel Eklöf
86cc7fd6a8
test: full-conf: disable xkb/xwindow modules
...
They aren't available in wayland-only builds
2019-05-11 11:38:36 +02:00
Daniel Eklöf
e218e68385
ci: install some fonts (required by tests)
2019-05-11 11:36:32 +02:00
Daniel Eklöf
4876020e6d
meson: define _DEBUG in debug builds
2019-05-11 11:27:57 +02:00
Daniel Eklöf
07293111fd
PKGBUILD: build release, not minsize. Enable LTO
2019-05-11 11:27:38 +02:00
Daniel Eklöf
d860204cd3
meson: set b_ndebug=if-release
2019-05-11 11:27:20 +02:00
Daniel Eklöf
244eb55431
test: wip: good path try-to-exercise-as-much-as-possible test case
...
This is a configuration that is expected to validate, and to exercise
as much as possible of the code up until validation has
completed. That is, as much as possible of the configuration
validation code.
It currently instantiates all modules, but not yet all particles and
decorations.
2019-05-11 11:07:51 +02:00
Daniel Eklöf
217e0d2052
meson: test: must also pass '-C' (--validate)
...
Otherwise it will try to _run_ the bar, which we don't want.
2019-05-11 11:07:15 +02:00
Daniel Eklöf
5eef162d39
main: add -b,--backend command line option
...
This option allows the user to explicitly select the backend to
use. The default is still to auto-detect.
2019-05-11 10:53:09 +02:00
Daniel Eklöf
473802cab8
bar: allow explicit backend selection
2019-05-11 10:43:14 +02:00
Daniel Eklöf
586cb8a0dd
ci: rename 'coveragereport' -> 'coverage'
2019-05-09 21:51:22 +02:00
Daniel Eklöf
e235e665ef
ci: use 'meson test --print-errorlogs' instead of 'ninja test'
2019-05-09 21:47:01 +02:00
Daniel Eklöf
ad1371fd7b
ci: generate and artifact a HTML coverage report
2019-05-09 21:42:39 +02:00
Daniel Eklöf
a4103fdfd5
ci: artifact paths is an array (of strings)
2019-05-09 21:23:55 +02:00
Daniel Eklöf
c6c99fedf1
ci: let's see if we can artifact an XML coverage report
2019-05-09 21:23:13 +02:00
Daniel Eklöf
a32ba91c38
ci: specify coverage regex
2019-05-09 21:16:10 +02:00
Daniel Eklöf
8eece744a8
ci: disable valgrind build; too many false positives on musl
2019-05-09 21:13:00 +02:00
Daniel Eklöf
c3b73ef99e
ci: add --verbose to valgrind test run
2019-05-09 21:08:18 +02:00
Daniel Eklöf
426ab76f29
ci: add a valgrind build
2019-05-09 21:02:45 +02:00
Daniel Eklöf
6c695c0281
ci: remove gcovr debugging
2019-05-09 21:02:29 +02:00
Daniel Eklöf
fa031c0253
README: add coverage badge
2019-05-09 20:59:05 +02:00
Daniel Eklöf
00594648b5
ci: generate a text coverage report and tail it
2019-05-09 20:58:00 +02:00
Daniel Eklöf
654e704522
ci: pip isn't available...
2019-05-09 20:52:50 +02:00
Daniel Eklöf
6febec5733
ci: lets see if upgrading python2's setuptools helps
2019-05-09 20:50:15 +02:00
Daniel Eklöf
cf3d6a4f88
ci: even more gcovr debug
2019-05-09 20:47:51 +02:00
Daniel Eklöf
4dbc3ca295
ci: more gcovr debug
2019-05-09 20:46:08 +02:00
Daniel Eklöf
be937c109f
ci: debug: gcovr is installed, but not found by meson
2019-05-09 20:40:51 +02:00
Daniel Eklöf
2ec8b559e2
ci: generate coverage in debug build
2019-05-09 20:38:06 +02:00
Daniel Eklöf
235efd789a
meson: add a couple of expected-to-fail tests
...
Initial set of tests verifying we fail when trying to load:
a) a non-existing configuration
b) a non-regular file configuration (e.g. a directory)
c) configuration exists, but has no top-level 'bar' entry
2019-05-09 20:37:09 +02:00
Daniel Eklöf
937a684f9e
main: add -c,--config command line option
...
This option tells f00bar to load the configuration from this file
instead of searching the default locations.
2019-05-09 19:31:34 +02:00
Daniel Eklöf
f6ed729cf3
main: rename --check-config -> --validate
2019-05-09 19:24:17 +02:00
Daniel Eklöf
cfc644ba49
main: move --check-config short option from -c to -C
2019-05-09 19:22:11 +02:00
Daniel Eklöf
55c5cfab46
main: add -c,--check-config
...
When this option is used, we exit after loading the
configuration. Either with an error message and a non-zero exit
code (bad config), or no messages and a zero exit code (good config).
2019-05-09 19:20:24 +02:00
Daniel Eklöf
cb0bc20b38
bar: destroy modules in destroy(), not at the end of run()
...
This ensures we properly destroy everything when a bar has been
instantiated, but not run().
2019-05-09 19:14:29 +02:00
Daniel Eklöf
87cf6ab10f
main: use getopt() to parse command line arguments
2019-05-09 19:04:11 +02:00
Daniel Eklöf
cf4789a52e
ci: run test suite
2019-05-09 18:57:57 +02:00
Daniel Eklöf
447f7b6e07
meson: add test case that verifies f00bar can be executed
2019-05-09 18:57:03 +02:00
Daniel Eklöf
9fbadb4ab1
meson: dl is a required library
2019-05-09 18:56:53 +02:00
Daniel Eklöf
f1fad90338
meson: quote --git-dir argument
2019-05-09 18:56:40 +02:00
Daniel Eklöf
660d8165f5
PKGBUILD: add support for building from a non-git cloned source dir
2019-05-07 21:41:29 +02:00
Daniel Eklöf
99e03f2ebd
meson+PGBUILD: bump version after 1.0.2 release
2019-05-07 20:44:46 +02:00
Daniel Eklöf
7b6933265d
Merge branch 'releases/1.0'
2019-05-07 20:44:29 +02:00
Daniel Eklöf
5886cfb513
Merge remote-tracking branch 'origin/master' into releases/1.0
2019-05-07 20:43:27 +02:00
Daniel Eklöf
c1d32af58e
meson: use a local copy of wlr-layer-shell-unstable-v1.xml
...
When downloading a copy of the f00bar repository (for example, a
released version), submodules are not included.
Thus, to enable building from such source trees, use a local copy
instead.
Note: we still keep the submodule, for easy updating.
2019-05-07 20:42:19 +02:00