CVS log for mandoc/Attic/mdoc_strings.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.29, Thu Mar 17 09:25:54 2011 UTC (13 years ago) by kristaps
Branch: MAIN
CVS Tags: HEAD
Changes since 1.28: +1 -1 lines
FILE REMOVED

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

Revision 1.28 / (download) - annotate - [select for diffs], Thu Mar 17 09:24:51 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.27: +1 -93 lines
Diff to previous 1.27 (colored) to selected 1.21 (colored)

Move mdoc_macro2len() into mdoc_validate.c as macro2len(), as that's the
only place that it's being used.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Mar 17 09:22:39 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.26: +1 -39 lines
Diff to previous 1.26 (colored) to selected 1.21 (colored)

Move mdoc_str2sec() into mdoc_validate.c as a2sec(), as that's the only
place that it's being used.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Mar 17 09:16:38 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.25: +1 -45 lines
Diff to previous 1.25 (colored) to selected 1.21 (colored)

Move mdoc_isdelim() into mandoc.h as mandoc_isdelim().  This allows the
removal of manual delimiter checks in html.c and term.c.  Finally, add
the escaped period as a closing delimiter, removing a TODO to this
effect.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Mar 17 01:23:29 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.24: +28 -41 lines
Diff to previous 1.24 (colored) to selected 1.21 (colored)

Make args_checkpunct() use mdoc_isdelim() instead of mdoc_iscdelim(),
which is wrong.  Then remove mdoc_iscdelim() alltogether.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jul 31 23:52:58 2010 UTC (13 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_10_9, VERSION_1_10_8, VERSION_1_10_7, VERSION_1_10_6
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.21 (colored)

Sync to OpenBSD: add missing Copyright years.
I checked that substantial changes were committed
to these files during these years.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jun 19 20:46:28 2010 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_5_PREPDF, VERSION_1_10_5, VERSION_1_10_4, VERSION_1_10_3, VERSION_1_10_2
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.21 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Mon May 17 22:11:42 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_1
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [selected], Sat May 15 17:26:34 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Lint-fix for enum return (ok schwarze@).

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 15 08:54:04 2010 UTC (13 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.19: +9 -9 lines
Diff to previous 1.19 (colored) to selected 1.21 (colored)

Distinguish OPEN, MIDDLE and CLOSE delimiters (using an enum).
Only OPEN are drawn before the beginning of a macro;
this is new, before this, MIDDLE ('|') were drawn in front, too.
Only CLOSE are pushed after the end of a macro (as before).
ok kristaps@

Revision 1.19 / (download) - annotate - [select for diffs], Wed May 12 08:41:17 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_25
Changes since 1.18: +28 -36 lines
Diff to previous 1.18 (colored) to selected 1.21 (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.18 / (download) - annotate - [select for diffs], Sun May 9 21:06:50 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.17: +12 -6 lines
Diff to previous 1.17 (colored) to selected 1.21 (colored)

Explicitly account for \*(Ba when checking for delims.  Noted by Jason McIntyre via Ingo Schwarze.

Revision 1.17 / (download) - annotate - [select for diffs], Sat May 8 07:30:19 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_24
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.21 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 3 12:46:35 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_23
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored) to selected 1.21 (colored)

Removed erroneous `{' and `}' as punctuation (see mdoc.samples "General Syntax" for why this mistake was made).  Noted by Ingo Schwarze.
Lines of text now break at a hyphen, unless the hyphen is the first or second subsequent in a word.  Inspired by a Ingo Schwarze's patch.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 29 19:28:04 2010 UTC (14 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_22, VERSION_1_9_21, VERSION_1_9_20
Changes since 1.14: +8 -8 lines
Diff to previous 1.14 (colored) to selected 1.21 (colored)

Integrate Ingo Schwarze's patch for mdoc_iscdelim() (tri-state for opening and closing macro punctuation).
Modify blk_part_exp() to correctly handle leading punctuation before HEAD.
Significantly clean up and document blk_part_exp().
Modify blk_part_imp() for to correctly handle leading punctuation before HEAD.
Significantly clean up and document blk_part_imp().
Integrate Ingo Schwarze's patch for args() (using new mdoc_iscdelim() format).
Documented bad `Ec' handling for later work in mdoc_term.c/mdoc_html.c.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 1 17:14:30 2010 UTC (14 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: 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.13: +5 -1 lines
Diff to previous 1.13 (colored) to selected 1.21 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 2 06:22:46 2009 UTC (14 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_15-pre1, VERSION_1_9_14, VERSION_1_9_13
Changes since 1.12: +1 -27 lines
Diff to previous 1.12 (colored) to selected 1.21 (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.12 / (download) - annotate - [select for diffs], Tue Oct 27 08:26:12 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_12
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.21 (colored)

bzero() -> memset() (noted by Joerg Sonnenberger).

Revision 1.11 / (download) - annotate - [select for diffs], Mon Oct 26 04:09:46 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_11, VERSION_1_9_10
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) to selected 1.21 (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.10 / (download) - annotate - [select for diffs], Thu Aug 20 13:32:09 2009 UTC (14 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, VERSION_1_9_5, VERSION_1_9_2, VERSION_1_9_1
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (colored) to selected 1.21 (colored)

Synchronised man.7, mdoc.7, mdoc.template manual structure.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 4 09:01:55 2009 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_0, VERSION_1_8_5, VERSION_1_8_4, VERSION_1_8_3, VERSION_1_8_2, VERSION_1_8_1, VERSION_1_8_0, VERSION_1_7_24, VERSION_1_7_23, VERSION_1_7_22, VERSION_1_7_21
Changes since 1.8: +1 -78 lines
Diff to previous 1.8 (colored) to selected 1.21 (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.8 / (download) - annotate - [select for diffs], Mon Jun 22 12:22:35 2009 UTC (14 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_20
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored) to selected 1.21 (colored)

Added -split and -nosplit "I-Don't-Like" note to mdoc.7 (there really must be another way to do this).
Fixed .Er -width conversion.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 17 10:53:32 2009 UTC (14 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_19
Changes since 1.6: +29 -33 lines
Diff to previous 1.6 (colored) to selected 1.21 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 17 09:41:00 2009 UTC (14 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.5: +3 -8 lines
Diff to previous 1.5 (colored) to selected 1.21 (colored)

Noted deprecation of \*( and \* special-character escapes.
Minor clean-ups.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 15 09:38:37 2009 UTC (14 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_17
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.21 (colored)

Mdocdate fix (literals being replaced) ({cnst,schwarze}@openbsd.org).

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 12 12:40:44 2009 UTC (14 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_16, VERSION_1_7_15
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored) to selected 1.21 (colored)

Made per-macro "now callable" COMPATIBILITY claims into a single "most macros callable".
Added COMPATIBILITY note on escaped special-character sequences.
Vertical bar now correctly delimits (like in new groff).

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

Using proper license template (const).

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 12 19:24:10 2009 UTC (14 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored) to selected 1.21 (colored)

Added \^ and \~ escapes (Joerg).

Revision 1.1 / (download) - annotate - [select for diffs], Tue Mar 31 13:50:19 2009 UTC (15 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_12, VERSION_1_7_10, OPENBSD_CHECKIN
Diff to selected 1.21 (colored)

General clean-ups.

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