Package: mle / 1.3-2

Metadata

Package Version Patches format
mle 1.3-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 use inttypes.h for portability.patch | (download)

buffer.c | 5 3 + 2 - 0 !
cmd.c | 3 2 + 1 - 0 !
editor.c | 13 7 + 6 - 0 !
tests/unit/test.h | 3 2 + 1 - 0 !
uscript.c | 7 5 + 2 - 0 !
5 files changed, 19 insertions(+), 12 deletions(-)

 use `inttypes.h` for portability


0002 fix submodule init in vendor Makefile.patch | (download)

vendor/Makefile | 17 9 + 8 - 0 !
1 file changed, 9 insertions(+), 8 deletions(-)

 fix submodule init in `vendor/makefile`


0003 update readme.patch | (download)

README.md | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 update readme


0004 remove MAIN macro from unit tests.patch | (download)

tests/unit/test.h | 28 14 + 14 - 0 !
tests/unit/test_bline_delete.c | 6 4 + 2 - 0 !
tests/unit/test_bline_get_col.c | 6 4 + 2 - 0 !
tests/unit/test_bline_insert.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_add_mark.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_add_srule.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_delete.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_destroy.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_get.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_get_bline.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_get_bline_col.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_get_offset.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_insert.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_new.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_redo.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_register.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_remove_srule.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_replace.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_set.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_set_callback.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_set_tab_width.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_substr.c | 6 4 + 2 - 0 !
tests/unit/test_buffer_undo.c | 6 4 + 2 - 0 !
tests/unit/test_mark_clone.c | 6 4 + 2 - 0 !
tests/unit/test_mark_delete_after.c | 6 4 + 2 - 0 !
tests/unit/test_mark_delete_before.c | 6 4 + 2 - 0 !
tests/unit/test_mark_delete_between_mark.c | 6 4 + 2 - 0 !
tests/unit/test_mark_delete_between_mark_2.c | 6 4 + 2 - 0 !
tests/unit/test_mark_find_bracket_pair.c | 6 4 + 2 - 0 !
tests/unit/test_mark_get_between_mark.c | 6 4 + 2 - 0 !
tests/unit/test_mark_get_offset.c | 6 4 + 2 - 0 !
tests/unit/test_mark_insert_after.c | 6 4 + 2 - 0 !
tests/unit/test_mark_insert_before.c | 6 4 + 2 - 0 !
tests/unit/test_mark_is_at_word_bound.c | 6 4 + 2 - 0 !
tests/unit/test_mark_is_gt.c | 6 4 + 2 - 0 !
tests/unit/test_mark_lettered.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_bol.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_bracket_pair.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_by.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_col.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_eol.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_next_re.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_next_str.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_offset.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_prev_re.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_prev_str.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_to.c | 6 4 + 2 - 0 !
tests/unit/test_mark_move_vert.c | 6 4 + 2 - 0 !
tests/unit/test_mark_set_pcre_ovector.c | 6 4 + 2 - 0 !
tests/unit/test_mark_swap_with_mark.c | 6 4 + 2 - 0 !
tests/unit/test_recalloc.c | 6 4 + 2 - 0 !
51 files changed, 214 insertions(+), 114 deletions(-)

 remove main macro from unit tests


0005 change pointer style.patch | (download)

