Module Name:src
Committed By: rillig
Date: Fri Nov 19 19:15:55 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: merge duplicate code into is_identifier_part
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src
Module Name:src
Committed By: rillig
Date: Fri Nov 19 18:25:50 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c
Log Message:
indent: unexport inbuf
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/usr.bin/indent/indent.h
Module Name:src
Committed By: rillig
Date: Fri Nov 19 18:25:50 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c
Log Message:
indent: unexport inbuf
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/usr.bin/indent/indent.h
Module Name:src
Committed By: rillig
Date: Fri Nov 19 18:23:59 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c pr_comment.c
Log Message:
indent: use character input API from pr_comment.c
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: rillig
Date: Fri Nov 19 18:23:59 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c pr_comment.c
Log Message:
indent: use character input API from pr_comment.c
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: rillig
Date: Fri Nov 19 18:14:18 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c
Log Message:
indent: remove all references to inbuf from indent.c
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1
Module Name:src
Committed By: rillig
Date: Fri Nov 19 18:14:18 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c
Log Message:
indent: remove all references to inbuf from indent.c
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1
Module Name:src
Committed By: rillig
Date: Fri Nov 19 17:59:16 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c
Log Message:
indent: move character input handling from indent.c to io.c
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Fri Nov 19 17:59:16 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c
Log Message:
indent: move character input handling from indent.c to io.c
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Fri Nov 19 17:42:46 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c
Log Message:
indent: move character input from indent.c to io.c
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.2
Module Name:src
Committed By: rillig
Date: Fri Nov 19 17:42:46 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c
Log Message:
indent: move character input from indent.c to io.c
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.2
Module Name:src
Committed By: rillig
Date: Fri Nov 19 17:30:10 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c lexi.c
Log Message:
indent: use character input API from the tokenizer
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.90
Module Name:src
Committed By: rillig
Date: Fri Nov 19 17:30:10 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c lexi.c
Log Message:
indent: use character input API from the tokenizer
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.90
Module Name:src
Committed By: rillig
Date: Fri Nov 19 17:20:57 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c lexi.c
Log Message:
indent: move character input handling from lexi.c to io.c
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Fri Nov 19 17:20:57 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c lexi.c
Log Message:
indent: move character input handling from lexi.c to io.c
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Fri Nov 19 17:11:46 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c pr_comment.c
Log Message:
indent: replace direct access to the input buffer
This is a preparation for abstracting away all the low-level de
Module Name:src
Committed By: rillig
Date: Fri Nov 19 17:11:46 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c pr_comment.c
Log Message:
indent: replace direct access to the input buffer
This is a preparation for abstracting away all the low-level de
Module Name:src
Committed By: rillig
Date: Fri Nov 19 15:34:25 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: add debug logging for input buffer handling
To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/usr.bin/indent/indent
Module Name:src
Committed By: rillig
Date: Fri Nov 19 15:34:25 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: add debug logging for input buffer handling
To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/usr.bin/indent/indent
Module Name:src
Committed By: rillig
Date: Fri Nov 19 15:32:13 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h pr_comment.c
Log Message:
indent: rename input buffer variables
>From reading the names 'save_com' and 'sc_end', it was not obvious
enough that th
Module Name:src
Committed By: rillig
Date: Fri Nov 19 15:32:13 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h pr_comment.c
Log Message:
indent: rename input buffer variables
>From reading the names 'save_com' and 'sc_end', it was not obvious
enough that th
Module Name:src
Committed By: rillig
Date: Fri Nov 19 15:28:32 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c
Log Message:
indent: group variables for input handling
No functional change.
To generate a diff of this commit:
cvs rd
Module Name:src
Committed By: rillig
Date: Fri Nov 19 15:28:32 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c
Log Message:
indent: group variables for input handling
No functional change.
To generate a diff of this commit:
cvs rd
Module Name:src
Committed By: rillig
Date: Thu Nov 18 23:26:58 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: prevent use-after-free bug
Triggered by the following artificial program:
snip
int *
f
(
Module Name:src
Committed By: rillig
Date: Thu Nov 18 23:26:58 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: prevent use-after-free bug
Triggered by the following artificial program:
snip
int *
f
(
Module Name:src
Committed By: rillig
Date: Thu Nov 18 16:54:35 UTC 2021
Added Files:
src/usr.bin/indent: README.md
Removed Files:
src/usr.bin/indent: README
Log Message:
indent: replace old license discussion with a brief history section
To generate a diff of thi
Module Name:src
Committed By: rillig
Date: Thu Nov 18 16:54:35 UTC 2021
Added Files:
src/usr.bin/indent: README.md
Removed Files:
src/usr.bin/indent: README
Log Message:
indent: replace old license discussion with a brief history section
To generate a diff of thi
Module Name:src
Committed By: rillig
Date: Sun Nov 7 18:26:17 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c parse.c pr_comment.c
Log Message:
indent: various cleanups
Make several comments more precise.
Rename process_end_of_file to process_eof t
Module Name:src
Committed By: rillig
Date: Sun Nov 7 18:26:17 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c parse.c pr_comment.c
Log Message:
indent: various cleanups
Make several comments more precise.
Rename process_end_of_file to process_eof t
Module Name:src
Committed By: rillig
Date: Sun Nov 7 15:18:25 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: rename ps.decl_nest to decl_level
This better matches the comment.
No functional change.
To generate a diff of this
Module Name:src
Committed By: rillig
Date: Sun Nov 7 15:18:25 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: rename ps.decl_nest to decl_level
This better matches the comment.
No functional change.
To generate a diff of this
Module Name:src
Committed By: rillig
Date: Sun Nov 7 14:04:35 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: move ps.p_l_follow closer to lsym_type_outside_parentheses
This makes it easier to see the relation between these two.
No functional ch
Module Name:src
Committed By: rillig
Date: Sun Nov 7 14:04:35 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: move ps.p_l_follow closer to lsym_type_outside_parentheses
This makes it easier to see the relation between these two.
No functional ch
Module Name:src
Committed By: rillig
Date: Sun Nov 7 14:00:35 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h
Log Message:
indent: reduce negations in process_else, clean up comments
No functional change.
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: rillig
Date: Sun Nov 7 14:00:35 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h
Log Message:
indent: reduce negations in process_else, clean up comments
No functional change.
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: rillig
Date: Sun Nov 7 13:43:11 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h
Log Message:
indent: document the comment buffer more accurately
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/usr.bin/indent/indent.h
Module Name:src
Committed By: rillig
Date: Sun Nov 7 13:43:11 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h
Log Message:
indent: document the comment buffer more accurately
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/usr.bin/indent/indent.h
Module Name:src
Committed By: rillig
Date: Sun Nov 7 13:38:32 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove code that accessed out-of-bounds data from buffer
Saving and restoring the exact buffer position had been necessary before
Module Name:src
Committed By: rillig
Date: Sun Nov 7 13:38:32 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove code that accessed out-of-bounds data from buffer
Saving and restoring the exact buffer position had been necessary before
Module Name:src
Committed By: rillig
Date: Sun Nov 7 12:29:58 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: do not expand comment buffer unnecessarily
This may have been a simple typo or a really tricky optimization that
isn't obvious eve
Module Name:src
Committed By: rillig
Date: Sun Nov 7 12:29:58 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: do not expand comment buffer unnecessarily
This may have been a simple typo or a really tricky optimization that
isn't obvious eve
Module Name:src
Committed By: rillig
Date: Sun Nov 7 11:08:25 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove dead code from copy_comment_wrap
C99 comments are not wrapped, therefore there is no need to check for
them in copy_comment
Module Name:src
Committed By: rillig
Date: Sun Nov 7 11:08:25 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove dead code from copy_comment_wrap
C99 comments are not wrapped, therefore there is no need to check for
them in copy_comment
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:56:06 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: move documentation from process_comment to copy_comment_wrap
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:56:06 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: move documentation from process_comment to copy_comment_wrap
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:49:31 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clean up process_comment
The assignments to the variables were redundant, they are already done
by analyze_comment.
No functional
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:49:31 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clean up process_comment
The assignments to the variables were redundant, they are already done
by analyze_comment.
No functional
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:34:03 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: make end of comment detection of nowrap comments simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:34:03 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: make end of comment detection of nowrap comments simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:31:13 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clean up overcomplicated conditions in copy_comment_nowrap
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:31:13 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clean up overcomplicated conditions in copy_comment_nowrap
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:26:43 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: skip redundant conditions in copy_comment_nowrap
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.104 -
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:26:43 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: skip redundant conditions in copy_comment_nowrap
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.104 -
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:17:39 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clean up copy_comment_nowrap
The action for '\f' was the same as the default action.
Replacing 'switch' with 'if' makes the code
Module Name:src
Committed By: rillig
Date: Sun Nov 7 10:17:39 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clean up copy_comment_nowrap
The action for '\f' was the same as the default action.
Replacing 'switch' with 'if' makes the code
Module Name:src
Committed By: rillig
Date: Sun Nov 7 08:41:13 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove dead code from process_comment_nowrap
In comments that are preserved, no additional leading ' * ' is inserted.
No function
Module Name:src
Committed By: rillig
Date: Sun Nov 7 08:41:13 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove dead code from process_comment_nowrap
In comments that are preserved, no additional leading ' * ' is inserted.
No function
Module Name:src
Committed By: rillig
Date: Sun Nov 7 08:38:27 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove dead code from copy_comment_wrap
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 sr
Module Name:src
Committed By: rillig
Date: Sun Nov 7 08:38:27 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove dead code from copy_comment_wrap
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 sr
Module Name:src
Committed By: rillig
Date: Sun Nov 7 08:31:46 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove dead code from copy_comment_nowrap
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 s
Module Name:src
Committed By: rillig
Date: Sun Nov 7 08:31:46 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove dead code from copy_comment_nowrap
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 s
Module Name:src
Committed By: rillig
Date: Sun Nov 7 08:24:50 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h pr_comment.c
Log Message:
indent: split copy_comment into wrapping and non-wrapping
These two cases are processed in an almost entirely different way. In
p
Module Name:src
Committed By: rillig
Date: Sun Nov 7 08:24:50 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h pr_comment.c
Log Message:
indent: split copy_comment into wrapping and non-wrapping
These two cases are processed in an almost entirely different way. In
p
Module Name:src
Committed By: rillig
Date: Sun Nov 7 07:35:06 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: distinguish between typename in parentheses and other words
This gets rid of two members of parser_state. No functiona
Module Name:src
Committed By: rillig
Date: Sun Nov 7 07:35:06 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: distinguish between typename in parentheses and other words
This gets rid of two members of parser_state. No functiona
Module Name:src
Committed By: rillig
Date: Sun Nov 7 07:06:00 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c
Log Message:
indent: rename 'inbuf' functions to 'inp'
The variable 'inp' used to be named 'inbuf'. Make the function nam
Module Name:src
Committed By: rillig
Date: Sun Nov 7 07:06:00 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c
Log Message:
indent: rename 'inbuf' functions to 'inp'
The variable 'inp' used to be named 'inbuf'. Make the function nam
Module Name:src
Committed By: rillig
Date: Fri Nov 5 22:06:43 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: consistently use token.e[-1] for the last added character
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.13
Module Name:src
Committed By: rillig
Date: Fri Nov 5 22:06:43 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: consistently use token.e[-1] for the last added character
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.13
Module Name:src
Committed By: rillig
Date: Fri Nov 5 21:52:17 UTC 2021
Modified Files:
src/usr.bin/indent: args.c
Log Message:
indent: clean up argument parsing
In struct pro, place the dependent member below its dependency.
In load_profile, consistently use -1 when out
Module Name:src
Committed By: rillig
Date: Fri Nov 5 21:52:17 UTC 2021
Modified Files:
src/usr.bin/indent: args.c
Log Message:
indent: clean up argument parsing
In struct pro, place the dependent member below its dependency.
In load_profile, consistently use -1 when out
Module Name:src
Committed By: rillig
Date: Fri Nov 5 21:39:12 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c
Log Message:
indent: the '+ 1' in dump_line_code is not an off-by-one error
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/usr.bin
Module Name:src
Committed By: rillig
Date: Fri Nov 5 21:39:12 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c
Log Message:
indent: the '+ 1' in dump_line_code is not an off-by-one error
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/usr.bin
Module Name:src
Committed By: rillig
Date: Fri Nov 5 21:08:04 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: add debug output for remaining members of parser_status
To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/usr.bin/ind
Module Name:src
Committed By: rillig
Date: Fri Nov 5 21:08:04 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: add debug output for remaining members of parser_status
To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/usr.bin/ind
Module Name:src
Committed By: rillig
Date: Fri Nov 5 19:42:48 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: rename process_keyword_do to process_do, same for 'else'
Before the symbols from the tokenizer had the prefix 'lsym', the symbols
coul
Module Name:src
Committed By: rillig
Date: Fri Nov 5 19:42:48 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: rename process_keyword_do to process_do, same for 'else'
Before the symbols from the tokenizer had the prefix 'lsym', the symbols
coul
Module Name:src
Committed By: rillig
Date: Thu Nov 4 20:31:05 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: split process_comment_in_code into separate functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.206
Module Name:src
Committed By: rillig
Date: Thu Nov 4 20:31:05 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: split process_comment_in_code into separate functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.206
Module Name:src
Committed By: rillig
Date: Thu Nov 4 19:23:57 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: do not discard former error comments anymore
Since io.c 1.20 from 2019-10-19, indent has not placed error comments in
the code anymore. Si
Module Name:src
Committed By: rillig
Date: Thu Nov 4 19:23:57 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: do not discard former error comments anymore
Since io.c 1.20 from 2019-10-19, indent has not placed error comments in
the code anymore. Si
Module Name:src
Committed By: rillig
Date: Thu Nov 4 17:37:03 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: split process_comments into separate functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.
Module Name:src
Committed By: rillig
Date: Thu Nov 4 17:37:03 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: split process_comments into separate functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.
Module Name:src
Committed By: rillig
Date: Thu Nov 4 17:10:37 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: extract compute_code_indent_lineup into separate function
Having 9 different paths in a single function made it more complicated
to unders
Module Name:src
Committed By: rillig
Date: Thu Nov 4 17:10:37 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: extract compute_code_indent_lineup into separate function
Having 9 different paths in a single function made it more complicated
to unders
Module Name:src
Committed By: rillig
Date: Thu Nov 4 17:08:50 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: fix off-by-one confusion in paren_indent
The variable was called 'indent' but actually contained a 'column',
which was off by one.
No fun
Module Name:src
Committed By: rillig
Date: Thu Nov 4 17:08:50 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: fix off-by-one confusion in paren_indent
The variable was called 'indent' but actually contained a 'column',
which was off by one.
No fun
Module Name:src
Committed By: rillig
Date: Thu Nov 4 17:07:02 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: replace column computation with indentation computation
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.110 -r
Module Name:src
Committed By: rillig
Date: Thu Nov 4 17:07:02 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: replace column computation with indentation computation
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.110 -r
Module Name:src
Committed By: rillig
Date: Thu Nov 4 00:13:57 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: group conditions in compute_code_indent by topic
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 s
Module Name:src
Committed By: rillig
Date: Thu Nov 4 00:13:57 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: group conditions in compute_code_indent by topic
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 s
Module Name:src
Committed By: rillig
Date: Wed Nov 3 21:47:35 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c pr_comment.c
Log Message:
indent: inline indentation_after, shorten function name to ind_add
There were only few calls to indentation_after,
Module Name:src
Committed By: rillig
Date: Wed Nov 3 21:47:35 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c pr_comment.c
Log Message:
indent: inline indentation_after, shorten function name to ind_add
There were only few calls to indentation_after,
Module Name:src
Committed By: rillig
Date: Sun Oct 31 22:38:12 UTC 2021
Modified Files:
src/usr.bin/indent: args.c indent.c indent.h lexi.c
Log Message:
indent: clean up
Initialize buffers in reading order, make comments more expressive,
rename add_typename to register_ty
Module Name:src
Committed By: rillig
Date: Sun Oct 31 22:38:12 UTC 2021
Modified Files:
src/usr.bin/indent: args.c indent.c indent.h lexi.c
Log Message:
indent: clean up
Initialize buffers in reading order, make comments more expressive,
rename add_typename to register_ty
Module Name:src
Committed By: rillig
Date: Sun Oct 31 20:59:26 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: remove redundant keyword.is_type
It is still confusing that not all type keywords end up as lsym_type.
Those that occur inside parenthes
Module Name:src
Committed By: rillig
Date: Sun Oct 31 20:59:26 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: remove redundant keyword.is_type
It is still confusing that not all type keywords end up as lsym_type.
Those that occur inside parenthes
Module Name:src
Committed By: rillig
Date: Sun Oct 31 20:40:42 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: replace kw_tag with lsym_tag
This leaves only one special type of token, which is lsym_ident, which
in some cases repr
Module Name:src
Committed By: rillig
Date: Sun Oct 31 20:40:42 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: replace kw_tag with lsym_tag
This leaves only one special type of token, which is lsym_ident, which
in some cases repr
Module Name:src
Committed By: rillig
Date: Sun Oct 31 19:57:44 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: replace simple cases of keyword_kind with lexer_symbol
The remaining keyword kinds 'tag' and 'type' require a bit more
301 - 400 of 815 matches
Mail list logo