Module Name:src
Committed By: rillig
Date: Mon Oct 25 20:32:38 UTC 2021
Modified Files:
src/usr.bin/indent: parse.c
Log Message:
indent: do not output token in debug mode
When the parse stack is manipulated, the text of the token is not
relevant anymore and may even be co
Module Name:src
Committed By: rillig
Date: Mon Oct 25 19:56:03 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h parse.c
Log Message:
indent: rename search_brace to search_stmt
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.157 -r
Module Name:src
Committed By: rillig
Date: Mon Oct 25 19:56:03 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h parse.c
Log Message:
indent: rename search_brace to search_stmt
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.157 -r
Module Name:src
Committed By: rillig
Date: Mon Oct 25 01:06:13 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: rename local variable sp_sw to spaced_expr
The 'sp' probably meant 'space-enclosed'; no idea what 'sw' was meant to
mean. Maybe 'switc
Module Name:src
Committed By: rillig
Date: Mon Oct 25 01:06:13 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: rename local variable sp_sw to spaced_expr
The 'sp' probably meant 'space-enclosed'; no idea what 'sw' was meant to
mean. Maybe 'switc
Module Name:src
Committed By: rillig
Date: Mon Oct 25 00:54:37 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c parse.c pr_comment.c
Log Message:
indent: split type token_type into 3 separate types
Previously, token_type was used for 3 different purpo
Module Name:src
Committed By: rillig
Date: Mon Oct 25 00:54:37 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c parse.c pr_comment.c
Log Message:
indent: split type token_type into 3 separate types
Previously, token_type was used for 3 different purpo
Module Name:src
Committed By: rillig
Date: Sun Oct 24 22:38:20 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: split kw_for_or_if_or_while into separate constants
No functional change.
To generate a diff of this commit:
cvs rdi
Module Name:src
Committed By: rillig
Date: Sun Oct 24 22:38:20 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: split kw_for_or_if_or_while into separate constants
No functional change.
To generate a diff of this commit:
cvs rdi
Module Name:src
Committed By: rillig
Date: Sun Oct 24 20:57:11 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: rename seen_quest to quest_level
The new name aligns with other similar variables like ind_level,
case_ind_level and ifdef_level. The
Module Name:src
Committed By: rillig
Date: Sun Oct 24 20:57:11 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: rename seen_quest to quest_level
The new name aligns with other similar variables like ind_level,
case_ind_level and ifdef_level. The
Module Name:src
Committed By: rillig
Date: Sun Oct 24 20:47:00 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: define lexi_end as function instead of macro
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/usr.bin/indent/lexi.c
P
Module Name:src
Committed By: rillig
Date: Sun Oct 24 20:47:00 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: define lexi_end as function instead of macro
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/usr.bin/indent/lexi.c
P
Module Name:src
Committed By: rillig
Date: Sun Oct 24 19:33:26 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: initialize variables in main_loop in declaration
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.1
Module Name:src
Committed By: rillig
Date: Sun Oct 24 19:33:26 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: initialize variables in main_loop in declaration
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.1
Module Name:src
Committed By: rillig
Date: Sun Oct 24 19:14:33 UTC 2021
Modified Files:
src/usr.bin/indent: args.c indent.c lexi.c parse.c pr_comment.c
Log Message:
indent: run indent on its own source code
With manual corrections afterwards. Indent still does not get
ext
Module Name:src
Committed By: rillig
Date: Sun Oct 24 19:14:33 UTC 2021
Modified Files:
src/usr.bin/indent: args.c indent.c lexi.c parse.c pr_comment.c
Log Message:
indent: run indent on its own source code
With manual corrections afterwards. Indent still does not get
ext
Module Name:src
Committed By: rillig
Date: Sun Oct 24 11:19:25 UTC 2021
Modified Files:
src/usr.bin/indent: args.c indent.c indent.h lexi.c
Log Message:
indent: rename nitems to array_length
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/usr.bin/indent
Module Name:src
Committed By: rillig
Date: Sun Oct 24 11:19:25 UTC 2021
Modified Files:
src/usr.bin/indent: args.c indent.c indent.h lexi.c
Log Message:
indent: rename nitems to array_length
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/usr.bin/indent
Module Name:src
Committed By: rillig
Date: Sun Oct 24 11:17:05 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c pr_comment.c
Log Message:
indent: replace global variable use_ff with function parameter
To generate a diff of this commit:
cvs rdiff -u -r1
Module Name:src
Committed By: rillig
Date: Sun Oct 24 11:17:05 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c pr_comment.c
Log Message:
indent: replace global variable use_ff with function parameter
To generate a diff of this commit:
cvs rdiff -u -r1
Module Name:src
Committed By: rillig
Date: Sun Oct 24 11:08:46 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clean up comments
To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/usr.bin/indent/pr_comment.c
Please note that
Module Name:src
Committed By: rillig
Date: Sun Oct 24 11:08:46 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clean up comments
To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/usr.bin/indent/pr_comment.c
Please note that
Module Name:src
Committed By: rillig
Date: Sun Oct 24 10:54:12 UTC 2021
Modified Files:
src/usr.bin/indent: args.c io.c lexi.c
Log Message:
indent: sort includes
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/indent/args.c
cvs rdiff -u -r1.99 -
Module Name:src
Committed By: rillig
Date: Sun Oct 24 10:54:12 UTC 2021
Modified Files:
src/usr.bin/indent: args.c io.c lexi.c
Log Message:
indent: sort includes
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/indent/args.c
cvs rdiff -u -r1.99 -
Module Name:src
Committed By: rillig
Date: Wed Oct 20 05:41:57 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h
Log Message:
indent: add reminder to make the code understandable for humans
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/ind
Module Name:src
Committed By: rillig
Date: Wed Oct 20 05:41:57 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h
Log Message:
indent: add reminder to make the code understandable for humans
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/ind
Module Name:src
Committed By: rillig
Date: Wed Oct 20 05:37:21 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: rename ps.last_u_d to match its comment
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.14
Module Name:src
Committed By: rillig
Date: Wed Oct 20 05:37:21 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: rename ps.last_u_d to match its comment
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.14
Module Name:src
Committed By: rillig
Date: Wed Oct 20 05:26:46 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h parse.c
Log Message:
indent: rename parser stack variables
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143
Module Name:src
Committed By: rillig
Date: Wed Oct 20 05:26:46 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h parse.c
Log Message:
indent: rename parser stack variables
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143
Module Name:src
Committed By: rillig
Date: Wed Oct 20 05:07:08 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: invert condition in process_newline
It's hard to follow a condition that combines many negated terms with
'||'. Group the conditions b
Module Name:src
Committed By: rillig
Date: Wed Oct 20 05:07:08 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: invert condition in process_newline
It's hard to follow a condition that combines many negated terms with
'||'. Group the conditions b
Module Name:src
Committed By: rillig
Date: Wed Oct 20 05:00:37 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c
Log Message:
indent: rename next_blank_lines to blank_lines_to_output
The previous name was already an improvement over the name before that
Module Name:src
Committed By: rillig
Date: Wed Oct 20 05:00:37 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c
Log Message:
indent: rename next_blank_lines to blank_lines_to_output
The previous name was already an improvement over the name before that
Module Name:src
Committed By: rillig
Date: Tue Oct 19 21:39:19 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: always keep next_blank_lines >= 0
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/usr.bin/indent
Module Name:src
Committed By: rillig
Date: Tue Oct 19 21:39:19 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: always keep next_blank_lines >= 0
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/usr.bin/indent
Module Name:src
Committed By: rillig
Date: Thu Oct 14 20:23:43 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clarify that 25 is a magic number
The extra line width for comments to the very right is just that, an
arbitrarily chosen number.
Module Name:src
Committed By: rillig
Date: Thu Oct 14 20:15:18 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: turn ps.com_ind into local variable
This makes it immediately clear that ps.com_ind is computed in the first
part of process_comme
Module Name:src
Committed By: rillig
Date: Thu Oct 14 20:23:43 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clarify that 25 is a magic number
The extra line width for comments to the very right is just that, an
arbitrarily chosen number.
Module Name:src
Committed By: rillig
Date: Thu Oct 14 20:15:18 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: turn ps.com_ind into local variable
This makes it immediately clear that ps.com_ind is computed in the first
part of process_comme
Module Name:src
Committed By: rillig
Date: Wed Oct 13 22:38:03 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: extract fits_in_one_line from process_comment
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.7
Module Name:src
Committed By: rillig
Date: Wed Oct 13 22:38:03 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: extract fits_in_one_line from process_comment
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.7
Module Name:src
Committed By: rillig
Date: Tue Oct 12 22:22:35 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: in process_comment, migrate int variable to bool
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r
Module Name:src
Committed By: rillig
Date: Tue Oct 12 22:22:35 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: in process_comment, migrate int variable to bool
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r
Module Name:src
Committed By: rillig
Date: Tue Oct 12 22:20:22 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: in process_comment, negate box_com to may_wrap
In the new line 213, may_wrap could only be true and was therefore a
redundant cond
Module Name:src
Committed By: rillig
Date: Tue Oct 12 22:20:22 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: in process_comment, negate box_com to may_wrap
In the new line 213, may_wrap could only be true and was therefore a
redundant cond
Module Name:src
Committed By: rillig
Date: Tue Oct 12 22:04:03 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: negate a few condition in process_comment
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 sr
Module Name:src
Committed By: rillig
Date: Tue Oct 12 22:04:03 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: negate a few condition in process_comment
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 sr
Module Name:src
Committed By: rillig
Date: Tue Oct 12 19:57:53 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: replace unreachable code with assertion
To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/usr.bin/indent/pr_comme
Module Name:src
Committed By: rillig
Date: Tue Oct 12 19:57:53 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: replace unreachable code with assertion
To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/usr.bin/indent/pr_comme
Module Name:src
Committed By: rillig
Date: Tue Oct 12 19:56:07 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: use high-level buffer API for processing comments
Document the trickery of copying the last word from the previous line
since that
Module Name:src
Committed By: rillig
Date: Tue Oct 12 19:56:07 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: use high-level buffer API for processing comments
Document the trickery of copying the last word from the previous line
since that
Module Name:src
Committed By: rillig
Date: Mon Oct 11 20:31:06 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: use separate variables for lexi_alnum and lexi
These two uses of the variable are independent of each other.
No functional change.
To
Module Name:src
Committed By: rillig
Date: Mon Oct 11 20:31:06 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: use separate variables for lexi_alnum and lexi
These two uses of the variable are independent of each other.
No functional change.
To
Module Name:src
Committed By: rillig
Date: Mon Oct 11 20:13:46 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: clean up comments in lexi and lexi_alnum
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/usr.b
Module Name:src
Committed By: rillig
Date: Mon Oct 11 20:13:46 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: clean up comments in lexi and lexi_alnum
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/usr.b
Module Name:src
Committed By: rillig
Date: Mon Oct 11 19:55:35 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: extract lexi_alnum from lexi
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/usr.bin/indent/le
Module Name:src
Committed By: rillig
Date: Mon Oct 11 19:55:35 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: extract lexi_alnum from lexi
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/usr.bin/indent/le
Module Name:src
Committed By: rillig
Date: Mon Oct 11 19:04:47 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: use bool for suppress_blanklines
It only ever got assigned the values 0 and 1.
No functional change.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Mon Oct 11 19:04:47 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: use bool for suppress_blanklines
It only ever got assigned the values 0 and 1.
No functional change.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Mon Oct 11 18:55:49 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: remove dead code
To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/usr.bin/indent/io.c
Please note that diffs are not pu
Module Name:src
Committed By: rillig
Date: Mon Oct 11 18:55:49 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: remove dead code
To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/usr.bin/indent/io.c
Please note that diffs are not pu
Module Name:src
Committed By: rillig
Date: Sat Oct 9 20:07:37 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: fix lint warning about bsearch discarding 'const'
lexi.c(433): warning: call to 'bsearch' effectively discards 'const'
from argument
Module Name:src
Committed By: rillig
Date: Sat Oct 9 20:07:37 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: fix lint warning about bsearch discarding 'const'
lexi.c(433): warning: call to 'bsearch' effectively discards 'const'
from argument
Module Name:src
Committed By: rillig
Date: Sat Oct 9 11:13:25 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c io.c
Log Message:
indent: condense code for calculating indentations
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.13
Module Name:src
Committed By: rillig
Date: Sat Oct 9 11:13:25 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c io.c
Log Message:
indent: condense code for calculating indentations
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.13
Module Name:src
Committed By: rillig
Date: Sat Oct 9 11:00:27 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c pr_comment.c
Log Message:
indent: extract common code for advancing a single tab
No functional change.
To generate a diff of this commit:
c
Module Name:src
Committed By: rillig
Date: Sat Oct 9 11:00:27 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c pr_comment.c
Log Message:
indent: extract common code for advancing a single tab
No functional change.
To generate a diff of this commit:
c
Module Name:src
Committed By: rillig
Date: Fri Oct 8 23:55:44 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: merge duplicate code in lexer
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/usr.bin/indent/l
Module Name:src
Committed By: rillig
Date: Fri Oct 8 23:55:44 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: merge duplicate code in lexer
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/usr.bin/indent/l
Module Name:src
Committed By: rillig
Date: Fri Oct 8 23:47:41 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c parse.c
Log Message:
indent: clean up comments, parentheses, debug messages, boolean operator
No functional change.
To generate a diff of this commit:
cv
Module Name:src
Committed By: rillig
Date: Fri Oct 8 23:47:41 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c parse.c
Log Message:
indent: clean up comments, parentheses, debug messages, boolean operator
No functional change.
To generate a diff of this commit:
cv
Module Name:src
Committed By: rillig
Date: Fri Oct 8 23:43:33 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: rename in_or_st to init_or_struct
This makes a few comments redundant.
No functional change.
To generate a diff of
Module Name:src
Committed By: rillig
Date: Fri Oct 8 23:43:33 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: rename in_or_st to init_or_struct
This makes a few comments redundant.
No functional change.
To generate a diff of
Module Name:src
Committed By: rillig
Date: Fri Oct 8 22:37:34 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: replace unreachable code with assertions
The input buffer is always supposed to be terminated with a newline. The
function inbuf_r
Module Name:src
Committed By: rillig
Date: Fri Oct 8 22:37:34 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: replace unreachable code with assertions
The input buffer is always supposed to be terminated with a newline. The
function inbuf_r
Module Name:src
Committed By: rillig
Date: Fri Oct 8 22:27:52 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: use standard error handling for unterminated comment
Just writing it to stdout is bad, especially when indent is used in
filter mo
Module Name:src
Committed By: rillig
Date: Fri Oct 8 22:27:52 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: use standard error handling for unterminated comment
Just writing it to stdout is bad, especially when indent is used in
filter mo
Module Name:src
Committed By: rillig
Date: Fri Oct 8 22:22:14 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove redundant conditions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/usr.bin/inde
Module Name:src
Committed By: rillig
Date: Fri Oct 8 22:22:14 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove redundant conditions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/usr.bin/inde
Module Name:src
Committed By: rillig
Date: Fri Oct 8 22:17:36 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h pr_comment.c
Log Message:
indent: convert ps.box_com to local variable
This variable is only used in a single function, and that function does
not call any
Module Name:src
Committed By: rillig
Date: Fri Oct 8 22:17:36 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h pr_comment.c
Log Message:
indent: convert ps.box_com to local variable
This variable is only used in a single function, and that function does
not call any
Module Name:src
Committed By: rillig
Date: Fri Oct 8 21:24:41 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: clean up typename handling
Unexport typenames list.
Replace standard binary search with custom binary search that returns
the inserting
Module Name:src
Committed By: rillig
Date: Fri Oct 8 21:24:41 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: clean up typename handling
Unexport typenames list.
Replace standard binary search with custom binary search that returns
the inserting
Module Name:src
Committed By: rillig
Date: Fri Oct 8 21:18:43 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: enhance comments for lex_number state machine
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/
Module Name:src
Committed By: rillig
Date: Fri Oct 8 21:18:43 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: enhance comments for lex_number state machine
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/
Module Name:src
Committed By: rillig
Date: Fri Oct 8 21:16:23 UTC 2021
Modified Files:
src/usr.bin/indent: io.c lexi.c
Log Message:
indent: improve local variable names
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/usr.bin/inde
Module Name:src
Committed By: rillig
Date: Fri Oct 8 21:16:23 UTC 2021
Modified Files:
src/usr.bin/indent: io.c lexi.c
Log Message:
indent: improve local variable names
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/usr.bin/inde
Module Name:src
Committed By: rillig
Date: Fri Oct 8 21:13:58 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c
Log Message:
indent: rename fill_buffer to inbuf_read_line
No functional change.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Fri Oct 8 21:13:58 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c
Log Message:
indent: rename fill_buffer to inbuf_read_line
No functional change.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Fri Oct 8 20:45:22 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: clean up process_decl, replace unnecessary strlen
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.
Module Name:src
Committed By: rillig
Date: Fri Oct 8 20:45:22 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: clean up process_decl, replace unnecessary strlen
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.
Module Name:src
Committed By: rillig
Date: Fri Oct 8 20:33:18 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: remove unnecessary forward declarations
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/us
Module Name:src
Committed By: rillig
Date: Fri Oct 8 20:33:18 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: remove unnecessary forward declarations
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/us
Module Name:src
Committed By: rillig
Date: Fri Oct 8 20:28:56 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: reduce negations in main_loop
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/usr.bin/inde
Module Name:src
Committed By: rillig
Date: Fri Oct 8 20:28:56 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: reduce negations in main_loop
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/usr.bin/inde
Module Name:src
Committed By: rillig
Date: Fri Oct 8 20:07:44 UTC 2021
Modified Files:
src/usr.bin/indent: args.c
Log Message:
indent: clean up argument handling
Sort the macros, remove redundancy from comment.
Remove redundant lint comment. Lint still does not recogniz
Module Name:src
Committed By: rillig
Date: Fri Oct 8 20:07:44 UTC 2021
Modified Files:
src/usr.bin/indent: args.c
Log Message:
indent: clean up argument handling
Sort the macros, remove redundancy from comment.
Remove redundant lint comment. Lint still does not recogniz
Module Name:src
Committed By: rillig
Date: Fri Oct 8 19:27:20 UTC 2021
Modified Files:
src/usr.bin/indent: args.c
Log Message:
indent: unexport add_typedefs_from_file
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/usr.bin/indent
501 - 600 of 815 matches
Mail list logo