Commit Graph

38 Commits (9c8d62151b9ea2852a5456dbc4f079900de05ec4)

Author SHA1 Message Date
Florian Dehau f8b3526426 Add code example for `Constraint::Ratio` 5 years ago
David Flemström d360cd3434 Support exact ratios for layout constraints 5 years ago
Sven-Hendrik Haase 144bfb71cf Upgrade to 2018 edition 6 years ago
Karoline Pauls 8522e028f1 Run `cargo fmt` with the new Rust stable toolchain (1.31.0) 6 years ago
Karoline Pauls 5cee2afc6d Limit Rect size to prevent u16 overflow 6 years ago
Florian Dehau d6016788ef refactor: clippy + rustfmt 6 years ago
Florian Dehau ad602a54bf refactor(widgets): replace text rendering in Paragraph
* remove custom markup language
* add Text container for both raw and styled strings
6 years ago
Florian Dehau 7181970a32 feat: split layout from rendering
* remove layout logic from Terminal
* replace Group with Layout
* add Frame intermediate object
6 years ago
Florian Dehau df7493fd33 style: Run rustfmt 6 years ago
Florian Dehau 62df7badf3 feat(layout): Add Corner enum 6 years ago
Florian Dehau 36146d970a [style] rustfmt 6 years ago
Florian Dehau 36a5eb2110 Format code 6 years ago
Florian Dehau f96db9c74f [layout] Replace FnMut with FnOnce in Group::render
As the function does not need to mutate state and be run multiple times.
6 years ago
Florian Dehau 2cb823a15b [lib] Fix conversion from cassowary-rs results to internal layouts
The library used to compute the layout may returned negative results
given strange contraints. To avoid overflows on unsigned integers operations,
those results will be converted to 0 instead of being converted as is.
6 years ago
Emmanuel Sales cb8af88adf Add Copy trait for layout enums 7 years ago
Florian Dehau 1f285fbac0 [src] Run cargo fmt 7 years ago
talha 3045ac4124 Minor codestyle fixes 7 years ago
Florian Dehau 71545a0aa8 Run cargo fmt 7 years ago
Florian Dehau b2bb24b9d2 Fix rustfmt and clippy errors 7 years ago
Florian Dehau feefa5d54f Convert backends to conditionnal features for compilation 8 years ago
Florian Dehau b19c014889 Fix layout cache on nightly 8 years ago
Florian Dehau 224eb2d8e0 Add support for text styling 8 years ago
Florian Dehau 9bc61551e2 Refactor Terminal to be able to support multiple backends
* Add Rustbox as an other possible backend
8 years ago
Florian Dehau 93cc237007 Documentation 8 years ago
Florian Dehau 107d7297af Fix some layout problems 8 years ago
Florian Dehau d8d18d3d9d Fix layout computation 8 years ago
Florian Dehau c91436baee Change rendering method and adapt widget trait accordingly 8 years ago
Florian Dehau ea485b5439 Simpler layout and cleanup api 8 years ago
Florian Dehau 15c3471f0b Fix clippy warnings 8 years ago
Florian Dehau d7131ead11 Cache layout and performance fixes 8 years ago
Florian Dehau fde0ba95dd Remove cache system and add unicode segmentation 8 years ago
Florian Dehau bd404f0238 Cleanup code and add chart widget 8 years ago
Florian Dehau 9816ccd4e3 Change layout properties and improve gauge and sparkline 8 years ago
Florian Dehau 275b210fd4 Change layout algorithm 8 years ago
Florian Dehau d11dedd864 Add sparkline widget and fix warnings 8 years ago
Florian Dehau 5b5d37ee69 Add gauge, fix rendering and cleanup code 8 years ago
Florian Dehau 13f6a5a98b Add list widget and improve rendering 8 years ago
Florian Dehau 459201bc65 First commit 8 years ago