polybar-dwm/include/components
Patrick Ziegler fd556525a8
New Tag Parser (#2303)
* refactor(color): Use enum class for color type

* Add testcases for tag parser

* Make tag parser a pull-style parser

Being able to parse single elements at a time gives us more fine-grained
error messages, we can also parse as much as possible and only stop
after an exception.

* fix(color): Parser did not check for invalid chars

* tag parser: First full implementation

* tag parser: Fix remaining failing tests

* tag parser: Replace old parser

* tag parser: Treat alignment as formatting tag

Makes the structure less complex and the alignment tags really are
formatting tags, they are structurally no different from the %{R} tag.

* tag parser: Cleanup type definitions

All type definitions for tags now live in tags/types.hpp, the parser.hpp
only contains the definitions necessary for actually calling the parser,
this shouldn't be included in many places (only places that actually do
parsing). But many places need the definitions for the tags themselves.

* Rename components/parser to tags/dispatch

* tag parser: Cleanup

* Add changelog
2020-12-17 20:37:28 +01:00
..
bar.hpp New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00
builder.hpp New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00
command_line.hpp feat(command_line): Properly handle positional args 2017-01-13 04:47:25 +01:00
config_parser.hpp config: Better error messages when opening files 2020-11-26 21:06:35 +01:00
config.hpp Print error message for invalid color strings 2020-11-27 22:08:03 +01:00
controller.hpp controller: Detach shell commands from polybar 2020-11-29 03:53:59 +01:00
ipc.hpp ipc: Remove unused global setting 2019-11-01 11:12:40 +01:00
logger.hpp fix(logger): Wrong conversion function called 2020-12-12 01:43:12 +01:00
renderer.hpp Move apply_alpha functionality into rgba 2020-11-27 22:08:03 +01:00
screen.hpp fix(monitor): Reload when any monitor changes 2020-04-21 23:59:01 +02:00
taskqueue.hpp refactor(modules): Move setup to constructor 2016-12-21 08:00:09 +01:00
types.hpp New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00