CVS log for mandoc/Makefile

[BACK] Up to [cvsweb.bsd.lv] / mandoc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.543 / (download) - annotate - [select for diffs], Thu Oct 19 11:45:42 2023 UTC (14 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.542: +3 -1 lines
Diff to previous 1.542 (colored) to selected 1.31 (colored)

Install mandoc.css by default even if man.cgi(8) is not built.
It matters because users of "mandoc -T html" typically need it.

Issue found in a conversation with Alejandro Colomar <alx at kernel aot org>.

Revision 1.542 / (download) - annotate - [select for diffs], Thu May 19 15:37:47 2022 UTC (2 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.541: +3 -1 lines
Diff to previous 1.541 (colored) to selected 1.31 (colored)

Make roff_expand() parse left-to-right rather than right-to-left.
Some escape sequences have side effects on global state, implying
that the order of evaluation matters.  For example, this fixes the
long-standing bug that "\n+x\n+x\n+x" after ".nr x 0 1" used to
print "321"; now it correctly prints "123".

Right-to-left parsing was convenient because it implicitly handled
nested escape sequences.  With correct left-to-right parsing, nesting
now requires an explicit implementation, here solved as follows:
1. Handle nested expanding escape sequences iteratively.
When finding one, expand it, then retry parsing the enclosing escape
sequence from the beginning, which will ultimately succeed as soon
as it no longer contains any nested expanding escape sequences.
2. Handle nested non-expanding escape sequences recursively.
When finding one, the escape sequence parser calls itself to find
the end of the inner sequence, then continues parsing the outer
sequence after that point.

This requires the mandoc_escape() function to operate in two different
modes.  The roff(7) parser uses it in a mode where it generates
diagnostics and may return an expansion request instead of a parse
result.  All other callers, in particular the formatters, use it
in a simpler mode that never generates diagnostics and always returns
a definite parsing result, but that requires all expanding escape
sequences to already have been expanded earlier.  The bulk of the
code is the same for both modes.
Since this required a major rewrite of the function anyway, move
it into its own new file roff_escape.c and out of the file mandoc.c,
which was misnamed in the first place and lacks a clear focus.

As a side benefit, this also fixes a number of assertion failures
that tb@ found with afl(1), for example "\n\\\\*0", "\v\-\\*0",
and "\w\-\\\\\$0*0".

As another side benefit, it also resolves some code duplication
between mandoc_escape() and roff_expand() and centralizes all
handling of escape sequences (except for expansion) in roff_escape.c,
hopefully easing maintenance and feature improvements in the future.

While here, also move end-of-input handling out of the complicated
function roff_expand() and into the simpler function roff_parse_comment(),
making the logic easier to understand.

Since this is a major reorganization of a central component of
mandoc(1), stability of the program might slightly suffer for a few
weeks, but i believe that's not a problem at this point of the
release cycle.  The new code already satisfies the regression suite,
but more tweaking and regression testing to further improve the
handling of various escape sequences will likely follow in the near
future.

Revision 1.541 / (download) - annotate - [select for diffs], Thu Apr 14 16:43:43 2022 UTC (2 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.540: +7 -2 lines
Diff to previous 1.540 (colored) to selected 1.31 (colored)

support for hunting memory leaks;
designed and written last autumn, polished today

Revision 1.540 / (download) - annotate - [select for diffs], Tue Sep 21 11:04:40 2021 UTC (3 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6
Changes since 1.539: +3 -3 lines
Diff to previous 1.539 (colored) to selected 1.31 (colored)

POSIX make(1) does not support prerequisites on suffix rules.
For HTML generation, the "mandoc" prerequisite isn't needed anyway
because ${WWW_MANS} already explicitly depends on mandoc.
Issue reported by Sevan Janiyan and Leah Neukirchen.

This is not critical for release because it is only used for
a maintainer target.  While here, i also fixed the associated
shell command to use the freshly built mandoc binary rather
than whatever may be in the $PATH.

Revision 1.539 / (download) - annotate - [select for diffs], Mon Sep 20 10:19:51 2021 UTC (3 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.538: +2 -2 lines
Diff to previous 1.538 (colored) to selected 1.31 (colored)

make the path to ar(1) configurable, needed by NixOS;
suggested by Lukas Epple <sternenseemann at systemli dot org>

Revision 1.538 / (download) - annotate - [select for diffs], Mon Sep 20 10:14:34 2021 UTC (3 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.537: +3 -3 lines
Diff to previous 1.537 (colored) to selected 1.31 (colored)

Create the link from ./man to ./mandoc in the "all" target rather than
in the "regress" target.  That makes manual "cd regress && ./regress.pl"
a bit less fragile.
The idea came up in a conversation with Thomas Klausner <wiz at NetBSD>.

Revision 1.537 / (download) - annotate - [select for diffs], Sun Sep 19 15:05:39 2021 UTC (3 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.536: +5 -2 lines
Diff to previous 1.536 (colored) to selected 1.31 (colored)

Test availability of mkstemps(3) and provide a fallback implementation
in case it is missing; needed for SUN Solaris 10.

Revision 1.536 / (download) - annotate - [select for diffs], Sun Sep 19 11:03:40 2021 UTC (3 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.535: +2 -2 lines
Diff to previous 1.535 (colored) to selected 1.31 (colored)

bump VERSION

Revision 1.535 / (download) - annotate - [select for diffs], Mon Jun 22 20:00:38 2020 UTC (4 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.534: +3 -2 lines
Diff to previous 1.534 (colored) to selected 1.31 (colored)

Provide a real feature test for __attribute__().
Looking at version numbers like __GNUC__ is always a bad idea.
Believe it or not, this even makes ./configure shorter by one line.

Revision 1.534 / (download) - annotate - [select for diffs], Mon Jun 15 16:58:24 2020 UTC (4 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.533: +2 -1 lines
Diff to previous 1.533 (colored) to selected 1.31 (colored)

add missing compat_stringlist.o to ALL_COBJS, useful for make clean

Revision 1.533 / (download) - annotate - [select for diffs], Mon Jun 15 01:37:14 2020 UTC (4 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.532: +8 -15 lines
Diff to previous 1.532 (colored) to selected 1.31 (colored)

Only compile compat_*.c implementations that are actually needed.
That's cleaner and it is supposed to fix compiler warnings with gcc 10
reported by Wynn Wolf Arbor <wolf at oriole dot systems> on discuss@.

Revision 1.532 / (download) - annotate - [select for diffs], Fri Mar 13 17:31:44 2020 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.531: +7 -4 lines
Diff to previous 1.531 (colored) to selected 1.31 (colored)

Make the "make depend" maintainer target more convenient
by having it run ./configure with native fts and ohash disabled.

Revision 1.531 / (download) - annotate - [select for diffs], Fri Mar 13 15:32:28 2020 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.530: +13 -8 lines
Diff to previous 1.530 (colored) to selected 1.31 (colored)

Split tagging into a validation part including prioritization
in tag.{h,c} and {mdoc,man}_validate.c
and into a formatting part including command line argument checking
in term_tag.{h,c}, html.c, and {mdoc|man}_{term|html}.c.

Immediate functional benefits include:
* Improved prioritization of automatic tags for .Em and .Sy.
* Avoiding bogus automatic tags when .Em, .Fn, or .Sy are explicitly tagged.
* Explicit tagging of .Er and .Fl now works in HTML output.
* Automatic tagging of .IP and .TP now works in HTML output.
But mainly, this patch provides clean earth to build further improvements on.

Technical changes:
* Main program: Write a tag file for ASCII and UTF-8 output only.
* All formatters: There is no more need to delay writing the tags.
* mdoc(7)+man(7) formatters: No more need for elaborate syntax tree inspection.
* HTML formatter: If available, use the "string" attribute as the tag.
* HTML formatter: New function to write permalinks, to reduce code duplication.

Style cleanup in the vicinity while here:
* mdoc(7) terminal formatter: To set up bold font for children,
defer to termp_bold_pre() rather than calling term_fontpush() manually.
* mdoc(7) terminal formatter: Garbage collect some duplicate functions.
* mdoc(7) HTML formatter: Unify <code> handling, delete redundant functions.
* Where possible, use switch statements rather than if cascades.
* Get rid of some more Yoda notation.

The necessity for such changes was first discussed with kn@, but i didn't
bother him with a request to review the resulting -673/+782 line patch.

Revision 1.530 / (download) - annotate - [select for diffs], Wed Mar 6 16:08:41 2019 UTC (5 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.529: +5 -1 lines
Diff to previous 1.529 (colored) to selected 1.31 (colored)

new dist-install maintainer target

Revision 1.529 / (download) - annotate - [select for diffs], Wed Mar 6 11:19:42 2019 UTC (5 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.528: +10 -7 lines
Diff to previous 1.528 (colored) to selected 1.31 (colored)

work towards 1.14.5, mostly updating WWW_INCS

Revision 1.528 / (download) - annotate - [select for diffs], Mon Mar 4 13:01:57 2019 UTC (5 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.527: +5 -3 lines
Diff to previous 1.527 (colored) to selected 1.31 (colored)

When the -S option is given to man(1) and the requested manual page
name is not found and the requested architecture is unknown, complain
about the architecture rather than about the manual page name:

$ man -S vax cpu
man: Unknown architecture "vax".
$ man -S sparc64 foobar
man: No entry for foobar in the manual.

Friendlier error message suggested by jmc@, who also OK'ed the patch.

Revision 1.527 / (download) - annotate - [select for diffs], Fri Dec 14 01:18:25 2018 UTC (6 years ago) by schwarze
Branch: MAIN
Changes since 1.526: +3 -1 lines
Diff to previous 1.526 (colored) to selected 1.31 (colored)

Major cleanup; may imply minor changes in edge cases of error reporting.

Finally, drop support for the run-time configurable mandocmsg()
callback.  It was over-engineered from the start, never used for
anything in a decade, and repeatedly caused maintenance headaches.

Consolidate reporting infrastructure into two files, mandoc.h and
mandoc_msg.c, mopping up the bits and pieces that were scattered
around main.c, read.c, mandoc_parse.h, libmandoc.h, the prototypes
of four parsing-related functions, and both parser structs.

Revision 1.526 / (download) - annotate - [select for diffs], Thu Dec 13 11:55:46 2018 UTC (6 years ago) by schwarze
Branch: MAIN
Changes since 1.525: +6 -3 lines
Diff to previous 1.525 (colored) to selected 1.31 (colored)

Cleanup, no functional change:
Split the top level parser interface out of the utility header
mandoc.h, into a new header mandoc_parse.h, for use in the main
program and in the main parser only.
Move enum mandoc_os into roff.h because struct roff_man is the
place where it is stored.
This allows removal of mandoc.h from seven files in low-level
parsers and in formatters.

Revision 1.525 / (download) - annotate - [select for diffs], Thu Dec 13 07:28:27 2018 UTC (6 years ago) by schwarze
Branch: MAIN
Changes since 1.524: +1 -2 lines
Diff to previous 1.524 (colored) to selected 1.31 (colored)

Cleanup, no functional change:
Finally merge the pointless file st.in into st.c.
Nobody should do operating systems dependent changes to standards:
By definition, standards are the same for every operating system.
While here, libmdoc.h no longer requires mdoc.h.

Revision 1.524 / (download) - annotate - [select for diffs], Thu Dec 13 05:23:37 2018 UTC (6 years ago) by schwarze
Branch: MAIN
Changes since 1.523: +6 -3 lines
Diff to previous 1.523 (colored) to selected 1.31 (colored)

Cleanup, no functional change:
No need to expose the eqn(7) syntax tree data structures everywhere.
Move them to their own include file, "eqn.h".
While here, delete the unused enum eqn_pilet.

Revision 1.523 / (download) - annotate - [select for diffs], Thu Dec 13 03:40:13 2018 UTC (6 years ago) by schwarze
Branch: MAIN
Changes since 1.522: +2 -2 lines
Diff to previous 1.522 (colored) to selected 1.31 (colored)

Cleanup, no functional change:
In libroff.h, nothing was left except the eqn(7) parser interface, which
isn't really part of the roff(7) parser, so rename it to eqn_parse.h.

While here, move struct eqn_def to eqn.c because that's the only
file using it, and let eqn_box_free() and eqn_free() handle NULL.

Revision 1.522 / (download) - annotate - [select for diffs], Thu Dec 13 02:06:07 2018 UTC (6 years ago) by schwarze
Branch: MAIN
Changes since 1.521: +3 -1 lines
Diff to previous 1.521 (colored) to selected 1.31 (colored)

Cleanup, no functional change:
Move tbl(7)-specific parser internals out of libroff.h.
Move some tbl(7)-internal processing from roff.c to tbl.c.

Revision 1.521 / (download) - annotate - [select for diffs], Wed Dec 12 21:54:35 2018 UTC (6 years ago) by schwarze
Branch: MAIN
Changes since 1.520: +6 -3 lines
Diff to previous 1.520 (colored) to selected 1.31 (colored)

Cleanup, no functional change:
No need to expose the tbl(7) syntax tree data structures everywhere.
Move them to their own include file, "tbl.h", and improve comments.

Revision 1.520 / (download) - annotate - [select for diffs], Thu Aug 9 17:28:23 2018 UTC (6 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.519: +14 -9 lines
Diff to previous 1.519 (colored) to selected 1.31 (colored)

some fixes for the "www" and "www-install" maintainer targets

Revision 1.519 / (download) - annotate - [select for diffs], Tue Jul 31 15:34:00 2018 UTC (6 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4
Changes since 1.518: +8 -7 lines
Diff to previous 1.518 (colored) to selected 1.31 (colored)

more 1.14.4 release preparations:
autodetect whether the compiler can use -W and -static,
clearer output from ./configure,
and adjust some configuration instructions

Revision 1.518 / (download) - annotate - [select for diffs], Tue Feb 27 11:16:23 2018 UTC (6 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.517: +4 -1 lines
Diff to previous 1.517 (colored) to selected 1.31 (colored)

Add strndup(3) compat implementation.
Jan Stary reports that MacOS X Snow Leopard and older lacks it.

Revision 1.517 / (download) - annotate - [select for diffs], Sat Aug 5 13:34:39 2017 UTC (7 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_3
Changes since 1.516: +2 -2 lines
Diff to previous 1.516 (colored) to selected 1.31 (colored)

release 1.14.3

Revision 1.516 / (download) - annotate - [select for diffs], Thu Jul 20 16:24:53 2017 UTC (7 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_2
Changes since 1.515: +12 -12 lines
Diff to previous 1.515 (colored) to selected 1.31 (colored)

more renaming from mdocml to mandoc

Revision 1.515 / (download) - annotate - [select for diffs], Thu Jul 20 11:41:54 2017 UTC (7 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.514: +6 -14 lines
Diff to previous 1.514 (colored) to selected 1.31 (colored)

* clean catman.o which was missing
* delete WWW_OBJS which i don't use
* do not complain about *.out_markdown
* bump VERSION to 1.14.2 (not released yet)

Revision 1.514 / (download) - annotate - [select for diffs], Sat Jul 1 09:47:30 2017 UTC (7 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.513: +4 -1 lines
Diff to previous 1.513 (colored) to selected 1.31 (colored)

Basic reporting of .Xrs to manual pages that don't exist
in the base system, inspired by mdoclint(1).

We are able to do this because (1) the -mdoc parser, the -Tlint validator,
and the man(1) manual page lookup code are all in the same program
and (2) the mandoc.db(5) database format allows fast lookup.

Feedback from, previous versions tested by, and OK jmc@.

A few features will be added to this in the tree, step by step.

Revision 1.513 / (download) - annotate - [select for diffs], Mon Jun 12 19:05:47 2017 UTC (7 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.512: +4 -1 lines
Diff to previous 1.512 (colored) to selected 1.31 (colored)

Implement automatic line breaking
inside individual table cells that contain text blocks.
This cures overlong lines in various Xenocara manuals.

Revision 1.512 / (download) - annotate - [select for diffs], Sun May 7 17:31:45 2017 UTC (7 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.511: +3 -1 lines
Diff to previous 1.511 (colored) to selected 1.31 (colored)

Basic implementation of the roff(7) .ta (define tab stops) request.
This is the first feature made possible by the parser reorganization.
Improves the formatting of the SYNOPSIS in many Xenocara GL manuals.
Also important for ports, as reported by many, including naddy@.

Revision 1.511 / (download) - annotate - [select for diffs], Fri May 5 02:06:19 2017 UTC (7 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.510: +3 -1 lines
Diff to previous 1.510 (colored) to selected 1.31 (colored)

Move handling of the roff(7) .ft request from the man(7)
modules to the new roff(7) modules.  As a side effect,
mdoc(7) now handles .ft, too.  Of course, do not use that.

Revision 1.510 / (download) - annotate - [select for diffs], Thu May 4 22:16:09 2017 UTC (7 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.509: +5 -1 lines
Diff to previous 1.509 (colored) to selected 1.31 (colored)

Start roff formatter modules for HTML and termininal output,
used by both the mdoc and man formatters, with the ultimate
goal of reducing code duplication between the two macro formatters.
Made possible by the parser unification.
Add the first formatting function (for the .br request).

Revision 1.509 / (download) - annotate - [select for diffs], Sat Apr 29 12:45:41 2017 UTC (7 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.508: +1 -5 lines
Diff to previous 1.508 (colored) to selected 1.31 (colored)

Parser unification: use nice ohashes for all three request and macro tables;
no functional change, minus two source files, minus 200 lines of code.

Revision 1.508 / (download) - annotate - [select for diffs], Mon Apr 24 23:32:00 2017 UTC (7 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.507: +1 -10 lines
Diff to previous 1.507 (colored) to selected 1.31 (colored)

Delete the manpage(1) utility.
It was never enabled in any release, nor was a manual ever written.

In general, we want to simplify the user interface rather than
succumb to featurism.  Consequently, integrating manpage(1)
into the main binary would seem like a dubious direction.

Revision 1.488.2.11 / (download) - annotate - [select for diffs], Sat Mar 4 16:44:43 2017 UTC (7 years, 9 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488.2.10: +7 -7 lines
Diff to previous 1.488.2.10 (colored) to branchpoint 1.488 (colored) next main 1.489 (colored) to selected 1.31 (colored)

Merge Makefile 1.507, configure 1.62, configure.local.example 1.30:
relative symlinks for program files

Revision 1.507 / (download) - annotate - [select for diffs], Sat Mar 4 16:36:29 2017 UTC (7 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.506: +7 -7 lines
Diff to previous 1.506 (colored) to selected 1.31 (colored)

Debian needs relative symlinks not only for manual pages,
but also for program files.
Issue reported by Michael <Stapelberg at debian dot org>
and by Markus <Waldeck at gmx dot de>.

Revision 1.506 / (download) - annotate - [select for diffs], Fri Mar 3 14:23:23 2017 UTC (7 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.505: +4 -3 lines
Diff to previous 1.505 (colored) to selected 1.31 (colored)

new -mdoc -Tmarkdown output mode; OK millert@ reyk@ tb@;
thanks to reyk@ and to Vsevolod at FreeBSD for suggesting it

Revision 1.488.2.10 / (download) - annotate - [select for diffs], Wed Feb 22 00:05:48 2017 UTC (7 years, 10 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488.2.9: +2 -3 lines
Diff to previous 1.488.2.9 (colored) to branchpoint 1.488 (colored) to selected 1.31 (colored)

merge revision 1.505:
Debian wants relative, not absolute symlinks for man pages;
suggested by Michael Stapelberg

Revision 1.505 / (download) - annotate - [select for diffs], Wed Feb 22 00:00:12 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.504: +2 -3 lines
Diff to previous 1.504 (colored) to selected 1.31 (colored)

Debian wants relative, not absolute symlinks for man pages;
suggested by Michael Stapelberg

Revision 1.488.2.9 / (download) - annotate - [select for diffs], Tue Feb 21 17:57:33 2017 UTC (7 years, 10 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488.2.8: +34 -2 lines
Diff to previous 1.488.2.8 (colored) to branchpoint 1.488 (colored) to selected 1.31 (colored)

provide the regression suite for 1.13, too

Revision 1.488.2.8 / (download) - annotate - [select for diffs], Tue Feb 21 17:04:04 2017 UTC (7 years, 10 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488.2.7: +6 -9 lines
Diff to previous 1.488.2.7 (colored) to branchpoint 1.488 (colored) to selected 1.31 (colored)

Drop support for building without SQLite.
There whole point of the 1.13 branch is SQLite support after all.

Revision 1.488.2.7 / (download) - annotate - [select for diffs], Tue Feb 21 16:25:19 2017 UTC (7 years, 10 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488.2.6: +6 -10 lines
Diff to previous 1.488.2.6 (colored) to branchpoint 1.488 (colored) to selected 1.31 (colored)

first step of 1.13.5 release preparations

Revision 1.504 / (download) - annotate - [select for diffs], Sat Feb 18 15:29:39 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_1
Changes since 1.503: +29 -1 lines
Diff to previous 1.503 (colored) to selected 1.31 (colored)

add some regress targets

Revision 1.488.2.6 / (download) - annotate - [select for diffs], Sat Feb 18 13:16:53 2017 UTC (7 years, 10 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488.2.5: +47 -8 lines
Diff to previous 1.488.2.5 (colored) to branchpoint 1.488 (colored) to selected 1.31 (colored)

merge revision 1.503: uninstall target

Revision 1.503 / (download) - annotate - [select for diffs], Sat Feb 18 13:05:43 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.502: +51 -8 lines
Diff to previous 1.502 (colored) to selected 1.31 (colored)

Provide an uninstall target, to help cleaning up after installing
with the wrong DESTDIR.  Use with care.

Revision 1.502 / (download) - annotate - [select for diffs], Sat Feb 18 12:24:24 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.501: +2 -1 lines
Diff to previous 1.501 (colored) to selected 1.31 (colored)

proper test for O_DIRECTORY

Revision 1.488.2.5 / (download) - annotate - [select for diffs], Thu Feb 16 16:21:04 2017 UTC (7 years, 10 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488.2.4: +7 -7 lines
Diff to previous 1.488.2.4 (colored) to branchpoint 1.488 (colored) to selected 1.31 (colored)

Merge Makefile 1.501, configure 1.59, configure.local.example 1.28:
add $(LN) configuration variable

Revision 1.501 / (download) - annotate - [select for diffs], Thu Feb 16 16:09:33 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.500: +6 -6 lines
Diff to previous 1.500 (colored) to selected 1.31 (colored)

add $(LN) configuration variable; requested by Michael <Stapelberg@debian.org>

Revision 1.500 / (download) - annotate - [select for diffs], Thu Feb 16 15:12:32 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.499: +5 -3 lines
Diff to previous 1.499 (colored) to selected 1.31 (colored)

Provide a variable BINM_CATMAN.
Suggested by Michael <Stapelberg@debian.org>.

Revision 1.499 / (download) - annotate - [select for diffs], Wed Feb 8 16:11:40 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.498: +3 -1 lines
Diff to previous 1.498 (colored) to selected 1.31 (colored)

config glue for recvmsg(2) and CMSG_FIRSTHDR(3);
needed for Solaris 11

Revision 1.498 / (download) - annotate - [select for diffs], Wed Feb 8 13:36:32 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.497: +3 -3 lines
Diff to previous 1.497 (colored) to selected 1.31 (colored)

even catman needs libmandoc on systems not having fts

Revision 1.497 / (download) - annotate - [select for diffs], Wed Feb 8 12:24:10 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.496: +7 -3 lines
Diff to previous 1.496 (colored) to selected 1.31 (colored)

more 1.14.1 release preparations

Revision 1.496 / (download) - annotate - [select for diffs], Mon Feb 6 19:04:21 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.495: +8 -2 lines
Diff to previous 1.495 (colored) to selected 1.31 (colored)

new manual pages for catman(8) and mandocd(8)

Revision 1.488.2.4 / (download) - annotate - [select for diffs], Sun Feb 5 22:24:41 2017 UTC (7 years, 10 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488.2.3: +2 -1 lines
Diff to previous 1.488.2.3 (colored) to branchpoint 1.488 (colored) to selected 1.31 (colored)

merge rev. 1.495: add missing file man.options.1

Revision 1.495 / (download) - annotate - [select for diffs], Sun Feb 5 22:22:46 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.494: +2 -1 lines
Diff to previous 1.494 (colored) to selected 1.31 (colored)

add missing file man.options.1

Revision 1.494 / (download) - annotate - [select for diffs], Sat Feb 4 12:03:07 2017 UTC (7 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.493: +24 -9 lines
Diff to previous 1.493 (colored) to selected 1.31 (colored)

experimental mandocd(8) and catman(8)
for development in the tree, not yet ready for production

Revision 1.493 / (download) - annotate - [select for diffs], Sat Nov 19 15:24:51 2016 UTC (8 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.492: +11 -9 lines
Diff to previous 1.492 (colored) to selected 1.31 (colored)

Do not install libmandoc.a by default.
The only environment where it is ever needed is NetBSD base.
Even NetBSD ports and pkgsrc should better not install it.
Triggered by a question from bentley@.

Revision 1.488.2.3 / (download) - annotate - [select for diffs], Thu Oct 20 18:06:53 2016 UTC (8 years, 2 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488.2.2: +2 -1 lines
Diff to previous 1.488.2.2 (colored) to branchpoint 1.488 (colored) to selected 1.31 (colored)

add test-EFTYPE.c, related to configure rev. 1.43.2.5

Revision 1.492 / (download) - annotate - [select for diffs], Fri Aug 5 23:15:08 2016 UTC (8 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.491: +4 -2 lines
Diff to previous 1.491 (colored) to selected 1.31 (colored)

The concept of endianness seems to be somewhat newfangled, so the
respective conversion functions are not yet properly standardized.
Rumour has it that POSIX is working on it, though.
For now, sprinkle some configuration glue.

Revision 1.488.2.2 / (download) - annotate - [select for diffs], Tue Aug 2 11:19:26 2016 UTC (8 years, 4 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488.2.1: +2 -1 lines
Diff to previous 1.488.2.1 (colored) to branchpoint 1.488 (colored) to selected 1.31 (colored)

1.13 backport: handle absence of PATH_MAX

Revision 1.491 / (download) - annotate - [select for diffs], Tue Aug 2 11:09:46 2016 UTC (8 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.490: +3 -1 lines
Diff to previous 1.490 (colored) to selected 1.31 (colored)

POSIX allows PATH_MAX to not be defined, meaning "unlimited".
Found by Aaron M. Ucko <amu at alum dot mit dot edu> on the GNU Hurd,
via Bdale Garbee, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829624

Also add EFTYPE at two places where it was forgotten.

Revision 1.488.2.1 / (download) - annotate - [select for diffs], Wed Jul 20 14:14:07 2016 UTC (8 years, 5 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.488: +2 -1 lines
Diff to previous 1.488 (colored) to selected 1.31 (colored)

1.13 backport: Autodetect if -lrt is needed for nanosleep(3).

Revision 1.490 / (download) - annotate - [select for diffs], Wed Jul 20 14:03:06 2016 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.489: +2 -1 lines
Diff to previous 1.489 (colored) to selected 1.31 (colored)

Autodetect if -lrt is needed for nanosleep(3).
Helpful for Solaris 9 and 10.
Reminded by Thomas Klausner.

Revision 1.489 / (download) - annotate - [select for diffs], Tue Jul 19 21:31:55 2016 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.488: +43 -38 lines
Diff to previous 1.488 (colored) to selected 1.31 (colored)

Remove the dependency on SQLite without loss of functionality.
Stop supporting systems that don't have mmap(3).
Drop the obsolete names_check() now that we deleted MLINKS.

Revision 1.488 / (download) - annotate - [select for diffs], Tue Jul 12 05:18:38 2016 UTC (8 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_13_4
Branch point for: VERSION_1_13
Changes since 1.487: +2 -1 lines
Diff to previous 1.487 (colored) to selected 1.31 (colored)

Add support for Mac OS X's sandbox_init(3) sandbox functionality, which
is marked as DEPRECATED in OS X after 2011 or so, but has not been
removed and has no replacement.

ok schwarze@

Revision 1.487 / (download) - annotate - [select for diffs], Sun Jul 10 18:24:23 2016 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.486: +6 -6 lines
Diff to previous 1.486 (colored) to selected 1.31 (colored)

support LDFLAGS;
suggested by Christian Neukirchen <chneukirchen at gmail dot com>

Revision 1.486 / (download) - annotate - [select for diffs], Sun Jul 10 10:05:33 2016 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.485: +1 -5 lines
Diff to previous 1.485 (colored) to selected 1.31 (colored)

Simplify the code and the server setup by deleting the pseudo-manpath
"mandoc" that was used for man.cgi(8) documentation and by assuming
that the apropos(1) and man.cgi(8) manuals are simply installed in
the default manpath.  Even though man.cgi(8) is not installed by
default when installing OpenBSD, it is easy to copy it into the
default manpath used for man.cgi(8).

Idea found when considering a question asked by wrant dot com.

Revision 1.485 / (download) - annotate - [select for diffs], Fri Jul 8 20:46:10 2016 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.484: +6 -1 lines
Diff to previous 1.484 (colored) to selected 1.31 (colored)

A some missing files to TESTSRCS and DISTFILES
and add a trivial "dist" target for convenience.

Revision 1.484 / (download) - annotate - [select for diffs], Thu Jul 7 23:46:36 2016 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.483: +2 -2 lines
Diff to previous 1.483 (colored) to selected 1.31 (colored)

some 1.13.4 release preparations

Revision 1.483 / (download) - annotate - [select for diffs], Wed May 18 23:51:16 2016 UTC (8 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.482: +7 -7 lines
Diff to previous 1.482 (colored) to selected 1.31 (colored)

Delete useless variables that could sneak into the Makefile
behind the user's back, dangerously bypassing ./configure.
Leakage reported by Peter Bray <pdb_ml at yahoo dot com dot au>.

Revision 1.482 / (download) - annotate - [select for diffs], Wed May 18 21:37:04 2016 UTC (8 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.481: +6 -6 lines
Diff to previous 1.481 (colored) to selected 1.31 (colored)

Various people (among others Maxim Belooussov and Carsten Kunze)
reported that the build system still assumed that ohash is only
needed if sqlite3 is also in use, which is no longer true:
The ohash library is now required no matter what.

Rework sqlite3 and ohash library autodetection
such that both work independently of each other.
Provide LDADD for additional linker flags.
Add some missing variables to configure.local.example.

Revision 1.481 / (download) - annotate - [select for diffs], Fri Apr 15 21:20:11 2016 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.480: +3 -1 lines
Diff to previous 1.480 (colored) to selected 1.31 (colored)

set up man.cgi(3) for inclusion in the web site

Revision 1.480 / (download) - annotate - [select for diffs], Sat Nov 7 21:53:14 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.479: +4 -3 lines
Diff to previous 1.479 (colored) to selected 1.31 (colored)

move compat_reallocarray.o into SOELIM_OBJS, no functional change

Revision 1.479 / (download) - annotate - [select for diffs], Sat Nov 7 21:38:28 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.478: +6 -2 lines
Diff to previous 1.478 (colored) to selected 1.31 (colored)

soelim(1) use getline(3) and err(3), and err(3) uses getprogname(3);
found on Solaris 10 at OpenCSW

Revision 1.478 / (download) - annotate - [select for diffs], Sat Nov 7 20:52:52 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.477: +4 -1 lines
Diff to previous 1.477 (colored) to selected 1.31 (colored)

provide a simple stand-alone implementation of getline(3)
for systems lacking it

Revision 1.477 / (download) - annotate - [select for diffs], Sat Nov 7 17:58:55 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.476: +1 -4 lines
Diff to previous 1.476 (colored) to selected 1.31 (colored)

Modernization, no functional change intended:
Use the POSIX function getline(3) rather than the slightly
dangerous BSD function fgetln(3).
Remove the related compatibility code.

Revision 1.476 / (download) - annotate - [select for diffs], Sat Nov 7 13:14:21 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.475: +1 -2 lines
Diff to previous 1.475 (colored) to selected 1.31 (colored)

garbage collect unused EXAMPLEDIR, forgotten in the CSS cleanup;
noticed by Peter Bray <pdb_ml at yahoo dot com dot au>

Revision 1.475 / (download) - annotate - [select for diffs], Sat Nov 7 13:05:14 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.474: +5 -3 lines
Diff to previous 1.474 (colored) to selected 1.31 (colored)

Install the soelim(1) binary and manual to the right places.
Bug reported by Peter Bray <pdb_ml at yahoo dot com dot au>.

Revision 1.474 / (download) - annotate - [select for diffs], Fri Nov 6 17:33:34 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.473: +2 -1 lines
Diff to previous 1.473 (colored) to selected 1.31 (colored)

merge pledge(2) support from OpenBSD

Revision 1.473 / (download) - annotate - [select for diffs], Fri Nov 6 16:30:33 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.472: +3 -1 lines
Diff to previous 1.472 (colored) to selected 1.31 (colored)

Use getprogname(3) rather than __progname.
Suggested by Joerg@ Sonnenberger (NetBSD).
Last year, deraadt@ confirmed on tech@ that this "has the potential
to be more portable", and micro-optimizing for speed is not relevant
here.  Also gets rid of one global variable.

Revision 1.472 / (download) - annotate - [select for diffs], Thu Nov 5 17:47:51 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.471: +5 -9 lines
Diff to previous 1.471 (colored) to selected 1.31 (colored)

Unify the three stylesheets into a single CSS file.
Many thanks to bentley@ for doing this work.

Revision 1.471 / (download) - annotate - [select for diffs], Thu Nov 5 17:16:34 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.470: +2 -2 lines
Diff to previous 1.470 (colored) to selected 1.31 (colored)

demandoc(1) needs to link against -lutil, too

Revision 1.470 / (download) - annotate - [select for diffs], Tue Oct 20 02:01:31 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.469: +3 -1 lines
Diff to previous 1.469 (colored) to selected 1.31 (colored)

In order to become able to generate syntax tree nodes on the roff(7)
level, validation must be separated from parsing and rewinding.
This first big step moves calling of the mdoc(7) post_*() functions
out of the parser loop into their own mdoc_validate() pass, while
using a new mdoc_state() module to make syntax tree state handling
available to both the parser loop and the validation pass.

Revision 1.469 / (download) - annotate - [select for diffs], Tue Oct 13 22:59:54 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.468: +1 -2 lines
Diff to previous 1.468 (colored) to selected 1.31 (colored)

Major character table cleanup:
* Use ohash(3) rather than a hand-rolled hash table.
* Make the character table static in the chars.c module:
There is no need to pass a pointer around, we most certainly
never want to use two different character tables concurrently.
* No need to keep the characters in a separate file chars.in;
that merely encourages downstream porters to mess with them.
* Sort the characters to agree with the mandoc_chars(7) manual page.
* Specify Unicode codepoints in hex, not decimal (that's the detail
that originally triggered this patch).
No functional change, minus 100 LOC, and i don't see a performance change.

Revision 1.468 / (download) - annotate - [select for diffs], Tue Oct 13 15:53:05 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.467: +4 -1 lines
Diff to previous 1.467 (colored) to selected 1.31 (colored)

Reduce the amount of code by moving the three copies of the ohash
callback functions into one common place, preparing for the use of
ohash for some additional purposes.  No functional change.

Revision 1.467 / (download) - annotate - [select for diffs], Sun Oct 11 21:12:54 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.466: +6 -2 lines
Diff to previous 1.466 (colored) to selected 1.31 (colored)

Finally use __progname, err(3) and warn(3).
That's more readable and less error-prone than fumbling around
with argv[0], fprintf(3), strerror(3), perror(3), and exit(3).

It's a bad idea to boycott good interfaces merely because standards
committees ignore them.  Instead, let's provide compatibility modules
for archaic systems (like commercial Solaris) that still don't have
them.  The compat module has an UCB Copyright (c) 1993...

Revision 1.466 / (download) - annotate - [select for diffs], Sun Jul 19 06:05:16 2015 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.465: +2 -2 lines
Diff to previous 1.465 (colored) to selected 1.31 (colored)

Do not fork and exec gunzip(1), just link with libz instead.
As discussed with deraadt@, that's cleaner and will help tame(2).
Something like this was also suggested earlier by bapt at FreeBSD.
Minus 50 lines of code, deleting one interface function (mparse_wait),
no functional change intended.

Revision 1.465 / (download) - annotate - [select for diffs], Fri Jul 17 22:38:29 2015 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.464: +4 -1 lines
Diff to previous 1.464 (colored) to selected 1.31 (colored)

Initial, still somewhat experimental implementation to leverage
less(1) -T and :t ctags(1)-like functionality to jump to the
definitions of various terms inside manual pages.
To be polished in the tree, so bear with me and report issues.

Technically, if less(1) is used as a pager, information is collected
by the mdoc(7) terminal formatter, first stored using the ohash
library, then ultimately written to a temporary file which is passed
to less via -T.  No change intended for other output formatters or
when running without a pager.

Based on an idea from Kristaps using feedback from many, in particular
phessler@ nicm@ millert@ halex@ doug@ kspillner@ deraadt@.

Revision 1.464 / (download) - annotate - [select for diffs], Tue Jul 14 23:16:29 2015 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.463: +4 -4 lines
Diff to previous 1.463 (colored) to selected 1.31 (colored)

Fix the "depend" target and regenerate Makefile.depend:
* do not process the test-*.c files, they are not built via make
* add the missing compat_stringlist.c and soelim.c
* read.c now uses roff_int.h
* roff.c no longer uses libmdoc.h

Revision 1.463 / (download) - annotate - [select for diffs], Thu May 21 00:04:38 2015 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.462: +3 -3 lines
Diff to previous 1.462 (colored) to selected 1.31 (colored)

Link compat_reallocarray.o into soelim; needed on
platforms having neither stringlist nor compat_reallocarray.

Revision 1.462 / (download) - annotate - [select for diffs], Wed May 20 22:22:59 2015 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.461: +16 -4 lines
Diff to previous 1.461 (colored) to selected 1.31 (colored)

* remove FreeBSDisms
* purge and sort headers
* add build and compat glue
* and LICENSE information
for soelim(1)

Revision 1.461 / (download) - annotate - [select for diffs], Thu Apr 2 21:36:49 2015 UTC (9 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.460: +5 -3 lines
Diff to previous 1.460 (colored) to selected 1.31 (colored)

First step towards parser unification:
Replace enum mdoc_type and enum man_type by a unified enum roff_type.
Almost mechanical, no functional change.
Written on the ICE train from Frankfurt to Bruxelles on the way to p2k15.

Revision 1.460 / (download) - annotate - [select for diffs], Fri Mar 27 17:37:25 2015 UTC (9 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.459: +3 -3 lines
Diff to previous 1.459 (colored) to selected 1.31 (colored)

Parse the new man.conf(5) "output" directive.
The next step will be to actually use the parsed data.

Revision 1.459 / (download) - annotate - [select for diffs], Fri Mar 27 00:18:14 2015 UTC (9 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.458: +5 -1 lines
Diff to previous 1.458 (colored) to selected 1.31 (colored)

Add man.conf(5).  After adding some additional functionality,
one of the next steps will be to use it in addition to manpath(1)
rather than as an alternative to it.

Revision 1.458 / (download) - annotate - [select for diffs], Thu Mar 19 14:57:29 2015 UTC (9 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.457: +11 -2 lines
Diff to previous 1.457 (colored) to selected 1.31 (colored)

Compat glue needed for Solaris 9 and 10.

Thanks to Sevan Janiyan <venture37 at geeklan dot co dot uk> for
reporting the Solaris 10 issues, to Jan Holzhueter <jh at opencsw
dot org> for some additional insight, and to OpenCSW in general for
providing me with a Solaris 9/10/11 testing environment.

Revision 1.457 / (download) - annotate - [select for diffs], Fri Mar 13 12:35:32 2015 UTC (9 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_3
Changes since 1.456: +3 -3 lines
Diff to previous 1.456 (colored) to selected 1.31 (colored)

release 1.13.3

Revision 1.456 / (download) - annotate - [select for diffs], Mon Feb 16 16:23:54 2015 UTC (9 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.455: +3 -1 lines
Diff to previous 1.455 (colored) to selected 1.31 (colored)

Delete the -V option.  It serves no purpose but keeps confusing people.

Keeping track of the versions of installed software is the job of
the package manager, not of the individual binaries.  If individual
binaries include version numbers, that tends to goad people into
writing broken configuration tests that inspect version numbers
instead of properly testing for features.

Revision 1.455 / (download) - annotate - [select for diffs], Mon Feb 16 14:56:22 2015 UTC (9 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.454: +5 -2 lines
Diff to previous 1.454 (colored) to selected 1.31 (colored)

strtonum(3) compat glue

Revision 1.454 / (download) - annotate - [select for diffs], Tue Feb 3 21:16:02 2015 UTC (9 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.453: +5 -5 lines
Diff to previous 1.453 (colored) to selected 1.31 (colored)

Enable the integrated man(1) even when database support is disabled,
using the file system lookup fallback code, also reducing the number
of preprocessor conditional directives.
Hopefully, it will make some small Linux distros happy.

Revision 1.453 / (download) - annotate - [select for diffs], Tue Dec 9 09:14:33 2014 UTC (10 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_2
Changes since 1.452: +18 -11 lines
Diff to previous 1.452 (colored) to selected 1.31 (colored)

Support choosing alternative binary and manual names from configure.local,
to help downstream distributions avoid naming conflicts.

Revision 1.452 / (download) - annotate - [select for diffs], Tue Dec 9 07:29:42 2014 UTC (10 years ago) by schwarze
Branch: MAIN
Changes since 1.451: +12 -19 lines
Diff to previous 1.451 (colored) to selected 1.31 (colored)

Integrate the makewhatis binary into the mandoc binary
just like we do it on OpenBSD.  Smaller and neater.
While here, let ./configure set INSTALL_TARGETS.

Revision 1.451 / (download) - annotate - [select for diffs], Tue Dec 9 06:31:03 2014 UTC (10 years ago) by schwarze
Branch: MAIN
Changes since 1.450: +28 -19 lines
Diff to previous 1.450 (colored) to selected 1.31 (colored)

Some sorting and some more comments.
Drop DISTDIR from www-install target.

Revision 1.450 / (download) - annotate - [select for diffs], Tue Dec 9 06:11:35 2014 UTC (10 years ago) by schwarze
Branch: MAIN
Changes since 1.449: +8 -12 lines
Diff to previous 1.449 (colored) to selected 1.31 (colored)

Install "man" as a hardlink to "mandoc" during db-install.
Install man(1) manual in db-install, not base-install.
Get rid of the useless variables BASEBIN, DBBIN, CGIBIN.

Revision 1.449 / (download) - annotate - [select for diffs], Mon Dec 1 08:09:26 2014 UTC (10 years ago) by schwarze
Branch: MAIN
Changes since 1.448: +3 -1 lines
Diff to previous 1.448 (colored) to selected 1.31 (colored)

developer documentation regarding header files

Revision 1.448 / (download) - annotate - [select for diffs], Fri Nov 28 18:57:31 2014 UTC (10 years ago) by schwarze
Branch: MAIN
Changes since 1.447: +1 -2 lines
Diff to previous 1.447 (colored) to selected 1.31 (colored)

AT&T is unlikely to release an new version of Research UNIX any time soon.
So, it's pointless to make adding version strings easy for downstream.
One source file less to maintain.

Revision 1.447 / (download) - annotate - [select for diffs], Fri Nov 28 18:36:35 2014 UTC (10 years ago) by schwarze
Branch: MAIN
Changes since 1.446: +2 -5 lines
Diff to previous 1.446 (colored) to selected 1.31 (colored)

Retire support for CSRG supplementary document titles.  These are
long obsolete and were never written in mdoc(7) in the first place.
Removes 100 lines from source files.

Revision 1.446 / (download) - annotate - [select for diffs], Fri Nov 28 18:09:01 2014 UTC (10 years ago) by schwarze
Branch: MAIN
Changes since 1.445: +3 -6 lines
Diff to previous 1.445 (colored) to selected 1.31 (colored)

Drop useless architecture table.  Validating architecture names
is a job for makewhatis(8)/mandoc.db(5), not for the parser.
Removes 150 lines from source files and 4k (1%) from the binary.
Bloat found by deraadt@.

Revision 1.445 / (download) - annotate - [select for diffs], Sat Oct 25 01:03:52 2014 UTC (10 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.444: +4 -11 lines
Diff to previous 1.444 (colored) to selected 1.31 (colored)

integrate preconv(1) into mandoc(1);
enhances functionality and reduces code and docs by more than 300 lines

Revision 1.444 / (download) - annotate - [select for diffs], Sat Sep 27 11:20:39 2014 UTC (10 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.443: +3 -1 lines
Diff to previous 1.443 (colored) to selected 1.31 (colored)

Have Makefile build mandoc(1) before it tries to generate the HTML.

Revision 1.443 / (download) - annotate - [select for diffs], Thu Aug 21 00:42:38 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.442: +5 -2 lines
Diff to previous 1.442 (colored) to selected 1.31 (colored)

Now that we have man(1) functionality, add a man(1) manual page.
I'm importing the totally unchanged OpenBSD version
such that all changes can easily be tracked in CVS.

Revision 1.442 / (download) - annotate - [select for diffs], Sun Aug 17 03:24:47 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.441: +5 -5 lines
Diff to previous 1.441 (colored) to selected 1.31 (colored)

Fully integrate apropos(1) into mandoc(1).
Switch the argmode on the progname, including man(1).
Provide -f and -k options to switch the argmode.
Store the argmode inside struct search, generalizing the flags.
Derive the deftype from the argmode when needed instead of storing it.
Store the outkey inside struct search instead of passing it alone.
While here, get rid of the trailing blanks in Makefile.depend.

Revision 1.441 / (download) - annotate - [select for diffs], Sat Aug 16 23:04:25 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.440: +9 -11 lines
Diff to previous 1.440 (colored) to selected 1.31 (colored)

When BUILD_DB is active, link apropos(1) into the mandoc binary.
This is the first step on the way to a man(1) implementation.
The new ./configure is flexible enough to make this step quite easy.

Revision 1.440 / (download) - annotate - [select for diffs], Sat Aug 16 19:00:01 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.439: +20 -110 lines
Diff to previous 1.439 (colored) to selected 1.31 (colored)

Improve build system and autodetection.
* Make ./configure standalone, that's what people expect.
* Let people write a ./configure.local from scratch, not edit existing files.
* Autodetect wchar, sqlite3, and manpath and act accordingly.
* Autodetect the need for -L/usr/local/lib and -lutil.
* Get rid of config.h.p{re,ost}, let ./configure only write what's needed.
* Let ./configure write a Makefile.local snippet, that's quite flexible.

Revision 1.395.2.29 / (download) - annotate - [select for diffs], Thu Aug 14 20:43:22 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
CVS Tags: VERSION_1_12_4
Changes since 1.395.2.28: +6 -50 lines
Diff to previous 1.395.2.28 (colored) to branchpoint 1.395 (colored) next main 1.396 (colored) to selected 1.31 (colored)

Add INSTALL, and remove WWW gunk from the Makefile, we are not
going to rebuild the website from this version.

Revision 1.395.2.28 / (download) - annotate - [select for diffs], Tue Aug 12 21:37:42 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.27: +2 -2 lines
Diff to previous 1.395.2.27 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

typo in comment; Guy Harris <guy at alum dot mit dot edu>

Revision 1.439 / (download) - annotate - [select for diffs], Tue Aug 12 21:35:48 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.438: +2 -2 lines
Diff to previous 1.438 (colored) to selected 1.31 (colored)

typo in comment; Guy Harris <guy at alum dot mit dot edu>

Revision 1.438 / (download) - annotate - [select for diffs], Mon Aug 11 03:19:39 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.437: +4 -2 lines
Diff to previous 1.437 (colored) to selected 1.31 (colored)

work around lack of d_namlen and ALIGN/ALIGNBYTES on Linux

Revision 1.437 / (download) - annotate - [select for diffs], Mon Aug 11 01:39:00 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.436: +6 -5 lines
Diff to previous 1.436 (colored) to selected 1.31 (colored)

Provide a fallback version of fts(3) for systems lacking it.
I chose the OpenBSD version because it apparently contains various
bugfixes that never made it into libnbcompat.  To reduce size and
complexity, i stripped out the features we don't need.

Revision 1.395.2.27 / (download) - annotate - [select for diffs], Mon Aug 11 00:31:13 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.26: +3 -3 lines
Diff to previous 1.395.2.26 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.
Include <sys/types.h> where needed, it does not belong in config.h.

Revision 1.436 / (download) - annotate - [select for diffs], Sun Aug 10 23:54:41 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.435: +3 -3 lines
Diff to previous 1.435 (colored) to selected 1.31 (colored)

Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.
Include <sys/types.h> where needed, it does not belong in config.h.
Remove <stdio.h> from config.h; if it is missing somewhere, it should
be added, but i cannot find a *.c file where it is missing.

Revision 1.435 / (download) - annotate - [select for diffs], Sun Aug 10 02:45:04 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_1
Changes since 1.434: +5 -4 lines
Diff to previous 1.434 (colored) to selected 1.31 (colored)

Clarifications in comments and standard output suggested by
Paul Onyschuk <ptmelville at gmail dot com> (Alpine Linux)

Revision 1.434 / (download) - annotate - [select for diffs], Fri Aug 8 23:47:21 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.433: +3 -2 lines
Diff to previous 1.433 (colored) to selected 1.31 (colored)

Do not hardcode stuff in ./configure that is actually user-configurable
in the Makefile; instead, pass it down via the environment just
like CFLAGS.
Nice suggestion from kristaps@ hoping to make MacOS X happier.

Revision 1.433 / (download) - annotate - [select for diffs], Fri Aug 8 20:34:06 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.432: +4 -3 lines
Diff to previous 1.432 (colored) to selected 1.31 (colored)

add INSTALL and bump VERSION

Revision 1.432 / (download) - annotate - [select for diffs], Tue Aug 5 12:50:52 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.431: +4 -1 lines
Diff to previous 1.431 (colored) to selected 1.31 (colored)

Since old SQLite versions do not have sqlite3_errstr(),
provide a dummy fallback implementation.
Do not bother to decode the error, SQLite error codes
are not useful enough for that to be worthwhile.
Note that using sqlite3_errmsg(db) would be a bad idea:
On malloc() failure, db is NULL, which would cause a segfault.
Issue noticed by kristaps@.

Revision 1.395.2.26 / (download) - annotate - [select for diffs], Tue Aug 5 11:19:46 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.25: +5 -4 lines
Diff to previous 1.395.2.25 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

merge portability fix from HEAD

Revision 1.431 / (download) - annotate - [select for diffs], Tue Aug 5 11:19:13 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.430: +5 -4 lines
Diff to previous 1.430 (colored) to selected 1.31 (colored)

Portability fix:
* POSIX syntax is 'include Makefile.depend', not '.include "Makefile.depend"'
* gmake(1) runs the build rule for the included file (duh), so delete the rule
* consequently, we have to mark the 'depend' maintainer target .PHONY
* as it's now .PHONY anyway, drop some prerequisites that are now useless
Issue noticed by kristaps@.

Revision 1.395.2.25 / (download) - annotate - [select for diffs], Tue Aug 5 05:51:33 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.24: +9 -2 lines
Diff to previous 1.395.2.24 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Split mandoc_escape(3), mandoc_malloc(3), and mchars_alloc(3)
out of mandoc(3), adding lots of new information.

Revision 1.430 / (download) - annotate - [select for diffs], Tue Aug 5 05:48:56 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.429: +9 -2 lines
Diff to previous 1.429 (colored) to selected 1.31 (colored)

Sync library documentation with reality.
Split mandoc_escape(3), mandoc_malloc(3), and mchars_alloc(3)
out of mandoc(3), adding lots of new information.

Revision 1.395.2.24 / (download) - annotate - [select for diffs], Tue Aug 5 05:29:53 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.23: +72 -85 lines
Diff to previous 1.395.2.23 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Switch to autogenerated dependency rules; they are less error-prone.
Provide a maintainer target to regenerate them.

Revision 1.429 / (download) - annotate - [select for diffs], Tue Aug 5 05:27:16 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.428: +79 -95 lines
Diff to previous 1.428 (colored) to selected 1.31 (colored)

Switch to autogenerated dependency rules; they are less error-prone.
Provide a maintainer target to regenerate them.

Revision 1.395.2.23 / (download) - annotate - [select for diffs], Tue Aug 5 03:15:22 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.22: +34 -13 lines
Diff to previous 1.395.2.22 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Properly partition the build system and install some missing stuff:
* Introduce targets base-build and db-build.
* Introduce targets base-install and db-install.
* Introduce a BUILD_TARGETS variable to contain db-build.
* Introduce an INSTALL_TARGETS variable and fill it using BUILD_TARGETS.
* Install the apropos(1) and mandocdb(8) binaries.
* Install whatis(1) as a hard link to apropos(1).
* Install the apropos(1), whatis(1), and mandocdb(8) manuals.
* Install mandoc_aux.h.

Revision 1.428 / (download) - annotate - [select for diffs], Tue Aug 5 03:02:40 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.427: +56 -15 lines
Diff to previous 1.427 (colored) to selected 1.31 (colored)

Properly partition the build system and install some missing stuff:
* Introduce targets base-build, db-build, cgi-build.
* Introduce targets base-install, db-install, cgi-install.
* Introduce a BUILD_TARGETS variable to contain db-build and cgi-build.
* Introduce an INSTALL_TARGETS variable and fill it using BUILD_TARGETS.
* Install the whatis(1) and makewhatis(8) binaries.
* Install the apropos(1), whatis(1), and makewhatis(8) manuals.
* Install mandoc_aux.h.
* Do not build manpage(1) by default.

Revision 1.395.2.22 / (download) - annotate - [select for diffs], Tue Aug 5 01:46:07 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.21: +8 -4 lines
Diff to previous 1.395.2.21 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Various minor corrections:
* Do not install programs and libs root-writeable.
* Add missing test-strcasestr.c and test-strsep.c to TESTSRCS.
* Add missing mandoc_html.3 to SRCS.
* Add missing mandoc_html.3.html to WWW_MANS.

Revision 1.427 / (download) - annotate - [select for diffs], Tue Aug 5 01:45:02 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.426: +17 -6 lines
Diff to previous 1.426 (colored) to selected 1.31 (colored)

Various minor corrections:
* Do not unconditionally use -I/usr/local/include and -L/usr/local/lib.
* Do not install programs and libs root-writeable.
* Add missing test-strcasestr.c and test-strsep.c to TESTSRCS.
* Add missing cgi.h.example and mandoc_html.3 to SRCS.
* Add missing mandoc_html.3.html to WWW_MANS.

Revision 1.395.2.21 / (download) - annotate - [select for diffs], Tue Aug 5 01:07:42 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.20: +20 -12 lines
Diff to previous 1.395.2.20 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

sort user settings; no functional change

Revision 1.426 / (download) - annotate - [select for diffs], Tue Aug 5 01:07:00 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.425: +35 -20 lines
Diff to previous 1.425 (colored) to selected 1.31 (colored)

sort user settings; no functional change

Revision 1.395.2.20 / (download) - annotate - [select for diffs], Tue Aug 5 00:42:53 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.19: +4 -47 lines
Diff to previous 1.395.2.19 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Remove the old man.cgi.
Running that would not be a responsible thing to do, nowadays.

Revision 1.395.2.19 / (download) - annotate - [select for diffs], Mon Aug 4 23:45:37 2014 UTC (10 years, 4 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.18: +1 -4 lines
Diff to previous 1.395.2.18 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

remove strnlen(3) compat, we no longer use it

Revision 1.425 / (download) - annotate - [select for diffs], Mon Aug 4 23:44:29 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.424: +1 -4 lines
Diff to previous 1.424 (colored) to selected 1.31 (colored)

remove strnlen(3) compat, we no longer use it

Revision 1.424 / (download) - annotate - [select for diffs], Sun Jul 13 09:39:32 2014 UTC (10 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.423: +5 -1 lines
Diff to previous 1.423 (colored) to selected 1.31 (colored)

Install the manuals of the web interface below the same directory
as manpath.conf, such that we do not need to mix our own documentation
into the documentation we are serving, which may not even be possible
if the latter is updated automatically.

Based on an idea by beck@.

Revision 1.423 / (download) - annotate - [select for diffs], Sat Jul 12 18:32:47 2014 UTC (10 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.422: +6 -2 lines
Diff to previous 1.422 (colored) to selected 1.31 (colored)

No need for run-time configuration, add minimal compile-time
configuration facilities, just two paths and two HTML strings.
Show the title on all pages, not just the index page.

Revision 1.422 / (download) - annotate - [select for diffs], Thu Jul 10 00:31:10 2014 UTC (10 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.421: +3 -3 lines
Diff to previous 1.421 (colored) to selected 1.31 (colored)

Full rewrite of the man.cgi(8) manual.

Almost everything in the old man.cgi(7) was outdated in one way
or another - catman, catman.conf, CACHE_DIR, /cache, manroots,
replacing '/' with spaces, /tmp...

Instead, document the HTML and URI interfaces, the output and the setup,
and complete the listings of ENVIRONMENT variables and FILES.

Using section 8 instead of section 7 because that's the usual place
for CGI programs, see for example bgplg(8) and slowcgi(8).

Revision 1.421 / (download) - annotate - [select for diffs], Wed Jul 9 07:30:47 2014 UTC (10 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.420: +17 -2 lines
Diff to previous 1.420 (colored) to selected 1.31 (colored)

Switch over man.cgi to SQLite.  While here:
* Simplify pathgen(), just use the subdirs of the cache dir.
* Simplify URI paths, just use show/<manpath>/<filename>.
* Drop struct paths, just use plain strings.
* Garbage collect unused headers.

Revision 1.420 / (download) - annotate - [select for diffs], Fri Jun 20 02:55:49 2014 UTC (10 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.419: +5 -1 lines
Diff to previous 1.419 (colored) to selected 1.31 (colored)

let the build system cope with the recent ohash changes

Revision 1.395.2.18 / (download) - annotate - [select for diffs], Thu Apr 24 00:36:44 2014 UTC (10 years, 8 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.17: +53 -25 lines
Diff to previous 1.395.2.17 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Merge from HEAD:
* Use sha256 rather than md5.
* Update .h dependencies for some objects.
* Provide `www' target to build everything needed for the web site.
* Move .SUFFIXES and .PHONY technicalities to the bottom.
* State Copyright and license, just for clarity.
* Bump VERSION in preparation for release.

Revision 1.419 / (download) - annotate - [select for diffs], Thu Apr 24 00:29:45 2014 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.418: +43 -20 lines
Diff to previous 1.418 (colored) to selected 1.31 (colored)

Various Makefile improvements:
* Use sha256 rather than md5.
* Update .h dependencies for some objects.
* Provide `www' target to build everything needed for the web site.
* Move .SUFFIXES and .PHONY technicalities to the bottom.
* State Copyright and license, just for clarity.

Revision 1.395.2.17 / (download) - annotate - [select for diffs], Wed Apr 23 21:31:38 2014 UTC (10 years, 8 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.16: +3 -0 lines
Diff to previous 1.395.2.16 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Audit malloc(3)/calloc(3)/realloc(3) in VERSION_1_12.

Revision 1.418 / (download) - annotate - [select for diffs], Wed Apr 23 21:06:41 2014 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.417: +3 -0 lines
Diff to previous 1.417 (colored) to selected 1.31 (colored)

Audit malloc(3)/calloc(3)/realloc(3) usage.
* Change eight reallocs to reallocarray to be safe from overflows.
* Change one malloc to reallocarray to be safe from overflows.
* Change one calloc to reallocarray, no zeroing needed.
* Change the order of arguments of three callocs (aesthetical).

Revision 1.395.2.16 / (download) - annotate - [select for diffs], Tue Apr 22 22:05:24 2014 UTC (10 years, 8 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.15: +2 -1 lines
Diff to previous 1.395.2.15 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

include the LICENSE into the distribution tarball

Revision 1.417 / (download) - annotate - [select for diffs], Tue Apr 22 22:03:22 2014 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.416: +2 -1 lines
Diff to previous 1.416 (colored) to selected 1.31 (colored)

add a LICENSE file for clarity and for the convenience of porters

Revision 1.416 / (download) - annotate - [select for diffs], Fri Apr 18 10:30:37 2014 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.415: +9 -9 lines
Diff to previous 1.415 (colored) to selected 1.31 (colored)

Slowly, the dust begins to settle.
We are keeping the traditional name makewhatis(8).
No content change.

Revision 1.415 / (download) - annotate - [select for diffs], Tue Apr 15 20:18:26 2014 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.414: +12 -4 lines
Diff to previous 1.414 (colored) to selected 1.31 (colored)

Document the database format and SQL code generation;
suggested by kristaps@ and espie@.

Revision 1.395.2.15 / (download) - annotate - [select for diffs], Sun Mar 23 12:04:54 2014 UTC (10 years, 9 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.14: +9 -4 lines
Diff to previous 1.395.2.14 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

introduce mandoc_aux to 1.12

Revision 1.414 / (download) - annotate - [select for diffs], Sun Mar 23 11:25:25 2014 UTC (10 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.413: +7 -3 lines
Diff to previous 1.413 (colored) to selected 1.31 (colored)

The files mandoc.c and mandoc.h contained both specialised low-level
functions used for multiple languages (mdoc, man, roff), for example
mandoc_escape(), mandoc_getarg(), mandoc_eos(), and generic auxiliary
functions.  Split the auxiliaries out into their own file and header.
While here, do some #include cleanup.

Revision 1.395.2.14 / (download) - annotate - [select for diffs], Mon Mar 3 19:09:21 2014 UTC (10 years, 9 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.13: +22 -36 lines
Diff to previous 1.395.2.13 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

- remove index.html, is now part of the website repo
- and some general cleanup (installcgi is .PHONY)

Revision 1.413 / (download) - annotate - [select for diffs], Mon Mar 3 18:53:27 2014 UTC (10 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.412: +30 -38 lines
Diff to previous 1.412 (colored) to selected 1.31 (colored)

- remove index.html, it is now part of the website repo
- install mandocdb, manpage, and apropos
- and some general cleanup (e.g., installcgi is .PHONY)

Revision 1.412 / (download) - annotate - [select for diffs], Sun Jan 19 01:18:34 2014 UTC (10 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.411: +2 -2 lines
Diff to previous 1.411 (colored) to selected 1.31 (colored)

Get rid of the local keys table, use the new mansearch_const.c.
No functional change.

Revision 1.411 / (download) - annotate - [select for diffs], Sun Jan 19 00:09:38 2014 UTC (10 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.410: +2 -1 lines
Diff to previous 1.410 (colored) to selected 1.31 (colored)

Support a second -v on mandocdb(8) to show keys while they are being added;
i need that for debugging, in particular to be used with -t.
To be able to do so, provide a global table of key names, for reuse.

Revision 1.410 / (download) - annotate - [select for diffs], Sat Jan 4 15:00:02 2014 UTC (10 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.409: +7 -2 lines
Diff to previous 1.409 (colored) to selected 1.31 (colored)

Put mansearch.{h,c}, manpage.c, and compat_ohash.{h,c}
into the distribution tarball.  Bump VERSION.

Revision 1.409 / (download) - annotate - [select for diffs], Sat Jan 4 14:45:54 2014 UTC (10 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.408: +3 -1 lines
Diff to previous 1.408 (colored) to selected 1.31 (colored)

Put ./configure into the distributin tarball.

Revision 1.395.2.13 / (download) - annotate - [select for diffs], Sat Jan 4 14:44:28 2014 UTC (10 years, 11 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.12: +3 -1 lines
Diff to previous 1.395.2.12 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Put ./configure into the distribution tarball.

Revision 1.395.2.12 / (download) - annotate - [select for diffs], Sat Jan 4 13:49:22 2014 UTC (10 years, 11 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.11: +3 -0 lines
Diff to previous 1.395.2.11 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Merge strnlen(3) configuration bits.

Revision 1.408 / (download) - annotate - [select for diffs], Sat Jan 4 13:40:01 2014 UTC (10 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.407: +3 -0 lines
Diff to previous 1.407 (colored) to selected 1.31 (colored)

Even though strnlen(3) is required by POSIX 2008,
Matthias Scheler reports than Solaris 10 lacks it.
While here, sort the declarations in config.h
and move the headers to the top.

Revision 1.395.2.11 / (download) - annotate - [select for diffs], Sat Jan 4 01:24:48 2014 UTC (10 years, 11 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.10: +12 -51 lines
Diff to previous 1.395.2.10 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Merge cleanup of feature tests to VERSION_1_12, resolving conflicts.

Revision 1.407 / (download) - annotate - [select for diffs], Sat Jan 4 01:11:00 2014 UTC (10 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.406: +12 -51 lines
Diff to previous 1.406 (colored) to selected 1.31 (colored)

Clean up feature tests:
* Split the configure steering script out of the Makefile.
* Let the configure step depend on the test sources.
* Clean up the test programs such that they can be run.

Revision 1.395.2.10 / (download) - annotate - [select for diffs], Tue Dec 31 23:19:04 2013 UTC (10 years, 11 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.9: +13 -1 lines
Diff to previous 1.395.2.9 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Provide strcasestr(3) and strsep(3) for Solaris 10 compat;
reported missing by Matthias Scheler <tron at NetBSD> via wiz@.

Revision 1.406 / (download) - annotate - [select for diffs], Tue Dec 31 23:03:47 2013 UTC (10 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.405: +13 -1 lines
Diff to previous 1.405 (colored) to selected 1.31 (colored)

Provide strcasestr(3) and strsep(3) for Solaris 10 compat;
reported missing by Matthias Scheler <tron at NetBSD> via wiz@.

Revision 1.405 / (download) - annotate - [select for diffs], Tue Dec 31 11:28:20 2013 UTC (10 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.404: +2 -2 lines
Diff to previous 1.404 (colored) to selected 1.31 (colored)

release 1.12.3

Revision 1.395.2.9 / (download) - annotate - [select for diffs], Tue Dec 31 11:23:23 2013 UTC (10 years, 11 months ago) by schwarze
Branch: VERSION_1_12
CVS Tags: VERSION_1_12_3
Changes since 1.395.2.8: +2 -2 lines
Diff to previous 1.395.2.8 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

release 1.12.3

Revision 1.404 / (download) - annotate - [select for diffs], Sun Oct 6 23:20:39 2013 UTC (11 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.403: +2 -1 lines
Diff to previous 1.403 (colored) to selected 1.31 (colored)

Put VERSION into config.h.
This makes life easier for downstream maintainers having more than one
Makefile, for example DragonFly and FreeBSD.
Suggested by Franco Fichtner <franco at lastsummer dot de>.

Revision 1.395.2.8 / (download) - annotate - [select for diffs], Sun Oct 6 23:17:05 2013 UTC (11 years, 2 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.7: +2 -1 lines
Diff to previous 1.395.2.7 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Put VERSION into config.h.
This makes life easier for downstream maintainers having more than one
Makefile, for example DragonFly and FreeBSD.
Suggested by Franco Fichtner <franco at lastsummer dot de>.

Revision 1.403 / (download) - annotate - [select for diffs], Sat Oct 5 20:43:20 2013 UTC (11 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.402: +7 -7 lines
Diff to previous 1.402 (colored) to selected 1.31 (colored)

merge from VERSION_1_12: do not complain about unused variables in test-*.c

Revision 1.395.2.7 / (download) - annotate - [select for diffs], Sat Oct 5 20:30:05 2013 UTC (11 years, 2 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.6: +7 -7 lines
Diff to previous 1.395.2.6 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Cleanup suggested by gcc-4.8.1, following hints by Christos Zoulas:
- avoid bad qualifier casting in roff.c, roff_parsetext()
  by changing the mandoc_escape arguments to "const char const **"
- avoid bad qualifier casting in mandocdb.c, index_merge()
- do not complain about unused variables in test-*.c
- garbage collect a few unused variables elsewhere

Revision 1.402 / (download) - annotate - [select for diffs], Sat Oct 5 20:09:24 2013 UTC (11 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.401: +1 -1 lines
Diff to previous 1.401 (colored) to selected 1.31 (colored)

Merge from VERSION_1_12, in particular release date, pkgsrc port version,
link to NEWS file, link to Alpine Linux, and fix one FreeBSD link.

Revision 1.395.2.6 / (download) - annotate - [select for diffs], Sat Oct 5 13:15:51 2013 UTC (11 years, 2 months ago) by schwarze
Branch: VERSION_1_12
CVS Tags: VERSION_1_12_2
Changes since 1.395.2.5: +2 -2 lines
Diff to previous 1.395.2.5 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Release version 1.12.2.  This is no longer beta.
Sneak in a downstream link to Alpine Linux.

Revision 1.401 / (download) - annotate - [select for diffs], Wed Oct 2 06:44:55 2013 UTC (11 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.400: +17 -9 lines
Diff to previous 1.400 (colored) to selected 1.31 (colored)

Merge from branch VERSION_1_12:
- add the new SCRS files NEWS and gmdiff
- add tbl.3 to SRCS, INDEX_MANS, and install
- bring back the SCRS files apropos.{c,1} that somehow got lost
- bring back the INDEX_MANS apropos.1.html that also got lost
- update VERSION, VDATE, and OSNAME
- improve comment regarding STATIC

Revision 1.395.2.5 / (download) - annotate - [select for diffs], Tue Oct 1 00:55:07 2013 UTC (11 years, 2 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.4: +3 -2 lines
Diff to previous 1.395.2.4 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

include the NEWS file into the tarball

Revision 1.395.2.4 / (download) - annotate - [select for diffs], Sun Sep 29 23:28:48 2013 UTC (11 years, 2 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.3: +11 -5 lines
Diff to previous 1.395.2.3 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Final tweaks for the release candidate:
* Test for betoh64(), otherwise use be64toh().
* In the Makefile, improve the explanation of STATIC.
* Update VERSION and VDATE.

Revision 1.395.2.3 / (download) - annotate - [select for diffs], Wed Sep 18 16:20:11 2013 UTC (11 years, 3 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.2: +7 -4 lines
Diff to previous 1.395.2.2 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Update VERSION, VDATE and CFLAGS for the upcoming 1.12.2 release.
Add tbl.3 and gmdiff to the tarball.
Add tbl.3.html to the website.

Revision 1.395.2.2 / (download) - annotate - [select for diffs], Wed Sep 18 02:24:37 2013 UTC (11 years, 3 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395.2.1: +1 -77 lines
Diff to previous 1.395.2.1 (colored) to branchpoint 1.395 (colored) to selected 1.31 (colored)

Merge rev. 1.400:
Stop producing xhtml/pdf/etc for webpage.

Revision 1.395.2.1 / (download) - annotate - [select for diffs], Wed Sep 18 02:19:37 2013 UTC (11 years, 3 months ago) by schwarze
Branch: VERSION_1_12
Changes since 1.395: +26 -172 lines
Diff to previous 1.395 (colored) to selected 1.31 (colored)

Partial merge of rev. 1.396:
Remove lint support and Windows binaries.

Revision 1.400 / (download) - annotate - [select for diffs], Sat Jun 9 14:19:55 2012 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.399: +1 -61 lines
Diff to previous 1.399 (colored) to selected 1.31 (colored)

Stop producing xhtml/pdf/etc for webpage (logs indicate that nobody actually
looks at them).

Revision 1.399 / (download) - annotate - [select for diffs], Sat Jun 9 14:11:15 2012 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.398: +4 -5 lines
Diff to previous 1.398 (colored) to selected 1.31 (colored)

Merge whatis.1 into apropos.1 (and remove), add whatis bits to apropos
(via mansearch), and merge mandocdb.h into mansearch.h (and remove).

Revision 1.398 / (download) - annotate - [select for diffs], Sat Jun 9 11:27:38 2012 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.397: +1 -1 lines
Diff to previous 1.397 (colored) to selected 1.31 (colored)

Remove catman(8): it's superfluous.
Users of man.cgi should be able to just copy in their directories and have
the CGI fine everything on its own or just suck it up or, in the cases
of multiple manroots, have a simple config file.
Besides, now that mandocdb(8) is using relative paths for everything,
needing a fancy "cp -R" is silly.

Revision 1.397 / (download) - annotate - [select for diffs], Sat Jun 9 11:00:13 2012 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.396: +7 -1 lines
Diff to previous 1.396 (colored) to selected 1.31 (colored)

Add a compatibility interface for ohash.
This include's espie@'s wholesale src/lib/libc/ohash directory from OpenBSD
into compat_ohash.c (with a single copyright/license notice at the top)
and src/include/ohash.h as compat_ohash.h.
The ohash_int.h part of compat_ohash.c has been changed only in that ohash.h
points to compat_ohash.h.
Added HAVE_OHASH test (test-ohash.c) to Makefile.
In mandocdb.c and mansearch.c, check HAVE_OHASH test for inclusion.

Revision 1.396 / (download) - annotate - [select for diffs], Fri Jun 8 10:47:17 2012 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.395: +39 -237 lines
Diff to previous 1.395 (colored) to selected 1.31 (colored)

Remove lint from Makefile.
Disable some parts of the build (man.cgi, etc.) while sqlite3 is being
merged in nice and slow.
Remove the bit swapping stuff in config.h.post.
Remove apropos_db (replaced by mansearch).

Revision 1.395 / (download) - annotate - [select for diffs], Sat Mar 24 01:54:43 2012 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_1
Branch point for: VERSION_1_12
Changes since 1.394: +2 -3 lines
Diff to previous 1.394 (colored) to selected 1.31 (colored)

Get ready for a version.

Revision 1.394 / (download) - annotate - [select for diffs], Fri Mar 23 05:05:41 2012 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.393: +10 -6 lines
Diff to previous 1.393 (colored) to selected 1.31 (colored)

Remove some Mac OS crap in the Makefile.

Revision 1.393 / (download) - annotate - [select for diffs], Fri Mar 23 02:53:18 2012 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.392: +0 -1 lines
Diff to previous 1.392 (colored) to selected 1.31 (colored)

Don't run superfluous mkdir when installing.

Revision 1.392 / (download) - annotate - [select for diffs], Sun Dec 25 17:49:52 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.391: +1 -1 lines
Diff to previous 1.391 (colored) to selected 1.31 (colored)

Continue changing mandoc.{index,db} into whatis.{index,db}.  Use mandocdb.h
to do so.

Revision 1.391 / (download) - annotate - [select for diffs], Thu Dec 15 12:05:19 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.390: +2 -2 lines
Diff to previous 1.390 (colored) to selected 1.31 (colored)

Some presentation polish in man.cgi:

 - include search bar above result page (I relent: it's annoying to
   follow three links then press back three times to get a search page);
 - make man.cgi.css into man-cgi.css so Apache isn't confused by two
   handlers (css, cgi);
 - finally consolidate example.style.css to be under the div.mandoc css
   selector;
 - put catman pages under div.catman;
 - put search bar under div#mancgi;
 - reflect this properly in the bundled CSS files.

Revision 1.390 / (download) - annotate - [select for diffs], Tue Dec 13 11:26:12 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.389: +24 -3 lines
Diff to previous 1.389 (colored) to selected 1.31 (colored)

Compatibility support fgetln() on Linux.  This uses the BSD-licensed
implementation from NetBSD tnftpd, Christos Zoulas (copyright message
retained in the compat_fgetln.c file).  Patch verified by schwarze@.  He
notes that you'll need -pthread for -static binaries (due to libdb), so
I've noted that -static should really only be used for BSD UNIX.

While here, add some forgotten goop to the Makefile, building and
cleaning extra manpages.

Revision 1.389 / (download) - annotate - [select for diffs], Sat Dec 10 11:00:00 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.388: +20 -8 lines
Diff to previous 1.388 (colored) to selected 1.31 (colored)

Adding some missing "install" bits to Makefile.

Revision 1.388 / (download) - annotate - [select for diffs], Wed Dec 7 13:00:40 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.387: +1 -0 lines
Diff to previous 1.387 (colored) to selected 1.31 (colored)

Have a whatis/apropos mode, with the default (hitting enter within the
expression text) be whatis.  This is a much nicer default than apropos,
which can be scary.  While here, fix the cat.css location (erroneously
put in the response page instead of the catman page) and add bits for
a default style-sheet.

Revision 1.387 / (download) - annotate - [select for diffs], Wed Dec 7 11:59:32 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.386: +9 -0 lines
Diff to previous 1.386 (colored) to selected 1.31 (colored)

Make installing CGI a bit easier.

Revision 1.386 / (download) - annotate - [select for diffs], Wed Dec 7 11:52:36 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.385: +1 -1 lines
Diff to previous 1.385 (colored) to selected 1.31 (colored)

By default, man.cgi should compile with -static (this was unset by mistake).
Also, set a custom CSS for man.cgi catman files.

Revision 1.385 / (download) - annotate - [select for diffs], Fri Dec 2 01:37:14 2011 UTC (13 years ago) by schwarze
Branch: MAIN
Changes since 1.384: +2 -2 lines
Diff to previous 1.384 (colored) to selected 1.31 (colored)

In man(7), when no explicit volume name is given, use the default
volume name for the respective manual section, just like in mdoc(7).
This gives us nicer page headers for cvs(1), lynx(1), tic(1),
mkhybrid(8), and many curses(3) manuals.

ok kristaps@

To not break compatibility, i wrote a corresponding patch for GNU troff
which Werner Lemberg accepted upstream at rev. 1.65 of:
http://cvs.savannah.gnu.org/viewvc/groff/tmac/an-old.tmac?root=groff

Revision 1.384 / (download) - annotate - [select for diffs], Mon Nov 28 10:10:08 2011 UTC (13 years ago) by schwarze
Branch: MAIN
Changes since 1.383: +2 -2 lines
Diff to previous 1.383 (colored) to selected 1.31 (colored)

Backout -DUSE_MANPATH that sneaked in;
ok kristaps@.

Revision 1.383 / (download) - annotate - [select for diffs], Sun Nov 27 11:46:44 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.382: +39 -18 lines
Diff to previous 1.382 (colored) to selected 1.31 (colored)

Removing INSECURE mode.  This is a work in progress!  Logic for
formatting manpages is now linked into man.cgi.

Revision 1.382 / (download) - annotate - [select for diffs], Thu Nov 24 12:43:34 2011 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.381: +1 -0 lines
Diff to previous 1.381 (colored) to selected 1.31 (colored)

Make a small manual for how to run man.cgi.
This exists almost entirely to document that /tmp must exist in a jailed
Apache directory for dbopen() not to fail.  This was a massive headache
to track down.

Revision 1.381 / (download) - annotate - [select for diffs], Thu Nov 24 10:33:38 2011 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.380: +17 -2 lines
Diff to previous 1.380 (colored) to selected 1.31 (colored)

Add manup(8).  This runs through mandocdb(8) databases (in the same way that
apropos(1) does so) and updates an HTML fragment cache for use by man.cgi.
Right now man.cgi is "online" in that it requires mandoc(1) in its path,
but this doesn't work for, say, OpenBSD's apache chroot(1).  This allows
a cache to be maintained.

Revision 1.380 / (download) - annotate - [select for diffs], Wed Nov 23 09:56:17 2011 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.379: +16 -11 lines
Diff to previous 1.379 (colored) to selected 1.31 (colored)

Adjust Makefile for manpath.{c,h} linking.

Revision 1.379 / (download) - annotate - [select for diffs], Sun Nov 20 21:36:00 2011 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.378: +3 -0 lines
Diff to previous 1.378 (colored) to selected 1.31 (colored)

Initial support for man.conf/makepath(1).

Revision 1.378 / (download) - annotate - [select for diffs], Sun Nov 13 10:49:57 2011 UTC (13 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.377: +4 -3 lines
Diff to previous 1.377 (colored) to selected 1.31 (colored)

Inventing new keywords for mostly the same thing when a well-established
set of keywords already exists is a bad idea, so reuse the mdoc(7)
macro names as apropos(1) search types.  This is a gain in brevity
as well.  Some time ago, kristaps@ agreed in principle.

The search type bit field constants are used by both mandocdb(8) and
apropos(1) and should better stay in sync, so give them their own
header file.

Revision 1.377 / (download) - annotate - [select for diffs], Sun Nov 13 10:12:05 2011 UTC (13 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.376: +6 -6 lines
Diff to previous 1.376 (colored) to selected 1.31 (colored)

Less misleading file names; ok kristaps@.

Revision 1.376 / (download) - annotate - [select for diffs], Wed Nov 9 01:24:23 2011 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.375: +29 -15 lines
Diff to previous 1.375 (colored) to selected 1.31 (colored)

Split apropos.c into db.c and apropos.h with simpler code (re-written, but
inspired by apropos.c and mandoc-tools' mandoc-cgi.c).  This uses UTF-8
right now for its re-writing, but will soon accomodate for the regular
suspects (this is a rather simple matter).

I also introduce man.cgi (cgi.c), which is a standalone CGI that replaces
mandoc-tools' mandoc.cgi.  Right now it's just a framework.

Revision 1.375 / (download) - annotate - [select for diffs], Sat Oct 8 12:47:40 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_0
Changes since 1.374: +13 -4 lines
Diff to previous 1.374 (colored) to selected 1.31 (colored)

Tweak Makefile and add config.h to -Tman to allow cross-compiling on
Windows (via MingW).

Revision 1.374 / (download) - annotate - [select for diffs], Sat Oct 8 12:21:57 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.373: +2 -2 lines
Diff to previous 1.373 (colored) to selected 1.31 (colored)

Get ready for version.  I'm bumping the minor release to 1.12 because
this involves both a major functionality addition (-Tman), a new utility
(apropos), and both apropos and mandocdb being built by default.

Revision 1.373 / (download) - annotate - [select for diffs], Thu Oct 6 23:15:56 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.372: +2 -2 lines
Diff to previous 1.372 (colored) to selected 1.31 (colored)

Make apropos and mandocdb build by default.

Revision 1.372 / (download) - annotate - [select for diffs], Thu Oct 6 23:00:54 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.371: +21 -1 lines
Diff to previous 1.371 (colored) to selected 1.31 (colored)

Import apropos from mandoc-tools after inlining all source files
(originally including extern.h, state.c, and sort.c).  The apropos
utility interfaces with the databases of mandocdb to provide semantic
searching capabilities.  It Works For Me, but will need lots of cleanup
in the coming months.

Revision 1.371 / (download) - annotate - [select for diffs], Sat Sep 17 15:00:51 2011 UTC (13 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.370: +6 -0 lines
Diff to previous 1.370 (colored) to selected 1.31 (colored)

Initial, incomplete support for -Tman
to convert mdoc(7) documents to the man(7) language.
This is work in progress and will be developed in tree.
It does already handle the cat(1) manual,
but will hardly handle all your fancy manuals yet.
go ahead  kristaps@ jmc@ millert@ deraadt@

Revision 1.370 / (download) - annotate - [select for diffs], Fri Sep 2 13:04:05 2011 UTC (13 years, 3 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_7
Changes since 1.369: +2 -2 lines
Diff to previous 1.369 (colored) to selected 1.31 (colored)

Adding version notes.

Revision 1.369 / (download) - annotate - [select for diffs], Thu Sep 1 10:46:28 2011 UTC (13 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.368: +25 -5 lines
Diff to previous 1.368 (colored) to selected 1.31 (colored)

Add demandoc utility, a replacement for deroff.

Revision 1.368 / (download) - annotate - [select for diffs], Tue Aug 16 22:21:04 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_6
Changes since 1.367: +16 -6 lines
Diff to previous 1.367 (colored) to selected 1.31 (colored)

Added generation of Universal binary.  Fixed up index.sgml to be shorter
and more expressive.

Revision 1.367 / (download) - annotate - [select for diffs], Tue Aug 16 12:31:01 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.366: +2 -2 lines
Diff to previous 1.366 (colored) to selected 1.31 (colored)

Version: 1.11.6.

Revision 1.366 / (download) - annotate - [select for diffs], Tue Aug 16 12:15:19 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.365: +13 -2 lines
Diff to previous 1.365 (colored) to selected 1.31 (colored)

Updating mingw32 install hooks for new mingw version.

Revision 1.365 / (download) - annotate - [select for diffs], Tue Aug 16 12:13:27 2011 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.364: +2 -0 lines
Diff to previous 1.364 (colored) to selected 1.31 (colored)

Initial version bits in place.  Also added forgotten tests to installed files.

Revision 1.364 / (download) - annotate - [select for diffs], Mon Jul 25 15:37:00 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.363: +5 -0 lines
Diff to previous 1.363 (colored) to selected 1.31 (colored)

Implement the first steps of equation parsing from within libmdoc.
This consists of a shim around the text parser that calls out to libroff
if equation components exist on the line.  Right now this will do
nothing, as the equation delimiter always returns nil.

Revision 1.363 / (download) - annotate - [select for diffs], Sun Jul 24 19:03:40 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_5
Changes since 1.362: +3 -2 lines
Diff to previous 1.362 (colored) to selected 1.31 (colored)

We're officially no longer UNIX-specific; make this clear.

Revision 1.362 / (download) - annotate - [select for diffs], Sun Jul 24 18:15:13 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.361: +38 -10 lines
Diff to previous 1.361 (colored) to selected 1.31 (colored)

Scary-looking but otherwise harmless changes allow me to build for Windows.
That is to say, with mingw32.  This amounts to the following:

 (1) break compat.c into compat_strlcpy.c and compat_strlcat.c
 (2) add compat_getsubopt.c (from OpenBSD) and test-getsubopt.c
 (3) add test-strptime.c for HAVE_STRPTIME
 (4) add ifdef bits here and there, where necessary
 (5) remove some harmless unportable stuff (u_char, localtime_r)

I've added the appropriate mdocml.zip target to the Makefile, too.

Revision 1.361 / (download) - annotate - [select for diffs], Sun Jul 24 10:09:03 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.360: +2 -2 lines
Diff to previous 1.360 (colored) to selected 1.31 (colored)

Tuned the initial eqn output, making it completely simple.  This
completes a full initial eqn system, so I'm tagging a release on it.

Revision 1.360 / (download) - annotate - [select for diffs], Sat Jul 23 22:57:13 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.359: +5 -2 lines
Diff to previous 1.359 (colored) to selected 1.31 (colored)

Flip on equation printing for -T[x]html.

Revision 1.359 / (download) - annotate - [select for diffs], Fri Jul 22 10:50:46 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.358: +5 -2 lines
Diff to previous 1.358 (colored) to selected 1.31 (colored)

Add character output (-Tpdf, -Tps, -Tascii) for equations.  This is the
minimum: unseparated terms.

Revision 1.358 / (download) - annotate - [select for diffs], Mon Jul 18 07:46:41 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.357: +4 -2 lines
Diff to previous 1.357 (colored) to selected 1.31 (colored)

Make `struct roff' be passed into libmdoc and libman upon creation.
This is required for supporting in-line equations.  While here, push
registers properly into roff and add an set/get/mod interface.

Revision 1.357 / (download) - annotate - [select for diffs], Sun Jul 17 14:11:25 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.356: +1 -1 lines
Diff to previous 1.356 (colored) to selected 1.31 (colored)

Remember to NULL-ify new keys/vals.

Revision 1.356 / (download) - annotate - [select for diffs], Thu Jul 14 14:36:37 2011 UTC (13 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.355: +20 -19 lines
Diff to previous 1.355 (colored) to selected 1.31 (colored)

move mandocdb(1) to mandocdb(8)
"please make this change" kristaps@

Revision 1.355 / (download) - annotate - [select for diffs], Thu Jul 14 10:57:02 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.354: +16 -16 lines
Diff to previous 1.354 (colored) to selected 1.31 (colored)

Rename makewhatis [back] into mandocdb.  This is to maintain consistency
with OpenBSD, which is sandboxing the code for merge.  It makes sense
because it doesn't really make a `makewhatis' file in the traditional
sense, so it may be confusing.

Revision 1.354 / (download) - annotate - [select for diffs], Tue Jul 12 08:27:45 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_4
Changes since 1.353: +2 -2 lines
Diff to previous 1.353 (colored) to selected 1.31 (colored)

Note version 1.11.4 bits.  Here we go!

Revision 1.353 / (download) - annotate - [select for diffs], Mon Jul 4 12:02:57 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.352: +2 -1 lines
Diff to previous 1.352 (colored) to selected 1.31 (colored)

Install sources with mode 0644.  Noted by Jack Nagel.  Ok schwarze@.

Revision 1.352 / (download) - annotate - [select for diffs], Sun Jul 3 20:54:41 2011 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.351: +1 -1 lines
Diff to previous 1.351 (colored) to selected 1.31 (colored)

We obviously need man.h and mdoc.h installed as mentioned in mandoc.3.

Revision 1.351 / (download) - annotate - [select for diffs], Tue Jun 21 14:16:05 2011 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.350: +1 -1 lines
Diff to previous 1.350 (colored) to selected 1.31 (colored)

Let descriptions (bit-mask 0x100) also be mined for text.  This doubles
the database size (one record for each file), but it's critical
information.

Revision 1.350 / (download) - annotate - [select for diffs], Tue Jun 21 13:13:15 2011 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.349: +1 -1 lines
Diff to previous 1.349 (colored) to selected 1.31 (colored)

Don't let empty strings into the makewhatis keyword database.

Revision 1.349 / (download) - annotate - [select for diffs], Thu May 26 21:23:50 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_3
Changes since 1.348: +2 -2 lines
Diff to previous 1.348 (colored) to selected 1.31 (colored)

Version 1.11.3.  Here we go!

Revision 1.348 / (download) - annotate - [select for diffs], Thu May 26 21:13:07 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.347: +1 -1 lines
Diff to previous 1.347 (colored) to selected 1.31 (colored)

Some small lint checks in preconv.  Also add it to the default lint rule.

Revision 1.347 / (download) - annotate - [select for diffs], Thu May 26 20:36:21 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.346: +5 -0 lines
Diff to previous 1.346 (colored) to selected 1.31 (colored)

At least in theory, this patch lets us compile on Windows (which does
not have mmap(), from what I can tell).

Revision 1.346 / (download) - annotate - [select for diffs], Thu May 26 20:22:42 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.345: +2 -2 lines
Diff to previous 1.345 (colored) to selected 1.31 (colored)

Have preconv install with mandoc.

Revision 1.345 / (download) - annotate - [select for diffs], Thu May 26 14:43:07 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.344: +1 -1 lines
Diff to previous 1.344 (colored) to selected 1.31 (colored)

preconv is now on encoding-recognition parity with groff.  This last
commit adds parsing of "File Variables" in the first two lines in order
to grok the encoding.  This completes groff's recognition sequence (-e,
BOM, File variables, -D, default).  I've also cleaned up the manual to
indicate this and for some general readability.

preconv is now compiled by default in the Makefile.

Revision 1.344 / (download) - annotate - [select for diffs], Thu May 26 12:01:14 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.343: +7 -0 lines
Diff to previous 1.343 (colored) to selected 1.31 (colored)

Significantly improve preconv.  Allow it to recode UTF-8 characters into
the \[uNNNN] strings (taking into account big-endian archs).  Also allow
it to determine from the BOM whether it's a UTF-8 file.  Also add the
initial manual.  This has been tested over a random selection of UTF-8
documents, as

 % preconv -e utf-8 foo.1 | ./mandoc -Tlocale

where -Tlocale is allowed (-DUSE_WCHAR).

Note that we're still missing the "type" indicator that preconv accepts.

Revision 1.343 / (download) - annotate - [select for diffs], Thu May 26 00:30:11 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.342: +16 -3 lines
Diff to previous 1.342 (colored) to selected 1.31 (colored)

It's annoying that we don't have preconv, so throw together a quick
version and let it grow in-tree.  Right now, this only supports the
Latin-1 and US-ASCII encoding.  I'll do UTF-8 next.  It's
call-compatible with GNU's preconv although I don't do fancy stuff like
BOM or header check.  This will come.  I used read.c's file-grokking
code.

Revision 1.342 / (download) - annotate - [select for diffs], Tue May 24 21:18:06 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.341: +2 -0 lines
Diff to previous 1.341 (colored) to selected 1.31 (colored)

Most important move in getting predefined strings entirely contained
within roff.c.  These are now grokked from a table in the roff
allocation routine and rest in the newly-created predefs.in (for
consistency with chars.in).  This is a first implementation and will
likely be optimised along with the ds/de lookup table itself.

This allows mandoc-defined predefined strings to be correctly removed or
whatnot; earlier they couldn't.  What will follow is the stripping-away
of all predefined-string crud in the other parts of the system.

Revision 1.341 / (download) - annotate - [select for diffs], Thu May 19 15:48:58 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.340: +5 -3 lines
Diff to previous 1.340 (colored) to selected 1.31 (colored)

It seems that __STDC_ISO_10646__ isn't defined even where it can be
defined, so remove the check for it and leave it up to people compiling
the software (DOWNSTREAM) to take care of this.  This will eventually
need to be fixed up with a proper non-10646 converter and so on, but
this is a simple start.  While here, strengthen then language in the
Makefile to this effect.

Revision 1.340 / (download) - annotate - [select for diffs], Wed May 18 09:45:21 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.339: +1 -1 lines
Diff to previous 1.339 (colored) to selected 1.31 (colored)

Add TODO entry for standalone `.' in tbl pages (pointed out by Yuri
Pankov).  Also fix typo in Makefile, same reporter.  Thanks!

Revision 1.339 / (download) - annotate - [select for diffs], Tue May 17 22:32:45 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.338: +4 -1 lines
Diff to previous 1.338 (colored) to selected 1.31 (colored)

Locale support.  I'm checking this in to clean up fall-out in-tree, but
it looks pretty good.  Basically, the -Tlocale option propogates into
term_ascii.c, where we set locale-specific console call-backs IFF (1)
setlocale() works; (2) locale support is compiled in (see Makefile for
-DUSE_WCHAR); (3) the internal structure of wchar_t maps directly to
Unicode codepoints as defined by __STDC_ISO_10646__; and (4) the console
supports multi-byte characters.

To date, this configuration only supports GNU/Linux.  OpenBSD doesn't
export __STDC_ISO_10646__ although I'm told by stsp@openbsd.org that it
should (it has the correct map).  Apparently FreeBSD is the same way.
NetBSD?  Don't know.  Apple also supports this, but doesn't define the
macro.  Special-casing!

Benchmark: -Tlocale incurs less than 0.2 factor overhead when run
through several thousand manuals when UTF8 output is enabled.  Native
mode (whether directly -Tascii or through no locale or whatever) is
UNCHANGED: the function callbacks are the same as before.

Note.  If the underlying system does NOT support STDC_ISO_10646, there
is a "slow" version possible with iconv or other means of flipping from
a Unicode codepoint to a wchar_t.

Revision 1.338 / (download) - annotate - [select for diffs], Fri May 13 01:02:34 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_2
Changes since 1.337: +6 -1 lines
Diff to previous 1.337 (colored) to selected 1.31 (colored)

Ooops, forgot to install makewhatis manual.

Revision 1.337 / (download) - annotate - [select for diffs], Fri May 13 00:57:21 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.336: +2 -2 lines
Diff to previous 1.336 (colored) to selected 1.31 (colored)

Version up!  1.11.2.  Let's go...

Revision 1.336 / (download) - annotate - [select for diffs], Fri May 13 00:42:26 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.335: +11 -11 lines
Diff to previous 1.335 (colored) to selected 1.31 (colored)

Rename mandoc-db to makewhatis.  On the suggestion of schwarze@; I agree.
Add initial version notes.

Revision 1.335 / (download) - annotate - [select for diffs], Thu May 12 23:45:47 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.334: +1 -1 lines
Diff to previous 1.334 (colored) to selected 1.31 (colored)

Don't let Linux-isms creep into Makefile.

Revision 1.334 / (download) - annotate - [select for diffs], Sat Apr 30 09:49:31 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.333: +2 -0 lines
Diff to previous 1.333 (colored) to selected 1.31 (colored)

Was installing libmandoc.a without mandoc.h...

Revision 1.333 / (download) - annotate - [select for diffs], Fri Apr 29 22:18:12 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.332: +4 -5 lines
Diff to previous 1.332 (colored) to selected 1.31 (colored)

Move "chars" interface out of out.h and into mandoc.h.  This doesn't
change any code but for renaming functions and types to be consistent
with other mandoc.h stuff.  The reason for moving into libmandoc is that
the rendering of special characters is part of mandoc itself---not an
external part.  From mandoc(1)'s perspective, this changes nothing, but
for other utilities, it's important to have these part of libmandoc.
Note this isn't documented [yet] in mandoc.3 because there are some
parts I'd like to change around beforehand.

Revision 1.332 / (download) - annotate - [select for diffs], Tue Apr 5 09:34:00 2011 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.331: +1 -0 lines
Diff to previous 1.331 (colored) to selected 1.31 (colored)

Make sure to create LIBDIR.  From a patch by Thomas Klausner, thanks!

Revision 1.331 / (download) - annotate - [select for diffs], Mon Apr 4 22:05:28 2011 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_1
Changes since 1.330: +4 -0 lines
Diff to previous 1.330 (colored) to selected 1.31 (colored)

Snafu: forgetting to tar up critical files.  Pointed out by Yuri Pankov.

Revision 1.330 / (download) - annotate - [select for diffs], Mon Apr 4 21:07:20 2011 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.329: +2 -2 lines
Diff to previous 1.329 (colored) to selected 1.31 (colored)

Version up to 1.11.1: here we go!

Revision 1.329 / (download) - annotate - [select for diffs], Mon Apr 4 15:46:05 2011 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.328: +1 -1 lines
Diff to previous 1.328 (colored) to selected 1.31 (colored)

Roll back Linux-ism that crept into Makefile.

Revision 1.328 / (download) - annotate - [select for diffs], Mon Apr 4 15:45:12 2011 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.327: +1 -1 lines
Diff to previous 1.327 (colored) to selected 1.31 (colored)

Fix possible segfaults in `Lk' -T[x]html handler, which made some
assumptions about its children.  Also remove superfluous reassignment to
local variable.

Revision 1.327 / (download) - annotate - [select for diffs], Sun Apr 3 10:14:45 2011 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.326: +3 -3 lines
Diff to previous 1.326 (colored) to selected 1.31 (colored)

Have mandoc-db use config.h for strlcat().  Then create the btree
database from a directory, instead of a path.  This is because it'll
also output an index of files to that same directory.  Add documentation
to the local variable names, too.

Revision 1.326 / (download) - annotate - [select for diffs], Sat Apr 2 15:40:40 2011 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.325: +14 -0 lines
Diff to previous 1.325 (colored) to selected 1.31 (colored)

Add an initial keyword-indexer as an alternative front-end to libmandoc.a.
This will be used during BSDCan-2011, paired with a web front-end, as a
demonstrandum of semantic annotations (mdoc) versus those of man.  This
isn't linked to the build in any way but for cleaning created files.  This
code has been heavily tested under valgrind and is known to work on
GNU/Linux (needs -ldb library), all BSDs, and Mac OSX.

Please don't repost this, for the time being, as I don't want to spoil the
fun for the conference.  This utility is still constantly under development
(e.g., it will also generate a recno database of filenames and `Nd' output
so that paths needn't be hard-coded) but is mature enough to warrant being
checked in.

Revision 1.325 / (download) - annotate - [select for diffs], Tue Mar 29 09:37:24 2011 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.324: +77 -20 lines
Diff to previous 1.324 (colored) to selected 1.31 (colored)

Add lint target to Makefile.

Revision 1.324 / (download) - annotate - [select for diffs], Mon Mar 28 21:49:42 2011 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.323: +1 -1 lines
Diff to previous 1.323 (colored) to selected 1.31 (colored)

Put mandocerrs and mandoclevels arrays into libmandoc with accessors
mparse_strerror() and mparse_strlevel().

Revision 1.323 / (download) - annotate - [select for diffs], Wed Mar 23 15:33:57 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.322: +0 -2 lines
Diff to previous 1.322 (colored) to selected 1.31 (colored)

Merge man_args() into man_macro.c, the only place where it's called, and
make its return value boolean (we don't care about QWORD).  We can move
it into mdoc_macro.c because it's basically just a wrapper around
mandoc_getarg().  Then blow away man_argv.c, which is left empty.

Revision 1.322 / (download) - annotate - [select for diffs], Wed Mar 23 12:32:39 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.321: +1 -1 lines
Diff to previous 1.321 (colored) to selected 1.31 (colored)

Fix "libman" dependence.

Revision 1.321 / (download) - annotate - [select for diffs], Tue Mar 22 13:28:03 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.320: +4 -4 lines
Diff to previous 1.320 (colored) to selected 1.31 (colored)

Have the default include/lib install path end with "mandoc" to prevent
clobbering other stuff that may have the same name.

Revision 1.320 / (download) - annotate - [select for diffs], Tue Mar 22 13:15:38 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.319: +2 -2 lines
Diff to previous 1.319 (colored) to selected 1.31 (colored)

Note the TODO file on the website.  Also install index.html (oops).

Revision 1.319 / (download) - annotate - [select for diffs], Tue Mar 22 10:20:33 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.318: +275 -313 lines
Diff to previous 1.318 (colored) to selected 1.31 (colored)

Step 5: re-write Makefile and relax.  This restructures the Makefile to
do actual dependency checking for headers and to build everything nicer
(www properly depends on mandoc, etc.).

Note that the ChangeLog isn't being built any more: if people are
interested, they can visit the source-changes mailing list archive.

Revision 1.318 / (download) - annotate - [select for diffs], Tue Mar 22 10:13:01 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.317: +4 -4 lines
Diff to previous 1.317 (colored) to selected 1.31 (colored)

Step 4: merge chars.h into out.h.  The functions in this file are
necessary to all [real] front-ends, so stop pretending it's special.
While here, add some documentation to the variable types.

Revision 1.317 / (download) - annotate - [select for diffs], Tue Mar 22 10:02:50 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.316: +17 -17 lines
Diff to previous 1.316 (colored) to selected 1.31 (colored)

Step 3: consolidate manuals.  The parse functions in mdoc.h, roff.h, and
man.h are now part of libmandoc.h, so remove these from their respective
manuals (they're no longer public-facing and we don't need a libmandoc.3
(yet?)).  Before that, move the juicy data (parse tree syntax) into
new-born mandoc.3.  Peck around in Makefile and index.sgml to reflect
reality.

Revision 1.316 / (download) - annotate - [select for diffs], Tue Mar 22 09:50:11 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.315: +3 -3 lines
Diff to previous 1.315 (colored) to selected 1.31 (colored)

Step 2: blow away roff.h, as all of its functions have been moved into
libmandoc.h and there's nothing left.

Revision 1.315 / (download) - annotate - [select for diffs], Sun Mar 20 11:41:24 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.314: +3 -3 lines
Diff to previous 1.314 (colored) to selected 1.31 (colored)

Split the document parsing sequence out of main.c and into read.c,
putting the interface into mandoc.h.  This effectively makes the
function of main.c be command-line handling, invoking the parser, and
sending its output to the output handler.  The sequence of parsing
(pfile(), pdesc(), etc.) has changed very little but for clean-up of
some state variables (curp->fd, etc.).

Revision 1.314 / (download) - annotate - [select for diffs], Sun Mar 20 11:07:05 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.313: +2 -2 lines
Diff to previous 1.313 (colored) to selected 1.31 (colored)

Bumped internal version.  There will be no formal release with this: it
precedes some major structural changes for easier roll-back in the case
of errors or whatnot.

Revision 1.313 / (download) - annotate - [select for diffs], Thu Mar 17 09:25:54 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_10
Changes since 1.312: +3 -5 lines
Diff to previous 1.312 (colored) to selected 1.31 (colored)

Kill off mdoc_strings.c, which is now empty.  Byeeeeeeeee!

Revision 1.312 / (download) - annotate - [select for diffs], Thu Feb 24 14:30:15 2011 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.311: +4 -4 lines
Diff to previous 1.311 (colored) to selected 1.31 (colored)

Allow compilation with pcc, which has interesting/broken handling of -W
with missing function prototypes.  Ok joerg@.

Revision 1.311 / (download) - annotate - [select for diffs], Wed Feb 9 10:03:02 2011 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.310: +9 -8 lines
Diff to previous 1.310 (colored) to selected 1.31 (colored)

Add stub for eqn.7 manual and flip it on.  Also note COMPATIBILITY issue
of how we considered .TS (etc.) macros and how the preprocessors do.

Revision 1.310 / (download) - annotate - [select for diffs], Sun Feb 6 20:36:36 2011 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.309: +3 -3 lines
Diff to previous 1.309 (colored) to selected 1.31 (colored)

Add initial EQN support to mandoc.  This parses, then throws away, data
between EQ and EN roff blocks.  EQN is different from TBL in that data
after .EQ is unilaterally considered an equation until an .EN.  Thus,
there's no need to jump through hoops in having table spans and so on.
This is ONLY the parse code framework in libroff.  EQN is not yet passed
into the backends.

Revision 1.309 / (download) - annotate - [select for diffs], Fri Jan 7 15:22:21 2011 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.308: +1 -1 lines
Diff to previous 1.308 (colored) to selected 1.31 (colored)

Meh, 2010->2011.  Changed the live index.html file so as not to confuse
people (although the tagged 1.10.9 release will show 2010).

Revision 1.308 / (download) - annotate - [select for diffs], Fri Jan 7 13:10:03 2011 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_9
Changes since 1.307: +2 -2 lines
Diff to previous 1.307 (colored) to selected 1.31 (colored)

Version bits.  Here we go...

Revision 1.307 / (download) - annotate - [select for diffs], Tue Jan 4 23:32:21 2011 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.306: +9 -8 lines
Diff to previous 1.306 (colored) to selected 1.31 (colored)

Moved table stuff from roff.7 into the new tbl.7 (suggested by Jason McIntyre).

Added cross-links to tbl.7 from other manuals.

Revision 1.306 / (download) - annotate - [select for diffs], Tue Jan 4 10:29:41 2011 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.305: +3 -3 lines
Diff to previous 1.305 (colored) to selected 1.31 (colored)

Add skeleton for -T[x]html tbl stuff.  Also start to put in some bits about
the up-coming version, although we're not quite there yet.

Revision 1.305 / (download) - annotate - [select for diffs], Sun Jan 2 12:21:07 2011 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.304: +4 -3 lines
Diff to previous 1.304 (colored) to selected 1.31 (colored)

Turn on -Tascii tbl printing.  The output still has some issues---I'm
not sure whether it's in the header calculation or term.c squashing
spaces or whatever, but let's get this in for general testing as soon as
possible.

Revision 1.304 / (download) - annotate - [select for diffs], Wed Dec 29 16:44:23 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.303: +3 -3 lines
Diff to previous 1.303 (colored) to selected 1.31 (colored)

Initial check-in of table data-row processing.  For the time being, this
parses table data then throws it away immediately.  It does not yet try
to cross-check data rows against layout or anything.  This copied more
or less completely from tbl.bsd.lv.

Revision 1.303 / (download) - annotate - [select for diffs], Wed Dec 29 14:38:14 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.302: +3 -3 lines
Diff to previous 1.302 (colored) to selected 1.31 (colored)

Merge, with considerable changes, tbl.bsd.lv's layout-handling code.

Revision 1.302 / (download) - annotate - [select for diffs], Tue Dec 28 13:46:07 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.301: +3 -3 lines
Diff to previous 1.301 (colored) to selected 1.31 (colored)

Adding initial options processing (not hooked into parse yet).  This is
more or less copied from tbl.bsd.lv and still needs integration with the
general mandoc framework, e.g., with error messages.

Revision 1.301 / (download) - annotate - [select for diffs], Tue Dec 28 10:51:03 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.300: +4 -4 lines
Diff to previous 1.300 (colored) to selected 1.31 (colored)

Initial tbl framework.  Parse point is in libroff, which keeps a
reference to a current tbl parse and routes ALL text into the tbl parse
after stripping reserved words and making block-level pre-processing
(e.g., `ig').  This is consistent with an analysis of embedded `TS/TE'
in manuals with sprinkled -mdoc, roff, and -man macros.

Fact of a parse is exposed to main.c by a return value (ROFF_TBL), which
will trigger main.c to add a foreign parsed body to the -mdoc or -man
parse stream.  This interface isn't in yet, but will follow the
parse-text functions in both libraries.  I put this login in main.c
because I don't want libroff calling directly into libmdoc or libman.

As a consequence, a parsed row can be pushed directly into any -mdoc or
-man context (put a `Bd -literal -offset indent' into a `TE/TS' block to
see why this is necessary).  It will then absorb formatting cues in the
front-ends.

A note on naming.  I decided on libroff.h instead of tbl.h because this
is purely within the roff layer.  Separate tbl implementations will
need, then, to interface with libroff.  This is "how it should be"
because tbl is tightly linked with roff in terms of `ds' and other
formatting macros, as well as, of course, special characters and other
roffisms.

Revision 1.300 / (download) - annotate - [select for diffs], Fri Dec 24 14:20:08 2010 UTC (14 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_8
Changes since 1.299: +7 -3 lines
Diff to previous 1.299 (colored) to selected 1.31 (colored)

Have Makefile build XHTML files too.

Revision 1.299 / (download) - annotate - [select for diffs], Fri Dec 24 14:14:00 2010 UTC (14 years ago) by kristaps
Branch: MAIN
Changes since 1.298: +1 -1 lines
Diff to previous 1.298 (colored) to selected 1.31 (colored)

Apparently the U tag is deprecated, so use a SPAN instead (blah).  Bump
version date for release.

Revision 1.298 / (download) - annotate - [select for diffs], Thu Dec 23 00:30:20 2010 UTC (14 years ago) by kristaps
Branch: MAIN
Changes since 1.297: +2 -2 lines
Diff to previous 1.297 (colored) to selected 1.31 (colored)

Added last version notes and bumped version number and date.

Revision 1.297 / (download) - annotate - [select for diffs], Wed Dec 22 11:58:02 2010 UTC (14 years ago) by kristaps
Branch: MAIN
Changes since 1.296: +4 -0 lines
Diff to previous 1.296 (colored) to selected 1.31 (colored)

Build xhtml files for www site exemplaria.

Revision 1.296 / (download) - annotate - [select for diffs], Mon Dec 6 17:07:28 2010 UTC (14 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_7
Changes since 1.295: +2 -2 lines
Diff to previous 1.295 (colored) to selected 1.31 (colored)

Tag an internal release, 1.10.7, that marks being in sync with OpenBSD's
changes these last months (less tbl).  There are still some issues that
require thought, but this extends beyond synchronisation.

This WILL NOT be pushed to the main site; it's merely a logical tag so
that there's a common fall-back in future changes.

Note that the TODO file is NOT up to date.  This is ok since the tag is
purely internal.

Revision 1.295 / (download) - annotate - [select for diffs], Tue Nov 30 15:36:28 2010 UTC (14 years ago) by kristaps
Branch: MAIN
Changes since 1.294: +3 -3 lines
Diff to previous 1.294 (colored) to selected 1.31 (colored)

Kill man_action.c.

Revision 1.294 / (download) - annotate - [select for diffs], Tue Nov 30 13:04:14 2010 UTC (14 years ago) by kristaps
Branch: MAIN
Changes since 1.293: +3 -5 lines
Diff to previous 1.293 (colored) to selected 1.31 (colored)

mdoc_action.c is no more.  Attic it and remove it from the Makefile.
Remove references to MDOC_ACTED (it was only assertions) and the pre-
and post-action functions.

Revision 1.293 / (download) - annotate - [select for diffs], Sun Oct 10 09:47:05 2010 UTC (14 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.292: +12 -7 lines
Diff to previous 1.292 (colored) to selected 1.31 (colored)

Cleaned up library manuals: removed old escapes, added EXAMPLES, stripped
out some superfluous stuff.

Revision 1.292 / (download) - annotate - [select for diffs], Mon Sep 27 12:34:21 2010 UTC (14 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_6
Changes since 1.291: +2 -2 lines
Diff to previous 1.291 (colored) to selected 1.31 (colored)

Prepping for version.

Revision 1.291 / (download) - annotate - [select for diffs], Fri Aug 20 05:52:59 2010 UTC (14 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.290: +4 -4 lines
Diff to previous 1.290 (colored) to selected 1.31 (colored)

Fixed Makefile auto-generation of manuals not to use -fstrict and [old] -Werror.

Revision 1.290 / (download) - annotate - [select for diffs], Tue Jul 27 20:16:44 2010 UTC (14 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_5
Changes since 1.289: +15 -13 lines
Diff to previous 1.289 (colored) to selected 1.31 (colored)

Add PDF files to www.  We also show text and ps, just to show off.

Revision 1.289 / (download) - annotate - [select for diffs], Tue Jul 27 20:02:52 2010 UTC (14 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.288: +2 -2 lines
Diff to previous 1.288 (colored) to selected 1.31 (colored)

Get version bits in: 1.10.5.

Revision 1.288 / (download) - annotate - [select for diffs], Sun Jul 11 23:07:47 2010 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_5_PREPDF, VERSION_1_10_4
Changes since 1.287: +2 -2 lines
Diff to previous 1.287 (colored) to selected 1.31 (colored)

Pre-tag checkin of release bits and shortlist.

Revision 1.287 / (download) - annotate - [select for diffs], Wed Jul 7 15:04:54 2010 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.286: +1 -1 lines
Diff to previous 1.286 (colored) to selected 1.31 (colored)

Re-constitution of `ds' symbol processing.  First, push the
roff_getstr() family of functions into roff.c with the "first_string"
directly in struct roff.  Second, pre-process each line for reserved
words in libroff, splicing and re-running a line if it has one (this
allows defined symbols to be macros).  Remove term.c's invocation of the
roff_getstrn() function.  Removed function documentation in roff.3 and
added roff.7 `ds' documentation.

Revision 1.286 / (download) - annotate - [select for diffs], Tue Jul 6 22:08:33 2010 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.285: +5 -5 lines
Diff to previous 1.285 (colored) to selected 1.31 (colored)

Revert Makefile to using mandoc.c instead of libmandoc.c.  Remove
newborn libmandoc.c.

While here, remove superfluous dep of libman on mandoc.c.

Revision 1.285 / (download) - annotate - [select for diffs], Mon Jul 5 20:00:55 2010 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.284: +5 -5 lines
Diff to previous 1.284 (colored) to selected 1.31 (colored)

Renamed mandoc.c to libmandoc.c.  This is in the efforts of getting a
cleaner namespace for functions across the entire system (mandoc.h:
getting parsed-string values, or declarations necessary for the AST
data), and compiler functions (libmandoc.h: back-end functions and
declarations).

Revision 1.284 / (download) - annotate - [select for diffs], Tue Jun 29 15:00:44 2010 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_3
Changes since 1.283: +2 -2 lines
Diff to previous 1.283 (colored) to selected 1.31 (colored)

Inter-release tag.

Revision 1.283 / (download) - annotate - [select for diffs], Sun Jun 27 15:52:41 2010 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.282: +0 -4 lines
Diff to previous 1.282 (colored) to selected 1.31 (colored)

Downstream maintainers: this removes UGLY!  I don't want diverging
functionality and UGLY works quite well thanks to schwarze@'s careful
attention.

This also backs out function-prototype changes for struct regset,
instead stuffing a pointer to the regset directly into struct
mdoc/man/roff.

Revision 1.282 / (download) - annotate - [select for diffs], Sat Jun 26 15:22:19 2010 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.281: +1 -1 lines
Diff to previous 1.281 (colored) to selected 1.31 (colored)

First step of adding register support.  This is inspired by a significant
patch by schwarze@.  This commit adds support to libroff parsing `nr'
into register set defined in regs.h.  This will propogate into libmdoc
and libman in later commits.

Revision 1.281 / (download) - annotate - [select for diffs], Sat Jun 19 20:51:50 2010 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_2
Changes since 1.280: +1 -1 lines
Diff to previous 1.280 (colored) to selected 1.31 (colored)

Fix slipped in after tag: install PS files with installwww.

Revision 1.280 / (download) - annotate - [select for diffs], Sat Jun 19 20:43:35 2010 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.279: +2 -2 lines
Diff to previous 1.279 (colored) to selected 1.31 (colored)

Version notes for 1.10.2.

Revision 1.279 / (download) - annotate - [select for diffs], Tue Jun 8 15:00:17 2010 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.278: +5 -3 lines
Diff to previous 1.278 (colored) to selected 1.31 (colored)

Broke ascii_*() functions into term_ascii.c

Made low-level engine functions into function pointers.

Revision 1.278 / (download) - annotate - [select for diffs], Tue Jun 8 13:22:37 2010 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.277: +7 -3 lines
Diff to previous 1.277 (colored) to selected 1.31 (colored)

No functionality changes: just restructuring.  Deprecated
terminal_free() in favour of ps_free() and ascii_free().  Moved ps_*()
functions into term_ps.c so that they don't clutter up term.c.

Revision 1.277 / (download) - annotate - [select for diffs], Mon Jun 7 20:57:09 2010 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_1
Changes since 1.276: +13 -9 lines
Diff to previous 1.276 (colored) to selected 1.31 (colored)

First check-in of PostScript output.  This does not change any logic
within term.c, but does add a small shim over putchar() that switches on
the output engine.  Prints, for this initial version, only monospace and
without font decorations.  It's a start.

Revision 1.276 / (download) - annotate - [select for diffs], Mon Jun 7 12:20:07 2010 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.275: +1 -1 lines
Diff to previous 1.275 (colored) to selected 1.31 (colored)

Added version bits for 1.10.1.

Spell-checked manuals.

Revision 1.275 / (download) - annotate - [select for diffs], Thu Jun 3 15:39:56 2010 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.274: +4 -4 lines
Diff to previous 1.274 (colored) to selected 1.31 (colored)

Remove manuals.7 (see http://manpages.bsd.lv).

Revision 1.274 / (download) - annotate - [select for diffs], Thu Jun 3 14:52:48 2010 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.273: +2 -2 lines
Diff to previous 1.273 (colored) to selected 1.31 (colored)

Version bits for 1.10.1.

Revision 1.273 / (download) - annotate - [select for diffs], Sat May 29 19:45:32 2010 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.272: +2 -2 lines
Diff to previous 1.272 (colored) to selected 1.31 (colored)

Bump 1.10.0 version in Makefile.

Revision 1.272 / (download) - annotate - [select for diffs], Tue May 25 22:16:59 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.271: +15 -14 lines
Diff to previous 1.271 (colored) to selected 1.31 (colored)

Added roff.3, which documents the roff parser interface.

Small fix in mdoc.3 and man.3 pointing to old mdoc_cb and man_cb.

Fix in Makefile adding mandoc.h to HEADS.

Collapsed all HTML files into HTMLS variable (too confusing otherwise).

Removed "htmls" command from Makefile (only I used it and it's just
taking up space).

Revision 1.271 / (download) - annotate - [select for diffs], Mon May 17 02:38:13 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.270: +7 -6 lines
Diff to previous 1.270 (colored) to selected 1.31 (colored)

Documented ie/el.
Installing roff.7 and added it to index.sgml.
Small fix for `D1' and `Bd' in -Thtml.

Revision 1.270 / (download) - annotate - [select for diffs], Mon May 17 02:19:44 2010 UTC (14 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.269: +20 -19 lines
Diff to previous 1.269 (colored) to selected 1.31 (colored)

Use a default prefix of /usr/local. Honour DESTDIR for install targets.

Revision 1.269 / (download) - annotate - [select for diffs], Sat May 15 07:52:11 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.268: +27 -11 lines
Diff to previous 1.268 (colored) to selected 1.31 (colored)

Initial roff shim skeleton in place.

Revision 1.268 / (download) - annotate - [select for diffs], Sat May 15 04:30:04 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.267: +57 -15 lines
Diff to previous 1.267 (colored) to selected 1.31 (colored)

Making room for libroff in Makefile: properly split out libmandoc.a.

Revision 1.267 / (download) - annotate - [select for diffs], Thu May 13 11:57:51 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_25
Changes since 1.266: +2 -2 lines
Diff to previous 1.266 (colored) to selected 1.31 (colored)

Documented version bits.

Revision 1.266 / (download) - annotate - [select for diffs], Thu May 13 03:51:16 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.265: +1 -1 lines
Diff to previous 1.265 (colored) to selected 1.31 (colored)

Use "=" instead of "?=" for compatibility.

Revision 1.265 / (download) - annotate - [select for diffs], Sun May 9 06:27:41 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_24
Changes since 1.264: +2 -2 lines
Diff to previous 1.264 (colored) to selected 1.31 (colored)

Getting version ready.

Revision 1.264 / (download) - annotate - [select for diffs], Fri May 7 05:48:29 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.263: +3 -3 lines
Diff to previous 1.263 (colored) to selected 1.31 (colored)

margerr -> margserr (getting ready for margverr).

Revision 1.263 / (download) - annotate - [select for diffs], Fri May 7 05:39:35 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.262: +14 -13 lines
Diff to previous 1.262 (colored) to selected 1.31 (colored)

Protection against running lookup() against quoted words.

Revision 1.262 / (download) - annotate - [select for diffs], Wed Apr 7 11:25:56 2010 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_23
Changes since 1.261: +2 -2 lines
Diff to previous 1.261 (colored) to selected 1.31 (colored)

Noting version.

Revision 1.261 / (download) - annotate - [select for diffs], Mon Apr 5 09:19:28 2010 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.260: +2 -1 lines
Diff to previous 1.260 (colored) to selected 1.31 (colored)

Added mandoc_char.7 to installed manuals (noted by Joerg Sonnenberger).

Revision 1.260 / (download) - annotate - [select for diffs], Mon Apr 5 07:24:55 2010 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.259: +5 -2 lines
Diff to previous 1.259 (colored) to selected 1.31 (colored)

Added generation of mdoc.h.html and man.h.html as linked from generated mdoc.3.html and man.3.html, respectively.

Revision 1.259 / (download) - annotate - [select for diffs], Wed Mar 31 08:42:40 2010 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_22
Changes since 1.258: +12 -4 lines
Diff to previous 1.258 (colored) to selected 1.31 (colored)

Added new version information.  Fixing up Makefile a bit.

Revision 1.258 / (download) - annotate - [select for diffs], Wed Mar 31 08:04:57 2010 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.257: +1 -1 lines
Diff to previous 1.257 (colored) to selected 1.31 (colored)

Fixed fatal bug in Xo/Xc patch that caused segfaults with last-child explicit-scope macros.

Revision 1.257 / (download) - annotate - [select for diffs], Wed Mar 31 07:42:04 2010 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.256: +1 -1 lines
Diff to previous 1.256 (colored) to selected 1.31 (colored)

Re-adjusting UGLY tags.
Fixed removed assignment of type.
Removed superfluous checks of mdoc_argflags (from days when comments were a macro tag).

Revision 1.256 / (download) - annotate - [select for diffs], Wed Mar 31 07:13:53 2010 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.255: +1 -1 lines
Diff to previous 1.255 (colored) to selected 1.31 (colored)

Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" 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.

Revision 1.255 / (download) - annotate - [select for diffs], Wed Mar 31 06:29:42 2010 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_21
Changes since 1.254: +2 -2 lines
Diff to previous 1.254 (colored) to selected 1.31 (colored)

Version (bug-fix).

Revision 1.254 / (download) - annotate - [select for diffs], Tue Mar 30 08:24:01 2010 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_20
Changes since 1.253: +2 -2 lines
Diff to previous 1.253 (colored) to selected 1.31 (colored)

Modified in_line_eoln() to handle leading punctuation.

Revision 1.253 / (download) - annotate - [select for diffs], Sat Mar 27 10:04:56 2010 UTC (14 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_19, VERSION_1_9_18
Changes since 1.252: +2 -2 lines
Diff to previous 1.252 (colored) to selected 1.31 (colored)

Fixed re-adjustment of scope in exiting roff instructions (libman).
Added title-case check for (libman).
Fixed premature closure of roff instruction scope (libman).
Added documentation of ignored roff macros to man(3).

Revision 1.252 / (download) - annotate - [select for diffs], Thu Mar 25 07:38:06 2010 UTC (14 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_17
Changes since 1.251: +1 -1 lines
Diff to previous 1.251 (colored) to selected 1.31 (colored)

Cleaned up version info.

Revision 1.251 / (download) - annotate - [select for diffs], Mon Mar 22 18:30:23 2010 UTC (14 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_16
Changes since 1.250: +30 -58 lines
Diff to previous 1.250 (colored) to selected 1.31 (colored)

Updated web-site with new version.
Allowed double-rule entries in Makefile (clean-up).

Revision 1.250 / (download) - annotate - [select for diffs], Wed Feb 17 19:56:17 2010 UTC (14 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_15
Changes since 1.249: +2 -2 lines
Diff to previous 1.249 (colored) to selected 1.31 (colored)

Added news item for new version.
Version: 1.9.15.

Revision 1.249 / (download) - annotate - [select for diffs], Fri Jan 29 14:39:37 2010 UTC (14 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.248: +2 -0 lines
Diff to previous 1.248 (colored) to selected 1.31 (colored)

Fixed Makefile for `make lint' dep. on config.h
Added -Txhtml for XHTML output (minimal increase to programme logic).  Because groff has it and it bothers me that we don't.

Revision 1.248 / (download) - annotate - [select for diffs], Fri Jan 1 19:22:56 2010 UTC (14 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.247: +2 -2 lines
Diff to previous 1.247 (colored) to selected 1.31 (colored)

Version (pre): 1.9.15-pre2

Revision 1.247 / (download) - annotate - [select for diffs], Fri Jan 1 17:25:07 2010 UTC (14 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_15-pre2
Changes since 1.246: +2 -2 lines
Diff to previous 1.246 (colored) to selected 1.31 (colored)

CFLAGS need -Werror to make the strlcpy/strlcat check work.

Revision 1.246 / (download) - annotate - [select for diffs], Fri Jan 1 17:14:26 2010 UTC (14 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.245: +25 -5 lines
Diff to previous 1.245 (colored) to selected 1.31 (colored)

Big check-in of compatibility layer.  This should work on most major architectures. Thanks to Joerg Sonnenberger.

Revision 1.245 / (download) - annotate - [select for diffs], Wed Dec 2 10:16:55 2009 UTC (15 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_15-pre1
Changes since 1.244: +4 -1 lines
Diff to previous 1.244 (colored) to selected 1.31 (colored)

Fixed handling of exampledir (pointed out by Ulrich Sporlein, forgotten, discovered again).

Revision 1.244 / (download) - annotate - [select for diffs], Mon Nov 16 10:05:29 2009 UTC (15 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_14
Changes since 1.243: +2 -2 lines
Diff to previous 1.243 (colored) to selected 1.31 (colored)

Version: 1.9.14.

Revision 1.243 / (download) - annotate - [select for diffs], Mon Nov 16 09:52:47 2009 UTC (15 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.242: +2 -0 lines
Diff to previous 1.242 (colored) to selected 1.31 (colored)

More clarification in manuals.  Added per-OUTPUT section in mandoc.1.

Revision 1.242 / (download) - annotate - [select for diffs], Mon Nov 2 17:37:19 2009 UTC (15 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_13
Changes since 1.241: +2 -2 lines
Diff to previous 1.241 (colored) to selected 1.31 (colored)

Version: 1.9.13.

Revision 1.241 / (download) - annotate - [select for diffs], Sat Oct 31 08:37:26 2009 UTC (15 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.240: +10 -7 lines
Diff to previous 1.240 (colored) to selected 1.31 (colored)

Finished section-by-section definitions in man.7 (will be used as baseline for mdoc.7).

Revision 1.240 / (download) - annotate - [select for diffs], Sat Oct 31 06:38:08 2009 UTC (15 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_12
Changes since 1.239: +1 -1 lines
Diff to previous 1.239 (colored) to selected 1.31 (colored)

Fixed in make dist (in version 1.9.12).

Revision 1.239 / (download) - annotate - [select for diffs], Sat Oct 31 06:23:28 2009 UTC (15 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.238: +2 -2 lines
Diff to previous 1.238 (colored) to selected 1.31 (colored)

Version: 1.9.12.

Revision 1.238 / (download) - annotate - [select for diffs], Wed Oct 28 08:08:53 2009 UTC (15 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.237: +1 -1 lines
Diff to previous 1.237 (colored) to selected 1.31 (colored)

Using "--warn" for validate, plus some accessibility fixes.

Revision 1.237 / (download) - annotate - [select for diffs], Wed Oct 28 08:00:17 2009 UTC (15 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.236: +4 -1 lines
Diff to previous 1.236 (colored) to selected 1.31 (colored)

Fixed `sp', `br', `Pp', etc. so as not to have an empty div (-Thtml, -man, -mdoc).
Made html_idcat be completely correct (messy standard) (-Thtml).
Fixed warnings about -ohang and -item lists (-Thtml, -mdoc).
Fixed typo in index.sgml.

Revision 1.236 / (download) - annotate - [select for diffs], Mon Oct 26 10:36:46 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_11
Changes since 1.235: +1 -1 lines
Diff to previous 1.235 (colored) to selected 1.31 (colored)

Fix to segfault in ordering Rs blocks (d'oh!).
Version: 1.9.11.

Revision 1.235 / (download) - annotate - [select for diffs], Mon Oct 26 09:00:41 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_10
Changes since 1.234: +2 -2 lines
Diff to previous 1.234 (colored) to selected 1.31 (colored)

Version: 1.9.10.

Revision 1.234 / (download) - annotate - [select for diffs], Mon Oct 26 04:15:41 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.233: +1 -1 lines
Diff to previous 1.233 (colored) to selected 1.31 (colored)

Changed `-o' to `-O' for clarity.  THIS BREAKS UTILITIES DEPENDING ON -o!

Revision 1.233 / (download) - annotate - [select for diffs], Thu Oct 22 17:54:24 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.232: +2 -1 lines
Diff to previous 1.232 (colored) to selected 1.31 (colored)

Added ability to set OS name at compile-time with -DOSNAME="\"foo\"".

Revision 1.232 / (download) - annotate - [select for diffs], Tue Oct 20 18:31:04 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_9
Changes since 1.231: +1 -1 lines
Diff to previous 1.231 (colored) to selected 1.31 (colored)

Temporarily turned off validation (mandoc -Thtml needs URI encoding!).
Aesthetic fixes in index.sgml.

Revision 1.231 / (download) - annotate - [select for diffs], Tue Oct 20 18:20:59 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.230: +4 -4 lines
Diff to previous 1.230 (colored) to selected 1.31 (colored)

Version: 1.9.9.

Revision 1.230 / (download) - annotate - [select for diffs], Sun Oct 18 13:58:48 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.229: +1 -1 lines
Diff to previous 1.229 (colored) to selected 1.31 (colored)

Fixed typo in Makefile.
Added initial scaling-units section in mdoc.7.

Revision 1.229 / (download) - annotate - [select for diffs], Sun Oct 18 11:13:39 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.228: +1 -1 lines
Diff to previous 1.228 (colored) to selected 1.31 (colored)

Re-added HTML changelog.

Revision 1.228 / (download) - annotate - [select for diffs], Sat Oct 17 04:44:05 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.227: +2 -14 lines
Diff to previous 1.227 (colored) to selected 1.31 (colored)

Makefile uses multiple deps for some rules (shorter file).

Revision 1.227 / (download) - annotate - [select for diffs], Tue Oct 13 10:57:25 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.226: +1 -1 lines
Diff to previous 1.226 (colored) to selected 1.31 (colored)

Moved output definitions into main.h.
Pushed terminal_{mdoc,man} into {mdoc,man}_term.c.

Revision 1.226 / (download) - annotate - [select for diffs], Tue Oct 13 10:21:24 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.225: +1 -1 lines
Diff to previous 1.225 (colored) to selected 1.31 (colored)

Clean up consts (noted by Joerg Sonnenberger and Ulrich Sporlein).

Revision 1.225 / (download) - annotate - [select for diffs], Sat Oct 10 18:43:55 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_8
Changes since 1.224: +2 -2 lines
Diff to previous 1.224 (colored) to selected 1.31 (colored)

Version: 1.9.8.

Revision 1.224 / (download) - annotate - [select for diffs], Fri Oct 9 15:10:41 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_7
Changes since 1.223: +2 -2 lines
Diff to previous 1.223 (colored) to selected 1.31 (colored)

Version up.

Revision 1.223 / (download) - annotate - [select for diffs], Wed Oct 7 12:35:23 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.222: +9 -6 lines
Diff to previous 1.222 (colored) to selected 1.31 (colored)

Additions to -Tman -Thtml: all structural components tested & in place.
Fitted both -Thtml with handling of arbitrary vertical and horizontal scaling units (see groff(7)).  Undocumented until fitted into -Tascii (next release).

Revision 1.222 / (download) - annotate - [select for diffs], Sat Oct 3 16:36:06 2009 UTC (15 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.221: +9 -6 lines
Diff to previous 1.221 (colored) to selected 1.31 (colored)

Fixed mandoc.1 examples (new -Thtml options).
Fixed manuals to use `In', not `Fd'.
Moved buf* functions into html.c.

Revision 1.221 / (download) - annotate - [select for diffs], Fri Sep 25 14:07:51 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_6
Changes since 1.220: +5 -2 lines
Diff to previous 1.220 (colored) to selected 1.31 (colored)

Temporarily disabled ChangeLog.html (server's hosed and doesn't have xsltproc).

Revision 1.220 / (download) - annotate - [select for diffs], Fri Sep 25 13:33:47 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.219: +2 -2 lines
Diff to previous 1.219 (colored) to selected 1.31 (colored)

Version: 1.9.6.

Revision 1.219 / (download) - annotate - [select for diffs], Thu Sep 24 09:20:02 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.218: +8 -6 lines
Diff to previous 1.218 (colored) to selected 1.31 (colored)

Many more macros added to -Thtml.
Minor space issues fixed in -Tascii.

Revision 1.218 / (download) - annotate - [select for diffs], Wed Sep 23 11:02:21 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.217: +6 -4 lines
Diff to previous 1.217 (colored) to selected 1.31 (colored)

All special characters sync'd with groff, both -Thtml and -Tascii.
Re-added text links to index.sgml (just for show).

Revision 1.217 / (download) - annotate - [select for diffs], Mon Sep 21 16:05:05 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_5
Changes since 1.216: +4 -2 lines
Diff to previous 1.216 (colored) to selected 1.31 (colored)

Added chars.h to HEADS.

Revision 1.216 / (download) - annotate - [select for diffs], Mon Sep 21 16:03:07 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.215: +3 -2 lines
Diff to previous 1.215 (colored) to selected 1.31 (colored)

Added html.h to headers that should be distributed.

Revision 1.215 / (download) - annotate - [select for diffs], Mon Sep 21 15:01:33 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.214: +2 -2 lines
Diff to previous 1.214 (colored) to selected 1.31 (colored)

Version: 1.9.5.

Revision 1.214 / (download) - annotate - [select for diffs], Mon Sep 21 14:56:56 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.213: +14 -7 lines
Diff to previous 1.213 (colored) to selected 1.31 (colored)

Split html.c into html.h, mdoc_html.c, man_html.c.

Revision 1.213 / (download) - annotate - [select for diffs], Mon Sep 21 13:44:56 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.212: +5 -7 lines
Diff to previous 1.212 (colored) to selected 1.31 (colored)

Fixed body/divbody structure of html pages.
Added example style.css (example.style.css).
Enabled using -Thtml to generate manuals in Makefile.
Stopped making text manuals for webpage.

Revision 1.212 / (download) - annotate - [select for diffs], Mon Sep 21 13:06:13 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.211: +18 -12 lines
Diff to previous 1.211 (colored) to selected 1.31 (colored)

Removed new-born out.{h,c} (not a good idea).
Removed if 0 for HTML-mode output (why not).
Added option -oxxxx for passing options to output devices.

Revision 1.211 / (download) - annotate - [select for diffs], Mon Sep 21 00:39:02 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.210: +8 -5 lines
Diff to previous 1.210 (colored) to selected 1.31 (colored)

Tentative addition of front-end utility functions (out.h) (not sure if it's necessary).
More -Thtml installments.

Revision 1.210 / (download) - annotate - [select for diffs], Thu Sep 17 07:41:28 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.209: +6 -6 lines
Diff to previous 1.209 (colored) to selected 1.31 (colored)

ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding).
More html work.

Revision 1.209 / (download) - annotate - [select for diffs], Wed Sep 16 22:17:27 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.208: +6 -3 lines
Diff to previous 1.208 (colored) to selected 1.31 (colored)

More updates to html.c.
Secretly enabled -Thtml in main.c (obviously not yet documented).

Revision 1.208 / (download) - annotate - [select for diffs], Wed Sep 16 14:40:56 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.207: +1 -1 lines
Diff to previous 1.207 (colored) to selected 1.31 (colored)

Lookup hashes are now static tables, ordered first-level by second character, then randomly along a chain.  Improves performance by a small fraction and considerably cleans up hash sources.

Revision 1.207 / (download) - annotate - [select for diffs], Tue Sep 15 08:16:20 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.206: +3 -0 lines
Diff to previous 1.206 (colored) to selected 1.31 (colored)

Removed TERMP_BOLD, TERMP_UNDER, TERMP_STYLE in favour of recursive-friendly increments.
Cleaned up confusing behaviour of p->flags.

Revision 1.206 / (download) - annotate - [select for diffs], Sat Sep 5 10:37:09 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_2
Changes since 1.205: +2 -2 lines
Diff to previous 1.205 (colored) to selected 1.31 (colored)

Version: 1.9.2.
Fixed man.7 syntax error (oops).

Revision 1.205 / (download) - annotate - [select for diffs], Fri Aug 21 13:18:32 2009 UTC (15 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_1
Changes since 1.204: +2 -2 lines
Diff to previous 1.204 (colored) to selected 1.31 (colored)

Removed superfluous XXX.
Version: 1.9.1.

Revision 1.204 / (download) - annotate - [select for diffs], Mon Aug 17 11:10:02 2009 UTC (15 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_0
Changes since 1.203: +2 -2 lines
Diff to previous 1.203 (colored) to selected 1.31 (colored)

Updated libman AST documentation.
Version (not yet finalised, but tagging in Makefile): 1.9.0.

Revision 1.203 / (download) - annotate - [select for diffs], Thu Aug 13 11:45:29 2009 UTC (15 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.202: +6 -3 lines
Diff to previous 1.202 (colored) to selected 1.31 (colored)

Significant overhaul in libman.  Macros are now block- and line-scoped (with
next-line scope extensions possible).  man.7 reflects block and line scoping,
and also includes a REFERENCE section that will be used as a template for the
big mdoc reference.  Many fixes in next-line behaviour for both inline and
block macros.  Added some macros for compatibility (from me.7).  Corrected
quoted-literal handling for libman.

Revision 1.202 / (download) - annotate - [select for diffs], Tue Jul 28 11:59:18 2009 UTC (15 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_5
Changes since 1.201: +2 -2 lines
Diff to previous 1.201 (colored) to selected 1.31 (colored)

Version: 1.8.5.
Added \*R, \*(Tm (obscure -man predefined strings).

Revision 1.201 / (download) - annotate - [select for diffs], Sun Jul 26 10:35:55 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_4
Changes since 1.200: +2 -2 lines
Diff to previous 1.200 (colored) to selected 1.31 (colored)

Version.

Revision 1.200 / (download) - annotate - [select for diffs], Thu Jul 23 09:49:01 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_3
Changes since 1.199: +2 -2 lines
Diff to previous 1.199 (colored) to selected 1.31 (colored)

Version.

Revision 1.199 / (download) - annotate - [select for diffs], Mon Jul 20 19:34:39 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_2
Changes since 1.198: +2 -2 lines
Diff to previous 1.198 (colored) to selected 1.31 (colored)

Version.

Revision 1.198 / (download) - annotate - [select for diffs], Sun Jul 19 09:46:12 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_1
Changes since 1.197: +2 -2 lines
Diff to previous 1.197 (colored) to selected 1.31 (colored)

Fixed broken `make www' dep.

Revision 1.197 / (download) - annotate - [select for diffs], Sun Jul 19 09:22:05 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.196: +2 -2 lines
Diff to previous 1.196 (colored) to selected 1.31 (colored)

Version.

Revision 1.196 / (download) - annotate - [select for diffs], Sun Jul 19 08:49:57 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.195: +1 -1 lines
Diff to previous 1.195 (colored) to selected 1.31 (colored)

ChangeLog xsl reflects symbolic tag.

Revision 1.195 / (download) - annotate - [select for diffs], Fri Jul 17 13:23:26 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.194: +4 -69 lines
Diff to previous 1.194 (colored) to selected 1.31 (colored)

Removed automatic port generation, as the downstream versions should be used instead.

Revision 1.194 / (download) - annotate - [select for diffs], Thu Jul 16 14:07:23 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.193: +1 -1 lines
Diff to previous 1.193 (colored) to selected 1.31 (colored)

Proper html showing of ChangeLog.

Revision 1.193 / (download) - annotate - [select for diffs], Thu Jul 16 13:40:48 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.192: +13 -8 lines
Diff to previous 1.192 (colored) to selected 1.31 (colored)

Using xsl for html changelog.

Revision 1.192 / (download) - annotate - [select for diffs], Tue Jul 14 15:59:59 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_0
Changes since 1.191: +2 -2 lines
Diff to previous 1.191 (colored) to selected 1.31 (colored)

Minor version bumped: -hang lists were the last major missing formatting "feature".

Revision 1.191 / (download) - annotate - [select for diffs], Sun Jul 12 09:16:32 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_24
Changes since 1.190: +2 -2 lines
Diff to previous 1.190 (colored) to selected 1.31 (colored)

Version.

Revision 1.190 / (download) - annotate - [select for diffs], Tue Jul 7 09:52:08 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_23
Changes since 1.189: +2 -2 lines
Diff to previous 1.189 (colored) to selected 1.31 (colored)

Small clean-ups in error message usage.
Version.

Revision 1.189 / (download) - annotate - [select for diffs], Sun Jul 5 19:25:45 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_22
Changes since 1.188: +2 -2 lines
Diff to previous 1.188 (colored) to selected 1.31 (colored)

Version.

Revision 1.188 / (download) - annotate - [select for diffs], Sat Jul 4 11:19:07 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_21
Changes since 1.187: +2 -2 lines
Diff to previous 1.187 (colored) to selected 1.31 (colored)

Version up.

Revision 1.187 / (download) - annotate - [select for diffs], Sat Jul 4 09:01:55 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.186: +8 -7 lines
Diff to previous 1.186 (colored) to selected 1.31 (colored)

Moved escape validation into libmandoc.h/mandoc.c (common between libman/libmdoc1).
libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE).
All popular escapes now handled consistently.

Revision 1.186 / (download) - annotate - [select for diffs], Thu Jun 25 10:52:56 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.185: +12 -6 lines
Diff to previous 1.185 (colored) to selected 1.31 (colored)

Makefile properly generates MD5 sums.
More clean-ups of new, simplified webpage.

Revision 1.185 / (download) - annotate - [select for diffs], Thu Jun 25 08:42:06 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.184: +12 -5 lines
Diff to previous 1.184 (colored) to selected 1.31 (colored)

Updating web-page to be a bit more compact.

Revision 1.184 / (download) - annotate - [select for diffs], Mon Jun 22 13:13:10 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_20
Changes since 1.183: +2 -2 lines
Diff to previous 1.183 (colored) to selected 1.31 (colored)

Lint fixes.
Version up.

Revision 1.183 / (download) - annotate - [select for diffs], Wed Jun 17 19:12:03 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_19
Changes since 1.182: +5 -5 lines
Diff to previous 1.182 (colored) to selected 1.31 (colored)

Bumped version.
Removed CVS note from index (they'll contact me if they need it).
Properly ordered mandoc.1 CAVEATS/COMPATIBILITY.

Revision 1.182 / (download) - annotate - [select for diffs], Wed Jun 17 14:17:07 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.181: +1 -0 lines
Diff to previous 1.181 (colored) to selected 1.31 (colored)

Put $VFLAGS back into $LINTFLAGS (broke on NetBSD).

Revision 1.181 / (download) - annotate - [select for diffs], Wed Jun 17 07:59:47 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.180: +3 -4 lines
Diff to previous 1.180 (colored) to selected 1.31 (colored)

Fixed lint invocation in Makefile.
Minor cleanups in mdoc.c.

Revision 1.180 / (download) - annotate - [select for diffs], Mon Jun 15 20:26:47 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.179: +1 -1 lines
Diff to previous 1.179 (colored) to selected 1.31 (colored)

Removed superfluous ifdef around strftime (schwarze@openbsd.org).
Bumped version (this was supposed to be in 1.7.17).

Revision 1.179 / (download) - annotate - [select for diffs], Mon Jun 15 11:26:17 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_17
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 (colored) to selected 1.31 (colored)

Tagging version 1.7.17.

Revision 1.178 / (download) - annotate - [select for diffs], Sat Jun 13 18:05:53 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_16
Changes since 1.177: +2 -2 lines
Diff to previous 1.177 (colored) to selected 1.31 (colored)

Version.

Revision 1.177 / (download) - annotate - [select for diffs], Fri Jun 12 12:54:04 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_15
Changes since 1.176: +3 -3 lines
Diff to previous 1.176 (colored) to selected 1.31 (colored)

Don't run with -Werror when generating texts.

Revision 1.176 / (download) - annotate - [select for diffs], Fri Jun 12 12:52:50 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.175: +2 -2 lines
Diff to previous 1.175 (colored) to selected 1.31 (colored)

Lint fixes (no effect).
Versioning up.

Revision 1.175 / (download) - annotate - [select for diffs], Thu Jun 11 13:34:14 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_14
Changes since 1.174: +6 -2 lines
Diff to previous 1.174 (colored) to selected 1.31 (colored)

Added automatic ChangeLog generation with each snapshot.
Added ChangeLog to main page.

Revision 1.174 / (download) - annotate - [select for diffs], Thu Jun 11 13:15:10 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.173: +2 -2 lines
Diff to previous 1.173 (colored) to selected 1.31 (colored)

Version up.  Testing.

Revision 1.173 / (download) - annotate - [select for diffs], Thu Jun 11 10:16:39 2009 UTC (15 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.172: +3 -0 lines
Diff to previous 1.172 (colored) to selected 1.31 (colored)

Added compat to Makefile.

Revision 1.172 / (download) - annotate - [select for diffs], Sun Apr 12 19:49:35 2009 UTC (15 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_13
Changes since 1.171: +2 -2 lines
Diff to previous 1.171 (colored) to selected 1.31 (colored)

Version bumped.
`.Er' has more section restrictions (Joerg).

Revision 1.171 / (download) - annotate - [select for diffs], Mon Apr 6 10:12:30 2009 UTC (15 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_12, OPENBSD_CHECKIN
Changes since 1.170: +1 -1 lines
Diff to previous 1.170 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.170 / (download) - annotate - [select for diffs], Mon Apr 6 08:53:39 2009 UTC (15 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 (colored) to selected 1.31 (colored)

Version (BIG fix).

Revision 1.169 / (download) - annotate - [select for diffs], Sun Apr 5 16:38:57 2009 UTC (15 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_10
Changes since 1.168: +1 -1 lines
Diff to previous 1.168 (colored) to selected 1.31 (colored)

Added TEXTS to installwww.

Revision 1.168 / (download) - annotate - [select for diffs], Sun Apr 5 16:34:22 2009 UTC (15 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.167: +19 -7 lines
Diff to previous 1.167 (colored) to selected 1.31 (colored)

man(3) doesn't use err.h anymore.
Added .i to man(3).
Fixed up manuals.
Fixed up webpage.
Assertion fixes in man(3) (hashtable).
Fixed assertion for .IP in mandoc -man.

Revision 1.167 / (download) - annotate - [select for diffs], Fri Apr 3 13:18:26 2009 UTC (15 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.166: +2 -2 lines
Diff to previous 1.166 (colored) to selected 1.31 (colored)

Version.

Revision 1.166 / (download) - annotate - [select for diffs], Thu Apr 2 16:26:35 2009 UTC (15 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.165: +2 -1 lines
Diff to previous 1.165 (colored) to selected 1.31 (colored)

Initial -mandoc auto-switch in place.

Revision 1.165 / (download) - annotate - [select for diffs], Tue Mar 31 13:50:19 2009 UTC (15 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.164: +14 -17 lines
Diff to previous 1.164 (colored) to selected 1.31 (colored)

General clean-ups.

Revision 1.164 / (download) - annotate - [select for diffs], Fri Mar 27 15:00:15 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.163: +2 -2 lines
Diff to previous 1.163 (colored) to selected 1.31 (colored)

Version.  Added forgotten file.

Revision 1.163 / (download) - annotate - [select for diffs], Fri Mar 27 13:44:24 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.162: +10 -10 lines
Diff to previous 1.162 (colored) to selected 1.31 (colored)

Fixes in going over all OpenBSD manuals.

Revision 1.162 / (download) - annotate - [select for diffs], Thu Mar 26 16:23:22 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.161: +1 -1 lines
Diff to previous 1.161 (colored) to selected 1.31 (colored)

All macro-invocations, for consistency, begin with `.' in documentation.
Fixed \\ -> \e in manual documentation.
All preliminary -man macros in place.

Revision 1.161 / (download) - annotate - [select for diffs], Thu Mar 26 14:44:41 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_5
Changes since 1.160: +1 -1 lines
Diff to previous 1.160 (colored) to selected 1.31 (colored)

Fixed after-NLINE-error assertion.
Scanned over all manuals with valgrind.
Version up.

Revision 1.160 / (download) - annotate - [select for diffs], Thu Mar 26 14:38:11 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.159: +10 -9 lines
Diff to previous 1.159 (colored) to selected 1.31 (colored)

Initial front-end formatting for -man pages.

Revision 1.159 / (download) - annotate - [select for diffs], Thu Mar 26 11:19:15 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.158: +2 -2 lines
Diff to previous 1.158 (colored) to selected 1.31 (colored)

Version (getting ready for abstracting term.c).

Revision 1.158 / (download) - annotate - [select for diffs], Thu Mar 26 11:16:21 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.157: +1 -1 lines
Diff to previous 1.157 (colored) to selected 1.31 (colored)

Fixed inheritence of initial macro into man_macro.
Removed warnxs from man_macro (man_vwarn).

Revision 1.157 / (download) - annotate - [select for diffs], Thu Mar 26 09:55:39 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.156: +1 -1 lines
Diff to previous 1.156 (colored) to selected 1.31 (colored)

Fixed reading whitespace for man.7 `.    TH'.
Documented this.

Revision 1.156 / (download) - annotate - [select for diffs], Wed Mar 25 15:36:05 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.155: +11 -8 lines
Diff to previous 1.155 (colored) to selected 1.31 (colored)

Added man_action.c, renamed mdoc_action.c.

Revision 1.155 / (download) - annotate - [select for diffs], Wed Mar 25 15:17:49 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.154: +14 -9 lines
Diff to previous 1.154 (colored) to selected 1.31 (colored)

Added man validator, renamed mdoc validator.

Revision 1.154 / (download) - annotate - [select for diffs], Wed Mar 25 11:39:25 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.153: +1 -1 lines
Diff to previous 1.153 (colored) to selected 1.31 (colored)

FreeBSD uses sha256 now.

Revision 1.153 / (download) - annotate - [select for diffs], Tue Mar 24 20:05:43 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.152: +6 -4 lines
Diff to previous 1.152 (colored) to selected 1.31 (colored)

More fixes from Ulrich Sporlein. (freebsd)

Revision 1.152 / (download) - annotate - [select for diffs], Mon Mar 23 21:46:04 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.151: +20 -1 lines
Diff to previous 1.151 (colored) to selected 1.31 (colored)

Added FreeBSD port.

Revision 1.151 / (download) - annotate - [select for diffs], Mon Mar 23 21:20:42 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.150: +1 -1 lines
Diff to previous 1.150 (colored) to selected 1.31 (colored)

Bumped version (testing).

Revision 1.150 / (download) - annotate - [select for diffs], Mon Mar 23 21:20:24 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.149: +1 -1 lines
Diff to previous 1.149 (colored) to selected 1.31 (colored)

Fixed inclusion of MANSRCS (sorry, Ulrich).
Added DragonFlyBSD __dead2.

Revision 1.149 / (download) - annotate - [select for diffs], Mon Mar 23 15:20:51 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.148: +2 -2 lines
Diff to previous 1.148 (colored) to selected 1.31 (colored)

-man printing linked to -Ttree.

Revision 1.148 / (download) - annotate - [select for diffs], Mon Mar 23 14:22:11 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.147: +67 -53 lines
Diff to previous 1.147 (colored) to selected 1.31 (colored)

First addition of -man macro support.
Abstraction of mdoc.

Revision 1.147 / (download) - annotate - [select for diffs], Sun Mar 22 21:19:34 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.146: +1 -1 lines
Diff to previous 1.146 (colored) to selected 1.31 (colored)

Fixed Bd -compact.
Fixed vspace before Bd and Bl.

Revision 1.146 / (download) - annotate - [select for diffs], Sun Mar 22 19:14:29 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.145: +2 -2 lines
Diff to previous 1.145 (colored) to selected 1.31 (colored)

Backed-out STRIP_XO by default.

Revision 1.145 / (download) - annotate - [select for diffs], Sun Mar 22 19:10:48 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.144: +1 -0 lines
Diff to previous 1.144 (colored) to selected 1.31 (colored)

Lint fixes.

Revision 1.144 / (download) - annotate - [select for diffs], Sun Mar 22 19:08:53 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.143: +2 -2 lines
Diff to previous 1.143 (colored) to selected 1.31 (colored)

Removed Xo/Xc no-support notices.

Revision 1.143 / (download) - annotate - [select for diffs], Sun Mar 22 19:01:11 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.142: +5 -1 lines
Diff to previous 1.142 (colored) to selected 1.31 (colored)

Stripping of Xo/Xc macros in main.c (ifdef STRIP_XO).

Revision 1.142 / (download) - annotate - [select for diffs], Sun Mar 22 08:52:27 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.141: +2 -2 lines
Diff to previous 1.141 (colored) to selected 1.31 (colored)

More documentation clarification.

Revision 1.141 / (download) - annotate - [select for diffs], Sat Mar 21 13:47:02 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.140: +1 -1 lines
Diff to previous 1.140 (colored) to selected 1.31 (colored)

Freed more macros from zero-length restrictions.
Fixed `Fn' spacing.

Revision 1.140 / (download) - annotate - [select for diffs], Sat Mar 21 13:37:48 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.139: +1 -1 lines
Diff to previous 1.139 (colored) to selected 1.31 (colored)

Versioning.

Revision 1.139 / (download) - annotate - [select for diffs], Sat Mar 21 13:21:35 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.138: +1 -1 lines
Diff to previous 1.138 (colored) to selected 1.31 (colored)

Versioning up.

Revision 1.138 / (download) - annotate - [select for diffs], Sat Mar 21 09:45:49 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_6_5
Changes since 1.137: +2 -2 lines
Diff to previous 1.137 (colored) to selected 1.31 (colored)

Versioning up.

Revision 1.137 / (download) - annotate - [select for diffs], Fri Mar 20 19:56:25 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.136: +1 -1 lines
Diff to previous 1.136 (colored) to selected 1.31 (colored)

Proper .Dl literalism.

Revision 1.136 / (download) - annotate - [select for diffs], Fri Mar 20 16:43:28 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.135: +1 -1 lines
Diff to previous 1.135 (colored) to selected 1.31 (colored)

Fixed literal-formatting error with `Dl'.

Revision 1.135 / (download) - annotate - [select for diffs], Fri Mar 20 15:14:01 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_6_2
Changes since 1.134: +2 -2 lines
Diff to previous 1.134 (colored) to selected 1.31 (colored)

Support for `Bd' of all types (see mdoc.7 for newline/tab rules).
Renamed term.c and terminal.c functions to be term_.
Some bugfixes to lists.

Revision 1.134 / (download) - annotate - [select for diffs], Thu Mar 19 16:40:49 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.133: +4 -4 lines
Diff to previous 1.133 (colored) to selected 1.31 (colored)

Some Linux-isms.

Revision 1.133 / (download) - annotate - [select for diffs], Thu Mar 19 16:18:36 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.132: +1 -1 lines
Diff to previous 1.132 (colored) to selected 1.31 (colored)

Lintified & versioned.

Revision 1.132 / (download) - annotate - [select for diffs], Thu Mar 19 16:17:27 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.131: +35 -41 lines
Diff to previous 1.131 (colored) to selected 1.31 (colored)

Split mdocterm.c -> main.c terminal.c.
Abstracted output with -T selector (default ascii).
Name change: mdocterm -> mandoc.
Re-imported tree with -Ttree.

Revision 1.131 / (download) - annotate - [select for diffs], Thu Mar 19 11:49:00 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.130: +35 -99 lines
Diff to previous 1.130 (colored) to selected 1.31 (colored)

Many more ASCII escapes added.
Stripped nroff punt from mdocterm.c.
Fixed multiple-file handling for mdocterm.c.
Cleared up mdoc.h API.

Revision 1.130 / (download) - annotate - [select for diffs], Tue Mar 17 09:33:02 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_5_3
Changes since 1.129: +1 -1 lines
Diff to previous 1.129 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.129 / (download) - annotate - [select for diffs], Tue Mar 17 08:57:03 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.128: +2 -1 lines
Diff to previous 1.128 (colored) to selected 1.31 (colored)

Added previous GEN files to SRCS.

Revision 1.128 / (download) - annotate - [select for diffs], Mon Mar 16 23:37:28 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored) to selected 1.31 (colored)

Changed e-mail address to @openbsd.
Cleaned up manual-page documentation.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Mar 16 22:19:19 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.126: +19 -122 lines
Diff to previous 1.126 (colored) to selected 1.31 (colored)

Fixed mdoc_phrase escape handling.
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.

Revision 1.126 / (download) - annotate - [select for diffs], Sun Mar 15 07:30:51 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_5_1
Changes since 1.125: +1 -1 lines
Diff to previous 1.125 (colored) to selected 1.31 (colored)

Fixed version string (no leading zero).

Revision 1.125 / (download) - annotate - [select for diffs], Sun Mar 15 07:08:52 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored) to selected 1.31 (colored)

mdoclint accepts multiple files
mdocterm punts to nroff if it fails parsing

Revision 1.124 / (download) - annotate - [select for diffs], Sat Mar 14 12:35:02 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.123: +1 -1 lines
Diff to previous 1.123 (colored) to selected 1.31 (colored)

Added colour styles (not being used) to struct termp.
Added nroff style-escape encoding.
Removed ANSI schema string tables (there's only ANSI and nroff/backspace).
Pushed styling directly into pword (simpler).

Revision 1.123 / (download) - annotate - [select for diffs], Sat Mar 14 05:36:07 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored) to selected 1.31 (colored)

Bumped version.
Added \| (non-breaking space, like \&).
Fixed termsym (TERMSYM_ALL).

Revision 1.122 / (download) - annotate - [select for diffs], Fri Mar 13 14:17:41 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.121: +8 -8 lines
Diff to previous 1.121 (colored) to selected 1.31 (colored)

Removed "regression" for OpenBSD (broken).
Added mdoc.7 to include-in-dist hook.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Mar 12 23:05:21 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.120: +1 -1 lines
Diff to previous 1.120 (colored) to selected 1.31 (colored)

Made syste-name macros callable (At, Bsx, etc.).

Revision 1.120 / (download) - annotate - [select for diffs], Thu Mar 12 16:30:50 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.119: +1 -1 lines
Diff to previous 1.119 (colored) to selected 1.31 (colored)

Added -nested (doesn't do anything).
Added .%C.
.Cd is now callable.
Added .Rv -std.

Revision 1.119 / (download) - annotate - [select for diffs], Thu Mar 12 15:55:11 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118 (colored) to selected 1.31 (colored)

NetBSD '.[[:whitespace:]]*' properly handled.
mdoc.3 indicates compatibilities and bugs.

Revision 1.118 / (download) - annotate - [select for diffs], Thu Mar 12 06:33:51 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored) to selected 1.31 (colored)

Version up.

Revision 1.117 / (download) - annotate - [select for diffs], Wed Mar 11 00:41:35 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored) to selected 1.31 (colored)

Versioning up.

Revision 1.116 / (download) - annotate - [select for diffs], Tue Mar 10 15:01:54 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored) to selected 1.31 (colored)

Bug-fix in mdoc_argv.
Added some documentation to macro.c.
Version-up.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Mar 9 14:20:59 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.114: +1 -1 lines
Diff to previous 1.114 (colored) to selected 1.31 (colored)

Versioning up.

Revision 1.114 / (download) - annotate - [select for diffs], Mon Mar 9 13:35:09 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_4_6
Changes since 1.113: +1 -1 lines
Diff to previous 1.113 (colored) to selected 1.31 (colored)

Fixed valgrind issues.

Revision 1.113 / (download) - annotate - [select for diffs], Mon Mar 9 13:17:49 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_4_5
Changes since 1.112: +5 -2 lines
Diff to previous 1.112 (colored) to selected 1.31 (colored)

Easier integration into FreeBSD (sys/types.h, time.h, etc.).

Revision 1.112 / (download) - annotate - [select for diffs], Mon Mar 9 13:04:01 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_4_4
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored) to selected 1.31 (colored)

Added "Input Encoding" section to mdoc*.1.
Newline-escaped lines are concatenated.
Added -fign-macro option.

Revision 1.111 / (download) - annotate - [select for diffs], Sun Mar 8 19:48:37 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_4_2
Changes since 1.110: +5 -2 lines
Diff to previous 1.110 (colored) to selected 1.31 (colored)

Bumping version...

Revision 1.110 / (download) - annotate - [select for diffs], Sun Mar 8 19:32:03 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.109: +1 -1 lines
Diff to previous 1.109 (colored) to selected 1.31 (colored)

Fixed strings.sh to work with NetBSD.
Fixed various lint warnings.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Mar 8 14:01:46 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored) to selected 1.31 (colored)

Bumped minor-number.
All sources converted to new schema.

Revision 1.108 / (download) - annotate - [select for diffs], Fri Mar 6 14:13:47 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.107: +60 -17 lines
Diff to previous 1.107 (colored) to selected 1.31 (colored)

Strings abstracted into dynamically-created C files.
Added -V option.
Deprecated README files.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Mar 5 13:12:12 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.106: +3 -2 lines
Diff to previous 1.106 (colored) to selected 1.31 (colored)

Cleaned up ctype functions (netbsd).
Fixed .Ex/.Rv -std usage.
Made Ar provide default value.

Revision 1.106 / (download) - annotate - [select for diffs], Thu Mar 5 12:08:52 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.105: +4 -2 lines
Diff to previous 1.105 (colored) to selected 1.31 (colored)

Added argv regression tests.
Table-ised argument flags in argv.c.

Revision 1.105 / (download) - annotate - [select for diffs], Wed Mar 4 14:41:40 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored) to selected 1.31 (colored)

-tag, if followed by empty body, doesn't newline.
Versioning up.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Mar 3 22:28:21 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored) to selected 1.31 (colored)

-diag fixed (allows quoted parameters)
Versioned up.

Revision 1.103 / (download) - annotate - [select for diffs], Mon Mar 2 17:14:46 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.102: +4 -2 lines
Diff to previous 1.102 (colored) to selected 1.31 (colored)

Added new old escape sequence \*[nn].
Initial correct .Bd support (still only text in literal displays).
Symbols put into tables (character-encoding).

Revision 1.102 / (download) - annotate - [select for diffs], Sun Mar 1 23:25:07 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_3_15
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) to selected 1.31 (colored)

Versioning up.

Revision 1.101 / (download) - annotate - [select for diffs], Sun Mar 1 20:17:03 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.100: +23 -23 lines
Diff to previous 1.100 (colored) to selected 1.31 (colored)

Backing-out DESTDIR.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Mar 1 20:07:20 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.99: +1 -1 lines
Diff to previous 1.99 (colored) to selected 1.31 (colored)

Versioning up.

Revision 1.99 / (download) - annotate - [select for diffs], Sun Mar 1 20:05:32 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.98: +33 -22 lines
Diff to previous 1.98 (colored) to selected 1.31 (colored)

Applying Joerg Sonnenberger's patch.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Mar 1 13:09:03 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_3_13
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored) to selected 1.31 (colored)

Versioning up.

Revision 1.97 / (download) - annotate - [select for diffs], Sat Feb 28 22:27:17 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.96: +1 -1 lines
Diff to previous 1.96 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.96 / (download) - annotate - [select for diffs], Sat Feb 28 14:48:03 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_3_11
Changes since 1.95: +1 -1 lines
Diff to previous 1.95 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.95 / (download) - annotate - [select for diffs], Sat Feb 28 13:49:11 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_3_10
Changes since 1.94: +1 -1 lines
Diff to previous 1.94 (colored) to selected 1.31 (colored)

Version up.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Feb 28 13:47:36 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.93: +1 -0 lines
Diff to previous 1.93 (colored) to selected 1.31 (colored)

Added support for dynamic -width detection for -tag lists.

Revision 1.93 / (download) - annotate - [select for diffs], Sat Feb 28 12:16:38 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_3_9
Changes since 1.92: +1 -1 lines
Diff to previous 1.92 (colored) to selected 1.31 (colored)

Version up.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Feb 28 10:15:25 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_3_8
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored) to selected 1.31 (colored)

Version up.

Revision 1.91 / (download) - annotate - [select for diffs], Sat Feb 28 09:51:50 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.90: +5 -2 lines
Diff to previous 1.90 (colored) to selected 1.31 (colored)

More pkgsrc stuff.

Revision 1.90 / (download) - annotate - [select for diffs], Fri Feb 27 17:24:30 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.89: +26 -5 lines
Diff to previous 1.89 (colored) to selected 1.31 (colored)

Initial NetBSD pkgsrc.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Feb 27 09:39:40 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_3_6
Changes since 1.88: +4 -1 lines
Diff to previous 1.88 (colored) to selected 1.31 (colored)

Lintified sources.

Revision 1.88 / (download) - annotate - [select for diffs], Fri Feb 27 09:16:12 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored) to selected 1.31 (colored)

Versioning up.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Feb 27 08:20:15 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.86: +5 -2 lines
Diff to previous 1.86 (colored) to selected 1.31 (colored)

More character-encoding.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Feb 25 12:38:15 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_3_5
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) to selected 1.31 (colored)

Fixed version-date tag.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Feb 25 12:37:18 2009 UTC (15 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.84: +4 -2 lines
Diff to previous 1.84 (colored) to selected 1.31 (colored)

Version printed on website.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Feb 24 12:20:52 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.83: +7 -2 lines
Diff to previous 1.83 (colored) to selected 1.31 (colored)

Added character-encoding checks.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Feb 24 11:43:13 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.82: +9 -4 lines
Diff to previous 1.82 (colored) to selected 1.31 (colored)

Escape-sequence validation in place (for nodes).

Revision 1.82 / (download) - annotate - [select for diffs], Mon Feb 23 22:51:10 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.81: +1 -1 lines
Diff to previous 1.81 (colored) to selected 1.31 (colored)

Considerably cleaned up the validation code.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Feb 23 20:55:56 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.80: +23 -13 lines
Diff to previous 1.80 (colored) to selected 1.31 (colored)

Port works.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Feb 23 16:01:33 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.79: +3 -0 lines
Diff to previous 1.79 (colored) to selected 1.31 (colored)

Fixing port generation & instructions.

Revision 1.79 / (download) - annotate - [select for diffs], Mon Feb 23 15:19:47 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.78: +17 -2 lines
Diff to previous 1.78 (colored) to selected 1.31 (colored)

Adding revamped webpage.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Feb 23 13:05:06 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.77: +22 -11 lines
Diff to previous 1.77 (colored) to selected 1.31 (colored)

Added mdoclint.
`make regress' uses mdoclint

Revision 1.77 / (download) - annotate - [select for diffs], Mon Feb 23 07:09:13 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.76: +5 -12 lines
Diff to previous 1.76 (colored) to selected 1.31 (colored)

termact.c -> term.c
term.c -> mdocterm.c
tree.c -> mdoctree.c
Fixed/finished mmain.h.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Feb 22 22:58:39 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.75: +18 -23 lines
Diff to previous 1.75 (colored) to selected 1.31 (colored)

BROKEN BUILD: migrating to mmain stuff.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Feb 21 21:00:06 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.74: +43 -23 lines
Diff to previous 1.74 (colored) to selected 1.31 (colored)

Split mdocml -> mdocterm, mdoctree (new manuals, etc.).
Escape-recognition term.c.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Feb 21 19:05:28 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.73: +11 -7 lines
Diff to previous 1.73 (colored) to selected 1.31 (colored)

Split down term.c into term.h, termact.c.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Feb 21 14:56:57 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.72: +1 -1 lines
Diff to previous 1.72 (colored) to selected 1.31 (colored)

Initial list support (not nested, yet).

Revision 1.72 / (download) - annotate - [select for diffs], Fri Feb 20 23:35:36 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.31 (colored)

More flesh in terminal-encoder.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Feb 20 11:04:23 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.70: +11 -3 lines
Diff to previous 1.70 (colored) to selected 1.31 (colored)

Re-added tree.c (for now).
Added initial terminal-output filter (term.c).

Revision 1.70 / (download) - annotate - [select for diffs], Fri Feb 20 07:45:41 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.69: +3 -7 lines
Diff to previous 1.69 (colored) to selected 1.31 (colored)

Removed (moving) tree.c.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Feb 20 07:43:15 2009 UTC (15 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored) to selected 1.31 (colored)

Removed tree-writing capability (for now, only validates and exits).

Revision 1.68 / (download) - annotate - [select for diffs], Thu Jan 22 14:56:21 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.67: +1 -1 lines
Diff to previous 1.67 (colored) to selected 1.31 (colored)

Fix-ups to macro.c.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Jan 22 12:21:03 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.66: +3 -1 lines
Diff to previous 1.66 (colored) to selected 1.31 (colored)

Finished proper parsing of -column macros.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jan 21 17:56:32 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.65: +6 -1 lines
Diff to previous 1.65 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.65 / (download) - annotate - [select for diffs], Wed Jan 21 11:35:26 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.64: +19 -2 lines
Diff to previous 1.64 (colored) to selected 1.31 (colored)

More validation on prologue/first NAME section.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Jan 20 22:55:46 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.63: +36 -0 lines
Diff to previous 1.63 (colored) to selected 1.31 (colored)

Added regression tests (just for prologue, for now).
Minor fixes in parsing prologue.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jan 20 15:11:16 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_2_0
Changes since 1.62: +3 -1 lines
Diff to previous 1.62 (colored) to selected 1.31 (colored)

Added manual pages to INSTALL.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Jan 20 15:06:07 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61 (colored) to selected 1.31 (colored)

Tagged version.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Jan 20 15:05:01 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.60: +6 -0 lines
Diff to previous 1.60 (colored) to selected 1.31 (colored)

More documentation/installation fixes.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jan 20 13:44:05 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.59: +68 -31 lines
Diff to previous 1.59 (colored) to selected 1.31 (colored)

Re-merged old port-building routines.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Jan 17 16:47:02 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.58: +20 -0 lines
Diff to previous 1.58 (colored) to selected 1.31 (colored)

Added tests to makefile.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Jan 17 14:04:25 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.57: +11 -7 lines
Diff to previous 1.57 (colored) to selected 1.31 (colored)

Separating output filters.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Jan 8 15:05:50 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_1_0
Changes since 1.56: +7 -11 lines
Diff to previous 1.56 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.56 / (download) - annotate - [select for diffs], Mon Jan 5 14:14:04 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.55: +11 -7 lines
Diff to previous 1.55 (colored) to selected 1.31 (colored)

Actions and validations properly added.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jan 1 20:40:16 2009 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.54: +11 -7 lines
Diff to previous 1.54 (colored) to selected 1.31 (colored)

Broke apart macro_prologuexxx into prologue.
Fixed validation for line-scoped.
Merged const_arg and const.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Dec 30 18:15:26 2008 UTC (15 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.53: +11 -7 lines
Diff to previous 1.53 (colored) to selected 1.31 (colored)

Validation fully works.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Dec 23 05:30:49 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.52: +15 -7 lines
Diff to previous 1.52 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.52 / (download) - annotate - [select for diffs], Mon Dec 15 03:13:01 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.51: +11 -7 lines
Diff to previous 1.51 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.51 / (download) - annotate - [select for diffs], Mon Dec 15 02:23:12 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored) to selected 1.31 (colored)

Linted.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Dec 15 01:54:58 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.49: +29 -146 lines
Diff to previous 1.49 (colored) to selected 1.31 (colored)

Purged all old files in favour of new design.  Selective reintegration.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Dec 10 17:40:56 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.48: +1 -1 lines
Diff to previous 1.48 (colored) to selected 1.31 (colored)

Prettier HTML.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Dec 10 16:03:12 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.47: +30 -16 lines
Diff to previous 1.47 (colored) to selected 1.31 (colored)

Ready for looking over by people.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Dec 10 14:42:45 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.46: +24 -20 lines
Diff to previous 1.46 (colored) to selected 1.31 (colored)

Made noop the default filter.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Dec 10 13:41:58 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45 (colored) to selected 1.31 (colored)

Sx to Sh anchors work.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Dec 10 13:15:55 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.44: +17 -2 lines
Diff to previous 1.44 (colored) to selected 1.31 (colored)

Put prelude checking into asec.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Dec 10 12:10:51 2008 UTC (16 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_0_2
Changes since 1.43: +1 -1 lines
Diff to previous 1.43 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.43 / (download) - annotate - [select for diffs], Wed Dec 10 12:09:47 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.42: +1 -3 lines
Diff to previous 1.42 (colored) to selected 1.31 (colored)

Linted on NetBSD side.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Dec 10 12:05:33 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.41: +7 -4 lines
Diff to previous 1.41 (colored) to selected 1.31 (colored)

Versioning up.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Dec 10 10:43:57 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.40 / (download) - annotate - [select for diffs], Wed Dec 10 00:58:15 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.39 / (download) - annotate - [select for diffs], Wed Dec 10 00:52:46 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.38: +19 -8 lines
Diff to previous 1.38 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.38 / (download) - annotate - [select for diffs], Tue Dec 9 19:57:26 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.37 / (download) - annotate - [select for diffs], Tue Dec 9 17:09:12 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.31 (colored)

Considerable clean-ups.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Dec 8 16:29:57 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.35 / (download) - annotate - [select for diffs], Mon Dec 8 12:47:54 2008 UTC (16 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_0_1
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored) to selected 1.31 (colored)

Versioning up.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Dec 8 12:46:28 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored) to selected 1.31 (colored)

Added warnings for using macros in the wrong sections.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Dec 7 23:50:01 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) to selected 1.31 (colored)

Fixed installation routine.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 7 23:44:19 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.31: +18 -8 lines
Diff to previous 1.31 (colored)

*** empty log message ***

Revision 1.31 / (download) - annotate - [selected], Sun Dec 7 23:08:23 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.30: +15 -6 lines
Diff to previous 1.30 (colored)

*** empty log message ***

Revision 1.30 / (download) - annotate - [select for diffs], Sun Dec 7 22:40:18 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.29: +10 -9 lines
Diff to previous 1.29 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 7 21:30:49 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.28: +10 -1 lines
Diff to previous 1.28 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 7 14:38:57 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 5 22:54:44 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.26 / (download) - annotate - [select for diffs], Fri Dec 5 19:45:15 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.25: +8 -2 lines
Diff to previous 1.25 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.25 / (download) - annotate - [select for diffs], Thu Dec 4 23:10:51 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24 (colored) to selected 1.31 (colored)

*** empty log message ***

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 4 19:31:57 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23 (colored) to selected 1.31 (colored)

Moved charset recognition into the filter.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 4 16:19:52 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.22: +9 -9 lines
Diff to previous 1.22 (colored) to selected 1.31 (colored)

Character-encoding tests.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 4 11:25:29 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored) to selected 1.31 (colored)

More html-css.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 3 14:39:59 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.20: +21 -13 lines
Diff to previous 1.20 (colored) to selected 1.31 (colored)

Abstract ml/mlg/html/xml.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 2 18:26:57 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.19: +11 -7 lines
Diff to previous 1.19 (colored) to selected 1.31 (colored)

Transition to splitting xml/ml.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Dec 2 13:20:24 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored) to selected 1.31 (colored)

Added `Sm' functionality.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Dec 2 00:10:37 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored) to selected 1.31 (colored)

Improvements to the xml part.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 1 21:25:48 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (colored) to selected 1.31 (colored)

No more segfaults when run over openbsd sources.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Dec 1 16:01:28 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored) to selected 1.31 (colored)

Considerable scoping fixes.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 1 15:32:36 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.31 (colored)

Considerably improved roff_text parser.
Consolidated noop roff macros.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 30 21:41:35 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.13: +9 -9 lines
Diff to previous 1.13 (colored) to selected 1.31 (colored)

Preliminary xml output filter (validate-renamed) done.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 30 20:53:34 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.12: +10 -21 lines
Diff to previous 1.12 (colored) to selected 1.31 (colored)

Cleaned up presentation with mbuf_putstring & al.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 28 11:21:12 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.11: +13 -7 lines
Diff to previous 1.11 (colored) to selected 1.31 (colored)

Initial pushing to mbuf.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 27 13:29:44 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.31 (colored)

More fixes and work-ness.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 27 11:23:51 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored) to selected 1.31 (colored)

Mainly quotes.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 26 22:27:07 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored) to selected 1.31 (colored)

Various fixes.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 26 21:42:59 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.31 (colored)

Considerable fixes.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 26 16:50:34 2008 UTC (16 years ago) by kristaps
Branch: MAIN
Changes since 1.6: +10 -0 lines
Diff to previous 1.6 (colored) to selected 1.31 (colored)

Added regression tests.
Considerable fixes... blah blah blah...

Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 24 14:24:55 2008 UTC (16 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.5: +14 -7 lines
Diff to previous 1.5 (colored) to selected 1.31 (colored)

Split roff engine into roff.c.
Re-worked calling convention for md_*.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Nov 23 22:30:53 2008 UTC (16 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored) to selected 1.31 (colored)

Considerable improvements across the board.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 23 16:53:18 2008 UTC (16 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.3: +31 -8 lines
Diff to previous 1.3 (colored) to selected 1.31 (colored)

Segmentation into html and dummy parsers.
Initial recursive-descent parser in place for html/ml parser.
Parsing of title tags more-or-less in place.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 22 20:15:34 2008 UTC (16 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored) to selected 1.31 (colored)

Fuller seperation into mdocml/libmdocml.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 22 14:54:55 2008 UTC (16 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored) to selected 1.31 (colored)

Fixed dist hook in Makefile (uses a file-target).

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Nov 22 14:53:29 2008 UTC (16 years, 1 month ago) by kristaps
Branch: version_0
CVS Tags: version_0_0
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.31 (colored)

Initial check-in of mdocml.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Nov 22 14:53:29 2008 UTC (16 years, 1 month ago) by kristaps
Branch: MAIN
Diff to selected 1.31 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb