Commit graph

13 commits

Author SHA1 Message Date
Daniel Eklöf
8a7e07af28
module/mpd: don’t overload enum mpd_state
We overloaded enum mpd_state to add an “offline” state. Don’t do
this. We can detect the offline state by checking if our connection
object is NULL.

Closes #16
2020-11-09 20:27:42 +01:00
Daniel Eklöf
fcfc7442c7
doc: yambar-modules: document the river module
Closes #9
2020-11-01 13:08:09 +01:00
Daniel Eklöf
a5faf4896a
changelog: add issue link for alsa: volume as percentage 2020-09-24 16:01:46 +02:00
Daniel Eklöf
0cde404d2a
module/clock: detect when we need to update every second
Closes #12
2020-09-24 16:01:18 +02:00
Daniel Eklöf
a041b8f971
changelog: don’t do escaping in backtick quoted string 2020-09-24 14:01:30 +02:00
Daniel Eklöf
1d579dff6b
changelog: use backticks for filenames and properties 2020-09-24 14:00:50 +02:00
Daniel Eklöf
88f0b7b8c0
changelog: highlight “unknown error” + spell fix ‘encountered’ 2020-09-24 13:59:58 +02:00
Daniel Eklöf
51e9dbd4fc
changelog: alsa: percentage -> percent 2020-09-24 13:59:15 +02:00
Daniel Eklöf
85ae4cca37
module/alsa: add ‘percent’ tag - volume level as a percentage
Fixes part of #10
2020-09-24 13:54:41 +02:00
Daniel Eklöf
eceee99fb0
yml: don’t overwrite errors from yml_parser_parse()
When we detect an error in yml_parser_parse(), we handle that
specifically, and then jump to the generic error handler.

The generic error handler overwrites the previously formatted error
before cleaning up and returning.

This meant that a) the actual error message was lost, and replaced
with a generic “unknown error”, and b) the dynamically allocated error
string buffer was leaked.
2020-09-24 13:38:56 +02:00
Daniel Eklöf
57e755477c
changelog: new 'unreleased' section 2020-09-05 09:28:06 +02:00
Daniel Eklöf
6dfa6ec1db
changelog: add missing '#' to 'changed' header 2020-09-05 09:26:16 +02:00
Daniel Eklöf
a2866aad0f
changelog: add a changelog 2020-09-05 09:24:03 +02:00