summaryrefslogtreecommitdiff
path: root/textproc/mdocml
AgeCommit message (Collapse)AuthorFilesLines
2013-09-15Improve COMMENT and description.wiz2-4/+15
From Ingo Schwarze <schwarze@usta.de>
2013-09-12Rename preconv and roff.7 to have a 'mandoc-' prefix. This removes thejperkin6-9/+94
conflicts with textproc/groff and allows both packages to co-exist, paving the way for mdocml to be used in the tools infrastructure as an nroff replacement. Bump PKGREVISION.
2012-12-24Make patches generic to Solaris. If changes are necessary for versionsjperkin4-14/+8
prior to Solaris 11 then we can handle them later.
2012-12-24Fix build on SmartOS.ryoon4-2/+73
If this is irrelevant, please revert them. * Use OS_VARIANT to include db_185.h * Include posix stat function in ifdef to avoid binary change
2012-10-25Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-10-21Add CONFLICTS with groffcheusov1-3/+3
2012-05-12Add CONFLICTS with new man-pages package. For details, seewiz1-1/+3
man-pages/Makefile.
2012-03-10Fix linkage on systems where separate -ldb is required.joerg1-2/+2
2012-01-18Revbump after db5 updateadam1-8/+9
2012-01-04Requires Berkeley DB on platforms that don't have db1.85 in libc.dholland1-1/+2
Build fix, no revbump.
2011-10-10Update to 1.12.0:wiz2-6/+6
08-10-2011: version 1.12.0 This version features a new, work-in-progress mandoc output mode: -Tman. This mode allows a system maintainer to distribute man media for older systems that may not natively support mdoc, such as old Solaris systems. The -Ofragment option was added to mandoc's -Thtml and -Txhtml modes. While adding features, an apropos utility has been merged from the mandoc-tools sandbox. This interfaces with mandocdb for semantic search of manual content. apropos is different from the traditional apropos primarily in allowing keyword search (such as for functions, utilities, etc.) and regular expressions. Note that the calling syntax for apropos is likely to change as it settles down. In documentation news, the mdoc and man manuals have been made considerably more readable by adding MACRO OVERVIEW sections, by moving the gory details of the LANGUAGE SYNTAX to the roff manual, and by moving the very technical MACRO SYNTAX sections down to the bottom of the page. Furthermore, for tbl, the -Tascii mode horizontal spacing of tables was rewritten completely. It is now compatible with groff, both with and without frames and rulers. Nesting of indented blocks is now supported in man, and several bugs were fixed regarding indentation and alignment. The page headers in mdoc are now nicer for very long titles.
2011-09-06Update to 1.11.7:wiz4-22/+14
02-09-2011: version 1.11.7 Added demandoc utility for stripping away macros and escapes. This replaces the historical deroff utility. Also improved the mdoc and man manuals. 16-08-2011: version 1.11.6 Handling of tr macro in roff implemented. This makes Perl documentation much more readable. Hyphenation is also now enabled in man format documents. Many other general improvements have been implemented. Furthermore, a 64-bit Windows binary is now available at mdocml-win64.zip and a Mac OS X universal binary is available at mdocml-macosx.zip. 24-07-2011: version 1.11.5 Significant eqn improvements. mdocml can now parse arbitrary eqn input (although few GNU extensions are accepted, nor is mixing low-level roff with eqn). See the eqn manual for details. For the time being, equations are rendered as simple in-line text. The equation parser satisfies the language specified in the Second Edition User's Guide. This is also the first release featuring a distributed Windows binary, available at /binaries/mdocml-win32.zip. 12-07-2011: version 1.11.4 Bug-fixes and clean-ups across all systems, especially in makewhatis (note: still not connected to the general build and must be compiled with make makewhatis) and the man parser. This release was significantly assisted by participants in OpenBSD's c2k11. Thanks! 26-05-2011: version 1.11.3 Introduce locale-encoding of output with the -Tlocale output option and Unicode escaped-character input. See mandoc and mandoc_char, respectively, for details. This allows for non-ASCII characters (e.g., \[u5000]) to be rendered in the locale's encoding, if said environment supports wide-character encoding (if it does not, -Tascii is used instead). Locale support can be turned off at compile time by removing -DUSE_WCHAR in the Makefile, in which case -Tlocale is always a synonym for -Tascii. Furthermore, multibyte-encoded documents, such as those in UTF-8, may be on-the-fly recoded into mandoc input by using the newly-added preconv utility. Note: in the future, this feature may be integrated into mandoc. 12-05-2011: version 1.11.2 Corrected some installation issues in version 1.11.1. Further migration to libmandoc. Initial public release (this utility is very much under development) of makewhatis, initially named mandoc-db. This utility produces keyword databases of manual content mandoc-cgi, mandoc-tools, which features semantic querying of manual content.
2011-04-05Modify patch so it matches version accepted by upstream, and fixwiz3-14/+6
PREFIX issue differently.
2011-04-05Update to 1.11.1:wiz5-57/+40
The earlier libroff, libmdoc, and libman soup have been merged into a single library, libmandoc, which manages all aspects of parsing real manuals (from line-handling to tbl parsing). Beyond this structural change, initial eqn functionality is in place. For the time being, this is limited to the recognition of equation blocks; future version of mdocml will expand upon this framework. As usual, many general fixes and improvements have also occured. In particular, a great deal of redundancy and superfluous code has been removed with the merging of the backend libraries.
2011-01-13Add post-release patch from upstream that joerg deems critical.wiz2-1/+31
Ride update.
2011-01-13Update to 1.10.9:wiz2-6/+6
Many back-end fixes have been implemented: argument handling (quoting), man improvements, error/warning classes, and many more. Initial tbl functionality (see the "TS", "TE", and "T&" macros in the roff manual) has been merged from tbl.bsd.lv. Output is still minimal, especially for -Thtml and -Txhtml, but manages to at least display data. This means that mandoc now has built-in support for two troff preprocessors via libroff: soelim and tbl.
2010-12-25Update to 1.10.8:wiz2-6/+6
24-12-2010: version 1.10.8 Significant improvements merged from OpenBSD downstream, including * many new roff components, * in-line implementation of troff's soelim, * broken-block handling, * overhauled error classifications, and * cleaned up handling of error conditions. Also overhauled the -Thtml and -Txhtml output modes. They now display readable output in arbitrary browsers, including text-based ones like lynx. See HTML and XHTML manuals in the DOCUMENTATION section for examples. Attention: available style-sheet classes have been considerably changed! See the example.style.css file for details. Lastly, libmdoc and libman have been cleaned up and reduced in size and complexity.
2010-12-18Update to 1.10.6:wiz2-7/+8
27-09-2010: version 1.10.6 Calling conventions for mandoc have changed: -W improved and -f deprecated. Non-ASCII characters are also now uniformly discarded. Lots of documentation improvements. Many incremental fixes accomodating for groff's more interesting productions. Lastly, pod2man preambles are now fully accepted after some considerable roff and special character support. 27-07-2010: version 1.10.5 Primarily a bug-fix and polish release, but including -Tpdf support in mandoc by way of Summer of Code. Highlights: * fix "Sm" and "Bd" handling * fix end-of-sentence handling for embedded sentences * polish man documentation * document all mdoc macros * polish mandoc -Tps output * lots of internal clean-ups in character escapes * un-break literal contexts in man documents * improve -Thtml output for -man * add mandoc -Tpdf support 12-07-2010: version 1.10.4 Lots of features developed during both Summer of Code and the OpenBSD c2k10 hackathon: * minimal "ds" roff symbols are supported * "Bk" mdoc support * beautified SYNOPSIS section output * variable font-width and paper-size support in mandoc -Tps output * acceptance of scope-block breakage in mdoc * clarify error message status * many minor bug-fixes and formatting issues resolved 19-06-2010: version 1.10.2 Small release featuring text-decoration in -Tps output, a few minor relaxations of errors, and some optimisations.
2010-06-16mdocml-1.10.1:joerg3-20/+22
- Support multiline .Bl -column content - cleanup SYNOPSIS macro handling - Allow specifying the terminal width for -Tascii - Initial PostScript output - Basic support for the low-level roff macros - Better support for obsolete .Xo/.Xc macros if compiled with -DUGLY - Correct handling of opening punctuation in macros for mdoc(7) - Discard more of the pod2man junk - Various cleanups and improvements
2010-02-18mdocml-1.9.15:joerg3-8/+17
- XHTML output support - Automatic handling of strlcat / strlcpy - Full support for \f - More human-readable HTML output
2010-01-02Fix PLIST. *blush*joerg2-2/+6
2009-12-16mdocml-1.9.14:joerg2-6/+6
- fixed proper font cascading (no double-mode in -Tascii) - added correct scoping of \f - fixed handling of \c for all input/outputs
2009-11-05mdocml-1.9.13:joerg2-6/+6
- added: -fign-escape - fix: -Thtml accessibility (identifiers, table summary, etc.) - fix: -Tascii -mdoc segfault with specific `Bl -hang' lists - portability: bzero() -> memset() - portability: warnx -> fprintf/perror - fix: -Thtml buffer munging with certain tags - fix: -Thtml output of some tags (empty divs, etc.) - portability: compiler attributes - documentation: significant man.7 and mdoc.7 improvements - allowing compile-time setting of operating system (-DOSNAME=xxx) - added `PD' and `%U' - more mdoc.7 updates - switched from `-ooptions' to `-Ooptions' - inclusion of DragonFlyBSD into rendered manuals
2009-10-21mdocml-1.9.9:joerg2-6/+6
- improve scaling support - expand man(7) and mdoc(7)
2009-10-19Update to mdocml-1.9.8:joerg2-6/+6
- Improvements for various man(7) and mdoc(7) tags - Initial support for scaling factors - HTML output - Much linting
2009-09-11mdocml-1.9.2:joerg2-6/+6
A number of small bugfixes and support for .UC.
2009-08-21Update to mdocml-1.9.1:joerg2-6/+6
- more relaxed next-line libman parsing (dupes pruned) - added `DT' and `RS' libman macros - fixed next-line scoping issues to better emulate groff
2009-08-19Update to mdocml-1.9.0:joerg2-6/+6
- libman exports a considerably more structured AST - libmdoc has much cleaner macro-calling semantics - support for various new macros
2009-07-14Update to mdocml-1.8.0:joerg2-6/+6
- significant cleanups in mdoc_term.c - support for XXn and XXm -offset values - removed exposure of some libmdoc functions from mdoc.h - fixed presentation of `Fo', `Vt' - fixes for clarity in mdoc.7
2009-07-11Update to modcml-1.7.23. A number of whitespace related optimisations,joerg3-20/+6
some bugfixes and a lot of cleanups.
2009-04-09Update to mdocml-1.7.12. Biggest change is the start of a man(7) parser.joerg3-10/+10
2009-03-22Update to mdocml 1.6.9. Much improved support for mdoc features andjoerg4-18/+25
new frontend command that can act as drop-in replacement for nroff(1) for mdoc pages.
2009-03-09Update to mdoc-1.4.7. No detailed changes, but fixes a number ofjoerg2-6/+6
assertions and improves mdoc(7) coverage.
2009-03-03Update to mdocml-1.3.15, no detailed changes, but fixes at least onejoerg2-9/+9
assertion.
2009-03-02mdoclint and mdocml conflict with each other because both have bin/mdoclint.wiz1-1/+3
2009-03-01DESTDIR support.joerg1-1/+6
2009-03-01Initial import of mdocml-1.3.13:wiz4-0/+28
The mdocml utilities interface with the mdoc library to compile mdoc-roff documents into a variety of output formats.