polybar-dwm/src/utils
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
..
actions.cpp actions: Integrate input_handler into module 2020-11-26 20:53:53 +01:00
bspwm.cpp doc: Convert @ to \ doxygen commands 2018-11-04 19:28:27 -08:00
color.cpp New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00
command.cpp fix(process): fork_detached created zombie processes 2020-12-12 02:37:21 +01:00
concurrency.cpp concurrency_util: Mutex wrapper 2016-12-26 10:33:23 +01:00
env.cpp refactor(file_util): Expand tilde manually 2017-01-25 17:07:55 +01:00
factory.cpp refactor: Move all event handling to the controller 2016-12-20 05:16:04 +01:00
file.cpp config: Better error messages when opening files 2020-11-26 21:06:35 +01:00
http.cpp Update: Using another way to authenticate github module (#2029) 2020-03-26 12:50:42 +01:00
i3.cpp refactor(x11): Cleanup 2017-01-24 10:49:14 +01:00
inotify.cpp doc: Convert @ to \ doxygen commands 2018-11-04 19:28:27 -08:00
io.cpp fix(script): Poll file descriptors 2017-01-11 18:21:58 +01:00
process.cpp fix(process): fork_detached created zombie processes 2020-12-12 02:37:21 +01:00
socket.cpp doc: Convert @ to \ doxygen commands 2018-11-04 19:28:27 -08:00
string.cpp Display correct(binary) unit prefixes in memory module (#2211) 2020-11-27 23:30:09 +01:00
throttle.cpp refactor(clang-tidy): Apply fixes 2016-11-25 21:58:49 +01:00