summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2019-03-20Include function name in logging.Nicholas Marriott
2019-03-20Do not leak ranges on error.Nicholas Marriott
2019-03-20Ignore invalid styles rather than throwing away the whole format, thisNicholas Marriott
matches what we used to do.
2019-03-20Bit more logging to show drawing errors.Nicholas Marriott
2019-03-20remove incorrect escaping of '+', correctly escape '-', and garbage collect .TnIngo Schwarze
2019-03-19Include window-status-style and window-status-current style in the format.Nicholas Marriott
2019-03-19Add a cursor_character format.Nicholas Marriott
2019-03-19When the last line of the input is empty and the previous line reducedIngo Schwarze
the line input buffer to a length of one byte, do not write one byte past the end of the line input buffer. Minimal code to show the bug: printf ".ds X\n.X\n\n" | MALLOC_OPTIONS=C mandoc Bug found by bentley@ in the sysutils/rancid par(1) manual page.
2019-03-19Rename the first KEY BINDINGS section to DEFAULT KEY BINDINGS.Nicholas Marriott
2019-03-19When running sendmail, set argv[0] to "sendmail" not "send-mail".Todd C. Miller
This was a historical oddity that dates back to back to the days of delivermail.
2019-03-18Free temporary screens when writing format.Nicholas Marriott
2019-03-18The individual -fg, -bg and -attr options have been deprecated (inNicholas Marriott
favour of -style), undocumented and hidden from show-options since 2014. Remove them, except for status-fg and status-bg.
2019-03-18Add some bits to the STATUS LINE section about the new option.Nicholas Marriott
2019-03-18Extend the #[] style syntax and use that together with previous formatNicholas Marriott
changes to allow the status line to be entirely configured with a single option. Now that it is possible to configure their content, enable the existing code that lets the status line be multiple lines in height. The status option can now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to configure more than one line. The new status-format array option configures the format of each line, the default just references the existing status-* options, although some of the more obscure status options may be eliminated in time. Additions to the #[] syntax are: "align" to specify alignment (left, centre, right), "list" for the window list and "range" to configure ranges of text for the mouse bindings. The "align" keyword can also be used to specify alignment of entries in tree mode and the pane status lines.
2019-03-18add a temporary addition to NAME for openrsync; ok deraadtJason McIntyre
2019-03-18repair a few more yoda comparesTheo de Raadt
2019-03-18Mode init needs to be fired with the mode on the list or it will not beNicholas Marriott
resized correctly.
2019-03-18Add format variables for the default formats for the various modesNicholas Marriott
(tree_mode_format and so on) and add a -a flag to display-message to list variables with values.
2019-03-18Make array options a sparse tree instead of an array of char * andNicholas Marriott
remove the size limit.
2019-03-18With force, kill previous job before starting new. Fixes problemNicholas Marriott
reported by Scott Mcdermott in GitHub issue 1627.
2019-03-18flesh out SYNOPSIS and usage() somewhat;Jason McIntyre
ok deraadt benno
2019-03-18fix a NULL pointer access on empty tbl(7) data cellsIngo Schwarze
that bentley@ found in syncthing-bep(7)
2019-03-18install rsync as openrsync, so that people can easily familiarizeTheo de Raadt
themselves with using it (as front end -- it will talk to the installed 'rsync' on the remote side). this will allow folks to give it a shot, identify weaknesses, collaborate, etc etc etc discussed with benno
2019-03-17Break description of styles into its own section.Nicholas Marriott
2019-03-17The header file "html.h" uses enum roff_tok,Ingo Schwarze
so "roff.h" must be included before it. Diff from bcallah@ tweaked by me; he found the bug by compiling with pcc.
2019-03-17Add the SM4 block cipher from the Chinese standard GB/T 32907-2016.Theo Buehler
Patch from Daniel Wyatt ok inoguchi, jsing
2019-03-17correct example; from pierre emeriaudJason McIntyre
ok claudio
2019-03-16When drawing a horizontal line in tbl(7) UTF-8 output, it is notIngo Schwarze
sufficient to look at two data rows, but up to three are needed: the one above to identify vertical lines branching off upward, the row itself (in case the line is in a data row rather than a layout line) to figure out the horizontal line style, and the row below to identify vertical lines branching off downward. As an example, bentley@ reported from the mpv(1) manual page that in a tbl(7) having a vertical line in the middle and a horizontal line in the bottom data row, the vertical line extended below the bottom horizontal line.
2019-03-16benno helped me clean up the tcp forwarding section;Jason McIntyre
2019-03-16Use a pointer for the active screen in the status line instead ofNicholas Marriott
copying them around all the time.
2019-03-16Give status_save_old the client so it can do the reinit too.Nicholas Marriott
2019-03-16Tidy and rename some bits of status line code.Nicholas Marriott
2019-03-16Fix a buffer over-read while dumping functions.Sunil Nimmagadda
A bogus vlen in metadata could cause offset point beyond CTF section boundary. Found by afl-fuzz. Ok mpi@
2019-03-16Fix a buffer over-read while dumping structs/unions.Sunil Nimmagadda
A bogus vlen in metadata could cause offset point beyond CTF section boundary. Found by afl-fuzz. Ok mpi@
2019-03-16Fix a buffer over-read while dumping enums.Sunil Nimmagadda
A bogus vlen in metadata could cause offset point beyond CTF section boundary. Found by afl-fuzz. Feedback and Ok mpi@
2019-03-15Add a way to set individual defaults for an array option.Nicholas Marriott
2019-03-15Add a : to make error messages clearer.Nicholas Marriott
2019-03-15Copy recursion counter into new formats when looping.Nicholas Marriott
2019-03-15Move status line free into its own function.Nicholas Marriott
2019-03-15Remove unused member of struct client.Nicholas Marriott
2019-03-15Only print format logging when the flag is set, even if also sending to ↵Nicholas Marriott
log_debug.
2019-03-15The pane and window loops need to pass the window and pane tags whenNicholas Marriott
they build their format.
2019-03-15Add a -v flag to display-message to show verbose messages as the formatNicholas Marriott
is parsed, this gives the user a way to debug problems with formats rather than just being confronted with (for example) a blank status line.
2019-03-14Add a limit on how far format_expand can recurse.Nicholas Marriott
2019-03-14Store the time in the format tree rather than passing it around.Nicholas Marriott
2019-03-14Remove some unnecessary temporary variables and be much less strictNicholas Marriott
about spacing in style_parse.
2019-03-14Add format flags for start and end window.Nicholas Marriott
2019-03-14Add T format modifier like E but also do strftime(3).Nicholas Marriott
2019-03-14Accept 0 time as a shorthand for now to format_expand_time.Nicholas Marriott
2019-03-14Fix ED1 (clear end of screen), reported by Marc Reisner.Nicholas Marriott