Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-10 | Be more careful to not generate empty .In, .St, and .Xr nodes. | Ingo Schwarze | |
That could happen when their first argument was another called macro, causing a NULL pointer access in .St validation found by jsg@ with afl. Make in_line_argn() easier to understand by using one state variable rather than two. | |||
2015-02-10 | Do not read past the end of the buffer if an "f" layout font modifier | Ingo Schwarze | |
is followed by the end of the input line instead of a font specifier. Found by jsg@ with afl, test case #591. While here, improve functionality as well: * There is no "r" font modifier. * Font specifiers (as opposed to font modifiers) are case sensitive. * One-character font specifiers require trailing whitespace. * Ignore parenthised and two-letter font specifiers. | |||
2015-01-29 | reorg tbl(7) test suite | Ingo Schwarze | |
2015-02-10 | Add bind regress test | Claudio Jeker | |
2015-02-10 | Test that bind works the way it should. This fails at the moment because | Claudio Jeker | |
of the garbage in sin_zero. | |||
2015-02-09 | Error messages form libtls have changed, adapt syslogd tests. | Alexander Bluhm | |
2015-02-09 | sort includes correctly | Theo de Raadt | |
2015-02-08 | Change syslog tests from transparent framing to octet counting. | Alexander Bluhm | |
Add tests for truncated buffer handling. | |||
2015-02-07 | Closing a block validates it, which may end up deleting it, | Ingo Schwarze | |
so if we are in a loop over blocks, cleanly restart the loop rather than risking use after free; found by jsg@ with afl. | |||
2015-02-07 | Add regress tests for SSL_CIPHER_get_by_value() and SSL_CIPHER_get_by_id(). | Joel Sing | |
2015-02-06 | SIZE_MAX is standard, we should be using it in preference to the | Todd C. Miller | |
obsolete SIZE_T_MAX. OK miod@ beck@ | |||
2015-02-06 | KNF bytestring files. | Doug Hogan | |
I checked that this doesn't change anything. Compiled with clang using -Wno-pointer-sign -g0 to reduce the differences. Only difference in the asm is due to assert(0) line number changes in bs_cbs.c and bs_cbb.c. miod is ok with the general process. | |||
2015-02-06 | replace the last legacy generic message type, "argument count wrong", | Ingo Schwarze | |
by more specific messages, improving diagnostics for .cc .tr .Bl -column | |||
2015-02-06 | better error reporting regarding .OP .RS .UR .TH arguments | Ingo Schwarze | |
2015-02-06 | better diagnostics about excess arguments to .PD .ft .sp | Ingo Schwarze | |
2015-02-06 | Import BoringSSL's crypto bytestring and crypto bytebuilder APIs. | Doug Hogan | |
This is imported with as few changes as possible for the initial commit. I removed OPENSSL_EXPORT, replaced OPENSSL_malloc() etc with malloc() and changed a few header includes. BoringSSL has this as part of their public API. We're leaving it internal to libssl for now. Based on BoringSSL's CBB/CBS API as of commit c5cc15b4f5b1d6e9b9112cb8d30205a638aa2c54. input + ok jsing@, miod@ | |||
2015-02-06 | Add libssl ciphers regress, which currently only covers | Joel Sing | |
get_cipher_by_char/put_cipher_by_char. | |||
2015-02-06 | better error reporting for .br .fi .nf with arguments | Ingo Schwarze | |
2015-02-06 | Delete the legacy generic warning type MANDOCERR_ARGCWARN, | Ingo Schwarze | |
replacing the last instances by more specific warnings. Improved functionality, minus 50 lines of code. | |||
2015-02-06 | better handle .Fo and .Fd without argument | Ingo Schwarze | |
better handle .Fo with more than one argument | |||
2015-02-06 | better handle empty .Bd .Bl .D1 .Dl blocks | Ingo Schwarze | |
2015-02-06 | better handle .In .Sh .Ss .St .Xr without arguments | Ingo Schwarze | |
2015-02-06 | Add syslogd tests for dropped messages. | Alexander Bluhm | |
2015-02-05 | fix handling of empty .An macros | Ingo Schwarze | |
2015-02-04 | Discard excess head arguments for .Bd .Bl .Bk and delete hwarn_eq0(). | Ingo Schwarze | |
Discard empty .Bk blocks. Improve related diagnostics. | |||
2015-02-04 | improve diagnostics regarding arguments of .An .Pp .Lp .br .sp | Ingo Schwarze | |
in particular, get rid of check_count(..., CHECK_EQ, 0) | |||
2015-02-04 | fix column numbers of macro arguments in messages | Ingo Schwarze | |
2015-02-04 | discard .Rs head arguments and improve .Rs diagnostics | Ingo Schwarze | |
2015-02-04 | more specific .Nd diagnostics, allowing to get rid of enum check_lvl | Ingo Schwarze | |
and the respective argument of check_count() | |||
2015-02-03 | Make the mandoc test suite completely silent. | Ingo Schwarze | |
Not even i looked at the 966 mandoc command lines and the 787 diff command lines it was spewing, and it was almost unusable without REGRESS_FAIL_EARLY because any errors got lost among all the noise. If you want to debug the Makefiles, use "make -dl". If you want to see the -Tman TODOs, use "grep -RF SKIP_TMAN". | |||
2015-02-03 | Avoid closing out an explicit block twice when broken by .It | Ingo Schwarze | |
(assertion failure); regression found in jsg@'s afl test case 847. | |||
2015-01-01 | eqn(7) tests | Ingo Schwarze | |
2015-02-03 | Finally delete the kitchensink functions rew_sub() and rew_dohalt(). | Ingo Schwarze | |
They were a maintenance and auditing nightmare because if you changed one bit in there, stuff tended to break at seemingly unrelated places. No functional change except getting rid of one bogus error message, but minus 80 lines of code. | |||
2015-02-03 | Bring .Pp/.Lp handling inside .Nm blocks closer to groff; | Ingo Schwarze | |
as a bonus, get rid of another call to rew_sub(). | |||
2015-02-02 | Simplify and reindent make_pending(). No functional change | Ingo Schwarze | |
except that some error messages become less confusing. Now the function is almost readable (but still requires nineteen lines of comments for fourteen lines of code). | |||
2015-02-02 | Simplify: Do not call rew_dohalt() from make_pending(), | Ingo Schwarze | |
the calling macro handler already found the breaking block. No functional change except tiny variations in error messages. | |||
2015-02-02 | Test that long syslog messages are truncated correctly. | Alexander Bluhm | |
2015-02-02 | Get rid of all calls to rew_sub() in blk_exp_close(); only ten calls | Ingo Schwarze | |
remain in other functions. As a bonus, this fixes an assertion failure jsg@ found some time ago with afl (test case 982) and improves minor details in error reporting. | |||
2015-02-02 | When a full block macro gets closed out by a mismatching | Ingo Schwarze | |
block closure macro it calls, do not attempt to open its body. This can for example happen for (nonsensical) constructions like .Fo .Nm Fc in the SYNOPSIS. Fixing an assertion failure jsg@ found with afl some time ago (test case number 731). | |||
2015-02-01 | fix .Eo/.Ec spacing | Ingo Schwarze | |
2015-01-30 | starting a tbl(7) breaks man(7) next-line scope; | Ingo Schwarze | |
triggered by a bug report from jsg@ | |||
2015-01-30 | TLS connect error message has changed, adapt tests. | Alexander Bluhm | |
2015-01-30 | regression test for 'wildcard CA' serial/key ID revocations | Damien Miller | |
2015-01-30 | Make sure every layout line contains at least one cell; | Ingo Schwarze | |
fixing a NULL pointer access in term_tbl() that jsg@ found with afl. | |||
2015-01-29 | reorg tbl(7) test suite | Ingo Schwarze | |
2015-01-29 | reorg tbl(7) test suite | Ingo Schwarze | |
2015-01-29 | reorg tbl(7) test suite | Ingo Schwarze | |
2015-01-28 | Add a test where the TLS handshake fails because of null ciphers. | Alexander Bluhm | |
2015-01-28 | Clean up eqn(7) error handling: | Ingo Schwarze | |
* When "define" fails, do not drop the whole equation. * Free memory after "undef". * Use standard mandoc error types instead of rolling our own. * Delete obfuscating EQN_MSG() macro. * Add function prototypes while here. | |||
2015-01-28 | Test the x509 certificate validation of syslog over TLS. | Alexander Bluhm | |