CVS log for mandoc/Attic/man_action.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.44, Tue Nov 30 15:36:28 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: HEAD
Changes since 1.43: +1 -1 lines
FILE REMOVED

Kill man_action.c.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Nov 30 15:24:27 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.42: +8 -191 lines
Diff to previous 1.42 (unified)

Move all man_action.c routines into man_validate.c

Revision 1.42 / (download) - annotate - [select for diffs], Mon Oct 11 15:45:36 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (unified)

Quiesce Linux header-inclusion warnings.

Revision 1.41 / (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_6
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (unified)

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

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jul 22 23:03:15 2010 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_5_PREPDF, VERSION_1_10_5
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (unified)

Added `in' macro support for -man -Tascii.  This is not yet supported in
-Thtml (I'm surprised to note that neither is LITERAL mode).

Revision 1.39 / (download) - annotate - [select for diffs], Wed May 26 14:03:54 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_4, VERSION_1_10_3, VERSION_1_10_2, VERSION_1_10_1
Changes since 1.38: +13 -4 lines
Diff to previous 1.38 (unified)

Allow bad -man dates to flow verbatim into the front-ends.  Noted by
Ulrich Spoerlein.

Revision 1.38 / (download) - annotate - [select for diffs], Mon May 24 13:36:53 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.37: +4 -1 lines
Diff to previous 1.37 (unified)

Plug second meta.source leak in `UT' handling.

Revision 1.37 / (download) - annotate - [select for diffs], Mon May 24 12:22:43 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.36: +4 -1 lines
Diff to previous 1.36 (unified)

Fixed memory leak for `AT' (-man input).

Revision 1.36 / (download) - annotate - [select for diffs], Mon May 17 22:11:42 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.35: +5 -4 lines
Diff to previous 1.35 (unified)

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.35 / (download) - annotate - [select for diffs], Mon May 17 10:50:32 2010 UTC (13 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.34: +84 -2 lines
Diff to previous 1.34 (unified)

Add support for .AT. Properly implement .UC. Add regress tests.

Revision 1.34 / (download) - annotate - [select for diffs], Sat May 15 22:44:04 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.33: +1 -21 lines
Diff to previous 1.33 (unified)

Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the roff preprocessor.

Revision 1.33 / (download) - annotate - [select for diffs], Sat May 15 20:51:40 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.32: +1 -2 lines
Diff to previous 1.32 (unified)

Pull `ig' out of -man and leave it the roff preparser.

Revision 1.32 / (download) - annotate - [select for diffs], Sat May 15 16:27:23 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.31: +4 -2 lines
Diff to previous 1.31 (unified)

Fixed memory leak introduced in last checkin of man_action TH parsing (only if TH is called again, which never happens anyway).
Fixed my email address in man_action.c and msec.c.
Removed superfluous <time.h> inclusion in msec.c.

Revision 1.31 / (download) - annotate - [select for diffs], Sat May 15 15:54:39 2010 UTC (13 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.30: +4 -12 lines
Diff to previous 1.30 (unified)

Removed restriction on integer manual sections in -man.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Mar 27 10:04:56 2010 UTC (14 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_25, VERSION_1_9_24, VERSION_1_9_23, VERSION_1_9_22, VERSION_1_9_21, VERSION_1_9_20, VERSION_1_9_19, VERSION_1_9_18
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (unified)

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.29 / (download) - annotate - [select for diffs], Wed Mar 24 20:10:53 2010 UTC (14 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_17
Changes since 1.28: +28 -4 lines
Diff to previous 1.28 (unified)

Using man_node_delete() instead of man_node_free()/man_node_freelist() and friends (much simpler).
Split blk_imp() into blk_exp() (explicit macros), blk_dotted() (roff macros), and the original.
Added de, dei, am, ami, and ig roff macros (for now, these are discarded within the parse).

Revision 1.28 / (download) - annotate - [select for diffs], Wed Mar 24 03:46:02 2010 UTC (14 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.27: +1 -3 lines
Diff to previous 1.27 (unified)

enum-ised rew_* return values (type-safety).
Removed ignoring of MAN_Vb argument (symmetry).
Removed superfluous utsname inclusion.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 23 11:30:48 2010 UTC (14 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.26: +4 -1 lines
Diff to previous 1.26 (unified)

Support for pod2man standard header macros (Vb, Ve, Sp).  Based largely on a set of patches by Ingo Schwarze.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 22 14:03:03 2010 UTC (14 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_16
Changes since 1.25: +3 -19 lines
Diff to previous 1.25 (unified)

Clarify -man -T[x]html handling of `br' within `B'.
Consolidated node unlinking in -man.
Conclude nested next-line scope issues noted by Ingo Schwarze.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 1 17:14:27 2010 UTC (14 years, 3 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_15-pre2, VERSION_1_9_15
Changes since 1.24: +5 -1 lines
Diff to previous 1.24 (unified)

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

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

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.23 / (download) - annotate - [select for diffs], Sat Oct 31 06:10:58 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_12
Changes since 1.22: +1 -3 lines
Diff to previous 1.22 (unified)

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

Revision 1.22 / (download) - annotate - [select for diffs], Fri Oct 30 05:58:37 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.21: +5 -8 lines
Diff to previous 1.21 (unified)

libmdoc and libman now using non-recoverable allocations (simpler code).

Revision 1.21 / (download) - annotate - [select for diffs], Tue Oct 27 08:26:12 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (unified)

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

Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 24 05:45:04 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_11, VERSION_1_9_10
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (unified)

Added `PD' to -man (doesn't do anything, yet).

Revision 1.19 / (download) - annotate - [select for diffs], Sat Aug 22 09:10:38 2009 UTC (14 years, 8 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
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (unified)

Added `UC' libman macro (has no effect).
Corrected `UC' and `DT' not to print their arguments.
Noted that `UC' and `DT' shouldn't be used.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Aug 21 12:32:38 2009 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_1
Changes since 1.17: +40 -14 lines
Diff to previous 1.17 (unified)

Fixed `nf' behaviour (had broken with de-chunking).
Added warnings if literal context already open/closed.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Aug 20 11:51:07 2009 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (unified)

Added `DT' macro (pointed out by joerg@netbsd.org).

Revision 1.16 / (download) - annotate - [select for diffs], Wed Aug 19 09:14:50 2009 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (unified)

Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).

Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 13 11:45:29 2009 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_0
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (unified)

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.14 / (download) - annotate - [select for diffs], Fri Jul 24 20:22:24 2009 UTC (14 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_8_5, VERSION_1_8_4
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (unified)

Added `sp' support to libman.
Added `\c' to known escapes (only used in man, but still).

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 18 10:53:58 2009 UTC (14 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: 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, VERSION_1_7_20
Changes since 1.12: +7 -10 lines
Diff to previous 1.12 (unified)

Moved all formatted libman warn/error into man.c/libman.h.
Converted all formatted warn/errors into regular syntax.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 16 19:55:28 2009 UTC (14 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_19
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (unified)

Removed MAN___: moved MAN_br to its index (comments not passed into parser).
Fix: hashtable not fully formed after removal of MDOC___.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 10 20:18:43 2009 UTC (14 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_17, VERSION_1_7_16, VERSION_1_7_15, VERSION_1_7_14
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (unified)

Fixed license email address.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 12 19:45:26 2009 UTC (15 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_13
Changes since 1.9: +10 -12 lines
Diff to previous 1.9 (unified)

Using proper license template (const).

Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 5 16:34:22 2009 UTC (15 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_12, VERSION_1_7_10, OPENBSD_CHECKIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (unified)

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.8 / (download) - annotate - [select for diffs], Thu Apr 2 06:51:44 2009 UTC (15 years ago) by kristaps
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (unified)

mdoc_tokhash -> hash
Initial man hashtab (BROKEN).

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 31 13:50:19 2009 UTC (15 years ago) by kristaps
Branch: MAIN
Changes since 1.6: +7 -6 lines
Diff to previous 1.6 (unified)

General clean-ups.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 27 14:56:15 2009 UTC (15 years ago) by kristaps
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (unified)

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

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 26 14:38:11 2009 UTC (15 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_5
Changes since 1.4: +7 -9 lines
Diff to previous 1.4 (unified)

Initial front-end formatting for -man pages.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 26 09:55:39 2009 UTC (15 years ago) by kristaps
Branch: MAIN
Changes since 1.3: +15 -7 lines
Diff to previous 1.3 (unified)

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

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 25 16:08:30 2009 UTC (15 years ago) by kristaps
Branch: MAIN
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (unified)

Linux fix (prototype).

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 25 16:07:36 2009 UTC (15 years ago) by kristaps
Branch: MAIN
Changes since 1.1: +74 -87 lines
Diff to previous 1.1 (unified)

Actions in place for prologue parsing.

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

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