Closed bynect closed 6 months ago
Still working on the tests
Fixes what we talked about in #1286
Note that invalid colors sent to dbus are ignored
Yeah, looks good!
I will do some fixes and merge it then 👍
I will do some fixes and merge it then 👍
I wouldn't merge as long as CI doesn't work properly. I also accidentally merged a branch yesterday - but luckily, this was just update of a pod file and thus the chance of breakage is rather low.
Right, ci is still down 😬
@bynect As I've merged the new pipeline you could rebase this branch and then hopefully we can go forward merging it.
Attention: Patch coverage is 83.91608%
with 23 lines
in your changes are missing coverage. Please review.
Project coverage is 65.30%. Comparing base (
15b1e8c
) to head (6740fb0
). Report is 2 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
src/draw.c | 53.57% | 13 Missing :warning: |
src/notification.c | 69.23% | 4 Missing :warning: |
src/option_parser.c | 92.85% | 3 Missing :warning: |
src/dbus.c | 75.00% | 2 Missing :warning: |
src/rules.c | 87.50% | 1 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@zappolowski should I merge it now?
Yes, just go ahead and merge it.
I changed every usage of colors from a string to a color struct. Colors are now parsed only once in the option_parser instead of every single draw call.
Note: Hopefully I haven't missed anything. I would be super grateful if someone could do some extra testing on their own if they encounter anything strange