summaryrefslogtreecommitdiffstatshomepage
path: root/term.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix in newline.Kristaps Dzonsons2009-07-281-4/+9
| | | | Correct printing of N-char predefined/special strings.
* Re-ordered ascii.in looking for dupes.Kristaps Dzonsons2009-07-271-3/+17
| | | | | Added `vim -q' tip to manuals.7 (thanks uqs@sporlein.net). ifdef'd production of missing specials/predefines.
* Clarified special chars/predefined chars in mandoc_char.7.Kristaps Dzonsons2009-07-271-48/+33
| | | | | Cleaned up escape section in man.7, mdoc.7. Cleaned up function names in term.c.
* Correct handling of \*(xx, \*[xxx], \*x versus \x, \(xx, \([xxx]: predefined ↵Kristaps Dzonsons2009-07-271-6/+25
| | | | strings and escape characters, respectively.
* Text tokens with leading whitespace (like indented blocks in `Bd -literal') ↵Kristaps Dzonsons2009-07-241-2/+2
| | | | are printed correctly.
* Lintified term_flushln() (type mismatches).Kristaps Dzonsons2009-07-231-13/+24
|
* Bringing spacing more in line with groff, patches from schwarze@openbsd.org. ↵Kristaps Dzonsons2009-07-211-35/+38
| | | | Pre-testing.
* Fixed and cleaned up "phrase" handling (`Bl -column' columns).Kristaps Dzonsons2009-07-191-2/+5
| | | | Found strange newline bug in -diag handling (and others?).
* Subtle fixes correcting vis count with erroneously-decorated whitespace.Kristaps Dzonsons2009-07-161-5/+5
|
* Fix in nospace following close-delimiter.Kristaps Dzonsons2009-07-161-3/+4
|
* Removed assertion (disregarded blank literal lines).Kristaps Dzonsons2009-07-151-2/+1
|
* Removed term.c break-up of tokens (happens in libmdoc).Kristaps Dzonsons2009-07-151-89/+63
| | | | Removed costly, redundant calculations of string length (in-line printing).
* Cleaned up arg_width and arg_column functions.Kristaps Dzonsons2009-07-141-2/+2
| | | | | Added XXn and XXm support to -offset (not documented in mdoc.samples, but used in mdoc.samples!). Lint warnings fixed.
* Support for TERMP_HANG in flushln(): -hang lists.Kristaps Dzonsons2009-07-141-6/+19
|
* Lint fixes.VERSION_1_7_20Kristaps Dzonsons2009-06-221-2/+3
| | | | Version up.
* Noted .Cd tabs-ok issue (will fix later).Kristaps Dzonsons2009-06-221-1/+4
| | | | Added single space to -diag lists.
* Added "Spacing" part of "Punctuation and Spacing" in mandoc.1 manual.Kristaps Dzonsons2009-06-221-23/+25
| | | | | | | 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).
* Reverted max column width 80 -> 78 (schwarze@openbsd.org).Kristaps Dzonsons2009-06-221-2/+2
|
* Special characters, e.g. \(ae, are now correctly rendered in the current ↵Kristaps Dzonsons2009-06-171-53/+27
| | | | font decoration.
* Clean up validation of field widths.Kristaps Dzonsons2009-06-111-6/+5
| | | | | | Pushed field-width warn/error into warn/error routine. Removed superfluous space at output eoln. Fixed overzealous line break in lists.
* Fix space-before-newline (inspired by schwarze@openbsd.org).Kristaps Dzonsons2009-06-111-6/+5
|
* Fixed email address in manual AUTHOR reference.Kristaps Dzonsons2009-06-111-2/+2
| | | | | | Set max right margin to 80 columns (schwarze@openbsd.org). Fixed centre-field heading position (schwarze@openbsd.org). Also fixed -Tman centre-field.
* Fixed license email address.Kristaps Dzonsons2009-06-101-2/+2
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* *** empty log message ***Kristaps Dzonsons2009-04-031-3/+1
|
* Proper resetting of memory.Kristaps Dzonsons2009-04-031-8/+16
| | | | Array boundary fixed (-W).
* General clean-ups.Kristaps Dzonsons2009-03-311-0/+595
|
* Initial front-end formatting for -man pages.Kristaps Dzonsons2009-03-261-1926/+0
|
* More manual documentation fixed/improved.Kristaps Dzonsons2009-03-231-3/+5
|
* Fixed Bd -compact.Kristaps Dzonsons2009-03-221-21/+38
| | | | Fixed vspace before Bd and Bl.
* Freed more macros from zero-length restrictions.Kristaps Dzonsons2009-03-211-3/+3
| | | | Fixed `Fn' spacing.
* Handling -width="" in lists.Kristaps Dzonsons2009-03-211-3/+3
|
* `Em' accepts empty tokens.Kristaps Dzonsons2009-03-211-14/+35
| | | | | Punctuation fully fixed (per-reserved-word). Sm enabled.
* Added %Q macro.Kristaps Dzonsons2009-03-211-1/+2
|
* Fixed literal-formatting error with `Dl'.Kristaps Dzonsons2009-03-201-1/+2
|
* Support for `Bd' of all types (see mdoc.7 for newline/tab rules).VERSION_1_6_2Kristaps Dzonsons2009-03-201-114/+127
| | | | | Renamed term.c and terminal.c functions to be term_. Some bugfixes to lists.
* Changed e-mail address to @openbsd.Kristaps Dzonsons2009-03-161-2/+14
| | | | Cleaned up manual-page documentation.
* Fixed mdoc_phrase escape handling.Kristaps Dzonsons2009-03-161-1/+3
| | | | | | | | | | | Added MDOC_IGNDELIM (Pf, soon Li, etc.). macro_constant_delimited ignargs -> argv.c parsing. Renamed macro functions to correspond to ontologies. `Fo' and `St' made callable (compat documented). strings.sh deprecated (directly using CPP). Abstracted ASCII translation into ascii.{c,in}. ASCII table uses a self-reordering chained hashtable. Removed old regressions.
* Added colour styles (not being used) to struct termp.Kristaps Dzonsons2009-03-141-11/+11
| | | | | | Added nroff style-escape encoding. Removed ANSI schema string tables (there's only ANSI and nroff/backspace). Pushed styling directly into pword (simpler).
* Added canonical mdoc.7.Kristaps Dzonsons2009-03-131-2/+6
| | | | Added \q macro.
* Added -nested (doesn't do anything).Kristaps Dzonsons2009-03-121-1/+3
| | | | | | Added .%C. .Cd is now callable. Added .Rv -std.
* NetBSD '.[[:whitespace:]]*' properly handled.Kristaps Dzonsons2009-03-121-1/+3
| | | | mdoc.3 indicates compatibilities and bugs.
* Removed segfault with empty word.Kristaps Dzonsons2009-03-121-2/+2
| | | | Initial "full" -column support.
* Brq/Bro/Brc fixed up and pretty.Kristaps Dzonsons2009-03-121-77/+129
| | | | | | Cleaned up Aq/Sq use of escapes in term.c. Added initial -column support. Fixed argv returning ARGV_WORD and tokenising anyway.
* Expanded perfect htab to use 27 * 26 * 3 space.Kristaps Dzonsons2009-03-111-3/+35
| | | | | | Added Brq, Bro and Brc macros. Added lbrace and rbrace to special characters. Fixed spacing in braces.
* Added regular-form sanity check in mdocterm.Kristaps Dzonsons2009-03-101-37/+5
|
* Added `Mt' and `Lk' macros (NetBSD).Kristaps Dzonsons2009-03-091-3/+51
|
* Easier integration into FreeBSD (sys/types.h, time.h, etc.).VERSION_1_4_5Kristaps Dzonsons2009-03-091-1/+3
|
* Added `Lp' macro.Kristaps Dzonsons2009-03-081-1/+2
|
* Added .Ap.Kristaps Dzonsons2009-03-081-1/+15
|