Commit Graph

512 Commits (florian.dehau/layout)
 

Author SHA1 Message Date
Florian Dehau 36dea8373f [widgets][paragraph] Fix text wrapping 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
Florian Dehau 169dc43565 [examples] Add layout example 6 years ago
Florian Dehau 4b53acab14 [doc] Fix layout example in documentation 6 years ago
Florian Dehau c3acac797a Update CHANGELOG 6 years ago
Florian Dehau dd2bf0ad13 Update CHANGELOG 6 years ago
Florian Dehau f620af1455 [examples][list] Change style of first list 6 years ago
Florian Dehau fcd1b7b187 [widgets][list] Set the style of the underlying list 6 years ago
Magnus Bergmark d0d2f88346 BUG: Buffer::pos_of panics on inside-bounds index
- Add tests for this behavior.
- Extend documentation of Buffer::pos_of and Buffer::index_of
  - Clarify that the coordinates should be in global coordinate-space
  (rather than local).
  - Document panics.
  - Add examples.
6 years ago
Rafael Escobar c56173462a Export AlternateScreenBackend. 6 years ago
Florian Dehau 58074f23c5 Update CHANGELOG 6 years ago
Florian Dehau f816e6bbc4 [backends] Improve termion backend
* Add AlternateScreenBackend
* Add a way to create a TermionBackend with a custom config
* Improve return values of several methods
6 years ago
Florian Dehau d53ecaeade [examples] Clean user input example 6 years ago
Florian Dehau 299279dc2d [examples] Add user input example 6 years ago
Florian Dehau 72f9a2b460 Bump version in CHANGELOG 7 years ago
Florian Dehau 7d273b576d Bump version 7 years ago
Florian Dehau 3e143593ab [changelog] Add border change 7 years ago
Florian Dehau 6a3b9fb130 [src][chart] fmt 7 years ago
Florian Dehau e53748de16 Add CHANGELOG 7 years ago
Florian Dehau 0d2e2e185e [scripts] Allow pipefail for convenience 7 years ago
Florian Dehau d2a4048e12 [scripts] Update installation of dev tools 7 years ago
Florian Dehau c3c5109c5a [src] Fix build and tests 7 years ago
Florian Dehau 151d7e8a1c [src] Update dependencies
* Update all dependencies to their latest versions
* Change border to Borders to match v1.0 of bitflags
7 years ago
Florian Dehau af16518650 [src] Run rustfmt 7 years ago
Florian Dehau 8907ab90a1 [doc] Move "Get started" from README to src/lib.rs 7 years ago
Florian Dehau 5dd03d91ad [widgets] Fix a bug in chart layout 7 years ago
Emmanuel Sales cb8af88adf Add Copy trait for layout enums 7 years ago
Florian Dehau e675d6735c [dependencies] Replace log4rs by stderrlog 7 years ago
Florian Dehau 3012215e32 [widgets][tabs] Use generic type for tabs titles 7 years ago
Florian Dehau ba80889333 [clippy] Fix warnings 7 years ago
Florian Dehau f24517bc5a [examples] Run cargo fmt 7 years ago
Florian Dehau 1f285fbac0 [src] Run cargo fmt 7 years ago
Florian Dehau afe5317592 [travis] Fix unbound variable 7 years ago
Florian Dehau 20d373b5f9 [travis] Fix shared libs loading 7 years ago
Florian Dehau b5e4ddafb4 [Makefile] Fix fmt rule 7 years ago
Florian Dehau 1c0bddd9bc [scripts] Fix library path 7 years ago
Florian Dehau 53d0001547 [tools] Update tools install scripts 7 years ago
Florian Dehau 3cc3585e48 [widgets][chart] Use generic type for labels 7 years ago
talha 3045ac4124 Minor codestyle fixes 7 years ago
William Bush 80f5f9f481 add note to readme about running/quitting examples 7 years ago
Florian Dehau 71545a0aa8 Run cargo fmt 7 years ago
Florian Dehau 295fc77df2 [Makefile] Bump clippy version 7 years ago
Florian Dehau 6eb1987650 [Makefile] Bump rustfmt version 7 years ago
Florian Dehau 3b8cc241ac [widgets] Fix table doc test 7 years ago
Florian Dehau ca3308e945 [widgets] Fix Row export 7 years ago
Florian Dehau d008892e04 [examples] Fix Demo example 7 years ago
Florian Dehau af6d589459 [examples] Fix Table example 7 years ago
Florian Dehau c18885d38b [widgets] Refactor Table Widget
* Add Row enum
* Move to a generic definition of table which allow iterators to be
passed as arguments and therefore reduce allocations
7 years ago
Florian Dehau d6a91d1865 Fix List lifetime issues
Add a new lifetime for the items inside the list
7 years ago
Florian Dehau 7749e5ee35 Fix custom_widget example 7 years ago