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


Keyword substitution: kv
Default branch: MAIN


Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Dec 10 15:42:29 2023 UTC (11 months, 3 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
tests/libcurses: fix typo in comment

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Dec 6 22:45:42 2021 UTC (3 years ago) by rillig
Branches: 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
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
tests/libcurses: clean up comments

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Sep 4 01:34:32 2021 UTC (3 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +23 -23 lines
Cosmetic fixes. No functional changes intended.
- Reorganize logic to reduce indent levels significantly.
- Use ``for'' rather than ``while''.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jun 13 12:46:01 2021 UTC (3 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -6 lines
tests/libcurses: add parentheses around argument to sizeof

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Feb 15 07:06:27 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 13 19:23:11 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +54 -98 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 13 08:14:46 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
tests/libcurses: clean up inclusion guards, function declarations

No functional change.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Feb 13 06:45:42 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +16 -18 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 9 20:42:31 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
tests/libcurses: add missing space after control flow keywords

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Feb 9 20:39:20 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 9 20:24:02 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 8 19:15:21 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
tests/libcurses: fix typo in license text

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Oct 24 04:46:17 2020 UTC (4 years, 1 month ago) by blymn
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +92 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:28 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +9 -9 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Sep 19 11:31:58 2019 UTC (5 years, 2 months ago) by blymn
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +9 -9 lines

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 - view: text, markup, annotated - select for diffs
Thu Sep 15 11:46:19 2011 UTC (13 years, 2 months ago) by blymn
Branches: 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-4-RELEASE, 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-3-RELEASE, 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +21 -2 lines
- 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 - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:40 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +30 -44 lines
Catchup with rmind-uvmplock merge.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jun 11 18:03:18 2011 UTC (13 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +30 -44 lines
Turn warns on for all tests and fix all the bugs.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun May 15 23:59:03 2011 UTC (13 years, 6 months ago) by christos
Branches: MAIN
CVS tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
add missing header files.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Apr 10 09:55:10 2011 UTC (13 years, 8 months ago) by blymn
Branches: MAIN
Add atf for libcurses with some tests

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>