Commit Graph

163 Commits

Author SHA1 Message Date
Sean Morrison
c4be1ca649 Implement ft_col_count() along with corresponding unit tests
This pairs with the existing ft_row_count() using the same column
counting method used elsewhere in the code (i.e., iterate over rows
and find the biggest).

Added unit tests for ft_row_count(), ft_col_count(), ft_is_empty(),
and use a myriad of insertion methods to increase coverage.
2020-11-29 12:38:31 -05:00
seleznevae
3257aecaba [D] Remove specialization test 2020-04-21 21:08:06 +03:00
seleznevae
7844a5068f [F] Fix incorrect behaviour in case of using standard iostream manipulators with fort::table. 2020-04-21 20:27:32 +03:00
seleznevae
fb050b35cc [U] Updated library version 2020-02-24 15:21:26 +03:00
seleznevae
4ff8c0fe16 [C] Put fort to namespace in test 2020-02-24 15:11:45 +03:00
seleznevae
cd11dfd7de [C] Changed errors descriptions 2020-02-23 11:54:59 +03:00
seleznevae
d91c7ce9d1 Merge remote-tracking branch 'origin/develop' into issue-38 2020-02-23 11:00:38 +03:00
seleznevae
7b5d419aa4 [F] Fix add_subdirectory test 2020-02-23 09:19:51 +03:00
seleznevae
594cbe83c7 [A] Add test for add_subdirectory 2020-02-23 09:09:32 +03:00
seleznevae
90265dd628 [A] Add option POSITION_INDEPENDENT_CODE for library target (libfort::fort). 2020-02-22 13:33:36 +03:00
seleznevae
74e2774ea3 [A] Add test lib to package test 2020-02-20 23:19:40 +03:00
seleznevae
d09633df55 [A] Add package installation test 2020-02-17 22:47:17 +03:00
seleznevae
1b42320163 [C] Changed codes of errors 2020-02-08 13:04:08 +03:00
seleznevae
58a63f90f2 [A] Add ft_strerror function 2020-02-08 12:15:50 +03:00
seleznevae
d87f5c6215 [A] Add regression test for c++ API 2020-02-05 22:00:35 +03:00
seleznevae
3cc961f958 [F] Fix incorrect cell width evaluation in case of invisible symbols 2020-02-04 22:17:25 +03:00
seleznevae
61ec03f828 [A] Add more test cases for windows and fix compilation. 2020-02-01 17:45:16 +03:00
seleznevae
d8a9eaa77a [F] Fix ft_erase_range behaviour with separators 2020-01-22 22:20:52 +03:00
seleznevae
4871105b0f [F] Fix compilation error 2020-01-19 22:24:17 +03:00
seleznevae
1ed13718d5 [C] Rename ft_delete_range to ft_erase_range 2020-01-19 22:06:25 +03:00
seleznevae
e644f0a504 [A] add function ft_delete_range 2020-01-19 13:37:31 +03:00
seleznevae
628b509991 [A] Add function ft_row_count 2020-01-10 21:22:41 +03:00
seleznevae
27e1102878 [A] Added adding_strategy property to the tables 2020-01-08 15:32:06 +03:00
seleznevae
71188fd0fb [A] Add functions to check if table is empty to the API 2019-12-13 23:30:30 +03:00
seleznevae
f17f150e43 [F] Fix tests 2019-12-03 20:54:34 +03:00
seleznevae
7581165356 [F] Fix incorrect behaviour when using FT_CUR_... macroses
When macroses FT_CUR_ROW, FT_CUR_CELL were used behaviour was
unexpected - properties were not applied. Cause of bug - simple
typo. Also we didn't have tests for usage of these macroses. So
I added them also.
2019-10-25 22:31:14 +03:00
seleznevae
da5cbc0404 [A] Add function ft_set_u8strwid_func to set custom function to compute width of utf8 strings 2019-10-03 23:07:24 +03:00
seleznevae
77a4a1fb4c [R] Refactoring of c++ API 2019-09-28 11:02:34 +03:00
seleznevae
f221f3f297 [U] Updated cmake files 2019-09-21 10:38:56 +03:00
seleznevae
e4adeed195 [A] Added test for superscripts and subscripts 2019-09-17 21:07:29 +03:00
seleznevae
d944b8c364 [F] Fix incorrect behaviour in case of wide east asian symbols 2019-09-08 09:55:56 +03:00
seleznevae
6082281d0e [F] Fix incorrect ft_u8nwrite implementation 2019-09-07 12:32:57 +03:00
seleznevae
64dbd4c2c4 [C] Enabled wchar_t and utf-8 by default 2019-08-29 09:12:58 +03:00
seleznevae
5bfabee696 [C] Refactoring 2019-08-27 20:55:44 +03:00
seleznevae
ada5f1d609 [A] Added test for cur_cell function 2019-08-27 13:50:25 +03:00
seleznevae
e8d1ba2293 [A] Added tests for new table navigation functions 2019-08-27 13:48:36 +03:00
seleznevae
21c26993e6 [F] Fixed compilation errors 2019-08-25 10:35:56 +03:00
seleznevae
9fd2d8f39e [F] Fixed compilation errors 2019-08-25 10:30:28 +03:00
seleznevae
e88f49d8ff [F] Fixed compilation errors 2019-08-25 10:09:34 +03:00
seleznevae
29e928e369 [F] Fixed compilation warnings 2019-08-25 09:33:17 +03:00
seleznevae
3e961b053a [C] Refactoring for utf-8 2019-08-25 09:23:47 +03:00
seleznevae
d3d3e1821c [A] Added more tests for border styles 2019-08-10 13:38:30 +03:00
seleznevae
4461106fe9 [F] Fixed cpp regress test 2019-08-10 11:57:47 +03:00
seleznevae
c289503e0c [C] Removed blank lines from SIMPLE_STYLE and PLAIN_STYLE 2019-08-10 11:40:12 +03:00
seleznevae
4b995844fd [A] Added cpp tests 2019-08-09 21:29:05 +03:00
seleznevae
d1c8f59de1 [F] Fix memory leak in tests 2019-08-09 20:08:20 +03:00
seleznevae
6f4267cb3a [F] Fix incorrect border style for the last line in the table 2019-08-09 19:59:48 +03:00
seleznevae
b19479c228 [F] Fixed reset style tag 2019-07-17 22:33:56 +03:00
seleznevae
d5cbf91b90 [A] Added tests for mk_wcswidth 2019-05-25 16:11:42 +03:00
seleznevae
f223a12fed [C] Improved cmake files consistency 2019-05-19 19:09:11 +03:00