20 Commits

Author SHA1 Message Date
Nikos Tsipinakis
a4a38d4467 Start new release cycle
Switch default version string back to the `-non-git` prefix to indicate
an indev version.

Additionally fix the formatting of the 1.3 header in the changelog.
2018-01-05 21:05:53 +02:00
Nikos Tsipinakis
10ee1782d9 Dunst v1.3.0 2018-01-05 20:56:16 +02:00
Nikos Tsipinakis
6444f1ffa7 Update changelog 2018-01-05 20:32:28 +02:00
Benedikt Heine
75ba00ff06 Add changelog entry for dbus memleaks 2017-10-27 20:39:18 +02:00
fhost
f4b595240a Add option to control how to ellipsize truncated lines 2017-09-19 20:03:16 +02:00
Benedikt Heine
ab9bf55892 Prevent replacement of format strings in message
To replace all occuring format strings inside the msg, replace_all had
been used previously. This leads to buggy behavior, if a format string
occurs in the replaced text, as the format string will get replaced
again under certain conditions.

Introducing a pointer, which skips the already replaced parts, will
prevent doubly replacing format strings from content.

Fixes #322
2017-09-07 15:25:14 +02:00
Benedikt Heine
2da6730e5a Add docs for transient rules 2017-08-19 12:46:35 +02:00
Benedikt Heine
585f0f85e0 Add support for transistent hints 2017-08-19 12:46:00 +02:00
Nikos Tsipinakis
86cbc1d34b Make icon set via rules take priority over raw icons
When a notification contains both a raw icon and an icon path according
to the GNOME notification specification the raw icon should take
priority over anything else.

If, however, a user uses the new_icon rule to set a custom icon on a
notification, that rule overwrote the icon path and not the raw icon
and as a result the raw icon was displayed in place of the user
specified one.

As a simple fix, a new icon_overridden boolean was added to the
notification struct indicating if a custom icon has been set. If so, the
icon path should take priority over the raw icon.

Fixes #339
2017-07-19 09:13:19 +03:00
Nikos Tsipinakis
4573b92975 Start new release cycle
Update the default version name to non-git and add new unreleased
section to the changelog to start the new release cycle.
2017-07-12 16:42:31 +03:00
Nikos Tsipinakis
b069b2dba6 Dunst v1.2.0 2017-07-12 11:22:04 +03:00
Nikos Tsipinakis
53d0b30e9a Update changelog with recent changes
Reword a few sections of the changelog & bring it up to date with recent
changes to prepare for a release.
2017-07-12 11:16:45 +03:00
Benedikt Heine
717c747a8c truncate overlong messages (fixes #248)
Displaying too heavy notifications can DoS dunst. For example bad
programs, which pipe raw image data into the notification.
Limiting the maximum character length to 5000 circumvents this.

5000 should be ridiculously high to prevent DoS while still not
truncating all correct notifications.
2017-07-09 16:34:47 +02:00
Nikos Tsipinakis
5e2c781cba Move frame settings to the global section
There is no reason for the frame settings to have their own section
since it's not an area that will be expanded upon. Move them to the
global section to be consistent.
2017-07-01 11:56:15 +03:00
Nikos Tsipinakis
43b4d4bb41 Add per_monitor_dpi experimental setting
Calculating the screen dpi on a per-monitor basis can cause
inconsistencies if multiple monitors with slightly different dpis are
used and in some cases it might not be the expected behaviour.

As such, the per-monitor dpi calculation was changed from a default
fallback to an opt in experimental feature and the default value of 96
will be used for the dpi if Xft.dpi is not set.

In the future, depending on how we decide to continue, we can either
move this setting in the global configuration section and fall back to
the X11 display dpi as the default or simply always use the per-monitor
dpi calculation. But to preserve backwards compatibility, this decision
can wait until the next major release.
2017-04-02 18:27:12 +03:00
Nikos Tsipinakis
f6438a1b14 Update changelog to comply with the github markdown spec
The 'Github Flavored Markdown' specification says that headers must be
followed by a space character, update the changelog to respect that
requirement.
2017-03-18 15:57:21 +02:00
Nikos Tsipinakis
c23af0e021 Don't leave zombie processes if dmenu call fails
If dmenu didn't return anything we returned out of the function without
calling `waitpid` to collect the childs exit code, leaving to the child
process to be left as a zombie indefinitely. This commit makes `waitpid`
be called before the return checks are done.
2017-02-23 20:24:45 +02:00
Nikos Tsipinakis
fccdce0819 Remove shrink the shrink option from the changelog
`shrink` is already in 1.1.0 so it should not be listed as a new
feature.
2017-02-20 17:32:01 +02:00
Nikos Tsipinakis
50fd0fae9b Add missing dashes in the changelog
Add missing dashes separating the version number and the release date in
the changelog.
2017-02-12 21:35:38 +02:00
Nikos Tsipinakis
149f12ee16 Switch changelog to markdown format
* Actually update the changelog contents with all the changes since the
  last release
* Add release date for all previous releases
2017-02-12 21:23:34 +02:00