Up to [local] / src / usr.bin / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.15 / (download) - annotate - [select for diffs], Thu Dec 13 05:13:15 2018 UTC (5 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
HEAD
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Tue Oct 2 12:14:44 2018 UTC (5 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)
Render the eqn(7) "sqrt" function as U+221A in UTF-8 output. This also agrees with what groff does. Suggested by an attendee of EuroBSDCon 2018 in Bucuresti. Written on the plane Bucuresti-Frankfurt returning from EuroBSDCon.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 23 21:56:04 2017 UTC (6 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.12: +5 -3 lines
Diff to previous 1.12 (colored)
remove spacing after another representation of unary minus
Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 23 20:48:56 2017 UTC (6 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (colored)
remove spacing after unary minus
Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 23 20:29:38 2017 UTC (6 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.10: +8 -2 lines
Diff to previous 1.10 (colored)
eliminate white space after opening and before closing punctuation
Revision 1.10 / (download) - annotate - [select for diffs], Wed Aug 23 20:02:48 2017 UTC (6 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.9: +13 -3 lines
Diff to previous 1.9 (colored)
Suppress spacing before certain kinds of lists. One benefit is a reduced probablity that a blank appears between a function name and the opening parenthesis introducing the arguments. The heuristics isn't perfect and may occasionally suppress a blank that wouldn't do harm.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 8 14:51:01 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)
1. Eliminate struct eqn, instead use the existing members of struct roff_node which is allocated for each equation anyway. 2. Do not keep a list of equation parsers, one parser is enough. Minus fifty lines of code, no functional change.
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 7 19:06:15 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.7: +28 -6 lines
Diff to previous 1.7 (colored)
add parentheses to the output where required for disambiguation
Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 6 00:08:52 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.6: +9 -10 lines
Diff to previous 1.6 (colored)
Fix operator precedence according to Brian W. Kernighan and Lorinda L. Cherry, "Typesetting Mathematics - User's Guide (Second Edition)", August 15, 1978, paragraph 23; swarm of bugs pointed out by bentley@.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 5 15:03:20 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.5: +7 -4 lines
Diff to previous 1.5 (colored)
The EQN_LISTONE box type is pointless. Simplify by just using EQN_LIST with expectargs = 1. Noticed while investigating a bug report from bentley@. No functional change.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 12 14:13:23 2017 UTC (7 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.4: +8 -5 lines
Diff to previous 1.4 (colored)
Do not access a NULL pointer if a matrix or square root are empty. Crashes found by tb@ with afl(1).
Revision 1.4 / (download) - annotate - [select for diffs], Thu Jan 1 15:34:43 2015 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.3: +12 -9 lines
Diff to previous 1.3 (colored)
Don't dereference NULL pointers when formatting missing denominators, subscripts, superscripts, or "from" or "to" arguments. Found by jsg@ with afl.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 12 14:48:25 2014 UTC (9 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.2: +68 -19 lines
Diff to previous 1.2 (colored)
major upgrade to eqn(7) terminal output; column vectors ("piles") and matrices are not yet pretty, but everything else is now more or less readable
Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 20 16:44:44 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.1: +3 -6 lines
Diff to previous 1.1 (colored)
KNF: case (FOO): -> case FOO, remove /* LINTED */ and /* ARGSUSED */, remove trailing whitespace and blanks before tabs, improve some indenting; no functional change
Revision 1.1 / (download) - annotate - [select for diffs], Sun Sep 18 10:25:28 2011 UTC (12 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
sync to version 1.11.5: adding an implementation of the eqn(7) language by kristaps@ So far, only .EQ/.EN blocks are handled, in-line equations are not, and rendering is not yet very pretty, but the parser is fairly complete.