Commit graph

46 commits

Author SHA1 Message Date
wiz
d7309126c3 Add equivalency to mdocml so pkglocate has a hit here. 2014-03-23 15:06:06 +00:00
wiz
97c32607e7 Sort. From Kai-Uwe Eckhardt. 2014-03-19 21:48:54 +00:00
tez
93cbe22f60 Solaris, Mingw32 & OS X prior to 10.7 are missing strnlen, so provide an
implementation.  Sent request for similar fix upstream.
2014-01-06 17:43:50 +00:00
wiz
decd80f3de Update to 1.12.3:
Changes in version 1.12.3, released on December 31, 2013

 * In the mdoc(7) SYNOPSIS, line breaks and hanging indentation
   now work correctly for .Fo/.Fa/.Fc and .Fn blocks.
   Thanks to Franco Fichtner for doing part of the work.
 * The mdoc(7) .Bk macro got some addititonal bugfixes.
 * In mdoc(7) macro arguments, double quotes can now be quoted
   by doubling them, just like in man(7).
   Thanks to Tsugutomo ENAMI for the patch.
 * At the end of man(7) macro lines, end-of-sentence spacing
   now works.  Thanks to Franco Fichtner for the patch.
 * For backward compatibility, the man(7) parser now supports the
   man-ext .UR/.UE (uniform resource identifier) block macros.
 * The man(7) parser now handles closing blocks that are not open
   more gracefully.
 * The man(7) parser now ignores blank lines right after .SH and .SS.
 * In the man(7) formatter, reset indentation when leaving a block,
   not just when entering the next one.
 * The roff(7) .nr request now supports incrementing and decrementing
   number registers and stops parsing the number right before the
   first non-digit character.
 * The roff(7) parser now supports the alternative escape sequence
   syntax \C'uXXXX' for Unicode characters.
 * The roff(7) parser now parses and ignores the .fam (font family)
   and .hw (hyphenation points) requests and the \d and \u escape
   sequences.
 * The roff(7) manual got a new ESCAPE SEQUENCE REFERENCE.
