Home | History | Annotate | Download | only in slave
History log of /src/tests/lib/libcurses/slave/commands.c
RevisionDateAuthorComments
 1.18  10-Dec-2023  rillig tests/libcurses: fix typo in comment
 1.17  06-Dec-2021  rillig tests/libcurses: clean up comments
 1.16  04-Sep-2021  rin Cosmetic fixes. No functional changes intended.
- Reorganize logic to reduce indent levels significantly.
- Use ``for'' rather than ``while''.
 1.15  13-Jun-2021  rillig tests/libcurses: add parentheses around argument to sizeof
 1.14  15-Feb-2021  rillig tests/libcurses: fix error handling for non-system errors

These errors are unrelated to errno. The scanf family of functions also
does not set errno.
 1.13  13-Feb-2021  rillig tests/libcurses: protect against short writes

The previous code only errored out if a write failed completely. If it
was partially written, the program continued without writing the rest of
it.

Extract the common code into a few functions that write raw data to the
parent process.
 1.12  13-Feb-2021  rillig tests/libcurses: clean up inclusion guards, function declarations

No functional change.
 1.11  13-Feb-2021  rillig tests/libcurses: fix pipe handling in child process

The child process only ever needs 2 ends of the pipes: one for reading
the commands, one for writing back the results.
 1.10  09-Feb-2021  rillig tests/libcurses: add missing space after control flow keywords
 1.9  09-Feb-2021  rillig tests/libcurses: replace remaining strcasecmp with strcmp

There is no reason to write special functions in a different case than
the canonical one, just like for the regular curses functions.
 1.8  09-Feb-2021  rillig tests/libcurses: compare function names case-sensitive

There is absolutely no reason to write function names in upper case or
mixed case.
 1.7  08-Feb-2021  rillig tests/libcurses: fix typo in license text
 1.6  24-Oct-2020  blymn Merge in code from Google Summer of Code project which dramatically
increases the number of tests performed.

Thanks to Naman Jain <jnaman806@gmail.com> for his excellent work on
this GSoC project.
 1.5  19-Sep-2019  blymn Rototill to add complex character support:

- Add cchar command to director test language to allow a complex character
to be defined and passed to the slave.
- Removed the distinction between args and returns internally to prevent
confusing the two which leads to errors and/or crashes.
- Converted mutt_test to use the new cchar definition and fixed the
check files for the test.
 1.4  15-Sep-2011  blymn branches: 1.4.42;
- add support for getparyx and getyx calls
- allow a NULL pointer to be returned to the director
- add support for passing back a single chtype character
- fix some indentation
- fix a lot of curses command calls that were just plain wrong
- don't try to allocate storage for a NULL parameter, it doesn't need it
 1.3  11-Jun-2011  christos Turn warns on for all tests and fix all the bugs.
 1.2  15-May-2011  christos branches: 1.2.2;
add missing header files.
 1.1  10-Apr-2011  blymn Add atf for libcurses with some tests
 1.2.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.4.42.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed