Commit graph

124 commits

Author SHA1 Message Date
elkowar
77055b80e7
fix(diag): Add span to default values of custom widgets 2021-08-21 16:59:59 +02:00
elkowar
c380313ba7
feat(config): Add optional widget arguments prefixed with ? 2021-08-21 14:24:13 +02:00
elkowar
7aa8d8a404
fix(diag): Improve warning for unknown attributes 2021-08-21 12:33:37 +02:00
elkowar
9ce219a420
feat(cli): add --toggle to open-many, allow closing multiple windows at once 2021-08-19 15:45:07 +02:00
elkowar
7ffebf6903
Fix documentation of magic variables 2021-08-18 17:14:58 +02:00
elkowar
3830e003fe
Clean up example config further 2021-08-18 16:30:11 +02:00
elkowar
f83ad913be
Clean up example bar 2021-08-18 16:21:04 +02:00
elkowar
4942925859
Cleanup and update dependencies 2021-08-18 15:24:00 +02:00
elkowar
8faedb0e89
Fix documentation on literal widget 2021-08-17 12:04:42 +02:00
elkowar
7abf38cbfc
Include spans in var_refs of simplexpr 2021-08-17 11:53:45 +02:00
elkowar
c20b172662
Fix representation of string-interpolations by adding a dedicated concat AST variant 2021-08-17 11:10:48 +02:00
elkowar
f0b27d2ec1
Allow for aligned text using unindent 2021-08-14 16:08:43 +02:00
elkowar
398717b782
Add restart flag 2021-08-14 15:06:19 +02:00
elkowar
47e1301180
Slightly clean up error reporting 2021-08-14 14:56:49 +02:00
elkowar
b8d222384b
Make only some commands able to start the daemon 2021-08-14 14:44:22 +02:00
elkowar
e72a16a5bd
Fix daemonization 2021-08-14 14:03:16 +02:00
elkowar
096aedc0d4
Clean up some logging output 2021-08-14 13:32:09 +02:00
elkowar
91f714dc11
Add config validation step 2021-08-14 13:23:04 +02:00
elkowar
f7f718b94a
Some more error message improvements 2021-08-14 11:58:04 +02:00
elkowar
c0581e7769
Improve error messages for multiple chidren in a widget and config loading errors 2021-08-14 11:36:39 +02:00
elkowar
279785f420
Log errors in log even when a response-sender is listening, add error message when a monitor doesn't exist 2021-08-14 11:28:15 +02:00
elkowar
7647fcd2c4
Undo eww-state hotreloading change
it caused variables not to be linked to the state after the reload
2021-08-13 17:25:26 +02:00
elkowar
eb11c29e6a
fix some hot-reloading issues 2021-08-12 18:17:17 +02:00
elkowar
7bb5fddaa6
Fix windows closing eventhough they don't work 2021-08-12 16:39:10 +02:00
elkowar
9ee852c0fd
Add centerbox widget 2021-08-12 16:19:00 +02:00
elkowar
dcf27a0cbf
Some misc fixes and improvements 2021-08-10 19:23:52 +02:00
elkowar
ec8b12d206
Allow digits in identifiers in simplexpr 2021-08-10 14:30:33 +02:00
elkowar
142894c3ce
Add more concrete error messages for missing argument list 2021-08-02 16:35:43 +02:00
elkowar
eb3c2646a0
Add did you mean question to wrong variables 2021-08-02 15:54:38 +02:00
elkowar
9588f31861
Add timeout to widgets reading on-click commands 2021-08-02 14:20:00 +02:00
elkowar
2a7255c3d5
General refactors 2021-08-01 19:22:45 +02:00
elkowar
27ce9e798a
Fix error messages for script-var definitions 2021-08-01 17:36:49 +02:00
elkowar
e24cc0ac16
Fix missing attribute error message and add more span data 2021-08-01 15:52:44 +02:00
elkowar
afd0a47bf2
Remove redundant information 2021-07-31 20:01:42 +02:00
elkowar
a464a849f1
Add --toggle to open window 2021-07-31 17:45:59 +02:00
elkowar
ebf9c7e7ef
Unify error messages and remove unused code 2021-07-31 16:01:20 +02:00
elkowar
dd482987cd
Clean up ast structure 2021-07-31 13:59:02 +02:00
elkowar
24c9fee204
Fully implement string interpolation with ${} syntax 2021-07-31 13:44:23 +02:00
elkowar
5cde0228fb
Allow for string-interpolation in simplexpr 2021-07-30 16:33:28 +02:00
elkowar
41093cf0af
Replace lazy_static with once_cell 2021-07-29 15:30:00 +02:00
elkowar
ec4506d9e4
Make daemon start on server-commands when it's not running 2021-07-29 13:03:37 +02:00
elkowar
6f1118bda4
Improve error messages for unread elements in nodes and fix span handling in ast iterator 2021-07-28 19:58:51 +02:00
elkowar
8fea52bda9
Allow for comments in simplexpr 2021-07-28 17:16:01 +02:00
elkowar
fcd54abf91
Allow for different diagnostic severities in gen_diagnostic 2021-07-28 17:12:58 +02:00
elkowar
b836549232
Don't exit daemon when initial load fails 2021-07-27 17:38:01 +02:00
elkowar
99fd51dc12
Improve error messages for unknown variables in evalerror 2021-07-27 17:24:40 +02:00
elkowar
01c7ba6e2a
Add alternative string syntax with single quotes and backticks 2021-07-27 00:11:16 +02:00
elkowar
e698fd315e
Fix multi-point unicode glyphs in yuck lexer 2021-07-26 23:10:01 +02:00
elkowar
de8c79bc7d
Add magic variables again 2021-07-26 22:43:33 +02:00
elkowar
af38b09d5a
Fix all tests 2021-07-26 20:41:36 +02:00