aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Merged patch to allow -fign-escape (thanks Joerg Sonnenberger).Kristaps Dzonsons2009-10-261-3/+7
|
* Allowed -O to be invoked multiple times.Kristaps Dzonsons2009-10-261-3/+5
|
* Portability: replaced queue macros in html.c (Joerg Sonnenberger).Kristaps Dzonsons2009-10-261-4/+4
| | | | | Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either).
* Changed `-o' to `-O' for clarity. THIS BREAKS UTILITIES DEPENDING ON -o!Kristaps Dzonsons2009-10-261-2/+2
|
* Moved output definitions into main.h.Kristaps Dzonsons2009-10-131-12/+2
| | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c.
* Clean up consts (noted by Joerg Sonnenberger and Ulrich Sporlein).Kristaps Dzonsons2009-10-131-5/+8
|
* Removed new-born out.{h,c} (not a good idea).Kristaps Dzonsons2009-09-211-12/+8
| | | | | Removed if 0 for HTML-mode output (why not). Added option -oxxxx for passing options to output devices.
* More updates to html.c.Kristaps Dzonsons2009-09-161-1/+22
| | | | Secretly enabled -Thtml in main.c (obviously not yet documented).
* Made tree/term/out() functions return void.Kristaps Dzonsons2009-09-161-11/+9
| | | | Put err() functions back into front-ends (no use making it needlessly complex).
* Fix in newline.Kristaps Dzonsons2009-07-281-2/+3
| | | | Correct printing of N-char predefined/special strings.
* main.c using fprintf instead of warnx for parse errors (like cc).Kristaps Dzonsons2009-07-271-7/+6
| | | | | | Error string is now file:line:col: message. Removed sed from vim -q example in manuals.7. Fixed column reporting (off by one).
* Added -fign-errors for VERY fast checking of many manuals without stopping ↵Kristaps Dzonsons2009-07-241-15/+28
| | | | at errors.
* Small clean-ups in error message usage.VERSION_1_7_23Kristaps Dzonsons2009-07-071-2/+2
| | | | Version.
* Cleaned out duplicate {mdoc,man}warn in main.c.Kristaps Dzonsons2009-07-061-26/+5
|
* Backed -Wcompat,syntax out of front-end.Kristaps Dzonsons2009-07-061-17/+11
|
* Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).Kristaps Dzonsons2009-07-061-23/+5
|
* suboptarg is not portable to Linux (fixed).Kristaps Dzonsons2009-07-041-7/+11
|
* Moved escape validation into libmandoc.h/mandoc.c (common between ↵Kristaps Dzonsons2009-07-041-2/+4
| | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently.
* Removed escape-deprecation note (better solution in progress, ↵Kristaps Dzonsons2009-06-271-8/+8
| | | | | | | | schwarze@openbsd.org). Using EXIT_FAILURE for parse errors (nicm@openbsd.org). Fixed use of warn/warnx (nicm@openbsd.org). Fixed use of getsubopt (nicm@openbsd.org).
* Added -fno-ign-chars support to libman.Kristaps Dzonsons2009-06-181-2/+4
| | | | | | | man_validate.c checks for non-tab/isprint words. libman hashtable fixed (was ignoring .br). Added ncount field to man_node, deprecating count() functions. Documented use of tabs in man.7.
* Clean-up: in-source documentation.Kristaps Dzonsons2009-06-161-56/+13
|
* Modernised comment handling: text following \" is thrown away beforeKristaps Dzonsons2009-06-161-26/+39
| | | | | | either parser is invoked. Single-dot lines correctly handled. This confirms with both new- and old-groff. "Comment" subsection added to mdoc.7 and man.7.
* Deprecated mdoc_msg (not being used anywhere).Kristaps Dzonsons2009-06-151-2/+1
|
* Documented some un-clear parts of main.c.Kristaps Dzonsons2009-06-111-4/+32
| | | | | Fixed footer to be new-groff style (OS DATE OS). Removed sanity check from mdoc_term (unnecessary).
* Fixed license email address.Kristaps Dzonsons2009-06-101-2/+2
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* Manual .Dt fields CAPITALISED.Kristaps Dzonsons2009-04-121-18/+25
| | | | | | | | Indent set to 5 chars (nroff compat). Half-indent set to 3 chars (nroff compat). Default behaviour is loose-y (ignore macro/char/escape). Added -fstrict. Added unknown-character ignoring.
* *** empty log message ***Kristaps Dzonsons2009-04-031-7/+6
|
* Proper resetting of memory.Kristaps Dzonsons2009-04-031-91/+98
| | | | Array boundary fixed (-W).
* Documented -mandoc behaviour.Kristaps Dzonsons2009-04-021-3/+1
|
* Added -p1003.1-2008 specification.Kristaps Dzonsons2009-04-021-4/+12
| | | | | Fixed invalid memory accesses (concat()). Made -fign-macro be the default for libman.
* Initial -mandoc auto-switch in place.Kristaps Dzonsons2009-04-021-115/+212
|
* General clean-ups.Kristaps Dzonsons2009-03-311-7/+9
|
* All macro-invocations, for consistency, begin with `.' in documentation.Kristaps Dzonsons2009-03-261-3/+3
| | | | | Fixed \\ -> \e in manual documentation. All preliminary -man macros in place.
* *** empty log message ***Kristaps Dzonsons2009-03-251-33/+20
|
* Added pflags to man_alloc.Kristaps Dzonsons2009-03-251-7/+22
| | | | Abstract fflags -> pflags in main.c.
* Added man validator, renamed mdoc validator.Kristaps Dzonsons2009-03-251-9/+34
|
* Fixed inclusion of MANSRCS (sorry, Ulrich).Kristaps Dzonsons2009-03-231-2/+2
| | | | Added DragonFlyBSD __dead2.
* -man linked to mandoc in documentation.Kristaps Dzonsons2009-03-231-2/+4
|
* -man printing linked to -Ttree.Kristaps Dzonsons2009-03-231-10/+9
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-103/+89
| | | | Abstraction of mdoc.
* Lint fixes.Kristaps Dzonsons2009-03-221-2/+3
|
* Stripping of Xo/Xc macros in main.c (ifdef STRIP_XO).Kristaps Dzonsons2009-03-221-2/+82
|
* Lintification.Kristaps Dzonsons2009-03-201-3/+3
|
* Casting fix.Kristaps Dzonsons2009-03-201-6/+6
|
* Proper .Dl literalism.Kristaps Dzonsons2009-03-201-48/+58
|
* Fixed mandoc read from stdin.Kristaps Dzonsons2009-03-191-11/+25
| | | | Added some more groff_chars.
* Some Linux-isms.Kristaps Dzonsons2009-03-191-1/+8
|
* Lintified & versioned.Kristaps Dzonsons2009-03-191-1/+2
|
* Split mdocterm.c -> main.c terminal.c.Kristaps Dzonsons2009-03-191-0/+452
Abstracted output with -T selector (default ascii). Name change: mdocterm -> mandoc. Re-imported tree with -Ttree.