Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-26 | Integrate the new HTML printing with Evcxr | Jonas Bushart | |
* Add optional feature for Evcxr integration * Implement trait for everything which can be converted into a Tableslice. The trait prints the Tableslice in plain-text and HTML format in a Evcxr compatible manner. | |||
2019-08-26 | Implement HTML output for Table and TableSlice | Jonas Bushart | |
* Add a HTML escaper to the utils class. * Expand TableSlice, Row, and Cell with HTML printing functions. These are implemented from scratch as they share almost nothing with the line based printing used for text, as HTML directly supports multiline cells. * Add tests to Cell and Table which test the new functionality. | |||
2019-08-25 | Updated to rust 2018 | Pierre-Henri Symoneaux | |
2019-01-09 | Fix macros for selective import via `use` | Andreas Rottmann | |
Allow the import of any macro with `use` while not requiring the user to import macros that are invoked by the imported macro. This feature was add with Rust 1.30, so adjust the travis build and README accordingly. This fixes issue #99. | |||
2018-10-24 | Improve code style (suggestion by clippy) | xanonid | |
- usize never < 0 - convert transmute to casts - simplify condition | |||
2018-09-27 | Updated README with new release | Pierre-Henri Symoneaux | |
2018-09-24 | Merge branch 'master' into lines_count | Pierre-Henri Symoneaux | |
2018-09-24 | Verify returned table height in unit tests | Pierre-Henri Symoneaux | |
2018-09-23 | Added FORMAT_BOX_CHARS | Pierre-Henri Symoneaux | |
2018-09-22 | Printing a tables returns the number of printed lines | Pierre-Henri Symoneaux | |
2018-09-21 | cell and row mods become private. Row and Cell are reexported in crate's root | Pierre-Henri Symoneaux | |
2018-09-21 | Moved CSV module into dedicated file | Pierre-Henri Symoneaux | |
2018-09-21 | Move all CSV stuff into dedicated module | Pierre-Henri Symoneaux | |
2018-09-21 | Reexport types from crate `csv` | Pierre-Henri Symoneaux | |
2018-09-20 | Added missing inlined doc about span style string | Pierre-Henri Symoneaux | |
2018-09-19 | A bunch of deprecations before reducing functions visibility | Pierre-Henri Symoneaux | |
2018-09-18 | Implemented horizontal span | Pierre-Henri Symoneaux | |
Updated rust compatibility Fixed UT Added span support from macro Example + updated README Small update to README | |||
2018-09-04 | Update csv to version 1 | Wolfgang Silbermayr | |
2018-08-12 | README: Document set_titles, use prettyformat::table, plus extra tests! | Paul Fenwick | |
README: - Mention `set_titles()` - Explicitly `use prettytable::format` - Expand sample code to call `set_titles()` and `add_row()`s. lib.rs: - Added test from README code using the longhand FormatBuilder - Added test from README using FORMAT_NO_LINESEP_WITH_TITLE | |||
2018-05-18 | Added the possibility to style the left and right border separately. | Romain | |
2018-05-18 | Fixed cell width issues when using ANSI color codes. | Romain | |
This commit adds a `utils::display_width` function, which is just a wrapper around `UnicodeWidthStr::width` which also takes ANSI color codes into account. This is required when creating cells from strings which are already colored using ANSI color codes (instead of coloring the cells using styles). Since color codes are of the form \u{1b}[ ... m, but UnicodeWidthStr::width only takes the first \u{1b} into account, this would create cell width issues. | |||
2018-04-18 | Updated README and examples with removal of the term crate | Pierre-Henri Symoneaux | |
Following changes made in #78 | |||
2018-04-17 | Reexporting types used from the term crate | Hendrik Sollich | |
2018-02-19 | Added Hash & Eq derive. Implemented Extend on Row and Table | Pierre-Henri Symoneaux | |
2018-02-19 | Derive hash on public types | Pierre-Henri Symoneaux | |
2017-12-03 | Try to make macro works on rust releases 1.13 to 1.19 | Pierre-Henri Symoneaux | |
2017-12-03 | Fix #68 Trailing comma in macros | Pierre-Henri Symoneaux | |
Now trailing commas are supported in macros and won't trigger an infinite recursion anymore during marco expansion | |||
2017-06-09 | Added rustc 1.17.0 in travis build matrix | Pierre-Henri Symoneaux | |
2017-06-08 | Merge pull request #64 from phsym/convert_try_macro_uses | Pierre-Henri Symoneaux | |
Convert try macro uses | |||
2017-06-08 | Merge pull request #63 from phsym/increase_coverage | Pierre-Henri Symoneaux | |
Added test cases | |||
2017-06-07 | Converted all try! macro uses to ? operator | Pierre-Henri Symoneaux | |
2017-06-07 | Added more tests | Pierre-Henri Symoneaux | |
2017-06-07 | Fixed broken build for rust 1.9.0 to 1.14.0 | Pierre-Henri Symoneaux | |
2017-06-07 | Added a few UT | Pierre-Henri Symoneaux | |
2017-06-06 | Fix usage of non-unicode in unicode code. | hcpl | |
From '|' (0x007C) to '│' (0x2502). And sorry for repetitive "code" in commit message :( | |||
2017-06-06 | Increase coverage | Pierre-Henri Symoneaux | |
2017-06-05 | Improving coverage, just for testing | Pierre-Henri Symoneaux | |
2017-06-05 | Added UT & fixed warnings | Pierre-Henri Symoneaux | |
+ fixed according to @hcpl comments | |||
2017-06-05 | Updated according to @hcpl comments | Pierre-Henri Symoneaux | |
2017-06-05 | Customize indent in format | Pierre-Henri Symoneaux | |
Closes #51 | |||
2017-06-05 | Fixed lint (+clippy) warnings and line endings | Pierre-Henri Symoneaux | |
Added some lint rustc checks and fixed warnings. Fixed some clippy warnings & errors Converted remaining CRLF line endings to LF | |||
2017-06-05 | Make deprecation note and function name more clear | hcpl | |
2017-06-04 | Retain existing public API but deprecate it | hcpl | |
2017-06-04 | Add tests regarding padding | hcpl | |
2017-06-03 | Fix padding formatting | hcpl | |
Line separators relied on (1, 1) padding. | |||
2017-05-29 | Added category "command-line-interface" to Cargo.toml | Pierre-Henri Symoneaux | |
2017-05-29 | Typo | Pierre-Henri Symoneaux | |
2017-05-29 | Applied rustfmt on code | Pierre-Henri Symoneaux | |
2017-05-29 | Converted all indentation tabs to 4 spaces | Pierre-Henri Symoneaux | |
Fixes #53 | |||
2017-05-29 | Revert and apply table format changes | hcpl | |
* FORMAT_NO_LINESEP_WITH_TITLE: Because of how everywhere else the render has thin title separator: - code now behaves like the old version; - changed its rustdoc description. * FORMAT_NO_LINESEP: This format has no line separators, but this fact doesn't apply to borders. - add top and bottom separators; - update the corresponding example. * FORMAT_BORDERS_ONLY: - remove delimiter lines between non-titles. |