Commit graph

24 commits

Author SHA1 Message Date
elkowar
29c741466e
Add regex test to expression language (fixes #162) 2021-05-09 14:52:51 +02:00
elkowar
a1a313be70
Fix clippy lints 2021-05-03 23:29:58 +02:00
elkowar
aaac4c3b43 Add docs for json values and make value related names shorter 2021-04-14 14:28:22 +02:00
elkowar
ce4c22e2a6 Add JSON support for exprs (fixes #146) 2021-04-14 14:18:08 +02:00
elkowar
11f595be2c Fix variable reference detection, should fix #144 2021-04-04 00:06:34 +02:00
elkowar
f544d0e19a change formatting config 2021-03-08 22:28:29 +01:00
elkowar
c37c5b3cf3 Add elvis operator 2021-03-02 14:52:51 +01:00
ElKowar
9a8bbf4114
Expression language (#124)
* Add AST

* add make-shift testing parser, and make stuff ocmpile

* add proper expression parser

* make string format use '

* Add empty doc page for expressions

* add tests

* Clean up file structure and add unary operators

* Write documentation
2021-03-02 10:27:52 +01:00
ElKowar
a18901f187
State refactor (#121)
* Add widget_node trait and generic impl

* Use WidgetNode stuff in some places

* Use WidgetNode stuff in rendering code

* Refactor
2021-02-26 21:03:53 +01:00
elkowar
9238688774 Implement struts 2021-02-17 16:42:54 +01:00
ay9thqi3tbqiwbegqsg a[soiaosshasdg
ac8bc7d8b5
Fix a few clippy warnings (#59) 2020-11-14 17:57:50 +01:00
ElKowar
9146905314
Advanced window positioning with anchors (#55)
* Implement anchoring

* adjust documentation
2020-11-01 17:33:57 +01:00
elkowar
31ed9d0135 Get rid of a lot of dependencies 2020-10-25 20:40:40 +01:00
elkowar
8c939fb054 Cleanup value by using DebugCustom 2020-10-25 20:20:10 +01:00
ay9thqi3tbqiwbegqsg a[soiaosshasdg
24e3a36c52
Combo box and as_vec() (#41)
Add `as_vec` for PrimitiveValues and implement the `combo-box` widget
2020-10-25 10:56:45 +01:00
elkowar
a906c18bd7 Implement selectable windows, fixes #27 2020-10-23 19:40:39 +02:00
elkowar
4573f056b0 Clean up file structure, and add Struts tag which isn't functional yet 2020-10-23 17:55:59 +02:00
elkowar
4a4b0a3343 Add more tests 2020-10-21 19:58:15 +02:00
elkowar
5f3e16e70c Fix parsing of AttrValues (fixes #37) 2020-10-21 19:14:17 +02:00
elkowar
715e8e6ecc Remove text widget and add limit-width attribute to label 2020-10-20 21:39:54 +02:00
elkowar
423c79d263 Implement relative window size and position. closes #30 2020-10-20 18:44:50 +02:00
elkowar
00580318e3 Refactor and shorten debug output 2020-10-18 23:26:00 +02:00
elkowar
b06162dcf5 Refactor attr_value to only have one variant 2020-10-18 23:26:00 +02:00
elkowar
52503fcf7a Allow for interpolation in attrs 2020-10-18 23:25:00 +02:00