Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove unused enum merr; | Ingo Schwarze | 2010-05-24 | 1 | -56/+0 |
| | | | | ok joerg@ | ||||
* | Increase performance by stashing the list type in struct mdoc_node. | Kristaps Dzonsons | 2010-05-17 | 1 | -1/+1 |
| | | | | | | | 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 | -14/+7 |
| | | | | | | | | | | | 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 | -1/+1 |
| | | | | | | 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. | ||||
* | Distinguish OPEN, MIDDLE and CLOSE delimiters (using an enum). | Ingo Schwarze | 2010-05-15 | 1 | -2/+9 |
| | | | | | | | 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@ | ||||
* | More `Bl -column' dancing: It children also inherit in-phrase flags (noted ↵ | Kristaps Dzonsons | 2010-05-15 | 1 | -2/+2 |
| | | | | by Ingo Schwarze). | ||||
* | Backed out check for `Ex' manual sec (ok schwarze@, joerg@), in turn backing ↵ | Kristaps Dzonsons | 2010-05-14 | 1 | -1/+0 |
| | | | | out check_msec() and deps. | ||||
* | Proper handling of quoted tab-separated column lists. | Kristaps Dzonsons | 2010-05-14 | 1 | -3/+5 |
| | |||||
* | Fixed bug in -Thtml -mdoc where `Lb' would line-break in LIBRARY section. | Kristaps Dzonsons | 2010-05-13 | 1 | -3/+4 |
| | | | | | 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. | ||||
* | 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. | ||||
* | Introduce ARGS_PEND for `It -column' end-of-line special casing. | Kristaps Dzonsons | 2010-05-09 | 1 | -1/+2 |
| | | | | Initial rules for insane `It -column' tabsep handling. | ||||
* | Lint fixes (type-safety for enums via -cefuh). | Kristaps Dzonsons | 2010-05-08 | 1 | -2/+1 |
| | |||||
* | Initial ARGS_PPHRASE (partial phrase) framework. | Kristaps Dzonsons | 2010-05-07 | 1 | -1/+2 |
| | | | | Running tally of changes in index.sgml. | ||||
* | enum-ised mdoc_argv() return (better return-value safety). | Kristaps Dzonsons | 2010-05-07 | 1 | -5/+8 |
| | |||||
* | margerr -> margserr (getting ready for margverr). | Kristaps Dzonsons | 2010-05-07 | 1 | -3/+3 |
| | |||||
* | Wrangle mdoc_args() and mdoc_zargs() to use enum return type. | Kristaps Dzonsons | 2010-05-07 | 1 | -8/+12 |
| | | | | | Fixed lookup() and lookup_raw() to correctly use enum type. Quashed in_line_argn() bug (not reported, but there) where mixing return values. | ||||
* | Sync'd mdoc.c's function names with man.c. | Kristaps Dzonsons | 2010-04-08 | 1 | -0/+1 |
| | | | | Prompted by Ingo and Claus Assman, added warn/ignore for text lines beginning with `\."'. | ||||
* | Migrating mdoc_node_free() and mdoc_node_freelist() to use ↵ | Kristaps Dzonsons | 2010-04-06 | 1 | -2/+1 |
| | | | | mdoc_node_delete(), which has a more intuitive interface and mirrors libman. | ||||
* | Merged Ingo Schwarze's patch (plus documentation) for removing extraneous ↵ | Kristaps Dzonsons | 2010-04-03 | 1 | -0/+1 |
| | | | | list types, which happens fairly often. | ||||
* | Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" ↵ | Kristaps Dzonsons | 2010-03-31 | 1 | -10/+10 |
| | | | | | | | 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. | ||||
* | libmdoc and libman now using non-recoverable allocations (simpler code). | Kristaps Dzonsons | 2009-10-30 | 1 | -1/+0 |
| | |||||
* | Added warning about specifying list arguments before type (suggested by ↵ | Kristaps Dzonsons | 2009-10-15 | 1 | -0/+1 |
| | | | | Joerg Sonnenberg). | ||||
* | Added EBADCHILD error (bad child of parent context). | Kristaps Dzonsons | 2009-09-24 | 1 | -0/+1 |
| | | | | | `Rs' post-checks that all children are proper bibliographic elements. `Rs' correctly re-orders its children as per groff's output (including %C). | ||||
* | Lookup hashes are now static tables, ordered first-level by second ↵ | Kristaps Dzonsons | 2009-09-16 | 1 | -4/+2 |
| | | | | character, then randomly along a chain. Improves performance by a small fraction and considerably cleans up hash sources. | ||||
* | Documented ARGS_ handling in args(). | Kristaps Dzonsons | 2009-08-20 | 1 | -3/+3 |
| | |||||
* | Delimiter whitespace is correctly flagged (required some special handling). | Kristaps Dzonsons | 2009-08-20 | 1 | -2/+4 |
| | |||||
* | In-line documentation of mdoc_macro file. | Kristaps Dzonsons | 2009-08-19 | 1 | -1/+1 |
| | | | | Moved _NEXT_ macros into _alloc_ routines (where they belong). | ||||
* | libmdoc accepts whitespace following control character.VERSION.1.9.0 | Kristaps Dzonsons | 2009-08-18 | 1 | -1/+0 |
| | |||||
* | Moved CALLABLE check to lookup_raw(). | Kristaps Dzonsons | 2009-07-29 | 1 | -2/+0 |
| | | | | | | Made PARSABLE check occur prior to lookup(). Non-PARSEABLE macros no longer warn against having macro-like parameters. Non-CALLABLE macros no longer produce an error, just display their symbols (as in groff) (pointed out by joerg@netbsd.org). | ||||
* | Replaced ugly TABSEP handling with simpler routine. | Kristaps Dzonsons | 2009-07-20 | 1 | -1/+0 |
| | |||||
* | Fixed and cleaned up "phrase" handling (`Bl -column' columns). | Kristaps Dzonsons | 2009-07-19 | 1 | -0/+2 |
| | | | | Found strange newline bug in -diag handling (and others?). | ||||
* | Removed EARGVPARM (superfluous, overly error-generating). | Kristaps Dzonsons | 2009-07-17 | 1 | -1/+0 |
| | | | | Added `sp' handler. | ||||
* | Replacement of `Lb' in mdoc_action.c. | Kristaps Dzonsons | 2009-07-12 | 1 | -0/+2 |
| | | | | | | 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 | -0/+1 |
| | | | | 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 | -0/+1 |
| | |||||
* | Fixed mdoc_nwarn/mdoc_nerr considering themselves err/warn instead of ↵ | Kristaps Dzonsons | 2009-07-12 | 1 | -2/+2 |
| | | | | warn/err (BIG mistake). From suggestion by <joerg@netbsd.org>. | ||||
* | Tabularised error-code lookup in mdoc.c. | Kristaps Dzonsons | 2009-07-07 | 1 | -8/+8 |
| | |||||
* | Consolidated all err/warnings into mdoc.c via libmdoc.h. | Kristaps Dzonsons | 2009-07-06 | 1 | -11/+70 |
| | |||||
* | Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication). | Kristaps Dzonsons | 2009-07-06 | 1 | -7/+4 |
| | |||||
* | Section orders are more elegantly handled (MDOC_PBODY is a flag). | Kristaps Dzonsons | 2009-06-17 | 1 | -2/+3 |
| | | | | Cleaned up string->enum conversion for section lookup. | ||||
* | Deprecated mdoc_msg (not being used anywhere). | Kristaps Dzonsons | 2009-06-15 | 1 | -5/+1 |
| | |||||
* | Removed mdoc_nwarn (not being used anywhere). | Kristaps Dzonsons | 2009-06-15 | 1 | -2/+0 |
| | |||||
* | mdoc error/warn macros replaced with real functions for GCC2 support ↵ | Kristaps Dzonsons | 2009-06-15 | 1 | -32/+15 |
| | | | | (miod@openbsd.org). | ||||
* | Fixed license email address. | Kristaps Dzonsons | 2009-06-10 | 1 | -1/+1 |
| | |||||
* | Using proper license template (const). | Kristaps Dzonsons | 2009-04-12 | 1 | -12/+10 |
| | |||||
* | Made \(ss render as "ss", documented under COMPATIBILITY in mandoc_char.7. | Kristaps Dzonsons | 2009-04-12 | 1 | -4/+0 |
| | |||||
* | mdoc_tokhash -> hash | Kristaps Dzonsons | 2009-04-02 | 1 | -3/+3 |
| | | | | Initial man hashtab (BROKEN). | ||||
* | General clean-ups. | Kristaps Dzonsons | 2009-03-31 | 1 | -3/+0 |
| | |||||
* | -man linked to mandoc in documentation. | Kristaps Dzonsons | 2009-03-23 | 1 | -1/+1 |
| | |||||
* | First addition of -man macro support. | Kristaps Dzonsons | 2009-03-23 | 1 | -0/+160 |
Abstraction of mdoc. |