4 Commits

Author SHA1 Message Date
Joonas Javanainen
9618683b99
Fix various clippy nits 2020-01-12 14:09:28 +02:00
Joonas Javanainen
46d099f40f
Require explicit ending/popping of almost all stack tokens
This is probably going to be controversial...
Calling end/pop in the Drop implementation causes way too many problems,
and interacts very badly with panics.

There are closure-based simpler implementations of almost everything
except parameter stacks that are still convenient to use. However, if we
end up switching to &mut Ui in most functions (very much possible in the
future!), closures will complicate matters so push/pop and begin/end
pairs are still relevant.
2019-07-13 17:19:32 +03:00
Joonas Javanainen
597f51410b
Add some layout functions, improve docs 2019-06-30 23:48:01 +03:00
Joonas Javanainen
965dd40876
Pull parameter stack updates from 0.1-dev 2019-06-30 23:29:18 +03:00