Aleksei Bavshin
c2f37705ad
build: address meson deprecation warnings:
...
- `ExternalProgram.path`
- `dependency.get_pkgconfig_variable`
- `meson.build_root`
- `meson.source_root`
2024-02-17 08:45:16 -08:00
Alexis Rouillard
1dce607c42
Merge pull request #2852 from dpayne/add_css_reload
...
Adding css reloader
2024-01-29 22:44:29 +01:00
dpayne
10cb4180f6
* Fixing clang tidy comments
...
* Fixing missing includes
* Fixing formatting
2024-01-28 14:44:25 -08:00
dpayne
f7eca99496
Using Gio::FileMonitor for watching style changes
2024-01-21 20:49:13 -08:00
dpayne
d7ed4f1fa8
Adding css reloader
2024-01-21 18:23:46 -08:00
zjeffer
8f5d0098d6
Fixed json parsing with hexadecimal characters
...
* replace \x with \u00 to follow JSON spec
* fixes #2475 and #2495
* added unit tests for json parsing
2024-01-14 14:06:06 +01:00
Viktar Lukashonak
86a38980e4
c++20. clock chrono API. STL + format
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2023-11-10 17:57:26 +03:00
Paul Riou
c26849217e
test:Add test for output config with multiple exclusion/wildcard
2023-03-13 00:49:18 +00:00
Aleksei Bavshin
6225db0a48
test: refactor date formatter tests.
...
- Add tests for global locale.
- Warn about missing locales.
- Downgrade REQUIRE to CHECK.
- Skip tests if localized formatting does not work as expected.
2023-01-21 02:18:43 -08:00
Aleksei Bavshin
67efe1af89
refactor(clock): remove struct waybar_time
...
The structure was used to pass the locale instance to the date
formatter. All the supported versions of `fmt` are passing the locale
parameter via `FormatContext.locale()` so we can remove the struct and
simplify the code.
While we at it, drop `date::make_zoned` in favor of CTAD on a
`date::zoned_time` constructor.
2023-01-20 22:50:01 -08:00
Aleksei Bavshin
43d52c59d9
test: fix build with Catch2 v2.x
...
Use smaller includes for Catch2 v3.
2023-01-20 22:49:59 -08:00
llyyr
1db3c55b48
Fix build with catch2>=3.0.0
2022-10-16 19:21:43 +05:30
Alex
f2fcadbf62
refactor: lint
2022-04-06 08:37:19 +02:00
Aleksei Bavshin
766c8a1035
test: add tests for waybar_time formatter
2022-01-07 22:33:50 -08:00
Aleksei Bavshin
8c41aaae04
refactor(test): use single executable
2022-01-07 19:21:51 -08:00
Aleksei Bavshin
4b5dc1bb3a
test: count copies and moves done by SafeSignal
2021-11-28 09:52:18 -08:00
Aleksei Bavshin
3e2197a82a
test(util): add tests for SafeSignal
...
Add a fixture for writing tests that require interaction with Glib event
loop and a very basic test for SafeSignal.
2020-12-28 17:28:03 -08:00
Elyes HAOUAS
f18eb71ad7
Fix spelling errors
...
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
2021-10-02 18:13:17 +02:00
Aleksei Bavshin
0c1d3e30b6
fix(config): preserve explicit null when merging objects
2021-09-15 22:20:44 +07:00
Aleksei Bavshin
ccc60b4245
refactor(config): more sensible multi-bar include behavior
2021-09-15 22:15:27 +07:00
Aleksei Bavshin
8912bd3ed0
test: multi-bar config with includes
2021-09-15 21:34:56 +07:00
Aleksei Bavshin
9f3b34e4d9
test: validate configuration load
2021-09-15 21:34:55 +07:00
Aleksei Bavshin
6eba62f060
test: add build configs for catch2
2021-09-15 21:34:55 +07:00