CVS log for mandoc/Attic/mdoc_action.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.89, Tue Nov 30 13:04:14 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: HEAD
Changes since 1.88: +1 -1 lines
FILE REMOVED

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.88 / (download) - annotate - [select for diffs], Tue Nov 30 12:59:20 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.87: +6 -264 lines
Diff to previous 1.87 (colored)

Moved all prologue actions from mdoc_action.c into mdoc_validate.c.  The
file is now ready for removal.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Nov 30 12:35:10 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.86: +3 -153 lines
Diff to previous 1.86 (colored)

Move post_bl() and subfunctions from mdoc_action.c into mdoc_validate.c.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Nov 30 10:32:05 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.85: +1 -57 lines
Diff to previous 1.85 (colored)

Move -column list validation and normal-formisation from mdoc_action.c
into mdoc_validate.c.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Nov 29 16:06:46 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.84: +3 -45 lines
Diff to previous 1.84 (colored)

Migrate `Nm' and `Pa' handling from mdoc_action.c into mdoc_validate.c.

Document that `Pa' is replaced by a tilde, just like `Mt'.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Nov 29 15:45:15 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.83: +4 -89 lines
Diff to previous 1.83 (colored)

Remove left-over rsord[] in mdoc_actions.c.

Remove MANDOCERR_BADLIB (not used).

Moved `St' handling from mdoc_action.c into mdoc_validate.c.

Moved relevant MDOC_LITERAL macros (`Dl', `Bd' subtypes) from
mdoc_action.c into mdoc_validate.c.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Nov 29 14:56:43 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.82: +2 -36 lines
Diff to previous 1.82 (colored)

Move `Lb' handling from mdoc_action.c into mdoc_validate.c.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Nov 29 14:50:33 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.81: +2 -44 lines
Diff to previous 1.81 (colored)

Move `At' handling from mdoc_action.c into mdoc_validate.c.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Nov 29 13:51:03 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.80: +2 -60 lines
Diff to previous 1.80 (colored)

Move `Sh' validation from mdoc_action.c. into mdoc_validate.c.
Surprisingly, both functions were doing pretty much the same thing.
Make sure that the changes incorporate the union of both.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Nov 29 13:02:47 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.79: +3 -50 lines
Diff to previous 1.79 (colored)

Move `Mt', `Ar', and `Li' handling from mdoc_action.c into mdoc_validate.c.

Clarify that `Mt' gets a default `~' (as per groff 1.20) and document it
in mdoc.7.

Made `Lk' be removed in mdoc_macro.c if it has no arguments.  This fixes
segfaults in mdoc_{term,html}.c that nobody's managed to raise yet.

Revision 1.79 / (download) - annotate - [select for diffs], Mon Nov 29 12:22:28 2010 UTC (11 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.78: +2 -68 lines
Diff to previous 1.78 (colored)

Migrate action for `Rs' into mdoc_validate.c.
Remove superfluous in-line order_rs function.
Merge `Rs' validations {BLOCK, BODY} -> {BODY}.
Make invalid children of `Rs' raise an error but otherwise be allowed.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jul 30 17:14:09 2010 UTC (11 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: VERSION_1_10_6
Changes since 1.77: +8 -1 lines
Diff to previous 1.77 (colored)

Don't crash for the following test case as reported by Jordan Gordeev:
.Bl -tag
.It
foo
...

