Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-18 | Make HTML output more human readable by overhauling line break logic | Ingo Schwarze | |
around tags and by introducing some simple indentation. No change of HTML semantics intended. | |||
2017-01-18 | Plain stravis() because it will mangle UTF-8 characters, so add | Nicholas Marriott | |
utf8_stravis() which calls our existing utf8_strvis() and use it instead | |||
2017-01-18 | Run arguments through vis() as well when printing them. | Nicholas Marriott | |
2017-01-18 | Do not reset idx, it has just been set. | Nicholas Marriott | |
2017-01-18 | options_match needs to explicitly check for user options. | Nicholas Marriott | |
2017-01-17 | Completely delete the buf field of struct html and all the buf*() | Ingo Schwarze | |
interfaces. Such a static buffer was a bad idea in the first place, causing unfixable truncation that was only prevented by triggering an assertion failure. Instead, let the small number of remaining users allocate and free their own, temporary dynamic buffers, or for the case of .Xr and .In, pass the original data to be assembled in print_otag(). | |||
2017-01-17 | Simplify the usage of print_otag() by making it accept a variable | Ingo Schwarze | |
number of arguments. Delete struct htmlpair and all the PAIR_*() macros. Delete enum htmlattr, handle that in print_otag() instead. Minus 190 lines of code; no functional change except better ordering of attributes (class before style) in three cases. | |||
2017-01-16 | Correctly handle -style options without all of a corresponding -fg/-bg/-attr. | Nicholas Marriott | |
2017-01-16 | Revert WIP parts of previous I didn't mean to commit yet. | Nicholas Marriott | |
2017-01-16 | getopt() has a struct option so just return to using options_entry. | Nicholas Marriott | |
2017-01-15 | It is silly for cmd_list_parse to return an integer error when it could | Nicholas Marriott | |
just return NULL. | |||
2017-01-15 | -q flag now needs to be checked in a couple more places. | Nicholas Marriott | |
2017-01-15 | Major tidy up and rework of options tree and set-option/show-options | Nicholas Marriott | |
commands this pushes more of the code into options.c and ties it more closely to the options table rather than having an unnecessary split. Also add support for array options (will be used later). Only (intentional) user visible change is that show-options output is now passed through vis(3) with VIS_DQ so quotes are escaped. | |||
2017-01-15 | Remove unused quiet option. | Nicholas Marriott | |
2017-01-15 | Append needs to go old,new not new,old... | Nicholas Marriott | |
2017-01-15 | When looking up macro values while the macro tables are being built | Ingo Schwarze | |
in makewhatis(8), use ohash rather than linear searches. This was identified as the main makewhatis(8) performance bottleneck by Baptiste Daroussin <bapt at FreeBSD>, who also suggested part of the improved algorithm. This reduces the run time of "makewhatis /usr/share/man" from eleven to five seconds on my notebook. Note that the changed code is not used in apropos(1), so don't expect speedups there. While here, sort macro values asciibetically, to improve reproducibility - which still isn't perfect, but getting better. | |||
2017-01-14 | killp -a should not kill the window if only one pane. | Nicholas Marriott | |
2017-01-14 | add a geteuid check to make sure we're root before plowing into setauth. | Ted Unangst | |
spare some debugging effort in case doas is not installed setuid. | |||
2017-01-14 | HTTPS proxy support for ftp-ssl. | Jeremie Courreges-Anglas | |
The install media already allow for plaintext HTTP proxying. The code to support CONNECT is short enough. Reported/fix tested by rpe@, ok deraadt@ | |||
2017-01-13 | options_get_style return const too. | Nicholas Marriott | |
2017-01-13 | Make options_get_string return const string. | Nicholas Marriott | |
2017-01-13 | Add -E to detach-client to exec a command to replace the client instead | Nicholas Marriott | |
of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius. | |||
2017-01-12 | Fix the "t" command for the case where we go down by just a few lines: | Ingo Schwarze | |
clear the status before printing content on the last line of the screen. OK millert@ tom@ | |||
2017-01-12 | Skipping all escape sequences at the beginning of strings in deroff() | Ingo Schwarze | |
was too aggressive. There are strings that legitimately begin with an escape sequence. Only skip leading escape sequences representing whitespace. Bug reported by martijn@. | |||
2017-01-12 | show meta data for -Ttree output | Ingo Schwarze | |
2017-01-12 | Simplify appending to string options. | Nicholas Marriott | |
2017-01-12 | Put all palette functions together in the file. | Nicholas Marriott | |
2017-01-12 | aixterm colours can be used if -2 is given, as well as if TERM tells us | Nicholas Marriott | |
the terminal has >=16 colours. | |||
2017-01-12 | Erm the aixterm colours should start at 8, not 7. | Nicholas Marriott | |
2017-01-12 | Fix setting the palette of aixterm colours (90-97). | Nicholas Marriott | |
2017-01-11 | Be less aggressive about turning margins off. | Nicholas Marriott | |
2017-01-11 | Add some missing special keys to key_string_lookup_key, fix a mouse | Nicholas Marriott | |
check in server_client_handle_key, and tweak a comment. | |||
2017-01-11 | Do text production for .Bt, .Ex, .Rv, .Ud at the validation stage | Ingo Schwarze | |
rather than in the formatters. Use NODE_NOSRC flag for .Lb and NODE_NOSRC and NODE_NOPRT for .St. Results in a more rigorous syntax tree and in 135 lines less code. This work was triggered by a question from Abhinav Upadhyay <er dot abhinav dot upadhyay at gmail dot com> (NetBSD) on discuss@. | |||
2017-01-11 | Add a format for terminal type. | Nicholas Marriott | |
2017-01-11 | Use a macro for looking up tty types. | Nicholas Marriott | |
2017-01-11 | Some tidying and tweaks to options code. | Nicholas Marriott | |
2017-01-11 | Add "support" for AArch64 to make it compile. | Patrick Wildt | |
2017-01-11 | Don't attempt to read .netrc when we already force anonymous FTP (-a). | Vadim Zhukov | |
Patch from Anton Lindqvist via tech@, thanks! okay deraadt@ | |||
2017-01-10 | Use new NODE_NOSRC and NODE_NOPRT flags for .Bx and .At. | Ingo Schwarze | |
More rigorous AST and 40 lines less code. | |||
2017-01-10 | For the .Ux/.Ox family of macros, do text production at the validation | Ingo Schwarze | |
stage rather than in each and every individual formatter, using the new NODE_NOSRC flag. More rigorous and also ten lines less code. | |||
2017-01-10 | Minor tidying in a couple of commands. | Nicholas Marriott | |
2017-01-10 | Need to escape ; twice because the command list parser will eat one, | Nicholas Marriott | |
reported by Theo Buehler. | |||
2017-01-10 | Pledge more strictly. This is only enabled on the ramdisk version of the | Theo de Raadt | |
ftp(1) client, which operates only in URL mode. Not willing to spend the time tracking piles of global variables for sub-modes, and finding all the pledge interactions. Would rather have the install media ftp(1) as safe as possible, immediately. ok tb jca | |||
2017-01-10 | simplify; NODE_ENDED does no harm in man(7) | Ingo Schwarze | |
2017-01-10 | unify names of AST node flags; no change of cpp output | Ingo Schwarze | |
2017-01-10 | Introduce flags NODE_NOSRC and NODE_NOPRT for AST nodes. | Ingo Schwarze | |
Use them to mark generated nodes and nodes that shall not produce output. Let -Ttree output mode display these new flags. Use NODE_NOSRC for .Ar, .Mt, and .Pa default arguments. Use NODE_NOPRT for .Dd, .Dt, and .Os. These will help to make handling of text production macros more rigorous. | |||
2017-01-10 | Quote backslash as well for %%%. | Nicholas Marriott | |
2017-01-10 | Some manpage fixes: rephrase a convoluted sentence, make the names of | Nicholas Marriott | |
some keys more standard, and use Ql instead of Dq. | |||
2017-01-10 | avoid unneccessary markup; tweaked and ok nicm | Jason McIntyre | |
2017-01-09 | Add %if/%endif for conditionals when parsing configuration files, the | Nicholas Marriott | |
argument is a format (the new == and != are useful). |