CVS log for mandoc/Attic/man.3

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31, Tue Mar 22 10:02:50 2011 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: HEAD
Changes since 1.30: +2 -2 lines
FILE REMOVED

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.30 / (download) - annotate - [select for diffs], Wed Feb 9 09:18:15 2011 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_10
Changes since 1.29: +13 -2 lines
Diff to previous 1.29 (colored) to selected 1.23 (colored)

Allow -man to process EQN as well.  Also fix a segfault in missing case
statements in the post-handler for EQN in -mdoc and -man.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 3 11:31:26 2011 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_9
Changes since 1.28: +14 -19 lines
Diff to previous 1.28 (colored) to selected 1.23 (colored)

Same treatment for MAN_HALT as for MDOC_HALT.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 1 12:59:17 2011 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.27: +10 -2 lines
Diff to previous 1.27 (colored) to selected 1.23 (colored)

Add -man support for tables.  Like -mdoc, this consists of an
external-facing function man_addspan() (this required shuffling around
the descope routine) and hooks elsewhere.

Also fixed mdoc.c's post-validation of tables.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 17 11:41:45 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_8
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.23 (colored)

Correctly labelled command-line as `Dl'.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Dec 5 16:14:16 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_7
Changes since 1.25: +4 -20 lines
Diff to previous 1.25 (colored) to selected 1.23 (colored)

Remove `Sp', `Vb', and `Ve' (as per schwarze@'s changes in OpenBSD),
which are now accomodated for the new libroff modifications.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 10 09:47:05 2010 UTC (14 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.24: +9 -53 lines
Diff to previous 1.24 (colored) to selected 1.23 (colored)

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

Revision 1.24 / (download) - annotate - [select for diffs], Fri Aug 20 01:02:07 2010 UTC (14 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_10_6
Changes since 1.23: +3 -8 lines
Diff to previous 1.23 (colored)

Implement a simple, consistent user interface for error handling.
We now have sufficient practical experience to know what we want,
so this is intended to be final:
- provide -Wlevel (warning, error or fatal) to select what you care about
- provide -Wstop to stop after parsing a file with warnings you care about
- provide consistent exit status codes for those warnings you care about
- fully document what warnings, errors and fatal errors mean
- remove all other cruft from the user interface, less is more:
- remove all -f knobs along with the whole -f option
- remove the old -Werror because calling warnings "fatal" is silly
- always finish parsing each file, unless fatal errors prevent that
This commit also includes a couple of related simplifications behind
the scenes regarding error handling.
Feedback and OK  kristaps@;  Joerg Sonnenberger (NetBSD) and
Sascha Wildner (DragonFly BSD) agree with the general direction.

Revision 1.23 / (download) - annotate - [selected], Mon Aug 16 09:51:17 2010 UTC (14 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored)

Remove \*(C+ from the pre-predefined strings.  It is always `ds'-defined
when being used in manuals.  Since we now support `ds', it's no longer
necessary to account for it.  From a bug report originally by Thomas
Jeunet.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 7 15:04:54 2010 UTC (14 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_5_PREPDF, VERSION_1_10_5, VERSION_1_10_4
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored) to selected 1.23 (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.21 / (download) - annotate - [select for diffs], Sun Jun 27 16:18:13 2010 UTC (14 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_3
Changes since 1.20: +6 -4 lines
Diff to previous 1.20 (colored) to selected 1.23 (colored)

Following clue-stick applied by schwarze@, back out const-ness of regset
passed in to libmdoc and libman.

Fix mdoc.3 and man.3 EXAMPLE sections to include regset.

Add MDOC_SYNPRETTY flag cueing front-end to nicely format certain values
as if SEC_SYNOPSIS were the current section.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 27 15:52:41 2010 UTC (14 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.19: +8 -4 lines
Diff to previous 1.19 (colored) to selected 1.23 (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.19 / (download) - annotate - [select for diffs], Sat Jun 26 15:36:37 2010 UTC (14 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.18: +8 -2 lines
Diff to previous 1.18 (colored) to selected 1.23 (colored)

Churn-ish check-in getting mdoc_parseln() and man_parseln() to accept a
const struct regset pointer.  No functionality.

Revision 1.18 / (download) - annotate - [select for diffs], Tue May 25 22:16:59 2010 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_2, VERSION_1_10_1
Changes since 1.17: +4 -5 lines
Diff to previous 1.17 (colored) to selected 1.23 (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.17 / (download) - annotate - [select for diffs], Tue May 25 21:46:48 2010 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.16: +55 -55 lines
Diff to previous 1.16 (colored) to selected 1.23 (colored)

Clean-up: added `Nm mdoc' to mdoc.3.

