summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove \*(C+ from the pre-predefined strings. It is always `ds'-definedKristaps Dzonsons2010-08-164-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 Dzonsons2010-08-162-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 Schwarze2010-08-151-1/+35
|
* OpenBSD src/bin was used as a tool to hunt bugs in mandoc.Ingo Schwarze2010-08-151-1/+40
|
* Note first that TODO file should be up to date.Kristaps Dzonsons2010-08-141-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 AldisKristaps Dzonsons2010-08-091-2/+6
| | | | Berzoja. Also note COMPATIBILITY of groff misformatting `Lk'.
* Correctly print `Lk' arguments in -Tascii. Issue raised by Aldis Berzoja.Kristaps Dzonsons2010-08-091-5/+7
| | | | Behaviour ok'd by schwarze@.
* simplify the code copying the macro name, and sync theIngo Schwarze2010-08-082-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 Schwarze2010-08-081-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 pathsKristaps Dzonsons2010-08-072-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 ofKristaps Dzonsons2010-08-071-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 Dzonsons2010-08-071-0/+3
|
* Remove mandoc.1 compatibility notes that are no longer relevant.Kristaps Dzonsons2010-08-071-10/+0
|
* same as mdoc_term.c rev. 1.180:Ingo Schwarze2010-08-071-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 Schwarze2010-08-071-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 GNUKristaps Dzonsons2010-08-071-1/+1
| | | | troff. This removes the last groff(1) `Xr'.
* Added serial comma.Kristaps Dzonsons2010-08-071-5/+5
| | | | Put "remarks" for `%C' into COMPATIBILITY.
* `In' comes before `Vt' in function example of SYNOPSIS.Kristaps Dzonsons2010-08-071-1/+1
|
* Clarify that predefined strings aren't groff-isms, they're troff-isms.Kristaps Dzonsons2010-08-071-1/+1
|
* tweaks from jmc@:Ingo Schwarze2010-08-061-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 Schwarze2010-08-062-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 inKristaps Dzonsons2010-08-061-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, itJoerg Sonnenberger2010-08-011-15/+18
| | | | doesn't exist in the default namespace on Solaris.
* Sync to OpenBSD: add missing Copyright years.Ingo Schwarze2010-07-3111-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 Sonnenberger2010-07-301-0/+7
| | | | | | | .Bl -tag .It foo ...
* Use 0 for MAP_FILE if it doesn't exist. From Hans Rosenfeld.Joerg Sonnenberger2010-07-291-0/+4
|
* Add PDF files to www. We also show text and ps, just to show off.VERSION.1.10.5Kristaps Dzonsons2010-07-272-22/+39
|
* Get version bits in: 1.10.5.Kristaps Dzonsons2010-07-272-4/+4
|
* No-op to shut up lint.Kristaps Dzonsons2010-07-271-1/+1
|
* Fix `ds' handling. This was stripping characters from "val", when theKristaps Dzonsons2010-07-272-12/+32
| | | | | | 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 Dzonsons2010-07-271-1/+2
|
* Fill in more version notes.Kristaps Dzonsons2010-07-271-6/+9
|
* Update TODO to note that %A needs "and" before final author and thatKristaps Dzonsons2010-07-271-0/+3
| | | | joerg@ has some tbl(1) patches lying around that need merging.
* Removed boot_config.8 breakage, which was fixed by the last commit ofKristaps Dzonsons2010-07-271-11/+0
| | | | `Bd -literal' and `Bd -unfilled' unbreakage.
* Fix how `Bd -unfilled' and `Bd -literal' break lines. This unbreaksKristaps Dzonsons2010-07-272-14/+7
| | | | | 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 Dzonsons2010-07-262-2/+2
|
* Make `Sm' start no-spacing after the first output word. Fix in bothKristaps Dzonsons2010-07-262-0/+4
| | | | -T[x]html and -T{pdf,ps,ascii}. Reported by Jason McIntyre.
* Clean up some tight spots in mandoc's default mode: pessimisticallyKristaps Dzonsons2010-07-261-19/+14
| | | | | 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 atKristaps Dzonsons2010-07-262-380/+379
| | | | | | 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).
* Note that `Dd' can be empty. This found following a thread on discuss@Kristaps Dzonsons2010-07-263-4/+15
| | | | started by Sascha Wildner, 07/25/2010 06:30 AM.
* Merge schwarze@'s pass over mdoc.7. Fixed small new-sentence-new-lineKristaps Dzonsons2010-07-261-222/+230
| | | | | | nit noted by Jason McIntyre. "your diff looks ok" (Jason McIntyre)
* Fix chars.in fall-through to ASCII mode. This bug only affectedKristaps Dzonsons2010-07-261-6/+6
| | | | -T[x]html.
* Note -Tpdf in www.Kristaps Dzonsons2010-07-261-0/+1
|
* Merge Jason McIntyre's corrections to man.7.Kristaps Dzonsons2010-07-261-24/+21
| | | | "urgle": Jason McIntyre. "This is all ok" schwarze@.
* Avoid running the "width" termp callback for each whitespace.Kristaps Dzonsons2010-07-251-3/+3
|
* Fully-working -Tpdf: xref table is now generated. This works for bothKristaps Dzonsons2010-07-252-17/+48
| | | | single and multiple-manual mode (e.g., mandoc -Tpdf foo.1 bar.1).
* Make PDF sections contiguous.Kristaps Dzonsons2010-07-251-63/+51
|
* Ensure that isalnum is called with unsigned char argument.Joerg Sonnenberger2010-07-251-1/+1
|
* list two additional issuesIngo Schwarze2010-07-251-0/+17
|
* Initial PDF shim over PS. This produces working PDF output with -Tpdf.Kristaps Dzonsons2010-07-255-50/+256
| | | | | | | | | | It's currently missing the xref table, so you'll get a warning in most PDF viewers). It also produces lots of redundant output, which will go away once I get a better handle on the PDF spec. The code doesn't really touch any existing functionality; it's a bunch of conditionals atop the -Tps (term_ps.c) implementation. I'm checking it in now to have it exist and be auditable. It needs clean-up, polish, and general care (and xref!).