Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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'. | ||||
* | Added serial comma. | Kristaps Dzonsons | 2010-08-07 | 1 | -5/+5 |
| | | | | Put "remarks" for `%C' into COMPATIBILITY. | ||||
* | `In' comes before `Vt' in function example of SYNOPSIS. | Kristaps Dzonsons | 2010-08-07 | 1 | -1/+1 |
| | |||||
* | Clarify that predefined strings aren't groff-isms, they're troff-isms. | Kristaps Dzonsons | 2010-08-07 | 1 | -1/+1 |
| | |||||
* | tweaks from jmc@: | Ingo Schwarze | 2010-08-06 | 1 | -36/+41 |
| | | | | | | | * correct a few obvious mistakes * adopt some of jmc@'s recent changes to man(7) * cut down just a little on the awful tendency to stick a hyphen between two words. | ||||
* | merge from OpenBSD: | Ingo Schwarze | 2010-08-06 | 2 | -9/+5 |
| | | | | | | - HISTORY is interesting even when there are STANDARDS - more precise instructions what to put into AUTHORS - add the version argument to the mdoc(7) .Os macro | ||||
* | IMPORTANT FIX: add missing braces around alloc failure conditional in | Kristaps Dzonsons | 2010-08-06 | 1 | -3/+7 |
| | | | | | fuction-isation of PS_GROWBUF. Obviously the original commit was never actually tested, as -Tps and -Tpdf errored out immediately. | ||||
* | Turn the non-trivial PS_GROWBUF macro into a function. Don't use MAX, it | Joerg Sonnenberger | 2010-08-01 | 1 | -15/+18 |
| | | | | doesn't exist in the default namespace on Solaris. | ||||
* | Sync to OpenBSD: add missing Copyright years. | Ingo Schwarze | 2010-07-31 | 11 | -11/+11 |
| | | | | | I checked that substantial changes were committed to these files during these years. | ||||
* | Don't crash for the following test case as reported by Jordan Gordeev: | Joerg Sonnenberger | 2010-07-30 | 1 | -0/+7 |
| | | | | | | | .Bl -tag .It foo ... | ||||
* | Use 0 for MAP_FILE if it doesn't exist. From Hans Rosenfeld. | Joerg Sonnenberger | 2010-07-29 | 1 | -0/+4 |
| | |||||
* | Add PDF files to www. We also show text and ps, just to show off.VERSION.1.10.5 | Kristaps Dzonsons | 2010-07-27 | 2 | -22/+39 |
| |