aproc.c | 14 7 + 7 - 0 !
bline.c | 16 8 + 8 - 0 !
buffer.c | 362 181 + 181 - 0 !
bview.c | 226 113 + 113 - 0 !
cmd.c | 414 207 + 207 - 0 !
cursor.c | 68 34 + 34 - 0 !
editor.c | 474 237 + 237 - 0 !
main.c | 2 1 + 1 - 0 !
mark.c | 206 103 + 103 - 0 !
mlbuf.h | 344 172 + 172 - 0 !
mle.h | 598 299 + 299 - 0 !
tests/unit/test.h | 8 4 + 4 - 0 !
tests/unit/test_bline_delete.c | 4 2 + 2 - 0 !
tests/unit/test_bline_get_col.c | 4 2 + 2 - 0 !
tests/unit/test_bline_insert.c | 4 2 + 2 - 0 !
tests/unit/test_buffer_add_mark.c | 6 3 + 3 - 0 !
tests/unit/test_buffer_add_srule.c | 8 4 + 4 - 0 !
tests/unit/test_buffer_delete.c | 4 2 + 2 - 0 !
tests/unit/test_buffer_destroy.c | 4 2 + 2 - 0 !
tests/unit/test_buffer_get.c | 6 3 + 3 - 0 !
tests/unit/test_buffer_get_bline.c | 8 4 + 4 - 0 !
tests/unit/test_buffer_get_bline_col.c | 6 3 + 3 - 0 !
tests/unit/test_buffer_get_offset.c | 4 2 + 2 - 0 !
tests/unit/test_buffer_insert.c | 4 2 + 2 - 0 !
tests/unit/test_buffer_new.c | 4 2 + 2 - 0 !
tests/unit/test_buffer_redo.c | 6 3 + 3 - 0 !
tests/unit/test_buffer_register.c | 6 3 + 3 - 0 !
tests/unit/test_buffer_remove_srule.c | 6 3 + 3 - 0 !
tests/unit/test_buffer_replace.c | 4 2 + 2 - 0 !
tests/unit/test_buffer_set.c | 4 2 + 2 - 0 !
tests/unit/test_buffer_set_callback.c | 10 5 + 5 - 0 !
tests/unit/test_buffer_set_tab_width.c | 4 2 + 2 - 0 !
tests/unit/test_buffer_substr.c | 4 2 + 2 - 0 !
tests/unit/test_buffer_undo.c | 6 3 + 3 - 0 !
tests/unit/test_mark_clone.c | 6 3 + 3 - 0 !
tests/unit/test_mark_delete_after.c | 6 3 + 3 - 0 !
tests/unit/test_mark_delete_before.c | 6 3 + 3 - 0 !
tests/unit/test_mark_delete_between_mark.c | 6 3 + 3 - 0 !
tests/unit/test_mark_delete_between_mark_2.c | 6 3 + 3 - 0 !
tests/unit/test_mark_find_bracket_pair.c | 4 2 + 2 - 0 !
tests/unit/test_mark_get_between_mark.c | 8 4 + 4 - 0 !
tests/unit/test_mark_get_offset.c | 4 2 + 2 - 0 !
tests/unit/test_mark_insert_after.c | 6 3 + 3 - 0 !
tests/unit/test_mark_insert_before.c | 6 3 + 3 - 0 !
tests/unit/test_mark_is_at_word_bound.c | 4 2 + 2 - 0 !
tests/unit/test_mark_is_gt.c | 6 3 + 3 - 0 !
tests/unit/test_mark_lettered.c | 10 5 + 5 - 0 !
tests/unit/test_mark_move_bol.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_bracket_pair.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_by.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_col.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_eol.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_next_re.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_next_str.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_offset.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_prev_re.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_prev_str.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_to.c | 4 2 + 2 - 0 !
tests/unit/test_mark_move_vert.c | 4 2 + 2 - 0 !
tests/unit/test_mark_set_pcre_ovector.c | 6 3 + 3 - 0 !
tests/unit/test_mark_swap_with_mark.c | 6 3 + 3 - 0 !
tests/unit/test_recalloc.c | 6 3 + 3 - 0 !
uscript.c | 152 76 + 76 - 0 !
uscript.inc | 1160 580 + 580 - 0 !
uscript.inc.php | 43 26 + 17 - 0 !
util.c | 70 35 + 35 - 0 !
66 files changed, 2213 insertions(+), 2204 deletions(-)

 change pointer style


0006 fix implicit type cast bug on 32 bit systems.patch | (download)

buffer.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix implicit type cast bug on 32-bit systems


0007 define PATH_MAX if not present.patch | (download)

mle.h | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 define path_max if not present


0008 hide tput errors e.g. when no TERM.patch | (download)

tests/run.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 hide tput errors (e.g., when no term)