Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If a .Bl -tag lacks a -width, skip all non-It macros for the implicit | Joerg Sonnenberger | 2010-05-24 | 1 | -2/+5 |
| | | | | | | calculation. E.g. .Sm can occur as direct child of .Bl. OK schwarze@ | ||||
* | Increase performance by stashing the list type in struct mdoc_node. | Kristaps Dzonsons | 2010-05-17 | 1 | -3/+58 |
| | | | | | | | This will eventually be used so that mdoc_macro can known whether to dump list line arguments into the body (`Bl -column' overflowing). Remove a2list() and arg_listtype() because of this. | ||||
* | Enable the unified error/warning enumeration in mandoc.h that's | Kristaps Dzonsons | 2010-05-17 | 1 | -21/+45 |
| | | | | | | | | | | | stringified in main.c. Allow `An' to handle an argument and child (with a warning). Allow `Rv' and `Ex' to work without a prior `Nm' as groff does (with a warning). Allow inconsistent column syntax to only raise a warning. | ||||
* | LIBRARY can also occur in section 9. | Kristaps Dzonsons | 2010-05-15 | 1 | -19/+17 |
| | | | | | | 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. | ||||
* | "Warn on unknown argument for .At and print it like [new] groff." (patch by ↵ | Kristaps Dzonsons | 2010-05-14 | 1 | -5/+17 |
| | | | | | | | 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 the | Kristaps Dzonsons | 2010-05-14 | 1 | -3/+4 |
| | | | | output." (patch by Joerg Sonnenberger) | ||||
* | mdoc_atosec -> mdoc_str2sec (consistent with str2 being different from a2). | Kristaps Dzonsons | 2010-05-12 | 1 | -1/+1 |
| | | | | | Changed ordering of sections (EXIT STATUS moved around), argued for by Ulrich Sporlein. Fixed mdoc_str2sec not to use weird structure. | ||||
* | Lint fixes (type-safety for enums via -cefuh). | Kristaps Dzonsons | 2010-05-08 | 1 | -4/+4 |
| | |||||
* | Migrating mdoc_node_free() and mdoc_node_freelist() to use ↵ | Kristaps Dzonsons | 2010-04-06 | 1 | -21/+2 |
| | | | | 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 Dzonsons | 2010-04-05 | 1 | -1/+5 |
| | | | | Christian Weisgerber, patched by Ingo Schwarze. | ||||
* | Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" ↵ | Kristaps Dzonsons | 2010-03-31 | 1 | -1/+2 |
| | | | | | | | 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 Dzonsons | 2010-01-01 | 1 | -4/+4 |
| | | | | architectures. Thanks to Joerg Sonnenberger. | ||||
* | Added mandoc_a2time() for proper date conversion. | Kristaps Dzonsons | 2009-11-02 | 1 | -3/+4 |
| | | | | | 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 Dzonsons | 2009-10-31 | 1 | -2/+0 |
| | |||||
* | Lint fixes. | Kristaps Dzonsons | 2009-10-30 | 1 | -0/+1 |
| | | | | Made realloc puke with fprintf. | ||||
* | Clean-ups in mdoc_action (using libmandoc.h functions). | Kristaps Dzonsons | 2009-10-29 | 1 | -151/+172 |
| | |||||
* | Fix to segfault in ordering Rs blocks (d'oh!).VERSION.1.9.11 | Kristaps Dzonsons | 2009-10-26 | 1 | -2/+3 |
| | | | | Version: 1.9.11. | ||||
* | Full `%U' support. | Kristaps Dzonsons | 2009-10-26 | 1 | -2/+4 |
| | | | | | | | `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 Dzonsons | 2009-10-24 | 1 | -0/+1 |
| | |||||
* | Added ability to set OS name at compile-time with -DOSNAME="\"foo\"". | Kristaps Dzonsons | 2009-10-22 | 1 | -0/+13 |
| | |||||
* | Lint check (noop). | Kristaps Dzonsons | 2009-09-25 | 1 | -0/+1 |
| | |||||
* | Fixed segfault in `Rs' empty block. | Kristaps Dzonsons | 2009-09-24 | 1 | -0/+1 |
| | |||||
* | Added EBADCHILD error (bad child of parent context). | Kristaps Dzonsons | 2009-09-24 | 1 | -7/+88 |
| | | | | | `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 Dzonsons | 2009-09-24 | 1 | -11/+48 |
| | | | | mdoc.samples). | ||||
* | Lintifications. | Kristaps Dzonsons | 2009-09-16 | 1 | -1/+1 |
| | |||||
* | Lookup hashes are now static tables, ordered first-level by second ↵ | Kristaps Dzonsons | 2009-09-16 | 1 | -1/+1 |
| | | | | 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 Dzonsons | 2009-08-20 | 1 | -187/+172 |
| | | | | | | 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 Dzonsons | 2009-07-26 | 1 | -1/+4 |
| | |||||
* | Patches and results of LLVM static analysis (thanks uqs@sporlein.net). | Kristaps Dzonsons | 2009-07-25 | 1 | -1/+0 |
| | |||||
* | Added `St -ieee1275-94'. | Kristaps Dzonsons | 2009-07-24 | 1 | -1/+6 |
| | | | | Documented a future `Bd' fixme. | ||||
* | Added default print of `~' with empty `Pa' (not documented with OpenBSD, but ↵ | Kristaps Dzonsons | 2009-07-21 | 1 | -5/+5 |
| | | | | still applicable). | ||||
* | Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org). | Kristaps Dzonsons | 2009-07-17 | 1 | -0/+2 |
| | |||||
* | Subtle fixes correcting vis count with erroneously-decorated whitespace. | Kristaps Dzonsons | 2009-07-16 | 1 | -15/+0 |
| | |||||
* | Removed assertion (disregarded blank literal lines). | Kristaps Dzonsons | 2009-07-15 | 1 | -0/+15 |
| | |||||
* | Replacement of `Lb' in mdoc_action.c. | Kristaps Dzonsons | 2009-07-12 | 1 | -1/+32 |
| | | | | | | 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 Dzonsons | 2009-07-12 | 1 | -1/+18 |
| | | | | Made bad standards into an error (were a warning). | ||||
* | Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c). | Kristaps Dzonsons | 2009-07-12 | 1 | -12/+38 |
| | |||||
* | Made `In' handling work in new-groff style (see mdoc.samples). | Kristaps Dzonsons | 2009-07-07 | 1 | -1/+2 |
| | |||||
* | Consolidated all err/warnings into mdoc.c via libmdoc.h. | Kristaps Dzonsons | 2009-07-06 | 1 | -83/+29 |
| | |||||
* | Consolidated mdoc_action pwarn->perr. | Kristaps Dzonsons | 2009-07-06 | 1 | -33/+19 |
| | |||||
* | Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication). | Kristaps Dzonsons | 2009-07-06 | 1 | -4/+3 |
| | |||||
* | Updating web-page to be a bit more compact. | Kristaps Dzonsons | 2009-06-25 | 1 | -1/+5 |
| | |||||
* | Noted .Cd tabs-ok issue (will fix later). | Kristaps Dzonsons | 2009-06-22 | 1 | -1/+1 |
| | | | | Added single space to -diag lists. | ||||
* | Added "Spacing" part of "Punctuation and Spacing" in mandoc.1 manual. | Kristaps Dzonsons | 2009-06-22 | 1 | -1/+1 |
| | | | | | | | 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 Dzonsons | 2009-06-18 | 1 | -5/+5 |
| | | | | Added nchild to libmdoc, deprecated count() functions in validator. | ||||
* | Clean-up. | Kristaps Dzonsons | 2009-06-17 | 1 | -3/+2 |
| | |||||
* | Lint fixes. | Kristaps Dzonsons | 2009-06-17 | 1 | -2/+2 |
| | |||||
* | `Bl -column' now correctly handles tail entries (Bl -column -more... arg0...). | Kristaps Dzonsons | 2009-06-17 | 1 | -0/+51 |
| | |||||
* | Section orders are more elegantly handled (MDOC_PBODY is a flag). | Kristaps Dzonsons | 2009-06-17 | 1 | -1/+1 |
| | | | | Cleaned up string->enum conversion for section lookup. | ||||
* | Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc ↵ | Kristaps Dzonsons | 2009-06-16 | 1 | -2/+1 |
| | | | | parser). |