121 Commits

Author SHA1 Message Date
fwsmit
c4e428e9d5 build: Clean up docs/dunst.5 on make clean 2021-04-09 16:25:06 +02:00
Nikos Tsipinakis
3acffdb194
Merge pull request #814 from fwSmit/wayland-improvements
Wayland improvements
2021-03-08 09:19:26 +02:00
Nikos Tsipinakis
598ec5797e Start new release cycle 2021-02-21 14:28:37 +02:00
Nikos Tsipinakis
f615866248 Dunst v1.6.1: Fix incorrect makefile version 2021-02-21 14:22:51 +02:00
Nikos Tsipinakis
5214a61e9f Start new release cycle 2021-02-21 14:13:22 +02:00
Nikos Tsipinakis
0cec75e45e Dunst v1.6.0 2021-02-21 14:02:17 +02:00
fwsmit
1f4278a5e2 Improve support for compiling without wayland
Fixes indent in makefile and improves README wording.
2021-02-13 20:23:26 +01:00
fwsmit
36186d37ea Wayland: Implement foreign toplevel manager protocol
Used for detecting if there is a fullscreen application open.
2021-02-06 00:42:04 +01:00
fwsmit
d0dfaf0488 Improve docs 2021-01-27 11:14:30 +01:00
Nikos Tsipinakis
5d1b58559c
Merge pull request #798 from fwSmit/move-config
Change config location to /etc/dunst/dunstrc
2021-01-27 00:40:58 +02:00
fwsmit
92bc6705ca Colorize test output.
This adds a dependency on awk for testing.

Closes #812
2021-01-26 21:31:52 +01:00
fwsmit
9615431593 Change config location to /etc/xdg/dunst/dunstrc
Also fixed the test-install script
2021-01-25 18:55:52 +01:00
fwsmit
3822f09185 Minor fixes 2021-01-18 17:50:57 +01:00
fwsmit
bb12727bc0 Make compiling for wayland optional
This can be changed in config.mk or by using the command
        make WAYLAND=0

Also removed using_xwayland function definition as it isn't defined
anymore
2021-01-09 21:54:23 +01:00
fwsmit
deabe2bacf Wayland: fix bug where notification doesn't move after changing width. 2020-12-28 15:16:23 +01:00
fwsmit
859c18a2e9 Wayland: Add support for idle.
When the user doesn't have a seat, or their compositor doesn't support the idle
protocol, we'll assume that they are not idle.

Also, rename wl_output to something that doesn't exist yet.
2020-12-28 15:15:59 +01:00
fwsmit
74c5d97181 Fix Makefile 2020-12-28 15:15:59 +01:00
fwsmit
705e575d6d Small fixes 2020-12-28 15:15:59 +01:00
fwsmit
ed560eab4e Fixed Makefile for building wayland 2020-12-28 15:15:59 +01:00
Nikos Tsipinakis
8c07ffb173 Start new release cycle 2020-07-23 13:41:24 +03:00
Nikos Tsipinakis
52d67616f1 Dunst v1.5.0 2020-07-23 13:27:50 +03:00
Nikos Tsipinakis
337ff1edb5
Merge pull request #651 from bebehei/dunstctl
Implement a command line control (dunstctl)
2020-05-01 15:38:23 +02:00
Nikos Tsipinakis
6ba430a818 Add dunstctl man page 2020-05-01 15:35:23 +02:00
Benedikt Heine
e80e8e9eb5 Install dunstctl via make automatically 2020-04-10 10:48:37 +02:00
Nikos Tsipinakis
523d5e199e Make all target build dunstify as well 2020-04-06 10:03:12 +02:00
stefan
7e2b148262 Install dunstify 2020-04-03 13:53:15 +02:00
Nikos Tsipinakis
6c4eeda434 Start new release cycle 2019-07-03 10:02:21 +03:00
Nikos Tsipinakis
37474c127b Dunst v1.4.1 2019-07-03 09:46:05 +03:00
Nikos Tsipinakis
7ca6a98238 Fix dunstify.d being left behind on clean 2019-07-03 09:29:03 +03:00
Nikos Tsipinakis
c797b0e7b3 Start new release cycle 2019-03-30 19:13:37 +02:00
Nikos Tsipinakis
cf7dec2989 Dunst v1.4.0 2019-03-30 18:47:06 +02:00
Benedikt Heine
4590514906 Replace Makefile commands with default variables 2019-02-02 16:50:59 +01:00
Benedikt Heine
6df6a50900 Use BINDIR, DATADIR and MANDIR in Makefile 2019-02-02 16:50:49 +01:00
Nikos Tsipinakis
e288fe4b93 Fix makefile not recompiling on header change
We currently do not keep track of header files in our Makefile so if one
is changed it can lead to multiple incompatible binary files being
linked. Instead we now create dependency lists for each source file and
recompile them if the need arises.

