Module Name:src
Committed By: rillig
Date: Sat Mar 13 09:06:12 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: remove strange debugging code that went in the output file
Whenever the code to be output contained the magic byte 0x80, instead of
writin
Module Name:src
Committed By: rillig
Date: Sat Mar 13 09:21:57 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c lexi.c
Log Message:
indent: add debug logging for actually writing to the output file
Together with the results of the tokenizer and the 4 bu
Module Name:src
Committed By: rillig
Date: Sat Mar 13 09:48:04 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: manually fix indentation in indent's own source code
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/indent/io.
Module Name:src
Committed By: rillig
Date: Sat Mar 13 09:54:12 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c pr_comment.c
Log Message:
indent: replace compute_label_column with compute_label_indent
Using the invariant 'column == 1 + indent'. This removes sev
Module Name:src
Committed By: rillig
Date: Sat Mar 13 10:06:47 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c pr_comment.c
Log Message:
indent: replace compute_code_column with compute_code_indent
The goal is to only ever be concerned about the _inden
Module Name:src
Committed By: rillig
Date: Sat Mar 13 10:20:54 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c
Log Message:
indent: replace column computation with indentation computation
No functional change.
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: rillig
Date: Sat Mar 13 10:32:25 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c pr_comment.c
Log Message:
indent: inline calls to count_spaces and count_spaces_until
These two functions operated on column numbers instead
Module Name:src
Committed By: rillig
Date: Sat Mar 13 10:47:59 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: document undefined behavior in processing of comments
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: rillig
Date: Sat Mar 13 11:19:43 UTC 2021
Modified Files:
src/usr.bin/indent: args.c indent.c indent_globs.h io.c pr_comment.c
Log Message:
indent: fix confusing variable names
The word 'col' should only be used for the 1-based column number.
Module Name:src
Committed By: rillig
Date: Sat Mar 13 11:27:01 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c lexi.c pr_comment.c
Log Message:
indent: remove redundant parentheses
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52
Module Name:src
Committed By: rillig
Date: Sat Mar 13 11:47:22 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: split 'main' into manageable parts
Since several years (maybe even decades) compilers know how to inline
static functions that are onl
Module Name:src
Committed By: rillig
Date: Sat Mar 13 12:52:24 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: split 'main_loop' into several functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr
Module Name:src
Committed By: rillig
Date: Sat Mar 13 13:04:13 UTC 2021
Modified Files:
src/tests/usr.bin/indent: token-preprocessing.0
token-preprocessing.0.stdout
Log Message:
tests/indent: add another test case for preprocessing directives
In process_prepro
Module Name:src
Committed By: rillig
Date: Sat Mar 13 13:14:14 UTC 2021
Modified Files:
src/tests/usr.bin/indent: token-preprocessing.0.stdout
src/usr.bin/indent: indent.c
Log Message:
indent: fix handling of '/*' in string literal in preprocessing line
Previously
Module Name:src
Committed By: rillig
Date: Sat Mar 13 13:25:23 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h indent_globs.h pr_comment.c
Log Message:
indent: rename pr_comment to process_comment, clean up documentation
No functional change.
To generate
Module Name:src
Committed By: rillig
Date: Sat Mar 13 13:51:08 UTC 2021
Modified Files:
src/usr.bin/indent: args.c indent.c indent_globs.h io.c pr_comment.c
Log Message:
indent: distinguish between 'column' and 'indentation'
column == 1 + indentation.
In addition, indent
Module Name:src
Committed By: rillig
Date: Sat Mar 13 13:54:01 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: in dump_line, reduce scope of local variable
This allows the variable 'target' in the lower half of the function to
get a more specific na
Module Name:src
Committed By: rillig
Date: Sat Mar 13 13:55:42 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: rename local variable in dump_line
This clarifies that the variable names a column, not an indentation.
To generate a diff of this commi
Module Name:src
Committed By: skrll
Date: Sat Mar 13 15:29:13 UTC 2021
Modified Files:
src/sys/uvm/pmap: pmap.c
Log Message:
Don't use %jx for 0 or 1 - just use %jd in UVMHIST_LOG format.
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/uvm/pmap/pmap
Module Name:src
Committed By: skrll
Date: Sat Mar 13 15:29:56 UTC 2021
Modified Files:
src/sys/uvm: uvm_amap.c uvm_aobj.c uvm_bio.c uvm_device.c uvm_km.c
uvm_map.c uvm_swap.c uvm_vnode.c
src/sys/uvm/pmap: pmap_segtab.c
Log Message:
Consistently use %#jx
Module Name:src
Committed By: christos
Date: Sat Mar 13 15:46:54 UTC 2021
Modified Files:
src/usr.bin/sed: compile.c
Log Message:
Handle \t too (RVP)
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/sed/compile.c
Please note that diffs are not p
Module Name:src
Committed By: christos
Date: Sat Mar 13 16:46:49 UTC 2021
Modified Files:
src/lib/libwrap: Makefile
Log Message:
record the libblocklist dependency
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libwrap/Makefile
Please note that di
Module Name:src
Committed By: skrll
Date: Sat Mar 13 17:14:12 UTC 2021
Modified Files:
src/sys/arch/mips/include: pcb.h
src/sys/arch/mips/mips: trap.c
src/sys/uvm/pmap: pmap.c
Log Message:
s/pfi_faultpte/&p/ for consistency with arm / other uses of ptep
T
Module Name:src
Committed By: rillig
Date: Sat Mar 13 18:11:31 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove the '+ 1' from right margin calculation in comment
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sat Mar 13 18:24:56 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: align comments in indent's own code
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/inde
Module Name:src
Committed By: rillig
Date: Sat Mar 13 18:46:39 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c io.c
Log Message:
indent: add debug logging for switching the input buffer
No functional change outside debug mode.
To generate a diff of this commit:
cv
Module Name:src
Committed By: palle
Date: Sat Mar 13 20:21:37 UTC 2021
Modified Files:
src/sys/arch/sparc64/dev: vnet.c
Log Message:
sun4v: vnet - reception and transmission of eternet frames seems to work now
(it is possible to ping 8.8.8.8 from inside a sun4v ldom). Sti
Module Name:src
Committed By: mlelstv
Date: Sat Mar 13 23:22:44 UTC 2021
Modified Files:
src/sys/dev/sdmmc: sdmmcvar.h
Log Message:
define NO_STOP flag
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/sdmmc/sdmmcvar.h
Please note that diffs are
Module Name:src
Committed By: mlelstv
Date: Sat Mar 13 23:26:47 UTC 2021
Modified Files:
src/sys/dev/sdmmc: sdhc.c
Log Message:
Enable block count only for count > 0.
Don't enable autostop when command sets new flag SCF_NO_STOP.
To generate a diff of this commit:
cvs rdi
Module Name:src
Committed By: rillig
Date: Sat Mar 13 23:36:10 UTC 2021
Modified Files:
src/usr.bin/indent: indent_globs.h
Log Message:
indent: fix documentation of parser_state.paren_indents
The column position is not the same as the indentation (off-by-one).
To genera
Module Name:src
Committed By: rillig
Date: Sat Mar 13 23:42:23 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h
Log Message:
indent: remove disabled duplicate RCS ID from header
By convention, headers don't record their RCS ID.
To generate a diff of this commit:
cv
Module Name:src
Committed By: rillig
Date: Sun Mar 14 00:22:16 UTC 2021
Modified Files:
src/usr.bin/indent: Makefile args.c indent.c io.c lexi.c pr_comment.c
Log Message:
indent: fix lint warnings
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1
Module Name:src
Committed By: rillig
Date: Sun Mar 14 00:33:25 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h
Log Message:
indent: give indent a try at formatting its own code
Formatting indent.h required the following manual corrections
afterwards:
The first tab
Module Name:src
Committed By: rillig
Date: Sun Mar 14 00:50:39 UTC 2021
Modified Files:
src/tests/usr.bin/indent: token-comment.0 token-comment.0.stdout
Log Message:
tests/indent: demonstrate off-by-one error in comment processing
To generate a diff of this commit:
cvs r
Module Name:src
Committed By: rillig
Date: Sun Mar 14 01:34:13 UTC 2021
Modified Files:
src/tests/usr.bin/indent: comments.0 comments.0.stdout opt-P.0.stdout
opt-bap+sob.0.stdout token-comment.0.stdout
token-keyword_do_else.0.stdout
src/usr.b
Module Name:src
Committed By: rillig
Date: Sun Mar 14 01:44:37 UTC 2021
Modified Files:
src/usr.bin/indent: io.c
Log Message:
indent: make compute_code_indent more readable
The '?:' operator computing the factor was too hard to read. When
quickly scanning the code, the 1
Module Name:src
Committed By: rin
Date: Sun Mar 14 02:53:57 UTC 2021
Modified Files:
src/sys/sys: systm.h
Log Message:
Comment on CTASSERT() in COND_SET_STRUCT(); this is a sanity check to
avoid hashing/assigning large structure. Upper-bound is arbitrary, but
be carefully
Module Name:src
Committed By: rin
Date: Sun Mar 14 02:56:07 UTC 2021
Modified Files:
src/share/man/man4: options.4
Log Message:
Document NFS_BOOT_UDP instead of NFS_BOOT_TCP; We've switched to
NFS over TCP by default.
Bump date.
To generate a diff of this commit:
cvs rd
Module Name:src
Committed By: rin
Date: Sun Mar 14 02:56:51 UTC 2021
Modified Files:
src/sbin/mount_nfs: mount_nfs.8
Log Message:
Fix typo: s/--r/-r/
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sbin/mount_nfs/mount_nfs.8
Please note that diffs are
Module Name:src
Committed By: rin
Date: Sun Mar 14 03:14:42 UTC 2021
Modified Files:
src/sys/dev/pci: radeonfb.c
Log Message:
Initialize dp->rd_cmap_{red,green,blue} in radeonfb_init_palette() for 8bpp,
so that color map can be obtained by WSDISPLAYIO_GETCMAP ioctl(2).
No
Module Name:src
Committed By: rin
Date: Sun Mar 14 03:25:01 UTC 2021
Modified Files:
src/sys/arch/mac68k/mac68k: locore.s
Log Message:
Fix DJMEMCMAX option for Quadra/Centris 650/800.
- Use jeq instead of jra for conditional branch.
- Use cmpl instead of cmp (= cmpw) for
Module Name:src
Committed By: rin
Date: Sun Mar 14 03:35:39 UTC 2021
Modified Files:
src/sys/arch/evbppc/conf: EXPLORA451
Log Message:
Enable NFS_BOOT_UDP; on-board NIC seems to be too slow for overhead due to
NFS over TCP. Some scores of pkgsrc/benchmarks/bonnie improve n
Module Name:src
Committed By: rillig
Date: Sun Mar 14 04:42:17 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clean up target column computation in process_comment
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: rillig
Date: Sun Mar 14 04:52:10 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: remove trailing whitespace
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/indent/pr_comment.c
Please
Module Name:src
Committed By: rillig
Date: Sun Mar 14 05:26:42 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: clean up check_size_comment
The additional parameter last_bl_ptr was only necessary because the last
blank was stored as a pointer
45 matches
Mail list logo