c9efd09f71
Load rgba from config instead of strings.
2020-11-27 22:08:03 +01:00
9fb75779f3
Incorporate reviews
2020-11-26 20:53:53 +01:00
bc1b86c584
actions: Separate data from action string
...
Modules now no longer need to manually parse the action string and
extract data from it.
2020-11-26 20:53:53 +01:00
ae2350167b
actions: Switch all modules over to new system
...
All modules now expose their actions as public static constants
Issues: The menu module no longer closes when an item is clicked (before
it would intercept any executed command and look if it matches one of
its exec commands)
2020-11-26 20:53:53 +01:00
d592eea966
refactor: Move module type string into modules
...
This allows us to identify module by their type and it is also better to
store the module type as part of the module instead of having it
hardcoded in factory.hpp
2020-11-26 20:53:53 +01:00
4b5007294b
refactor(modules): Make all modules input handlers
...
By default they will return false for calls to `input`
2020-11-26 20:53:53 +01:00
028b1413ef
refactor(mpd): Replace icon-repeatone with icon-single
...
The repeatone button doesn't influence repeating behaviour at all, so
the name is misleading.
This deprecates icon-repeatone for now, until we can completely remove
it
Fixes #1279
2018-06-23 10:14:30 +02:00
078bcd5e7d
Respect MPD_HOST env variable
...
Fixes #1007
2018-02-15 17:45:41 -08:00
26abd0f6c4
fix(mpd): Check m_status before dereferencing it
...
This bug was introduced in 645a3142a1
Fixes #979
2018-01-31 22:17:25 -08:00
d3abcc97f6
feat(mpd): Add support for icon-consume ( #861 )
2017-12-04 11:38:17 -08:00
5c41e3d045
feat(mpd): Add state-specific formats #524
2017-05-09 14:56:29 +02:00
15f880eba4
fix(mpd): Handle broken connections
2017-01-13 13:02:51 +01:00
b422d1d1a4
refactor(modules): Input handling
2016-12-23 20:43:52 +01:00
97fa7052fe
refactor(clang-tidy): Apply fixes
2016-12-23 15:54:06 +01:00
7979f5b3d4
refactor(modules): Handle events using signal_receiver
2016-12-21 08:38:44 +01:00
c01f111e34
refactor(modules): Move setup to constructor
2016-12-21 08:00:09 +01:00
a89c4ef2dd
refactor: Move all event handling to the controller
2016-12-20 05:16:04 +01:00
ff9be848c7
refactor(clang-tidy): Apply fixes
2016-11-25 21:58:49 +01:00
8db3e79919
refactor(clang-format): Apply fixes
2016-11-25 14:17:41 +01:00
9fdc22843b
refactor: Cleanup rendering
2016-11-25 04:42:27 +01:00
199a825494
feat(mpd): Add stop toggle ( #191 )
2016-11-25 04:33:58 +01:00
c6d85b2b92
refactor: Optimize build
2016-11-20 23:04:31 +01:00
88c8bbd940
refactor: Fwd declare drawtypes
...
Ref #164
2016-11-19 15:49:06 +01:00
fd57ab0f3d
fix: project rename
2016-11-19 06:26:07 +01:00
04fac96d78
fix(mpd): Hide module on empty playlist
...
Closes #149
2016-11-14 01:21:58 +01:00
e7cb345cec
wip: Separate source from definitions
2016-11-03 12:54:32 +01:00
e21d084fdd
fix(mpd): Connection state broadcasting
2016-10-29 06:52:48 +02:00
1075144b00
refactor(eventloop): Use concurrent queue for events
...
Events are now enqueued using a thread safe concurrent queue
which makes the previous eventloop locking redundant.
2016-10-29 06:48:51 +02:00
92900e78d6
fix(mpd): Wake up thread when stopping module
2016-10-28 19:52:20 +02:00
d2187f44e0
refactor(drawtypes): Cleanup and fixes
2016-10-25 07:10:05 +02:00
68f72d69cc
refactor: Drop tokenized labels
...
Handle placeholder tokens inside each label
instead of cloning into a new instance each time
2016-10-19 01:31:17 +02:00
01c5dcb6b7
fix: Guarded module teardown
2016-10-18 17:55:34 +02:00
2af0d0845d
fix(docs): Updated README and configs
...
Use dash instead of underscore as parameter name separator
Will break alot of configs but people like to work!
2016-10-12 05:19:31 +02:00
c687b07cd0
fix: Handle mouse button click/scroll events
2016-10-10 18:05:58 +02:00
d359ab6057
refactor: Application rewrite
2016-10-10 14:52:57 +02:00
f406f1eb9f
Cleanup and compiler check fixes
2016-06-29 11:06:44 +02:00
78823fda6d
fix(mpd): Broadcast connection state changes once
2016-06-27 22:23:42 +02:00
957f2e001c
task(mpd): Increased default sync interval
2016-06-21 05:27:37 +02:00
d8a3d7d5f6
feat(mpd): Format tags for back-/forward seek
2016-06-21 05:10:18 +02:00
e1f8c001dd
refactor: Pass by value
2016-06-21 04:23:23 +02:00
2c74cb06de
task(dsl): Replace colons with dashes
...
Colons break ini syntax highlighters and linters.
2016-06-11 07:49:14 +02:00
f667b739f0
task(mpd): Move connection settings to config
...
Closes jaagr/lemonbuddy#16
2016-06-09 13:44:01 +02:00
39d3f61497
refactor(core): Clean-up
...
- use "#pragma once" instead of the regular include guard
- fix errors and warnings reported by cppcheck
2016-06-02 01:32:06 +02:00
eeefb3c610
init(git): Base commit
2016-05-19 20:23:45 +02:00