The NetBSD Project

CVS log for src/tests/lib/libcurses/slave/commands.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / lib / libcurses / slave

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 10 15:42:29 2023 UTC (4 months ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

tests/libcurses: fix typo in comment

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 6 22:45:42 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

tests/libcurses: clean up comments

Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 4 01:34:32 2021 UTC (2 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.15: +23 -23 lines
Diff to previous 1.15 (colored)

Cosmetic fixes. No functional changes intended.
- Reorganize logic to reduce indent levels significantly.
- Use ``for'' rather than ``while''.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jun 13 12:46:01 2021 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.14: +6 -6 lines
Diff to previous 1.14 (colored)

tests/libcurses: add parentheses around argument to sizeof

Revision 1.14 / (download) - annotate - [select for diffs], Mon Feb 15 07:06:27 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

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.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 13 19:23:11 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.12: +54 -98 lines
Diff to previous 1.12 (colored)

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.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 13 08:14:46 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

tests/libcurses: clean up inclusion guards, function declarations

No functional change.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Feb 13 06:45:42 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.10: +16 -18 lines
Diff to previous 1.10 (colored)

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.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 9 20:42:31 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

tests/libcurses: add missing space after control flow keywords

Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 9 20:39:20 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

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.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 9 20:24:02 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

tests/libcurses: compare function names case-sensitive

There is absolutely no reason to write function names in upper case or
mixed case.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 8 19:15:21 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

tests/libcurses: fix typo in license text

Revision 1.6 / (download) - annotate - [select for diffs], Sat Oct 24 04:46:17 2020 UTC (3 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.5: +92 -2 lines
Diff to previous 1.5 (colored)

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.

Revision 1.4.42.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:28 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.4: +9 -9 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.5 / (download) - annotate - [select for diffs], Thu Sep 19 11:31:58 2019 UTC (4 years, 6 months ago) by blymn
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.4: +9 -9 lines
Diff to previous 1.4 (colored)


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.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Sep 15 11:46:19 2011 UTC (12 years, 7 months ago) by blymn
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: phil-wifi
Changes since 1.3: +21 -2 lines
Diff to previous 1.3 (colored)

- 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

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:40 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.2: +30 -44 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jun 11 18:03:18 2011 UTC (12 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.2: +30 -44 lines
Diff to previous 1.2 (colored)

Turn warns on for all tests and fix all the bugs.

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 15 23:59:03 2011 UTC (12 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

add missing header files.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Apr 10 09:55:10 2011 UTC (13 years ago) by blymn
Branch: MAIN

Add atf for libcurses with some tests

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>