Revision 1.77 / (download) - annotate - [select for diffs], Mon Jul 26 13:45:49 2010 UTC (11 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_5
Changes since 1.76: +6 -1 lines
Diff to previous 1.76 (colored)

Note that `Dd' can be empty.  This found following a thread on discuss@
started by Sascha Wildner, 07/25/2010 06:30 AM.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jul 13 23:53:20 2010 UTC (11 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_10_5_PREPDF
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

correct lots of copyright notices;
ok kristaps@

Revision 1.75 / (download) - annotate - [select for diffs], Sun Jul 4 21:59:30 2010 UTC (11 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_4
Changes since 1.74: +4 -1 lines
Diff to previous 1.74 (colored)

Cache column sizes and char pointer into mdoc_bl.  Finally get rid of
the loops here and there to track down the MDOC_Column arguments.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jul 1 22:56:17 2010 UTC (11 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.73: +12 -25 lines
Diff to previous 1.73 (colored)

Make struct_bl and struct_bd into pointers.  This removes the need to do
copying on internals after modification.  Even more importantly, if an
ENDBODY token is provided, it would have been impossible for post-change
copying of the data to take place in the BLOCK.  This allows it to
happen by dint of pointers.

Also did some bikeshedding in mdoc_term.c: checking against enum type
and explicitly casting to the "post" function to void.  This is for my
own readability.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Jul 1 22:35:54 2010 UTC (11 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.72: +12 -1 lines
Diff to previous 1.72 (colored)

In the mdoc(7) parser, inspect roff registers early such that all parts
of the parser can use the resulting cues.  In particular, this allows
to use .nr nS to force SYNOPSIS-style .Nm indentation outside the
SYNOPSIS as needed by ifconfig(8).

To actually make this useable, .Pp must rewind .Nm, or the rest of the
section would end up indented.  Implement a quick hack for now,
a generic solution can be designed later.

ok kristaps@ and tested by sobrado@

Revision 1.72 / (download) - annotate - [select for diffs], Sun Jun 27 15:52:41 2010 UTC (11 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_3
Changes since 1.71: +6 -1 lines
Diff to previous 1.71 (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.71 / (download) - annotate - [select for diffs], Sat Jun 19 20:46:28 2010 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_2
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Churn as I finish email address migration kth.se -> bsd.lv.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jun 13 21:02:48 2010 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.69: +51 -40 lines
Diff to previous 1.69 (colored)

Allow -width for lists to be cached in mdoc_bl.  This requires some
trickery because widths may be on-the-fly recalculated.  I don't like
how these are split between mdoc_action.c and mdoc_validate.c, but for
the time being, it'll do.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Jun 13 20:05:12 2010 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.68: +36 -38 lines
Diff to previous 1.68 (colored)

Small optimisations in mdoc_action list processing.  Cleanups making way
for "width" cached argument.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jun 12 12:38:01 2010 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.67: +2 -42 lines
Diff to previous 1.67 (colored)

Cached `Bl -offset' into mdoc_bl.  Removed erroneous "-offset defaults
to 6n if no value is specified" and added regression tests for `Bl'
testing against the empty -offset argument.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Jun 12 11:21:44 2010 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.66: +3 -5 lines
Diff to previous 1.66 (colored)

Cache all of `Bd's resolved arguments into mdoc_bd, which is stashed in
the "data" union in mdoc_node.  Allows me to remove some ugly loops in
the front-end and duplicate tests in mdoc_action.c.  Add a regression
test to make sure we're not doing anything bad (more to come).

Revision 1.66 / (download) - annotate - [select for diffs], Sat Jun 12 10:09:19 2010 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.65: +5 -9 lines
Diff to previous 1.65 (colored)

Added enum mdoc_disp (similar to enum mdoc_list).  Display types are now
only calculated once in mdoc_validate.c.

Noted that `Bd -file xxx' is not supported:  it now raises a fatal
warning.  This is noted in mdoc.7.

Empty `Bd' now defaults to LIST_ragged, which is not quite what groff
does, but close enough (gross just throws away the `Bd' and gets upset
when it encounters an `Ed').

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jun 3 13:44:36 2010 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_1
Changes since 1.64: +5 -59 lines
Diff to previous 1.64 (colored)

Consolidated list processing to a single loop in mdoc_validate.c.  This
relieves having to repeat running over the argument list in
mdoc_action.c and mdoc_validate.c.

Default to LIST_item for type-less lists (groff technically doesn't do
this: it just ignores the `It' lines altogether).

Make MANDOC_LISTTYPE be a recoverable error.

Revision 1.64 / (download) - annotate - [select for diffs], Mon May 31 10:28:04 2010 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored)

Remove enum mdocargerr from phrase() (unused).

Add `Ta' macro, which is basically a NULL case everywhere but in
mdoc_macro.c, where it closes out an existing `It' body scope and opens
a new one, then continues parsing as in phrase() (TODO: merge these
two?).

Fix where scope-breaking was silently just dying instead of printing an
error.

Fix where trailing `Ta' or tab weren't creating a new MDOC_BODY context.

We now support arbitrarily complex `It' contents for `Bl -column'.

Revision 1.63 / (download) - annotate - [select for diffs], Sun May 30 11:00:53 2010 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.62: +6 -5 lines
Diff to previous 1.62 (colored)

Made `Dt' default to LOCAL and UNKNOWN instead of local and unknown (note case).

Have `Dt' default to UNKNOWN if it's an empty string.

Raise a warning if `Dt' title isn't capitalised.

Sync'd `Dt' documentation with reality.

