The NetBSD Project

CVS log for src/tests/lib/libcurses/slave/lint.lua

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 13 19:50:18 2021 UTC (2 years, 10 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, HEAD
Changes since 1.5: +10 -26 lines
Diff to previous 1.5 (colored)

tests/libcurses: make error handling in the linter simpler

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 13 19:41:12 2021 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.4: +12 -14 lines
Diff to previous 1.4 (colored)

tests/libcurses: improve code locality in linter

No functional change.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 13 19:25:08 2021 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.3: +17 -15 lines
Diff to previous 1.3 (colored)

tests/libcurses: improve local variable names in linter

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 13 18:11:44 2021 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.2: +7 -12 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Sat Feb 13 18:24:11 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.1: +1 -10 lines
Diff to previous 1.1 (colored)

tests/libcurses: remove unused code in linter

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 12 20:41:37 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN

tests/libcurses: query function arguments in consistent order

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>