aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Fixed memory leak introduced in last checkin of man_action TH parsing (only ↵Kristaps Dzonsons2010-05-152-5/+6
| | | | | | | if TH is called again, which never happens anyway). Fixed my email address in man_action.c and msec.c. Removed superfluous <time.h> inclusion in msec.c.
* LIBRARY can also occur in section 9.Kristaps Dzonsons2010-05-159-45/+44
| | | | | | All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc. Useful warning printed if unknown manual section. Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free.
* Reorganise the comment stripping and line merging to be easier to followJoerg Sonnenberger2010-05-151-51/+53
| | | | and slightly faster.
* Make the output width an option for ascii_alloc and use that to computeJoerg Sonnenberger2010-05-156-15/+24
| | | | the default margin. Hard-code 80 chars/line for now.
* Removed restriction on integer manual sections in -man.Kristaps Dzonsons2010-05-158-26/+19
|
* Push buffer resizing into its own function. Keep initial allocations theJoerg Sonnenberger2010-05-151-20/+25
| | | | same size as before.
* fixed tabs in quoted .Bl -column; and removed right margin from displaysIngo Schwarze2010-05-151-10/+0
|
* no more info on bugs FIXED in bsd.lv;Ingo Schwarze2010-05-151-40/+2
| | | | this info is in old revisions of this file
* Distinguish OPEN, MIDDLE and CLOSE delimiters (using an enum).Ingo Schwarze2010-05-154-26/+36
| | | | | | | Only OPEN are drawn before the beginning of a macro; this is new, before this, MIDDLE ('|') were drawn in front, too. Only CLOSE are pushed after the end of a macro (as before). ok kristaps@
* Initial roff shim skeleton in place.Kristaps Dzonsons2010-05-153-11/+89
|
* Documented EOS buffered spaces and added `]'.Kristaps Dzonsons2010-05-153-9/+24
|
* More EOS: append_delims() fitted with EOS detection, so ANY macro with ↵Kristaps Dzonsons2010-05-154-22/+55
| | | | | | appended delimiters will properly EOS. Fixed mandoc_eos() to accept sentence punctuation followed by close-delim buffers.
* Cleanup indentation after moving the read buffering out of the loop.Joerg Sonnenberger2010-05-151-54/+52
|
* "Push down the buffer to where they are used.Kristaps Dzonsons2010-05-151-78/+131
| | | | | | Handle the stdin/file argument in one function. On top, use either mmap or if that failed reading the whole file into a single buffer." (patches by Joerg Sonnenberger, ed. Kristaps)
* More `Bl -column' dancing: It children also inherit in-phrase flags (noted ↵Kristaps Dzonsons2010-05-153-30/+22
| | | | by Ingo Schwarze).
* Whacked lastman and lastmdoc (not being used).Kristaps Dzonsons2010-05-151-7/+1
|
* Making room for libroff in Makefile: properly split out libmandoc.a.Kristaps Dzonsons2010-05-151-15/+57
|
* Added Ingo's TODO file.Kristaps Dzonsons2010-05-141-0/+164
|
* "Accumulate errors and warnings in global variables and exit with errorKristaps Dzonsons2010-05-141-58/+60
| | | | if either is not null on exit." (patch by Joerg Sonnenberger)
* Remove in-manual-section warnings for Fd and Lb (ok joerg@, schwarze@).Kristaps Dzonsons2010-05-141-48/+4
|
* Backed out check for `Ex' manual sec (ok schwarze@, joerg@), in turn backing ↵Kristaps Dzonsons2010-05-144-42/+7
| | | | out check_msec() and deps.
* "Add libelf and libterminfo." (patch by Joerg Sonnenberger)Kristaps Dzonsons2010-05-141-1/+3
|
* Pulled back in mysterious lost le1 <-> eq0 for Sp macro.Kristaps Dzonsons2010-05-142-5/+5
|
* "Warn on unknown argument for .At and print it like [new] groff." (patch by ↵Kristaps Dzonsons2010-05-144-11/+34
| | | | | | | Joerg Sonnenberger, ed. Kristaps) Keep short-log of commits in index.sgml. Document compatibility with new/old groff in mdoc.7.
* "Invalid standard argument should be a warning. Just leak it into theKristaps Dzonsons2010-05-142-6/+7
| | | | output." (patch by Joerg Sonnenberger)
* Finish initial documentation of the Bl lists.Kristaps Dzonsons2010-05-141-1/+40
|
* Re-addition of cleaned-up list documentation in mdoc.7.Kristaps Dzonsons2010-05-141-55/+69
|
* "If the last column wasn't specified, it is auto-sized." (patch by Joerg ↵Kristaps Dzonsons2010-05-141-3/+3
| | | | Sonnenberger)
* Added documentation bits.Kristaps Dzonsons2010-05-141-2/+5
|
* Block-implicit macros now up-propogate end-of-sentence spacing. NOTE: GROFF ↵Kristaps Dzonsons2010-05-142-3/+24
| | | | IS NOT SMART ENOUGH TO DO THIS.
* Fix for Joerg's patch stripping of pre-comment whitespace (by Joerg).Kristaps Dzonsons2010-05-141-3/+3
|
* Removed remaining "1 == ppos" invocations.Kristaps Dzonsons2010-05-141-5/+11
|
* Proper handling of quoted tab-separated column lists.Kristaps Dzonsons2010-05-143-36/+53
|
* Superfluous checkin testing cvs commit mailout (again)...Kristaps Dzonsons2010-05-141-1/+6
|
* Superfluous commit just to test commit messages.Kristaps Dzonsons2010-05-141-2/+3
|
* Added source mailing list entry.Kristaps Dzonsons2010-05-141-3/+3
|
* Documented version bits.VERSION_1_9_25Kristaps Dzonsons2010-05-132-7/+11
|
* Lint fix.Kristaps Dzonsons2010-05-131-1/+2
|
* Fixed bug in -Thtml -mdoc where `Lb' would line-break in LIBRARY section.Kristaps Dzonsons2010-05-136-52/+69
| | | | | Fixed assumption that parse-point == 1 equates to beginning of line (false if whitespace separates macro and control character). Fixed line-break for non-first-macro in several SYNOPSIS macros.
* Use "=" instead of "?=" for compatibility.Kristaps Dzonsons2010-05-131-1/+1
|
* Put the eos-checker into libmandoc.h.Kristaps Dzonsons2010-05-126-32/+44
| | | | Added bits in mdoc.7 and man.7 about EOS spacing.
* End-of-sentence, end-of-line.Kristaps Dzonsons2010-05-121-93/+124
|
* End-of-sentence spacing for -man -Tascii.Kristaps Dzonsons2010-05-123-3/+30
|
* End of sentence, end of line for mdoc.7.Kristaps Dzonsons2010-05-121-145/+196
|
* Tiny EOS patch. Back-end cues front-end through flag. Front-end cues ↵Kristaps Dzonsons2010-05-125-7/+43
| | | | output engine with flag.
* mdoc_atosec -> mdoc_str2sec (consistent with str2 being different from a2).Kristaps Dzonsons2010-05-128-77/+73
| | | | | Changed ordering of sections (EXIT STATUS moved around), argued for by Ulrich Sporlein. Fixed mdoc_str2sec not to use weird structure.
* Fix quoting of bar: \*(Ba mapping "|" is dumb, dumb, dumb (thanks groff).Kristaps Dzonsons2010-05-121-3/+3
|
* Back out OpenBSD special case (ok Ingo Schwarze).Kristaps Dzonsons2010-05-101-12/+12
|
* Proper leading spaces for new- and old-groff in -man -Tascii mode.Kristaps Dzonsons2010-05-101-2/+20
|
* -man also now has unbound margins for literal context.Kristaps Dzonsons2010-05-103-9/+9
|