Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent .Lp from looping endlessly on punctuation. | Ingo Schwarze | 2010-09-13 | 1 | -1/+1 |
| | | | | Same fix as the previous one. | ||||
* | Prevent `Pp' from looping endlessly on punctuation. Bug reported by | Kristaps Dzonsons | 2010-09-13 | 1 | -1/+1 |
| | | | | Marc Espie. | ||||
* | Found nit in -T[x]html. | Kristaps Dzonsons | 2010-09-08 | 1 | -0/+2 |
| | |||||
* | Churny commit to quiet lint. No functional changes. | Kristaps Dzonsons | 2010-09-04 | 9 | -22/+23 |
| | |||||
* | Properly handle -mdoc %A in all outputs. This has two-author entires | Kristaps Dzonsons | 2010-09-04 | 6 | -7/+82 |
| | | | | | | | separated by only "and" while two or more are with ", and" for the last author. Also remove relevant TODO and add regression tests. | ||||
* | Removed 'br\} comment from TODO. This was fixed a few weeks ago. | Kristaps Dzonsons | 2010-09-04 | 1 | -3/+0 |
| | |||||
* | Fix premature return from sub-conditional roff statements. This fix | Kristaps Dzonsons | 2010-09-04 | 1 | -5/+3 |
| | | | | fully accomodates for the pod2man standard preamble! | ||||
* | Clarified EXIT STATUS sections. Discussed among schwarze@, Thomas, and | Kristaps Dzonsons | 2010-09-04 | 3 | -3/+3 |
| | | | | Jason. Patch by Jason. | ||||
* | Remove the pod2man table entries. They can now be properly read and | Kristaps Dzonsons | 2010-08-29 | 2 | -10/+3 |
| | | | | assigned within the pod2man preamble. | ||||
* | Allow `.xx\}' where xx is a macro (e.g., `.br\}') to close scope. This is | Kristaps Dzonsons | 2010-08-29 | 2 | -4/+14 |
| | | | | | | experimental and hasn't been rigorously tested. It's only implemented in -mdoc for the time being. This is absolutely required for pod2man. It does, however, make the pod2man preamble be processed in full. | ||||
* | Remove overstrike `\o'. This isn't the best solution because we really | Kristaps Dzonsons | 2010-08-29 | 4 | -2/+8 |
| | | | | | should be printing the contents, but for the time being, this is good enough. | ||||
* | Made -mdoc `Pp', `Lp', and `br' not FATAL when having arguments. | Kristaps Dzonsons | 2010-08-29 | 1 | -3/+3 |
| | |||||
* | Move mdoc/man template "The next is for" into the section itself. Added | Kristaps Dzonsons | 2010-08-28 | 3 | -18/+24 |
| | | | | OpenBSD compatibility notes. Based on a patch by Jason McIntyre. | ||||
* | "sys/param.h is for kernel interface programs. | Kristaps Dzonsons | 2010-08-26 | 1 | -1/+1 |
| | | | | | | sys/types.h is the file you want to include." From a downstream fix by deraadt@. | ||||
* | Fixed HISTORY to note mdoc's rewrite in groff-1.17, not groff-1.20. | Kristaps Dzonsons | 2010-08-24 | 1 | -1/+1 |
| | |||||
* | Handle nested, recursive mathematical subexpressions. This is | Kristaps Dzonsons | 2010-08-24 | 2 | -1/+44 |
| | | | | | definitely not general, but it's good enough for pod2man definitions (after I clean up the roff, which will be addressed in later fixes). | ||||
* | Strip out `\k' escape. | Kristaps Dzonsons | 2010-08-24 | 4 | -1/+7 |
| | |||||
* | Stripping out of `\w' groff escape. Yet another for pod2man... | Kristaps Dzonsons | 2010-08-24 | 4 | -6/+18 |
| | |||||
* | Have the `ds' processor strip out `\\' as stipulated in groff.7. I only | Kristaps Dzonsons | 2010-08-24 | 1 | -2/+25 |
| | | | | care because pod2man uses this construct. | ||||
* | Strip out the `\z' escape. This is the first recursive sequence, | Kristaps Dzonsons | 2010-08-24 | 4 | -1/+21 |
| | | | | getting mandoc ready to handle pod2man's complex escapes. | ||||
* | Add a short HISTORY section to mdoc.7. Facts provided by schwarze@'s | Kristaps Dzonsons | 2010-08-22 | 1 | -0/+11 |
| | | | | detective-work in the UNIX archives. | ||||
* | Sort COMPATIBILITY in mdoc(7) (from schwarze@). | Kristaps Dzonsons | 2010-08-22 | 2 | -120/+128 |
| | | | | Update escape COMPATIBILITY in mdoc(7) and man(7) (ok schwarze@). | ||||
* | Backout previous. | Ingo Schwarze | 2010-08-21 | 1 | -13/+0 |
| | | | | | | | | | | | | | | | As Kristaps found out, i was wrong: .Bl -column phrases do not ignore spacing rules for trailing punctuation in general. In particular, - the rightmost column of a column list is unaffected - columns terminated by the .Ta macro instead of a tab are unaffected - columns ending in a blank are unaffected Spacing rules for trailing punctuation are only ignored when the tab follows the punctuation immediately, without a blank in between, because then the combination of punctuation and tab is treated by roff as a word, and the punctuation is not recognized as isolated. The reason this doesn't work in mandoc is that in the special case of .Bl -column (not in general!), mandoc treats tabs as word delimiters. We either need to solve this differently, or call it a bug in roff. | ||||
* | Centralize handling of literal tabs in term_flushln() in one place, | Ingo Schwarze | 2010-08-20 | 1 | -10/+3 |
| | | | | | making the code simpler and easier to understand. No functional change. | ||||
* | When a column contains trailing spaces, calculate the padding | Ingo Schwarze | 2010-08-20 | 1 | -0/+6 |
| | | | | | to the start of the next column correctly. Fixing a problem found by jmc@ in sysctl(3), reminded by kettenis@. | ||||
* | .Bl -column phrases ignore spacing rules for trailing punctuation | Ingo Schwarze | 2010-08-20 | 2 | -0/+20 |
| | | | | | and render it just like normal text. Minimal fix of a formatting bug in operator(7) reported by ray@. | ||||
* | fix previous: when bailing out due to -Wstop, | Ingo Schwarze | 2010-08-20 | 1 | -8/+8 |
| | | | | | skip output functions, but not *_endparse; problem reported by kristaps@ | ||||
* | Fixed Makefile auto-generation of manuals not to use -fstrict and [old] -Werror. | Kristaps Dzonsons | 2010-08-20 | 1 | -4/+4 |
| | |||||
* | Implement a simple, consistent user interface for error handling. | Ingo Schwarze | 2010-08-20 | 22 | -421/+334 |
| | | | | | | | | | | | | | | | | | We now have sufficient practical experience to know what we want, so this is intended to be final: - provide -Wlevel (warning, error or fatal) to select what you care about - provide -Wstop to stop after parsing a file with warnings you care about - provide consistent exit status codes for those warnings you care about - fully document what warnings, errors and fatal errors mean - remove all other cruft from the user interface, less is more: - remove all -f knobs along with the whole -f option - remove the old -Werror because calling warnings "fatal" is silly - always finish parsing each file, unless fatal errors prevent that This commit also includes a couple of related simplifications behind the scenes regarding error handling. Feedback and OK kristaps@; Joerg Sonnenberger (NetBSD) and Sascha Wildner (DragonFly BSD) agree with the general direction. | ||||
* | Updated hypermail link to summary.html. | Kristaps Dzonsons | 2010-08-19 | 1 | -3/+3 |
| | |||||
* | Added mail archive periodically generated by hypermail. | Kristaps Dzonsons | 2010-08-18 | 1 | -5/+13 |
| | |||||
* | Migrate `Xr groff 1' -> GNU troff. I no longer assume that groff is | Kristaps Dzonsons | 2010-08-18 | 1 | -5/+2 |
| | | | | installed on the host system. | ||||
* | Remove references to \s in mandoc.1: we no longer document these and just | Kristaps Dzonsons | 2010-08-18 | 1 | -11/+0 |
| | | | | flat-out ignore them. | ||||
* | Add joerg@'s note that br\} needs work in libroff. | Kristaps Dzonsons | 2010-08-18 | 1 | -0/+3 |
| | |||||
* | Remove \*(C+ from the pre-predefined strings. It is always `ds'-defined | Kristaps Dzonsons | 2010-08-16 | 4 | -3/+5 |
| | | | | | | when being used in manuals. Since we now support `ds', it's no longer necessary to account for it. From a bug report originally by Thomas Jeunet. | ||||
* | Add \v and \h to ignored escapes. These are in the category of \s. | Kristaps Dzonsons | 2010-08-16 | 2 | -16/+21 |
| | | | | | | Also made sign-less \s-style escapes be ok (this is technically against what's in the groff.7 manual, but seems pretty widespread). Noted by Thomas Jeunet as uglifying the gcc.1 manual. | ||||
* | OpenBSD src/sbin was used as a tool to hunt bugs in mandoc. | Ingo Schwarze | 2010-08-15 | 1 | -1/+35 |
| | |||||
* | OpenBSD src/bin was used as a tool to hunt bugs in mandoc. | Ingo Schwarze | 2010-08-15 | 1 | -1/+40 |
| | |||||
* | Note first that TODO file should be up to date. | Kristaps Dzonsons | 2010-08-14 | 1 | -2/+3 |
| | | | | Note also that the PDF file should be reduced in case I somehow forget. | ||||
* | Correctly make quotes around `Lk' link-name argument. Noted by Aldis | Kristaps Dzonsons | 2010-08-09 | 1 | -2/+6 |
| | | | | Berzoja. Also note COMPATIBILITY of groff misformatting `Lk'. | ||||
* | Correctly print `Lk' arguments in -Tascii. Issue raised by Aldis Berzoja. | Kristaps Dzonsons | 2010-08-09 | 1 | -5/+7 |
| | | | | Behaviour ok'd by schwarze@. | ||||
* | simplify the code copying the macro name, and sync the | Ingo Schwarze | 2010-08-08 | 2 | -15/+12 |
| | | | | | accompagnying comment between man_pmacro() and mdoc_pmacro(); ok'd by kristaps@ together with main.c rev. 1.102 | ||||
* | Make sure we really throw away non-ASCII characters. | Ingo Schwarze | 2010-08-08 | 1 | -2/+3 |
| | | | | | | For example, on OpenBSD without locale settings, isgraph(3) returns true for some eight-bit characters. ok kristaps@ | ||||
* | Clean out the isgraph() checks in mdoc.c and man.c. These code paths | Kristaps Dzonsons | 2010-08-07 | 2 | -23/+2 |
| | | | | | were never taken since main.c begin skipping over unrecognisable characters, so they were noops. | ||||
* | "Groff allows the initial macro on a line to be delimited by a space of | Kristaps Dzonsons | 2010-08-07 | 1 | -6/+15 |
| | | | | | by a tab; so allow the tab in mandoc, too." Original problem noted by schwarze@. Sync with OpenBSD. | ||||
* | Add TODO noted by Alex Kozlov. | Kristaps Dzonsons | 2010-08-07 | 1 | -0/+3 |
| | |||||
* | Remove mandoc.1 compatibility notes that are no longer relevant. | Kristaps Dzonsons | 2010-08-07 | 1 | -10/+0 |
| | |||||
* | same as mdoc_term.c rev. 1.180: | Ingo Schwarze | 2010-08-07 | 1 | -4/+4 |
| | | | | | preserve blank lines at the end of .Bd -literal patch from kristaps@, who asked me to commit this | ||||
* | merge from OpenBSD mdoc_term.c rev. 1.100: | Ingo Schwarze | 2010-08-07 | 1 | -2/+4 |
| | | | | | | preserve blank lines in .Bd -literal, both in the middle and at the end of the display ok kristaps@ | ||||
* | Removed cross-reference to groff(1) in favour of simply mentioning GNU | Kristaps Dzonsons | 2010-08-07 | 1 | -1/+1 |
| | | | | troff. This removes the last groff(1) `Xr'. |