CVS log for src/tests/lib/libcurses/slave/curses_commands.c
Up to [cvs.NetBSD.org] / src / tests / lib / libcurses / slave
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Dec 7 06:55:44 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
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,
HEAD
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3
lines
tests/libcurses: fix grammar in comment (since yesterday)
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Dec 6 22:45:42 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
tests/libcurses: clean up comments
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Jun 13 21:54:51 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
tests/libcurses: fix argument handling for mvwget_wch
There's currently no test for that function, therefore no functional
change.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jun 13 19:17:53 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +11 -11
lines
tests/libcurses: unexport argument handling functions
No functional change.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jun 13 19:13:20 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -2
lines
tests/libcurses: KNF for while loop
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jun 13 18:11:44 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +744 -744
lines
tests/libcurses: remove redundant argument numbers
Since all arguments are processed in increasing order, there is no need
to add the redundant argument numbers. Most of the curses functions
have less than 5 arguments, which makes it easy enough to count the ARG
macros.
Changes to curses_commands.c:
* replace ^(\tARG_\w+\()\d(?:, |) with $1
* replace (define ARG_\w+\()i,\s with $1
* replace args\[i\] with *args++
* replace \(i\) with ()
* replace \(void\)0 with args++
The wrong argument count in cmd_mvwget_wch is still detected by
lint.lua, as it was before. There is no test yet that covers this
function.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Apr 4 09:49:13 2021 UTC (4 years ago) by rin
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.24: preferred, colored
Changes since revision 1.24: +12 -3
lines
Reapply fix for big-endian environments, which was lost when GSoC results
were merged...
http://www.nerv.org/netbsd/?q=id:20200620T075016Z.3584036ccf31f69ee76ea4a02e9be30ff081df21
> Fix false positive for mvscanw tests on big endian machines.
>
> When conversion specifier is not a derivative form of "%s", retrieve
> input as 32bit integer, and then convert to string literal. Then we
> can avoid interpretation from ASCII code to integer, which is
> apparently byte-order depended.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Apr 4 09:42:08 2021 UTC (4 years ago) by rin
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -3
lines
When mvscanw(3) fails, string is not modified.
Let's ignore the 2nd result for this case.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Apr 4 09:34:24 2021 UTC (4 years ago) by rin
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2
lines
s/&string/string/ for mvscanw(3); string is already pointer to buffer.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Feb 13 08:14:46 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -3
lines
tests/libcurses: clean up inclusion guards, function declarations
No functional change.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Feb 12 20:45:00 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -14
lines
tests/libcurses: remove excess empty lines
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Feb 12 20:41:37 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +56 -24
lines
tests/libcurses: query function arguments in consistent order
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Feb 12 18:20:05 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +145 -110
lines
tests/libcurses: don't access args directly
By providing declarative syntax for accessing the arguments, the
unnecessarily detailed boilerplate code is hidden. This allows easy
inspection by tools and humans, to check for typos and other mistakes.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Feb 12 16:59:32 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +55 -55
lines
tests/libcurses: replace ARG_CHTYPE_STRING with ARG_CHTYPE
All uses of the previous macro did not treat the argument as a string or
array of chtype, but as a single chtype. It's strange that the previous
code arbitrarily split the access to the argument by first storing it as
a pointer and then dereferencing it.
No functional change.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Feb 12 16:49:18 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +23 -25
lines
tests/libcurses: add shortcut macros for SCREEN and unsigned int
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Feb 12 14:05:57 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -36
lines
tests/libcurses: remove redundant comments
There is nothing surprising about call2, call3 or call4.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Feb 12 12:58:52 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +540 -1337
lines
tests/libcurses: reduce boilerplate in function dispatcher
No functional change. The generated code for GCC 9.3 on NetBSD 9.99.80
x86_64 is exactly the same as before.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Feb 12 08:55:32 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +510 -1263
lines
tests/libcurses: reduce boilerplate in function dispatcher
This makes the code more declarative and easier to reason about.
The generated code stays exactly the same.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Feb 9 20:22:11 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2
lines
tests/libcurses: fix scanf parameter for unsigned int
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Feb 8 19:15:21 2021 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
tests/libcurses: fix typo in license text
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Oct 24 04:46:17 2020 UTC (4 years, 6 months ago) by blymn
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1726 -2332
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.10: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:50:16 2020 UTC (4 years, 10 months ago) by rin
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -3
lines
Fix false positive for mvscanw tests on big endian machines.
When conversion specifier is not a derivative form of "%s", retrieve
input as 32bit integer, and then convert to string literal. Then we
can avoid interpretation from ASCII code to integer, which is
apparently byte-order depended.
Revision 1.7.30.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:06 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +10 -9
lines
Sync with HEAD
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun May 26 07:47:37 2019 UTC (5 years, 11 months ago) by blymn
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
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,
is-mlppp-base,
is-mlppp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -2
lines
Start supporting wide char tests.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 26 02:46:00 2019 UTC (6 years ago) by blymn
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -8
lines
Fix argument parsing for mvinsch, last arg is a chtype not a string.
Revision 1.6.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:55 2012 UTC (12 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +22 -37
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 19:00:02 2012 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +22 -37
lines
sync with head
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Sep 19 11:51:08 2012 UTC (12 years, 7 months ago) by blymn
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-base,
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,
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-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,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Branch point for: phil-wifi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +22 -37
lines
* Fix mvscanw return
* Fix the *vline family of calls, one argument is chtype not int
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Sep 15 11:46:19 2011 UTC (13 years, 7 months ago) by blymn
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
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-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: yamt-pagecache,
tls-maxphys
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +76 -38
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.5: download - view: text, markup, annotated - select for diffs
Mon Aug 29 12:46:03 2011 UTC (13 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -5
lines
fix bug where we read the same argument twice. Name the timeout val the
same 'tval' in both timeout routines.
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:40 2011 UTC (13 years, 10 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +137 -139
lines
Catchup with rmind-uvmplock merge.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jun 11 18:03:18 2011 UTC (13 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +137 -139
lines
Turn warns on for all tests and fix all the bugs.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 11 09:06:24 2011 UTC (14 years ago) by blymn
Branches: MAIN
CVS tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +31 -3
lines
Apply patch provided by mrg to fix bad calls to vw_printw and vw_scanw
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Apr 10 23:31:30 2011 UTC (14 years ago) by dholland
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Fix obvious bug.
(note: this file still doesn't build on amd64)
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Apr 10 09:55:10 2011 UTC (14 years ago) by blymn
Branches: MAIN
Add atf for libcurses with some tests
CVSweb <webmaster@jp.NetBSD.org>