Module Name:src
Committed By: rillig
Date: Sun Feb 7 23:30:33 UTC 2021
Modified Files:
src/tests/lib/libcurses/tests: addch
Log Message:
tests/libcurses: fix undefined behavior in test addch
The libcurses framework is not strictly typed and thus provides plenty
of ways t
Module Name:src
Committed By: rillig
Date: Mon Feb 8 19:00:22 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: director.c
Log Message:
tests/libcurses: on errors, print nonprintable characters as well
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.
Module Name:src
Committed By: rillig
Date: Mon Feb 8 19:04:37 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: director.c
Log Message:
tests/libcurses: fix sentinel for execl
For systems where NULL is defined as a simple 0 or 0L.
To generate a diff of this co
Module Name:src
Committed By: rillig
Date: Mon Feb 8 19:09:59 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: remove unused token DRAIN
There is a special function named 'DRAIN', but not a statement. The
function
Module Name:src
Committed By: rillig
Date: Mon Feb 8 19:28:08 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: move function 'check' out of the grammar section
This removes the inconsistent indentation.
To genera
Module Name:src
Committed By: rillig
Date: Mon Feb 8 19:35:22 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: extract function 'delay_millis' from the grammar
To generate a diff of this commit:
cvs rdiff -u -r1.3
Module Name:src
Committed By: rillig
Date: Mon Feb 8 20:09:45 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: declare %type in grammar
It looks as if the original author just didn't know how to declare the
type of
Module Name:src
Committed By: rillig
Date: Mon Feb 8 20:26:46 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: indent grammar functions consistently
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 sr
Module Name:src
Committed By: rillig
Date: Mon Feb 8 20:39:33 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: extract functions 'input' and 'noinput' from grammar
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: rillig
Date: Mon Feb 8 20:55:42 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: use consistent indentation for grammar rules
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r
Module Name:src
Committed By: rillig
Date: Mon Feb 8 23:54:03 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_conf.l testlang_parse.y
Log Message:
tests/libcurses: fix off-by-one error in line numbers in diagnostics
I had broken this in testlang_parse
Module Name:src
Committed By: rillig
Date: Tue Feb 9 20:22:11 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
tests/libcurses: fix scanf parameter for unsigned int
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/t
Module Name:src
Committed By: rillig
Date: Tue Feb 9 20:24:02 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: commands.c
Log Message:
tests/libcurses: compare function names case-sensitive
There is absolutely no reason to write function names in upper case or
mix
Module Name:src
Committed By: rillig
Date: Tue Feb 9 20:39:20 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: commands.c
Log Message:
tests/libcurses: replace remaining strcasecmp with strcmp
There is no reason to write special functions in a different case than
Module Name:src
Committed By: rillig
Date: Fri Feb 12 08:55:32 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
tests/libcurses: reduce boilerplate in function dispatcher
This makes the code more declarative and easier to reason about
Module Name:src
Committed By: rillig
Date: Fri Feb 12 12:58:52 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
tests/libcurses: reduce boilerplate in function dispatcher
No functional change. The generated code for GCC 9.3 on NetBSD
Module Name:src
Committed By: rillig
Date: Fri Feb 12 14:05:57 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
tests/libcurses: remove redundant comments
There is nothing surprising about call2, call3 or call4.
To generate a diff o
Module Name:src
Committed By: rillig
Date: Fri Feb 12 16:49:19 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
tests/libcurses: add shortcut macros for SCREEN and unsigned int
To generate a diff of this commit:
cvs rdiff -u -r1.16 -
Module Name:src
Committed By: rillig
Date: Fri Feb 12 16:59:32 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
tests/libcurses: replace ARG_CHTYPE_STRING with ARG_CHTYPE
All uses of the previous macro did not treat the argument as a
Module Name:src
Committed By: rillig
Date: Fri Feb 12 18:20:05 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
tests/libcurses: don't access args directly
By providing declarative syntax for accessing the arguments, the
unnecessarily
Module Name:src
Committed By: rillig
Date: Fri Feb 12 20:41:37 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Added Files:
src/tests/lib/libcurses/slave: lint.lua
Log Message:
tests/libcurses: query function arguments in consistent order
Module Name:src
Committed By: rillig
Date: Fri Feb 12 20:45:00 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
tests/libcurses: remove excess empty lines
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/tests/lib/li
Module Name:src
Committed By: rillig
Date: Fri Feb 12 21:29:03 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: command_table.h curses_commands.h
Log Message:
tests/libcurses: remove wrong comments
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/te
Module Name:src
Committed By: rillig
Date: Fri Feb 12 21:29:54 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: slave.c
Log Message:
tests/libcurses: format misleading do-while loop
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libcur
Module Name:src
Committed By: rillig
Date: Sat Feb 13 05:38:16 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: director.c
Log Message:
tests/libcurses: fix warnings for missing environment variables
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19
Module Name:src
Committed By: rillig
Date: Sat Feb 13 07:08:45 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: director.c director.h
testlang_parse.y
Log Message:
tests/libcurses: fix pipe handling in the parent process
The parent process, like the
Module Name:src
Committed By: rillig
Date: Sat Feb 13 07:31:07 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: director.c
Log Message:
tests/libcurses: fix misleading usage documentation
The check-files are not config files.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Sat Feb 13 07:32:19 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: director.c
Log Message:
tests/libcurses: align comments
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/tests/lib/libcurses/directo
Module Name:src
Committed By: rillig
Date: Sat Feb 13 08:17:15 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: slave.c slave.h
Log Message:
tests/libcurses: clean up remaining include guard, comments
No functional change.
To generate a diff of this commit:
cvs r
Module Name:src
Committed By: rillig
Date: Sat Feb 13 08:22:34 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: director.c
Log Message:
tests/libcurses: remove include path from usage message
The option has been removed a few minutes ago.
To generate a diff of
Module Name:src
Committed By: rillig
Date: Sat Feb 13 08:26:12 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: director.c
Log Message:
tests/libcurses: remove undocumented, unused command line option
The option -T has the same effect as the removed option -p.
Module Name:src
Committed By: rillig
Date: Sat Feb 13 08:37:21 UTC 2021
Modified Files:
src/tests/lib/libcurses/tests: mvwin
Log Message:
tests/libcurses: "fix" test mvwin
The test mvwin previously expected an endless stream of bytes, by
comparing the actual output with /
Module Name:src
Committed By: rillig
Date: Sat Feb 13 08:43:03 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: fix error messages
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/tests/lib/libcurs
Module Name:src
Committed By: rillig
Date: Sat Feb 13 09:28:27 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: slave.c
Log Message:
tests/libcurses: fix reading from the parent process
In case of a short read, processing the incomplete data invoked
undefined behav
Module Name:src
Committed By: rillig
Date: Sat Feb 13 10:03:49 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: slave.c
Log Message:
tests/libcurses: extract read_command_argument from process_commands
Having code indented so far to the right that each word gets it
Module Name:src
Committed By: rillig
Date: Sat Feb 13 18:24:11 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: lint.lua
Log Message:
tests/libcurses: remove unused code in linter
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libcurses/
Module Name:src
Committed By: rillig
Date: Sat Feb 13 19:23:11 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: commands.c
Log Message:
tests/libcurses: protect against short writes
The previous code only errored out if a write failed completely. If it
was partial
Module Name:src
Committed By: rillig
Date: Sat Feb 13 22:19:47 UTC 2021
Modified Files:
src/tests/lib/libcurses/tests: addbytes
Log Message:
tests/libcurses: note that addbytes is not part of the API
https://mail-index.netbsd.org/source-changes-d/2021/02/13/msg013199.html
Module Name:src
Committed By: rillig
Date: Sun Feb 14 11:21:37 UTC 2021
Modified Files:
src/tests/lib/libcurses/tests: addch
Log Message:
tests/libcurses: document the history about tab bugs in addch/addstr
Verified by installing all versions of libcurses from 2012 to 202
Module Name:src
Committed By: joerg
Date: Mon Feb 15 15:55:51 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
Simplify to avoid copy based on the size of the source.
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 sr
Module Name:src
Committed By: rillig
Date: Thu Feb 25 00:26:57 UTC 2021
Modified Files:
src/tests/lib/libcurses/tests: addbytes
Log Message:
libcurses: ensure that '\b' in handled correctly in addstr
Just to ensure that the recent fix for '\t' handling in addstr/addch
did
Module Name:src
Committed By: rillig
Date: Thu Feb 25 00:32:44 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_conf.l
Log Message:
tests/libcurses: reduce indentation
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23
Module Name:src
Committed By: rillig
Date: Thu Feb 25 00:42:00 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_conf.l
Log Message:
tests/libcurses: use common syntax for accessing array elements
Writing *(p+1) is needlessly confusing, even though it ad
Module Name:src
Committed By: rillig
Date: Thu Feb 25 00:50:10 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_conf.l
Log Message:
tests/libcurses: use common style for parse error messages
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25
Module Name:src
Committed By: rillig
Date: Thu Feb 25 01:07:43 UTC 2021
Modified Files:
src/tests/lib/libcurses/tests: addbytes addch
Log Message:
tests/libcurses: add test for '\b' in addch
Just to ensure that addch and addstr behave the same, after the recent
fix for ha
Module Name:src
Committed By: rin
Date: Sun Apr 4 09:34:24 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
s/&string/string/ for mvscanw(3); string is already pointer to buffer.
To generate a diff of this commit:
cvs rdiff -u -r1.2
Module Name:src
Committed By: rillig
Date: Tue Apr 6 00:35:58 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: don't waste time calling strlen needlessly
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.
Module Name:src
Committed By: rillig
Date: Tue Apr 6 00:47:00 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: clean up table of input functions
The previous "table" was an insult to any reader. It was unsorted,
l
Module Name:src
Committed By: rillig
Date: Tue Apr 6 01:29:37 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: fix names of over-the-wire data types
The test 'mvscanw' reported that it would send '%s' as 'numeric',
Module Name:src
Committed By: blymn
Date: Sat Jun 5 06:11:09 UTC 2021
Modified Files:
src/tests/lib/libcurses/check_files: Makefile
Added Files:
src/tests/lib/libcurses/check_files: clear0.chk
Log Message:
Add new check file for the clear test.
To generate a dif
Module Name:src
Committed By: blymn
Date: Sat Jun 5 06:13:37 UTC 2021
Modified Files:
src/tests/lib/libcurses/tests: clear
Log Message:
Decouple the clear test from the addstr test, they should not be linked
together because they are not really related.
To generate a di
Module Name:src
Committed By: mcf
Date: Thu Jun 10 07:21:07 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: director.c
Log Message:
Unset ESCDELAY in libcurses test director to ensure consistent results
Non-default values of ESCDELAY may result in unexpected te
Module Name:src
Committed By: rillig
Date: Sun Jun 13 11:06:20 UTC 2021
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
tests/libcurses: sprinkle 'const', normalize sizeof
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Sun Jun 13 12:46:02 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: commands.c slave.c
Log Message:
tests/libcurses: add parentheses around argument to sizeof
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15
Module Name:src
Committed By: rillig
Date: Sun Jun 13 18:11:44 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c lint.lua
Log Message:
tests/libcurses: remove redundant argument numbers
Since all arguments are processed in increasing order, there i
Module Name:src
Committed By: rillig
Date: Sun Jun 13 19:13:20 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
tests/libcurses: KNF for while loop
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/tests/lib/libcurses
Module Name:src
Committed By: rillig
Date: Sun Jun 13 19:17:53 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c curses_commands.h
Log Message:
tests/libcurses: unexport argument handling functions
No functional change.
To generate a diff of this
Module Name:src
Committed By: rillig
Date: Sun Jun 13 19:25:08 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: lint.lua
Log Message:
tests/libcurses: improve local variable names in linter
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/
Module Name:src
Committed By: rillig
Date: Sun Jun 13 19:41:12 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: lint.lua
Log Message:
tests/libcurses: improve code locality in linter
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.
Module Name:src
Committed By: rillig
Date: Sun Jun 13 19:50:18 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: lint.lua
Log Message:
tests/libcurses: make error handling in the linter simpler
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/l
Module Name:src
Committed By: rillig
Date: Sun Jun 13 21:54:52 UTC 2021
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
tests/libcurses: fix argument handling for mvwget_wch
There's currently no test for that function, therefore no functional
Module Name:src
Committed By: blymn
Date: Tue Jun 15 22:21:09 UTC 2021
Modified Files:
src/tests/lib/libcurses/tests: slk
Log Message:
Restore the slk_wset test after fixing a but in libcurses.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/lib
Module Name:src
Committed By: blymn
Date: Sat Nov 9 11:18:12 UTC 2013
Modified Files:
src/tests/lib/libcurses/check_files: addchstr.chk
Log Message:
Update check files to match fixed behaviour for addchstr
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/
Module Name:src
Committed By: blymn
Date: Thu Nov 21 11:06:04 UTC 2013
Modified Files:
src/tests/lib/libcurses/director: testlang_conf.l
Log Message:
Add carriage return to the quoted character list
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/li
Module Name:src
Committed By: apb
Date: Sun Jan 19 22:09:34 UTC 2014
Modified Files:
src/tests/lib/libcurses/director: Makefile
Log Message:
Remove -O0 from CPPFLAGS, and instead set
COPTS.testlang_parse.c += -Wno-uninitialized.
Without the old -O0, and without the new -W
Module Name:src
Committed By: uwe
Date: Fri Feb 7 19:56:51 UTC 2020
Modified Files:
src/tests/lib/libcurses/tests: mvscanw
Log Message:
Fix typo in a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libcurses/tests/mvscanw
Please note
Module Name:src
Committed By: joerg
Date: Thu Apr 23 00:30:09 UTC 2020
Modified Files:
src/tests/lib/libcurses/director: testlang_parse.y
Log Message:
saved_output is owned by director.c
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/tests/lib/libcurse
Module Name:src
Committed By: blymn
Date: Tue Nov 6 09:43:25 UTC 2018
Modified Files:
src/tests/lib/libcurses/check_files: background1.chk
Log Message:
Correct background check file for fixed curses behaviour.
This fixes lib/53676.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: blymn
Date: Tue Dec 4 09:32:50 UTC 2018
Modified Files:
src/tests/lib/libcurses/check_files: background1.chk
Log Message:
Fix failing background test check file.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc
Module Name:src
Committed By: blymn
Date: Fri Apr 26 02:46:00 UTC 2019
Modified Files:
src/tests/lib/libcurses/slave: curses_commands.c
Log Message:
Fix argument parsing for mvinsch, last arg is a chtype not a string.
To generate a diff of this commit:
cvs rdiff -u -r1.7
101 - 170 of 170 matches
Mail list logo