Revision 1.62 / (download) - annotate - [select for diffs], Sat May 29 18:58:52 2010 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.61: +24 -2 lines
Diff to previous 1.61 (colored)

Moved printing of empty word [back] into mdoc_action.c so that it's not
mirrored across front-ends.

Revision 1.61 / (download) - annotate - [select for diffs], Mon May 24 11:59:37 2010 UTC (11 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.60: +6 -3 lines
Diff to previous 1.60 (colored)

If a .Bl -tag lacks a -width, skip all non-It macros for the implicit
calculation. E.g. .Sm can occur as direct child of .Bl.

OK schwarze@

Revision 1.60 / (download) - annotate - [select for diffs], Mon May 17 23:57:06 2010 UTC (12 years ago) by kristaps
Branch: MAIN
Changes since 1.59: +59 -4 lines
Diff to previous 1.59 (colored)

Increase performance by stashing the list type in struct mdoc_node.
This will eventually be used so that mdoc_macro can known whether to
dump list line arguments into the body (`Bl -column' overflowing).

Remove a2list() and arg_listtype() because of this.

Revision 1.59 / (download) - annotate - [select for diffs], Mon May 17 22:11:42 2010 UTC (12 years ago) by kristaps
Branch: MAIN
Changes since 1.58: +46 -22 lines
Diff to previous 1.58 (colored)

Enable the unified error/warning enumeration in mandoc.h that's
stringified in main.c.

Allow `An' to handle an argument and child (with a warning).

Allow `Rv' and `Ex' to work without a prior `Nm' as groff does (with a
warning).

Allow inconsistent column syntax to only raise a warning.

Revision 1.58 / (download) - annotate - [select for diffs], Sat May 15 16:24:38 2010 UTC (12 years ago) by kristaps
Branch: MAIN
Changes since 1.57: +18 -20 lines
Diff to previous 1.57 (colored)

LIBRARY can also occur in section 9.
All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc.
Useful warning printed if unknown manual section.
Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free.

Revision 1.57 / (download) - annotate - [select for diffs], Fri May 14 16:02:29 2010 UTC (12 years ago) by kristaps
Branch: MAIN
Changes since 1.56: +18 -6 lines
Diff to previous 1.56 (colored)

"Warn on unknown argument for .At and print it like [new] groff." (patch by Joerg Sonnenberger, ed. Kristaps)
Keep short-log of commits in index.sgml.
Document compatibility with new/old groff in mdoc.7.

Revision 1.56 / (download) - annotate - [select for diffs], Fri May 14 15:26:39 2010 UTC (12 years ago) by kristaps
Branch: MAIN
Changes since 1.55: +5 -4 lines
Diff to previous 1.55 (colored)

"Invalid standard argument should be a warning. Just leak it into the
output." (patch by Joerg Sonnenberger)

Revision 1.55 / (download) - annotate - [select for diffs], Wed May 12 08:41:17 2010 UTC (12 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_25
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

mdoc_atosec -> mdoc_str2sec (consistent with str2 being different from a2).
Changed ordering of sections (EXIT STATUS moved around), argued for by Ulrich Sporlein.
Fixed mdoc_str2sec not to use weird structure.

Revision 1.54 / (download) - annotate - [select for diffs], Sat May 8 07:30:19 2010 UTC (12 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_24
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored)

Lint fixes (type-safety for enums via -cefuh).

Revision 1.53 / (download) - annotate - [select for diffs], Tue Apr 6 11:33:00 2010 UTC (12 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_23
Changes since 1.52: +3 -22 lines
Diff to previous 1.52 (colored)

Migrating mdoc_node_free() and mdoc_node_freelist() to use mdoc_node_delete(), which has a more intuitive interface and mirrors libman.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Apr 5 09:03:12 2010 UTC (12 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.51: +6 -2 lines
Diff to previous 1.51 (colored)

Fix issue of non-NAME sections triggering "no sections" error, reported by Christian Weisgerber, patched by Ingo Schwarze.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Mar 31 07:13:53 2010 UTC (12 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_22
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (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.50 / (download) - annotate - [select for diffs], Fri Jan 1 17:14:29 2010 UTC (12 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_21, VERSION_1_9_20, VERSION_1_9_19, VERSION_1_9_18, VERSION_1_9_17, VERSION_1_9_16, VERSION_1_9_15-pre2, VERSION_1_9_15
Changes since 1.49: +5 -5 lines
Diff to previous 1.49 (colored)

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

Revision 1.49 / (download) - annotate - [select for diffs], Mon Nov 2 06:22:45 2009 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_15-pre1, VERSION_1_9_14, VERSION_1_9_13
Changes since 1.48: +5 -4 lines
Diff to previous 1.48 (colored)

Added mandoc_a2time() for proper date conversion.
Fitted TH and Dd handlers to use mandoc_a2time().
Documented date syntax for -man, fixed documentation for -mdoc.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Oct 31 06:10:58 2009 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_12
Changes since 1.47: +1 -3 lines
Diff to previous 1.47 (colored)

Using perror() instead of fprintf for failure from library functions.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Oct 30 18:50:11 2009 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.46: +2 -1 lines
Diff to previous 1.46 (colored)

Lint fixes.
Made realloc puke with fprintf.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Oct 29 04:34:38 2009 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.45: +173 -152 lines
Diff to previous 1.45 (colored)

Clean-ups in mdoc_action (using libmandoc.h functions).

Revision 1.45 / (download) - annotate - [select for diffs], Mon Oct 26 10:36:46 2009 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_11
Changes since 1.44: +4 -3 lines
Diff to previous 1.44 (colored)

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

Revision 1.44 / (download) - annotate - [select for diffs], Mon Oct 26 04:09:45 2009 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_10
Changes since 1.43: +5 -3 lines
Diff to previous 1.43 (colored)

Full `%U' support.
`Lk' display fixed.
Renamed arg2xxxx as a2xxxx for consistency.
Renamed print_foot to print_man_foot for consistency.
Removed default printing of `~' when `Lk' not provided (not sure where I got that from).

Revision 1.43 / (download) - annotate - [select for diffs], Sat Oct 24 05:52:13 2009 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

Added `%U' to -mdoc (doesn't render in a nice way yet).

Revision 1.42 / (download) - annotate - [select for diffs], Thu Oct 22 17:54:24 2009 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.41: +14 -1 lines
Diff to previous 1.41 (colored)

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

Revision 1.41 / (download) - annotate - [select for diffs], Fri Sep 25 13:03:25 2009 UTC (12 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_9, VERSION_1_9_8, VERSION_1_9_7, VERSION_1_9_6
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

Lint check (noop).

Revision 1.40 / (download) - annotate - [select for diffs], Thu Sep 24 15:08:41 2009 UTC (12 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

Fixed segfault in `Rs' empty block.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Sep 24 15:01:06 2009 UTC (12 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.38: +88 -7 lines
Diff to previous 1.38 (colored)

Added EBADCHILD error (bad child of parent context).
`Rs' post-checks that all children are proper bibliographic elements.
`Rs' correctly re-orders its children as per groff's output (including %C).

Revision 1.38 / (download) - annotate - [select for diffs], Thu Sep 24 13:03:32 2009 UTC (12 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.37: +49 -12 lines
Diff to previous 1.37 (colored)

-offset string can now be blank (supplied with 6n as stipulated by mdoc.samples).

Revision 1.37 / (download) - annotate - [select for diffs], Wed Sep 16 20:49:06 2009 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_5
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Lintifications.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Sep 16 14:40:56 2009 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Thu Aug 20 13:22:48 2009 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_2, VERSION_1_9_1
Changes since 1.34: +173 -188 lines
Diff to previous 1.34 (colored)

Updated manual structure in mdoc.7.
Synchronised mdoc.template and mdoc.7 manual structure.
`Rv' and `Ex' now accept multiple arguments (-std made standalone, terms as children).
`Rv' and `Ex' format correctly in -Tascii (plurals, commas, etc.).

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 26 10:29:39 2009 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_0, VERSION_1_8_5, VERSION_1_8_4
Changes since 1.33: +5 -2 lines
Diff to previous 1.33 (colored)

Made out-of-order prologue macros not cause an error.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jul 25 16:03:03 2009 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.32: +1 -2 lines
Diff to previous 1.32 (colored)

Patches and results of LLVM static analysis (thanks uqs@sporlein.net).

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 24 13:18:15 2009 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.31: +7 -2 lines
Diff to previous 1.31 (colored)

Added `St -ieee1275-94'.
Documented a future `Bd' fixme.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jul 21 15:53:31 2009 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_3
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored)

Added default print of `~' with empty `Pa' (not documented with OpenBSD, but still applicable).

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jul 17 10:56:57 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_2, VERSION_1_8_1
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)

Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org).

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jul 16 13:17:51 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.28: +1 -16 lines
Diff to previous 1.28 (colored)

Subtle fixes correcting vis count with erroneously-decorated whitespace.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jul 15 15:53:57 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.27: +16 -1 lines
Diff to previous 1.27 (colored)

Removed assertion (disregarded blank literal lines).

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 12 20:50:08 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_0
Changes since 1.26: +33 -2 lines
Diff to previous 1.26 (colored)

Replacement of `Lb' in mdoc_action.c.
Added warning against bogus `Lb' (like groff does).
Added proper quotes around `Lb' in mdoc_term.c.
Moved mdoc_a2lib -> libmdoc (where it belongs).

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 12 20:30:35 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.25: +19 -2 lines
Diff to previous 1.25 (colored)

Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c).
Made bad standards into an error (were a warning).

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jul 12 20:24:24 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.24: +39 -13 lines
Diff to previous 1.24 (colored)

Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c).

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jul 7 11:47:17 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_24
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

Made `In' handling work in new-groff style (see mdoc.samples).

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 6 13:04:52 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_23
Changes since 1.22: +30 -84 lines
Diff to previous 1.22 (colored)

Consolidated all err/warnings into mdoc.c via libmdoc.h.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 6 11:14:03 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.21: +20 -34 lines
Diff to previous 1.21 (colored)

Consolidated mdoc_action pwarn->perr.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 6 09:21:24 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.20: +4 -5 lines
Diff to previous 1.20 (colored)

Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 25 08:42:06 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_22, VERSION_1_7_21
Changes since 1.19: +6 -2 lines
Diff to previous 1.19 (colored)

Updating web-page to be a bit more compact.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 22 12:38:07 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_20
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Noted .Cd tabs-ok issue (will fix later).
Added single space to -diag lists.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jun 22 12:04:05 2009 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Added "Spacing" part of "Punctuation and Spacing" in mandoc.1 manual.
Fixed `Ds' meta-macro default width.
Fixed -width and -offset "indent", "indent-two", and "left" widths.
Fixed -width and -offset literal-word and numeric widths.
Fixed off-by-one errors in whitespace output (schwarze@openbsd.org).

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 18 20:46:19 2009 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

Added nchild decrement in libman (not used, but better in than forgotten).
Added nchild to libmdoc, deprecated count() functions in validator.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 17 14:14:51 2009 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_19
Changes since 1.15: +3 -4 lines
Diff to previous 1.15 (colored)

Clean-up.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 17 14:10:09 2009 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Lint fixes.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jun 17 14:08:47 2009 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.13: +52 -1 lines
Diff to previous 1.13 (colored)

`Bl -column' now correctly handles tail entries (Bl -column -more... arg0...).

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jun 17 10:53:32 2009 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Section orders are more elegantly handled (MDOC_PBODY is a flag).
Cleaned up string->enum conversion for section lookup.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 16 19:45:51 2009 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored)

Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc parser).

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jun 12 12:52:51 2009 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_17, VERSION_1_7_16, VERSION_1_7_15
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

Lint fixes (no effect).
Versioning up.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 12 09:18:00 2009 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.9: +24 -2 lines
Diff to previous 1.9 (colored)

`Lk' is correctly handled as CALLABLE (note groff munges nested output).
`Mt' is now CALLABLE.
Fixed missing validate/action of zero-element, non-called inline elements.
Fixed missing validate/action of nested inline element re-calls.
Fixed bogus column argv index in validator.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 10 20:18:43 2009 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_14
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Fixed license email address.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 12 19:45:26 2009 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_13
Changes since 1.7: +10 -12 lines
Diff to previous 1.7 (colored)

Using proper license template (const).

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 6 09:48:35 2009 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_12, OPENBSD_CHECKIN
Changes since 1.6: +1 -7 lines
Diff to previous 1.6 (colored)

Removed forgotten printfs.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 6 08:53:12 2009 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.5: +10 -3 lines
Diff to previous 1.5 (colored)

Fix bogus use of mdoc->last in action pre-handler (!!!!!).

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 3 11:08:39 2009 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_10
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

Proper resetting of memory.
Array boundary fixed (-W).

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 2 16:37:40 2009 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

Added -p1003.1-2008 specification.
Fixed invalid memory accesses (concat()).
Made -fign-macro be the default for libman.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 2 06:51:44 2009 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

mdoc_tokhash -> hash
Initial man hashtab (BROKEN).

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 31 13:50:19 2009 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.1: +137 -67 lines
Diff to previous 1.1 (colored)

General clean-ups.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Mar 25 15:36:05 2009 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_5

Added man_action.c, renamed mdoc_action.c.

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