polybar-dwm/include/modules
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
..
meta New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00
alsa.hpp Incorporate reviews 2020-11-26 20:53:53 +01:00
backlight.hpp Incorporate reviews 2020-11-26 20:53:53 +01:00
battery.hpp feat: Warn state for cpu, memory, fs, battery modules (#2199) 2020-12-02 15:55:13 +01:00
bspwm.hpp Incorporate reviews 2020-11-26 20:53:53 +01:00
counter.hpp refactor: Move module type string into modules 2020-11-26 20:53:53 +01:00
cpu.hpp feat: Warn state for cpu, memory, fs, battery modules (#2199) 2020-12-02 15:55:13 +01:00
date.hpp Incorporate reviews 2020-11-26 20:53:53 +01:00
fs.hpp feat: Warn state for cpu, memory, fs, battery modules (#2199) 2020-12-02 15:55:13 +01:00
github.hpp refactor: Move module type string into modules 2020-11-26 20:53:53 +01:00
i3.hpp Incorporate reviews 2020-11-26 20:53:53 +01:00
ipc.hpp refactor: Move module type string into modules 2020-11-26 20:53:53 +01:00
memory.hpp feat: Warn state for cpu, memory, fs, battery modules (#2199) 2020-12-02 15:55:13 +01:00
menu.hpp Incorporate reviews 2020-11-26 20:53:53 +01:00
mpd.hpp Load rgba from config instead of strings. 2020-11-27 22:08:03 +01:00
network.hpp feat(network): Ability to change speed unit text (B/s) (#2068) 2020-11-29 14:15:27 +01:00
pulseaudio.hpp Incorporate reviews 2020-11-26 20:53:53 +01:00
script.hpp refactor: Move module type string into modules 2020-11-26 20:53:53 +01:00
systray.hpp Incorporate reviews 2020-11-26 20:53:53 +01:00
temperature.hpp feat: Warn state for cpu, memory, fs, battery modules (#2199) 2020-12-02 15:55:13 +01:00
text.hpp refactor: Move module type string into modules 2020-11-26 20:53:53 +01:00
unsupported.hpp actions: Integrate input_handler into module 2020-11-26 20:53:53 +01:00
xbacklight.hpp Incorporate reviews 2020-11-26 20:53:53 +01:00
xkeyboard.hpp Incorporate reviews 2020-11-26 20:53:53 +01:00
xwindow.hpp refactor: Move module type string into modules 2020-11-26 20:53:53 +01:00
xworkspaces.hpp fix(xworkspaces): Never swallow updates (#2275) 2020-12-05 23:28:48 +01:00