2013-12-31 11:06:29 +00:00
tron
e31165c386 Fix build under Mac OS X. 2013-12-29 19:26:36 +00:00
tron
e2a2cd4f51 Fix build under Solaris (10?) by providing implementations of strcasestr(3)
and strsep(3) taken from NetBSD.
2013-12-29 19:19:03 +00:00
wiz
f642354611 Fix build on SunOS. Parts of the patches from Ingo Schwarze. 2013-10-11 14:45:18 +00:00
wiz
9155022522 Try fixing the SunOS build, from Ingo Schwarze (upstream). 2013-10-06 15:48:42 +00:00
wiz
174b70e91b Update to 1.12.2.
Changes in version 1.12.2, released on Oktober 5, 2013

 * The mdoc(7) to man(7) converter, to be called as mandoc -Tman,
   is now fully functional.
 * The mandoc(1) utility now supports the -Ios (default operating system)
   input option, and the -Tutf8 output mode now actually works.
 * The mandocdb(8) utility no longer truncates existing databases when
   starting to build new ones, but only replaces them when the build
   actually succeeds.
 * The man(7) parser now supports the PD macro (paragraph distance),
   and (for GNU man-ext compatibility only) EX (example block) and EE
   (example end).  Plus several bugfixes regarding indentation, line
   breaks, and vertical spacing, and regarding RS following TP.
 * The roff(7) parser now supports the \f(BI (bold+italic) font escape,
   the \z (zero cursor advance) escape and the cc (change control
   character) and it (input line trap) requests. Plus bugfixes regarding
   the \t (tab) escape, nested escape sequences, and conditional requests.
 * In mdoc(7), several bugs were fixed related to UTF-8 output of quoting
   enclosures, delimiter handling, list indentation and horizontal and
   vertical spacing, formatting of the Lk, %U, and %C macros, plus some
   bugfixes related to the handling of syntax errors like badly nested
   font blocks, stray Ta macros outside column lists, unterminated It Xo
   blocks, and non-text children of Nm blocks.
 * In tbl(7), the width of horizontal spans and the vertical spacing
   around tables was corrected, and in man(7) files, a crash was fixed
   that was triggered by some particular unclosed T{ macros.
 * For mandoc developers, we now provide a tbl(3) library manual and
   gmdiff, a very small, very simplistic groff-versus-mandoc output
   comparison tool.
 * Provide a NEWS file.

Changes in version 1.12.1, released on March 23, 2012

 * Significant work on apropos(1) and mandocdb(8). These tools are now
   much more robust.  A whatis(1) implementation is now handled as an
   apropos(1) mode.  These tools are also able to minimally handle
   pre-formatted pages, that is, those already formatted by another
   utility such as GNU troff.
 * The man.cgi(7) script is also now available for wider testing.
   It interfaces with mandocdb(8) manuals cached by catman(8).
   HTML output is generated on-the-fly by libmandoc or internal
   methods to convert pre-formatted pages.
 * The mailing list archive for the discuss and tech lists are being
   hosted by Gmane at gmane.comp.tools.mdocml.user and
   gmane.comp.tools.mdocml.devel, respectively.
2013-10-05 14:48:15 +00:00
wiz
4d47285cd3 Improve COMMENT and description.
From Ingo Schwarze <schwarze@usta.de>
2013-09-15 13:03:27 +00:00
jperkin
d2973dada3 Rename preconv and roff.7 to have a 'mandoc-' prefix. This removes the
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.
2013-09-12 10:33:29 +00:00
jperkin
7e4c4d009a Make patches generic to Solaris. If changes are necessary for versions
prior to Solaris 11 then we can handle them later.
2012-12-24 13:40:18 +00:00
ryoon
ca111ae08e Fix build on SmartOS.
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-12-24 12:53:17 +00:00
asau
1f96787c11 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-25 06:55:37 +00:00
cheusov
91fb1483ca Add CONFLICTS with groff 2012-10-21 21:24:44 +00:00
wiz
4326abf388 Add CONFLICTS with new man-pages package. For details, see
man-pages/Makefile.
2012-05-12 07:37:50 +00:00
joerg
82193dd3bb Fix linkage on systems where separate -ldb is required. 2012-03-10 16:06:35 +00:00
adam
aa62b154fc Revbump after db5 update 2012-01-18 14:47:13 +00:00
dholland
3135f35026 Requires Berkeley DB on platforms that don't have db1.85 in libc.
Build fix, no revbump.
2012-01-04 15:31:31 +00:00
wiz
aad81c0bd2 Update to 1.12.0:
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-10-10 12:31:56 +00:00
wiz
b853c94418 Update to 1.11.7:
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-09-06 09:49:01 +00:00
wiz
a40d60f5be Modify patch so it matches version accepted by upstream, and fix
PREFIX issue differently.
2011-04-05 12:28:57 +00:00
wiz
ec40672c2c Update to 1.11.1:
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-04-05 09:27:31 +00:00
wiz
0389df22fe Add post-release patch from upstream that joerg deems critical.
Ride update.
2011-01-13 10:14:16 +00:00
wiz
c5419a9475 Update to 1.10.9:
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.
2011-01-13 09:39:41 +00:00
wiz
1e25e288f1 Update to 1.10.8:
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-25 12:12:28 +00:00
wiz
3dfcc9a42f Update to 1.10.6:
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-12-18 14:20:03 +00:00
joerg
f11191ae22 mdocml-1.10.1:
- 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-06-16 18:15:30 +00:00
joerg
0784179362 mdocml-1.9.15:
- XHTML output support
- Automatic handling of strlcat / strlcpy
- Full support for \f
- More human-readable HTML output
2010-02-18 13:59:10 +00:00
joerg
dc1fe5f150 Fix PLIST. *blush* 2010-01-02 13:44:20 +00:00
joerg
0af117bc26 mdocml-1.9.14:
- fixed proper font cascading (no double-mode in -Tascii)
     - added correct scoping of \f
     - fixed handling of \c for all input/outputs
2009-12-16 19:08:12 +00:00
joerg
c310c77b15 mdocml-1.9.13:
- 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-11-05 18:29:00 +00:00
joerg
1df9ed6456 mdocml-1.9.9:
- improve scaling support
- expand man(7) and mdoc(7)
2009-10-21 17:30:02 +00:00
joerg
ecbd6962c7 Update to mdocml-1.9.8:
- Improvements for various man(7) and mdoc(7) tags
- Initial support for scaling factors
- HTML output
- Much linting
2009-10-19 22:38:33 +00:00
joerg
3c7358042d mdocml-1.9.2:
A number of small bugfixes and support for .UC.
2009-09-11 20:17:32 +00:00
joerg
f3a5357afc Update to mdocml-1.9.1:
- 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-21 14:47:53 +00:00
joerg
3eb1853f0f Update to mdocml-1.9.0:
- libman exports a considerably more structured AST
- libmdoc has much cleaner macro-calling semantics
- support for various new macros
2009-08-19 14:44:34 +00:00
joerg
bda960f313 Update to mdocml-1.8.0:
- 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-14 18:52:38 +00:00
joerg
b203273998 Update to modcml-1.7.23. A number of whitespace related optimisations,
some bugfixes and a lot of cleanups.
2009-07-11 17:58:08 +00:00
joerg
17a28b9123 Update to mdocml-1.7.12. Biggest change is the start of a man(7) parser. 2009-04-09 01:57:48 +00:00
joerg
a2d98c08d7 Update to mdocml 1.6.9. Much improved support for mdoc features and
new frontend command that can act as drop-in replacement for nroff(1)
for mdoc pages.
2009-03-22 23:51:10 +00:00
joerg
436cc09eb5 Update to mdoc-1.4.7. No detailed changes, but fixes a number of
assertions and improves mdoc(7) coverage.
2009-03-09 14:53:19 +00:00
joerg
ab02cbe651 Update to mdocml-1.3.15, no detailed changes, but fixes at least one
assertion.
2009-03-03 15:13:13 +00:00
wiz
86dfd52841 mdoclint and mdocml conflict with each other because both have bin/mdoclint. 2009-03-02 09:39:53 +00:00
joerg
3e42298569 DESTDIR support. 2009-03-01 19:17:45 +00:00
wiz
bd8b7d0bca Initial import of mdocml-1.3.13:
The mdocml utilities interface with the mdoc library to compile
mdoc-roff documents into a variety of output formats.
2009-03-01 15:19:49 +00:00