- Add function
ft_col_count()
to get number of columns in the table.
- Fix
ft_printf_ln
when it is used for position which have empty cells before it. - Fix invalid
enum ft_color
values.
- Update CI pipelines on different platforms.
- Add builds with gcc-9 to CI.
- Fix invalid pointer to integer cast that might cause problems on some platforms.
- Fix spelling in the documentation strings.
- Fix incorrect behaviour in case of using standard iostream manipulators with fort::table.
- Add alias
libfort::fort
forfort
target that can be used viaadd_subdirectory
in cmake.
- Add function
ft_erase_range
to erase range of the cells. - Add functions to check if table is empty to the API.
ft_ln
returns status of operation.- Add new table property
adding_strategy
(2 strategies available - replace(default) and insert). - Add function
ft_row_count
(row_count
in C++ API) to get number of rows in the table. - Add function
ft_strerror
to get string descriptions of error codes. - Change error code names and values.
- Fix incorrect cell width evaluation in case of invisible symbols
- Refactoring of code that uses vectors.
- Add target export in cmake.
- Add option
FORT_ENABLE_TESTING
to turn on/off building tests and examples. - Add option
POSITION_INDEPENDENT_CODE
for library target (libfort::fort).
- Add tutorial from github wiki to repository.
- Fix undefined behavior due to incorrect usage of
isprint
function. - Fix incorrect border character in
SOLID
style
- Fix compilation for compilers other than gcc, clang, msvc.
- Add build with tcc to CI.
- Rewrote
mk_wcwidth
function.
- Fix incorrect behaviour when setting properties with
FT_CUR_...
macroses.
- Changes in C++ API (introduced classes
char_table
andutf8-table
instead oftable
). - Add function
ft_set_u8strwid_func
to set custom function to compute width of utf8 strings.
- Refactoring of examples.
- Fix incorrect behaviour in case of wide east asian symbols.
- Fix incorrect
ft_u8nwrite
implementation.
- Added support for UTF-8 strings (
ft_u8write
,ft_u8printf
...). - Added getters for current cell (
cur_col
,cur_row
,cur_cell
) to C++ API. - Enabled wide character and UTF-8 support by default.
- Code refactoring.
- Removed blank lines from
PLAIN_STYLE
andSIMPLE_STYLE
.
- Changed specific style reset tags to universal reset style tag.
- Fix incorrect border style for the last line in the table.
- Added more tests for border styles.
- Add tests for 'mk_wcswidth' function.
- Removed redundant build options from cmake files.
- Added build for arm platform with drone.ci.
- Fixed error with incorrect types when determine class of 'wchar_t' symbol for platforms with unsigned 'wchar_t'.
- Removed '-Werror' flag from the build process.
- Add library version and soversion to the built library.
Initial release