Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Centralize handling of literal tabs in term_flushln() in one place, | Ingo Schwarze | 2010-08-20 | 1 | -11/+4 | |
| | | | | | 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 | -1/+7 | |
| | | | | | 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 | -2/+22 | |
| | | | | | 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 | -9/+9 | |
| | | | | | 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 | -447/+360 | |
| | | | | | | | | | | | | | | | | | 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 | -4/+4 | |
| | ||||||
* | Added mail archive periodically generated by hypermail. | Kristaps Dzonsons | 2010-08-18 | 1 | -6/+14 | |
| | ||||||
* | Migrate `Xr groff 1' -> GNU troff. I no longer assume that groff is | Kristaps Dzonsons | 2010-08-18 | 1 | -6/+3 | |
| | | | | 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 | -13/+2 | |
| | | | | flat-out ignore them. | |||||
* | Add joerg@'s note that br\} needs work in libroff. | Kristaps Dzonsons | 2010-08-18 | 1 | -1/+4 | |
| | ||||||
* | Remove \*(C+ from the pre-predefined strings. It is always `ds'-defined | Kristaps Dzonsons | 2010-08-16 | 4 | -8/+10 | |
| | | | | | | 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 | -18/+23 | |
| | | | | | | 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 | -2/+36 | |
| | ||||||
* | OpenBSD src/bin was used as a tool to hunt bugs in mandoc. | Ingo Schwarze | 2010-08-15 | 1 | -2/+41 | |
| | ||||||
* | Note first that TODO file should be up to date. | Kristaps Dzonsons | 2010-08-14 | 1 | -3/+4 | |
| | | | | 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 | -4/+8 | |
| | | | | 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 | -6/+8 | |
| | | | | Behaviour ok'd by schwarze@. | |||||
* | simplify the code copying the macro name, and sync the | Ingo Schwarze | 2010-08-08 | 2 | -17/+14 | |
| | | | | | 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 | -3/+4 | |
| | | | | | | 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 | -25/+4 | |
| | | | | | 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 | -7/+16 | |
| | | | | | 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 | -1/+4 | |
| | ||||||
* | Remove mandoc.1 compatibility notes that are no longer relevant. | Kristaps Dzonsons | 2010-08-07 | 1 | -12/+2 | |
| | ||||||
* | same as mdoc_term.c rev. 1.180: | Ingo Schwarze | 2010-08-07 | 1 | -5/+5 | |
| | | | | | 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 | -3/+5 | |
| | | | | | | 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 | -2/+2 | |
| | | | | troff. This removes the last groff(1) `Xr'. | |||||
* | Added serial comma. | Kristaps Dzonsons | 2010-08-07 | 1 | -6/+6 | |
| | | | | Put "remarks" for `%C' into COMPATIBILITY. | |||||
* | `In' comes before `Vt' in function example of SYNOPSIS. | Kristaps Dzonsons | 2010-08-07 | 1 | -2/+2 | |
| | ||||||
* | Clarify that predefined strings aren't groff-isms, they're troff-isms. | Kristaps Dzonsons | 2010-08-07 | 1 | -3/+3 | |
| | ||||||
* | tweaks from jmc@: | Ingo Schwarze | 2010-08-06 | 1 | -37/+42 | |
| | | | | | | | * 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 | -13/+9 | |
| | | | | | | - 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 | -4/+8 | |
| | | | | | 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 | -16/+19 | |
| | | | | doesn't exist in the default namespace on Solaris. | |||||
* | Sync to OpenBSD: add missing Copyright years. | Ingo Schwarze | 2010-07-31 | 11 | -22/+22 | |
| | | | | | 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 | -1/+8 | |
| | | | | | | | .Bl -tag .It foo ... | |||||
* | Use 0 for MAP_FILE if it doesn't exist. From Hans Rosenfeld. | Joerg Sonnenberger | 2010-07-29 | 1 | -1/+5 | |
| | ||||||
* | 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 | -23/+40 | |
| | ||||||
* | Get version bits in: 1.10.5. | Kristaps Dzonsons | 2010-07-27 | 2 | -5/+5 | |
| | ||||||
* | No-op to shut up lint. | Kristaps Dzonsons | 2010-07-27 | 1 | -2/+2 | |
| | ||||||
* | Fix `ds' handling. This was stripping characters from "val", when the | Kristaps Dzonsons | 2010-07-27 | 2 | -15/+35 | |
| | | | | | | syntax of `ds' is such that ALL text following the first non-space/non-double-quote is part of the value. This also fixes the warning of *(string++) = NULL report by kristaps@ and joerg@. | |||||
* | Nit-picking style of www page. | Kristaps Dzonsons | 2010-07-27 | 1 | -1/+2 | |
| | ||||||
* | Fill in more version notes. | Kristaps Dzonsons | 2010-07-27 | 1 | -7/+10 | |
| | ||||||
* | Update TODO to note that %A needs "and" before final author and that | Kristaps Dzonsons | 2010-07-27 | 1 | -1/+4 | |
| | | | | joerg@ has some tbl(1) patches lying around that need merging. | |||||
* | Removed boot_config.8 breakage, which was fixed by the last commit of | Kristaps Dzonsons | 2010-07-27 | 1 | -12/+1 | |
| | | | | `Bd -literal' and `Bd -unfilled' unbreakage. | |||||
* | Fix how `Bd -unfilled' and `Bd -literal' break lines. This unbreaks | Kristaps Dzonsons | 2010-07-27 | 2 | -16/+9 | |
| | | | | | displays to work as old groff shows them; however, new groff still does some fancy shit. | |||||
* | `Ad' is supposed to underline. Found whilst trolling through manuals. | Kristaps Dzonsons | 2010-07-26 | 2 | -4/+4 | |
| | ||||||
* | Make `Sm' start no-spacing after the first output word. Fix in both | Kristaps Dzonsons | 2010-07-26 | 2 | -2/+6 | |
| | | | | -T[x]html and -T{pdf,ps,ascii}. Reported by Jason McIntyre. | |||||
* | Clean up some tight spots in mandoc's default mode: pessimistically | Kristaps Dzonsons | 2010-07-26 | 1 | -20/+15 | |
| | | | | | pre-allocate the output buffer for words and in-line the buffera() function, which was only called in one place anyway. | |||||
* | Remove asciisz from chars.in. It frees up a nice chunk of memory and at | Kristaps Dzonsons | 2010-07-26 | 2 | -382/+381 | |
| | | | | | | the overhead of running strlen() for ASCII strings (yes, I benchmarked this running mandoc_char(7) as input again and again with hundredth-second penalties... on my slow-ass alpha). |