aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_action.c
Commit message (Collapse)AuthorAgeFilesLines
* Lint fixes (type-safety for enums via -cefuh).Kristaps Dzonsons2010-05-081-5/+5
|
* Migrating mdoc_node_free() and mdoc_node_freelist() to use ↵Kristaps Dzonsons2010-04-061-22/+3
| | | | mdoc_node_delete(), which has a more intuitive interface and mirrors libman.
* Fix issue of non-NAME sections triggering "no sections" error, reported by ↵Kristaps Dzonsons2010-04-051-2/+6
| | | | Christian Weisgerber, patched by Ingo Schwarze.
* Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" ↵Kristaps Dzonsons2010-03-311-2/+3
| | | | | | | values). Initial check-in of Ingo Schwarze's patch for Xo/Xc handling (in blocks ifdef'd "UGLY"). Put Oc-close-Op parts into UGLY ifdef blocks.
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-5/+5
| | | | architectures. Thanks to Joerg Sonnenberger.
* Added mandoc_a2time() for proper date conversion.Kristaps Dzonsons2009-11-021-4/+5
| | | | | Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc.
* Using perror() instead of fprintf for failure from library functions.Kristaps Dzonsons2009-10-311-3/+1
|
* Lint fixes.Kristaps Dzonsons2009-10-301-1/+2
| | | | Made realloc puke with fprintf.
* Clean-ups in mdoc_action (using libmandoc.h functions).Kristaps Dzonsons2009-10-291-152/+173
|
* Fix to segfault in ordering Rs blocks (d'oh!).VERSION_1_9_11Kristaps Dzonsons2009-10-261-3/+4
| | | | Version: 1.9.11.
* Full `%U' support.Kristaps Dzonsons2009-10-261-3/+5
| | | | | | | `Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from).
* Added `%U' to -mdoc (doesn't render in a nice way yet).Kristaps Dzonsons2009-10-241-1/+2
|
* Added ability to set OS name at compile-time with -DOSNAME="\"foo\"".Kristaps Dzonsons2009-10-221-1/+14
|
* Lint check (noop).Kristaps Dzonsons2009-09-251-1/+2
|
* Fixed segfault in `Rs' empty block.Kristaps Dzonsons2009-09-241-1/+2
|
* Added EBADCHILD error (bad child of parent context).Kristaps Dzonsons2009-09-241-8/+89
| | | | | `Rs' post-checks that all children are proper bibliographic elements. `Rs' correctly re-orders its children as per groff's output (including %C).
* -offset string can now be blank (supplied with 6n as stipulated by ↵Kristaps Dzonsons2009-09-241-12/+49
| | | | mdoc.samples).
* Lintifications.Kristaps Dzonsons2009-09-161-2/+2
|
* Lookup hashes are now static tables, ordered first-level by second ↵Kristaps Dzonsons2009-09-161-2/+2
| | | | character, then randomly along a chain. Improves performance by a small fraction and considerably cleans up hash sources.
* Updated manual structure in mdoc.7.Kristaps Dzonsons2009-08-201-188/+173
| | | | | | Synchronised mdoc.template and mdoc.7 manual structure. `Rv' and `Ex' now accept multiple arguments (-std made standalone, terms as children). `Rv' and `Ex' format correctly in -Tascii (plurals, commas, etc.).
* Made out-of-order prologue macros not cause an error.Kristaps Dzonsons2009-07-261-2/+5
|
* Patches and results of LLVM static analysis (thanks uqs@sporlein.net).Kristaps Dzonsons2009-07-251-2/+1
|
* Added `St -ieee1275-94'.Kristaps Dzonsons2009-07-241-2/+7
| | | | Documented a future `Bd' fixme.
* Added default print of `~' with empty `Pa' (not documented with OpenBSD, but ↵Kristaps Dzonsons2009-07-211-6/+6
| | | | still applicable).
* Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org).Kristaps Dzonsons2009-07-171-1/+3
|
* Subtle fixes correcting vis count with erroneously-decorated whitespace.Kristaps Dzonsons2009-07-161-16/+1
|
* Removed assertion (disregarded blank literal lines).Kristaps Dzonsons2009-07-151-1/+16
|
* Replacement of `Lb' in mdoc_action.c.Kristaps Dzonsons2009-07-121-2/+33
| | | | | | Added warning against bogus `Lb' (like groff does). Added proper quotes around `Lb' in mdoc_term.c. Moved mdoc_a2lib -> libmdoc (where it belongs).
* Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c).Kristaps Dzonsons2009-07-121-2/+19
| | | | Made bad standards into an error (were a warning).
* Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c).Kristaps Dzonsons2009-07-121-13/+39
|
* Made `In' handling work in new-groff style (see mdoc.samples).Kristaps Dzonsons2009-07-071-2/+3
|
* Consolidated all err/warnings into mdoc.c via libmdoc.h.Kristaps Dzonsons2009-07-061-84/+30
|
* Consolidated mdoc_action pwarn->perr.Kristaps Dzonsons2009-07-061-34/+20
|
* Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).Kristaps Dzonsons2009-07-061-5/+4
|
* Updating web-page to be a bit more compact.Kristaps Dzonsons2009-06-251-2/+6
|
* Noted .Cd tabs-ok issue (will fix later).Kristaps Dzonsons2009-06-221-2/+2
| | | | Added single space to -diag lists.
* Added "Spacing" part of "Punctuation and Spacing" in mandoc.1 manual.Kristaps Dzonsons2009-06-221-2/+2
| | | | | | | Fixed `Ds' meta-macro default width. Fixed -width and -offset "indent", "indent-two", and "left" widths. Fixed -width and -offset literal-word and numeric widths. Fixed off-by-one errors in whitespace output (schwarze@openbsd.org).
* Added nchild decrement in libman (not used, but better in than forgotten).Kristaps Dzonsons2009-06-181-6/+6
| | | | Added nchild to libmdoc, deprecated count() functions in validator.
* Clean-up.Kristaps Dzonsons2009-06-171-4/+3
|
* Lint fixes.Kristaps Dzonsons2009-06-171-3/+3
|
* `Bl -column' now correctly handles tail entries (Bl -column -more... arg0...).Kristaps Dzonsons2009-06-171-1/+52
|
* Section orders are more elegantly handled (MDOC_PBODY is a flag).Kristaps Dzonsons2009-06-171-2/+2
| | | | Cleaned up string->enum conversion for section lookup.
* Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc ↵Kristaps Dzonsons2009-06-161-3/+2
| | | | parser).
* Lint fixes (no effect).Kristaps Dzonsons2009-06-121-2/+3
| | | | Versioning up.
* `Lk' is correctly handled as CALLABLE (note groff munges nested output).Kristaps Dzonsons2009-06-121-2/+24
| | | | | | | `Mt' is now CALLABLE. Fixed missing validate/action of zero-element, non-called inline elements. Fixed missing validate/action of nested inline element re-calls. Fixed bogus column argv index in validator.
* Fixed license email address.Kristaps Dzonsons2009-06-101-2/+2
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* Removed forgotten printfs.Kristaps Dzonsons2009-04-061-7/+1
|
* Fix bogus use of mdoc->last in action pre-handler (!!!!!).Kristaps Dzonsons2009-04-061-3/+10
|
* Proper resetting of memory.Kristaps Dzonsons2009-04-031-1/+6
| | | | Array boundary fixed (-W).