CVS log for src/tests/lib/libcurses/slave/lint.lua
Up to [cvs.NetBSD.org] / src / tests / lib / libcurses / slave
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 13 19:50:18 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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,
HEAD
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +10 -26
lines
tests/libcurses: make error handling in the linter simpler
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jun 13 19:41:12 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -14
lines
tests/libcurses: improve code locality in linter
No functional change.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jun 13 19:25:08 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +17 -15
lines
tests/libcurses: improve local variable names in linter
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jun 13 18:11:44 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -12
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.2: download - view: text, markup, annotated - select for diffs
Sat Feb 13 18:24:11 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.1: preferred, colored
Changes since revision 1.1: +1 -10
lines
tests/libcurses: remove unused code in linter
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Feb 12 20:41:37 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
tests/libcurses: query function arguments in consistent order
CVSweb <webmaster@jp.NetBSD.org>