Clean-up: new-sentence, new-line for man.3.

Clean-up: alpha-ordered man.3 `Nm' sections and prototypes.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Apr 13 05:26:49 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_25, VERSION_1_9_24
Changes since 1.15: +2 -46 lines
Diff to previous 1.15 (colored) to selected 1.23 (colored)

As per Jason McIntyre's heartful urgings, do away with '.' separators between logical sections.
Change email address to BSD.lv one (this is not an academic project...)

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 31 06:37:57 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_23, VERSION_1_9_22, VERSION_1_9_21
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) to selected 1.23 (colored)

Whitespace fix.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 30 19:20:33 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.13: +26 -2 lines
Diff to previous 1.13 (colored) to selected 1.23 (colored)

Escape TH -> Th (noticed by Joerg Sonnenberger).
Moved pod2man escapes into man.3 (they're not part of -man or -mdoc, technically).

Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 27 10:04:56 2010 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_20, VERSION_1_9_19, VERSION_1_9_18
Changes since 1.12: +90 -30 lines
Diff to previous 1.12 (colored) to selected 1.23 (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.12 / (download) - annotate - [select for diffs], Wed Feb 17 19:22:01 2010 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_17, VERSION_1_9_16, VERSION_1_9_15
Changes since 1.11: +22 -20 lines
Diff to previous 1.11 (colored) to selected 1.23 (colored)

Removed offsets from most parts (no reason for indentation).
Using POSIX2008 idioms for examples (thanks Joerg Sonnenberger).
Removed references to fgetln().

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 7 19:10:09 2010 UTC (14 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.23 (colored)

Fix white-space issues found by mandoc's better white-space finder.
Fixed bogus `\\' escapes in some manuals.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Oct 3 16:36:06 2009 UTC (15 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_9, VERSION_1_9_8, VERSION_1_9_7, VERSION_1_9_15-pre2, VERSION_1_9_15-pre1, VERSION_1_9_14, VERSION_1_9_13, VERSION_1_9_12, VERSION_1_9_11, VERSION_1_9_10
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.23 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Wed Sep 16 09:41:24 2009 UTC (15 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_6, VERSION_1_9_5
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.23 (colored)

Made tree/term/out() functions return void.
Put err() functions back into front-ends (no use making it needlessly complex).

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

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

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 20 13:45:11 2009 UTC (15 years, 3 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_5, VERSION_1_8_4, VERSION_1_8_3, VERSION_1_8_2
Changes since 1.6: +25 -25 lines
Diff to previous 1.6 (colored) to selected 1.23 (colored)

Removed trailing whitespace in manuals.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 5 19:30:49 2009 UTC (15 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_1, VERSION_1_8_0, VERSION_1_7_24, VERSION_1_7_23
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.23 (colored)

Fixed man.3 mdoc.3 const-nesses.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 11 07:26:35 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_22, VERSION_1_7_21, VERSION_1_7_20, VERSION_1_7_19, VERSION_1_7_17, VERSION_1_7_16, VERSION_1_7_15, VERSION_1_7_14
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.23 (colored)

Fixed email address in manual AUTHOR reference.
Set max right margin to 80 columns (schwarze@openbsd.org).
Fixed centre-field heading position (schwarze@openbsd.org).
Also fixed -Tman centre-field.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 10 20:18:43 2009 UTC (15 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.23 (colored)

Fixed license email address.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 12 19:45:26 2009 UTC (15 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_13
Changes since 1.2: +11 -13 lines
Diff to previous 1.2 (colored) to selected 1.23 (colored)

Using proper license template (const).

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 12 19:19:57 2009 UTC (15 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.23 (colored)

Manual .Dt fields CAPITALISED.
Indent set to 5 chars (nroff compat).
Half-indent set to 3 chars (nroff compat).
Default behaviour is loose-y (ignore macro/char/escape).
Added -fstrict.
Added unknown-character ignoring.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 27 14:56:15 2009 UTC (15 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_12, VERSION_1_7_10, OPENBSD_CHECKIN
Diff to selected 1.23 (colored)

Added some new manuals (mdoc.3 mandoc_char.7).
Support for .br in libman.

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