summaryrefslogtreecommitdiffstats
path: root/src/row.rs
AgeCommit message (Collapse)Author
2019-08-26Implement HTML output for Table and TableSliceJonas 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-01-09Fix 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-24Improve code style (suggestion by clippy)xanonid
- usize never < 0 - convert transmute to casts - simplify condition
2018-09-27Updated README with new releasePierre-Henri Symoneaux
2018-09-22Printing a tables returns the number of printed linesPierre-Henri Symoneaux
2018-09-21cell and row mods become private. Row and Cell are reexported in crate's rootPierre-Henri Symoneaux
2018-09-19A bunch of deprecations before reducing functions visibilityPierre-Henri Symoneaux
2018-09-18Implemented horizontal spanPierre-Henri Symoneaux
Updated rust compatibility Fixed UT Added span support from macro Example + updated README Small update to README
2018-04-17Reexporting types used from the term crateHendrik Sollich
2018-02-19Added Hash & Eq derive. Implemented Extend on Row and TablePierre-Henri Symoneaux
2018-02-19Derive hash on public typesPierre-Henri Symoneaux
2017-12-03Try to make macro works on rust releases 1.13 to 1.19Pierre-Henri Symoneaux
2017-12-03Fix #68 Trailing comma in macrosPierre-Henri Symoneaux
Now trailing commas are supported in macros and won't trigger an infinite recursion anymore during marco expansion
2017-06-09Added rustc 1.17.0 in travis build matrixPierre-Henri Symoneaux
2017-06-08Merge pull request #64 from phsym/convert_try_macro_usesPierre-Henri Symoneaux
Convert try macro uses
2017-06-07Converted all try! macro uses to ? operatorPierre-Henri Symoneaux
2017-06-07Fixed broken build for rust 1.9.0 to 1.14.0Pierre-Henri Symoneaux
2017-06-07Added a few UTPierre-Henri Symoneaux
2017-06-05Added UT & fixed warningsPierre-Henri Symoneaux
+ fixed according to @hcpl comments
2017-06-05Updated according to @hcpl commentsPierre-Henri Symoneaux
2017-06-05Customize indent in formatPierre-Henri Symoneaux
Closes #51
2017-06-05Fixed lint (+clippy) warnings and line endingsPierre-Henri Symoneaux
Added some lint rustc checks and fixed warnings. Fixed some clippy warnings & errors Converted remaining CRLF line endings to LF
2017-05-29Applied rustfmt on codePierre-Henri Symoneaux
2017-05-29Converted all indentation tabs to 4 spacesPierre-Henri Symoneaux
Fixes #53
2016-08-21Remove extraneous return statementsMohamed Hayibor
2016-08-02Replace match with mappingMatthias Beyer
2016-08-02Remove unneeded return statementsMatthias Beyer
2016-04-21Improvements to #27 (for #25)Pierre-Henri Symoneaux
2016-03-25Add some iters for use with rows to make formatting cells a bit easierWilliam Brown
2016-02-14Don't fill the right part of final cell in a row when there is no right ↵pierresy
borer defined int the table format
2016-01-20Merge branch 'master' into ascription_fixpierresy
Conflicts: .travis.yml src/row.rs
2016-01-17Implemented padding customizationpierresy
2016-01-17Started format API refactoringpierresy
* Renamed Align enum to Alignment * Added left and right junction character customization * Added top and bottom lines customization * Added left and right borders customization
2016-01-15Changed token for cell stylepierresy
from colon (':') to arrow (`->`) in macro syntax
2016-01-14Changed token for row stylepierresy
to FlatArrow (`=>`) in macro syntax
2015-11-19Updated Cargo.toml and README.md.pierresy
Using style string don't panic anymore if some specifier are unknown. Tables and Rows are now Indexable. Empty rows are now correctly printed. New lines use "\n" for all platforms except windows (which uses "\r\n").
2015-11-09#2 : Added an example file (style.rs) and updated some additional docpierresy
2015-11-09#2 : Improved macros, added some doc and updated readme.pierresy
2015-11-08#2 : Styles can be set in macros for simplicitypierresy
2015-11-07Issue #2 : Refactored codepierresy
2015-11-07Added dependency "term" and support to styles (color, etc ...)pierresy
2015-08-12Added customizable alignmentpierresy
Added customizable alignment for text in cells (left, center, right). Also with additional small improvements
2015-06-17Create a table format struct, and provide some default format, addpierresy
capability to add optional title line
2015-06-10Capability to update row (append, insert, remove cells)pierresy
2015-06-10Improved the way tables are and can be createdpierresy
2015-06-08Renamed to prettytable-rspierresy
2015-06-07Fixed typo. Updated TODOspierresy
2015-06-01Fixed table! docpierresy
Code reorganisation : Created utils.rs private module
2015-06-01Improved cellspierresy
2015-06-01Allow variable column numberpierresy