summaryrefslogtreecommitdiffstats
path: root/mdoc_argv.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Lint fixes (type-safety for enums via -cefuh).Kristaps Dzonsons2010-05-081-12/+13
|
* De-chunking of text removed from parsers. This is a significant change (and ↵Kristaps Dzonsons2010-05-071-2/+6
| | | | | | I don't really like it), but it's what groff does. Distinction of ARGS_PHRASE and ARGS_PPHRASE in backend (not yet used).
* Initial ARGS_PPHRASE (partial phrase) framework.Kristaps Dzonsons2010-05-071-1/+3
| | | | Running tally of changes in index.sgml.
* enum-ised mdoc_argv() return (better return-value safety).Kristaps Dzonsons2010-05-071-1/+1
|
* margerr -> margserr (getting ready for margverr).Kristaps Dzonsons2010-05-071-4/+4
|
* Wrangle mdoc_args() and mdoc_zargs() to use enum return type.Kristaps Dzonsons2010-05-071-4/+4
| | | | | Fixed lookup() and lookup_raw() to correctly use enum type. Quashed in_line_argn() bug (not reported, but there) where mixing return values.
* Merged Ingo Schwarze's patch (plus documentation) for removing extraneous ↵Kristaps Dzonsons2010-04-031-14/+19
| | | | list types, which happens fairly often.
* Re-adjusting UGLY tags.Kristaps Dzonsons2010-03-311-1/+0
| | | | | Fixed removed assignment of type. Removed superfluous checks of mdoc_argflags (from days when comments were a macro tag).
* Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" ↵Kristaps Dzonsons2010-03-311-6/+7
| | | | | | | 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.
* Integrate Ingo Schwarze's patch for mdoc_iscdelim() (tri-state for opening ↵Kristaps Dzonsons2010-03-291-2/+2
| | | | | | | | | | | and closing macro punctuation). Modify blk_part_exp() to correctly handle leading punctuation before HEAD. Significantly clean up and document blk_part_exp(). Modify blk_part_imp() for to correctly handle leading punctuation before HEAD. Significantly clean up and document blk_part_imp(). Integrate Ingo Schwarze's patch for args() (using new mdoc_iscdelim() format). Documented bad `Ec' handling for later work in mdoc_term.c/mdoc_html.c.
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-0/+4
| | | | architectures. Thanks to Joerg Sonnenberger.
* libmdoc and libman now using non-recoverable allocations (simpler code).Kristaps Dzonsons2009-10-301-1/+1
|
* Slow movement of internal allocations to fail completely.Kristaps Dzonsons2009-10-281-32/+13
|
* Added `%U' to -mdoc (doesn't render in a nice way yet).Kristaps Dzonsons2009-10-241-0/+1
|
* Fixed `-file' argument to `Bd', which is NOT a type, but instead just an ↵Kristaps Dzonsons2009-10-191-1/+1
| | | | argument.
* Added support for `Bd -centered', which appears in newer groffs (not yet ↵Kristaps Dzonsons2009-10-151-0/+2
| | | | implemented in centre-capable front-ends, i.e., -Thtml).
* Fix operator overloading (submitted by Ulrich Sporlein, uqs@spoerlein.net).Kristaps Dzonsons2009-10-071-30/+30
|
* -offset string can now be blank (supplied with 6n as stipulated by ↵Kristaps Dzonsons2009-09-241-2/+6
| | | | mdoc.samples).
* Updated manual structure in mdoc.7.Kristaps Dzonsons2009-08-201-1/+1
| | | | | | 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.).
* Documented ARGS_ handling in args().Kristaps Dzonsons2009-08-201-0/+15
|
* Delimiter whitespace is correctly flagged (required some special handling).Kristaps Dzonsons2009-08-201-10/+14
|
* Removed already-fixed FIXME.Kristaps Dzonsons2009-08-191-2/+0
|
* More cleanups for TABSEP handling.Kristaps Dzonsons2009-07-201-6/+6
|
* Replaced ugly TABSEP handling with simpler routine.Kristaps Dzonsons2009-07-201-48/+29
|
* Fixed and cleaned up "phrase" handling (`Bl -column' columns).Kristaps Dzonsons2009-07-191-0/+8
| | | | Found strange newline bug in -diag handling (and others?).
* Made unterminated quoted literals be a warning, like groff.Kristaps Dzonsons2009-07-181-2/+3
|
* Considerably revamped argument-parsing for correct quoted-literal handling.Kristaps Dzonsons2009-07-181-189/+160
| | | | | Deprecated ARGS_QUOTED (all arguments are quotable). Documented quotation and whitespace rules in mdoc.7.
* Lint-check (removed unused variable).Kristaps Dzonsons2009-07-171-2/+0
|
* Removed EARGVPARM (superfluous, overly error-generating).Kristaps Dzonsons2009-07-171-11/+1
| | | | Added `sp' handler.
* Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org).Kristaps Dzonsons2009-07-171-0/+2
|
* args() should return ARGS_ERROR, not 0.Kristaps Dzonsons2009-07-151-5/+5
|
* Removed long-fixed FIXME note.Kristaps Dzonsons2009-07-111-1/+0
|
* Consolidated all err/warnings into mdoc.c via libmdoc.h.Kristaps Dzonsons2009-07-061-84/+30
|
* Consolidated pwarn->perr in mdoc_argv.Kristaps Dzonsons2009-07-061-40/+26
|
* Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).Kristaps Dzonsons2009-07-061-5/+4
|
* Lint fixes.Kristaps Dzonsons2009-06-171-3/+1
|
* `Bl -column' now correctly handles tail entries (Bl -column -more... arg0...).Kristaps Dzonsons2009-06-171-5/+3
|
* Cleaned up .Bf validator.Kristaps Dzonsons2009-06-171-0/+2
|
* Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc ↵Kristaps Dzonsons2009-06-161-2/+1
| | | | parser).
* Fixed license email address.Kristaps Dzonsons2009-06-101-1/+1
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* General clean-ups.Kristaps Dzonsons2009-03-311-45/+60
|
* Version. Added forgotten file.Kristaps Dzonsons2009-03-271-0/+857