Fixes #594
2019-01-28 09:49:46 +02:00
Benedikt Heine
ec3e47abb5 Skip tests requiring extended precision if not avail
Alpine is running with Musl libc and musl uses extended precision
doubles, while valgrind can't handle extended precision,
2.3 == atof("2.3") won't be true under valgrind.

And therefore the option retrieval methods *_get_double would fail.

Also we have to increase the test verbosity, as `SKIPm` doesn't print
the message when skipping the tests.
See: silentbicycle/greatest#85
2018-11-26 12:07:50 +01:00
Benedikt Heine
20df6f2103 Remove deprecated .c.o rule 2018-11-19 17:19:35 +01:00
Benedikt Heine
a6abfdf7c5 Include all local files relatively 2018-11-15 15:17:48 +01:00
Benedikt Heine
8c192f3c28 Make tests runnable from everywhere 2018-11-15 15:17:46 +01:00
Benedikt Heine
2e9d8300de Include full c source to assert static objects
To assert static objects, we either have to add a method into the
object under test itself and recompile on a test run with the activated test
method (but also recompile after tests, so that method is gone on
release builds).

Alternatively we can include the whole .c file in our test
infrastructure and save the object in the test directory. So there's no
necessity to clean it up prior to a release build and it's contained
away.

This requires, that the test folder isn't excluded in coveralls.
2018-11-15 15:17:21 +01:00
Benedikt Heine
b4c319350a Support gcovr to generate coverage reports
The coveralls service is a great webservice, but like the testsuite it's
better to have an alternative, which makes it possible to process it
locally. This is faster and doesn't even require a full push iteration.

gcovr is easy to get:

pip install gcovr
make test-coverage-report
2018-11-15 15:17:21 +01:00
Benedikt Heine
b4ce81b1c9 Move test coverage generation into Makefile
Add the necessary compiler flags to the Makefile to actually make
coverage reports available locally, too.

The coverage files have to get cleaned every time before the test gets
run. Otherwise, it would sum up the coverage over multiple test runs.
2018-11-15 15:17:16 +01:00
Benedikt Heine
f0e4870d99 Reorder CC arguments similarily
Output first, then all required objects and then the FLAGS
2018-10-10 12:58:04 +02:00
Benedikt Heine
750e05f03b Remove trailing spaces 2018-10-10 11:53:03 +02:00
Nikos Tsipinakis
f02626e1a7 Increase the number of entries in the stack trace in test-valgrind
The default seems to hide a lot of detail when the malloc call is very
deep inside a library and not in dunst code itself.
2018-05-14 09:11:25 +03:00
Nikos Tsipinakis
7a9187728c Merge branch 'maint' 2018-05-06 13:36:07 +03:00
Nikos Tsipinakis
f9732bd2fa Dunst v1.3.2 2018-05-06 13:30:01 +03:00
Nikos Tsipinakis
7dd22d79e3 Merge branch 'maint'
Closes #511
2018-05-02 18:58:07 +03:00
Nikos Tsipinakis
943b8c6785 Do not expand config.mk variables on assignment
Fix a bug introduced in 678ea70 where since the CFLAGS variable was
simply expanded it ignored the VERSION variable which was initialized
later.

Unfortunately there is no way to prepend a value to a recursively
expanded variable so instead we have to split the hardcoded compiler
flags into separate variables and combine them all later in the
makefile.

Fixes #500
2018-03-11 17:05:10 +02:00
Benedikt Heine
6bf886d437 Add Doxygen support 2018-02-22 20:08:00 +01:00
Nikos Tsipinakis
b40118bbe3 Dunst v1.3.1 2018-01-30 11:06:17 +02:00