CVS log for mandoc/msec.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 14 01:18:26 2018 UTC (2 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5, HEAD
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (unified) to selected 1.2 (unified)

Major cleanup; may imply minor changes in edge cases of error reporting.

Finally, drop support for the run-time configurable mandocmsg()
callback.  It was over-engineered from the start, never used for
anything in a decade, and repeatedly caused maintenance headaches.

Consolidate reporting infrastructure into two files, mandoc.h and
mandoc_msg.c, mopping up the bits and pieces that were scattered
around main.c, read.c, mandoc_parse.h, libmandoc.h, the prototypes
of four parsing-related functions, and both parser structs.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 6 18:32:19 2015 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2, VERSION_1_14_1, VERSION_1_13_4, VERSION_1_13
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (unified) to selected 1.2 (unified)

modernize style: "return" is not a function

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 21 14:14:35 2014 UTC (6 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_3
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (unified) to selected 1.2 (unified)

ISO C99 explicitly forbids forward references to enum types (6.7.2.3.3.);
patch from daniel@

Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 1 08:05:52 2014 UTC (6 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_2
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (unified) to selected 1.2 (unified)

header cleanup:
* add missing forward declarations
* remove needless header inclusions
* some style unification

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 10 23:54:41 2014 UTC (6 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_12_4, VERSION_1_12
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (unified) to selected 1.2 (unified)

Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.
Include <sys/types.h> where needed, it does not belong in config.h.
Remove <stdio.h> from config.h; if it is missing somewhere, it should
be added, but i cannot find a *.c file where it is missing.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 23 11:25:26 2014 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_1
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (unified) to selected 1.2 (unified)

The files mandoc.c and mandoc.h contained both specialised low-level
functions used for multiple languages (mdoc, man, roff), for example
mandoc_escape(), mandoc_getarg(), mandoc_eos(), and generic auxiliary
functions.  Split the auxiliaries out into their own file and header.
While here, do some #include cleanup.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 2 01:37:14 2011 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_12_3, VERSION_1_12_2, VERSION_1_12_1
Changes since 1.9: +3 -4 lines
Diff to previous 1.9 (unified) to selected 1.2 (unified)

In man(7), when no explicit volume name is given, use the default
volume name for the respective manual section, just like in mdoc(7).
This gives us nicer page headers for cvs(1), lynx(1), tic(1),
mkhybrid(8), and many curses(3) manuals.

ok kristaps@

To not break compatibility, i wrote a corresponding patch for GNU troff
which Werner Lemberg accepted upstream at rev. 1.65 of:
http://cvs.savannah.gnu.org/viewvc/groff/tmac/an-old.tmac?root=groff

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 22 14:33:05 2011 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_0, VERSION_1_11_7, VERSION_1_11_6, VERSION_1_11_5, VERSION_1_11_4, VERSION_1_11_3, VERSION_1_11_2, VERSION_1_11_1
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (unified) to selected 1.2 (unified)

libmdoc.h and libman.h were including mdoc.h and man.h, respectively.
Don't have them do that (includes in header files = faugh), and have
individual files directly include these files.

Revision 1.8 / (download) - annotate - [select for diffs], Mon May 17 22:11:42 2010 UTC (10 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_9, VERSION_1_10_8, VERSION_1_10_7, VERSION_1_10_6, VERSION_1_10_5_PREPDF, VERSION_1_10_5, VERSION_1_10_4, VERSION_1_10_3, VERSION_1_10_2, VERSION_1_10_10, VERSION_1_10_1
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (unified) to selected 1.2 (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.7 / (download) - annotate - [select for diffs], Sat May 15 16:27:23 2010 UTC (10 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (unified) to selected 1.2 (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.6 / (download) - annotate - [select for diffs], Fri Jan 1 17:14:30 2010 UTC (11 years, 1 month 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, VERSION_1_9_17, VERSION_1_9_16, VERSION_1_9_15-pre2, VERSION_1_9_15
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (unified) to selected 1.2 (unified)

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

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 26 17:05:44 2009 UTC (11 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_15-pre1, VERSION_1_9_14, VERSION_1_9_13, VERSION_1_9_12
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (unified) to selected 1.2 (unified)

Added time.h to various files for FreeBSD compilation (thanks Ulrich Sporlein).

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 10 20:18:43 2009 UTC (11 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, VERSION_1_9_11, VERSION_1_9_10, VERSION_1_9_1, 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, 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.3: +2 -2 lines
Diff to previous 1.3 (unified) to selected 1.2 (unified)

Fixed license email address.

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

Using proper license template (const).

Revision 1.2 / (download) - annotate - [selected], Mon Mar 23 14:22:11 2009 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_7_5, VERSION_1_7_12, VERSION_1_7_10, OPENBSD_CHECKIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (unified)

First addition of -man macro support.
Abstraction of mdoc.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 16 22:19:19 2009 UTC (11 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_6_5, VERSION_1_6_2, VERSION_1_5_3
Diff to selected 1.2 (unified)

Fixed mdoc_phrase escape handling.
Added MDOC_IGNDELIM (Pf, soon Li, etc.).
macro_constant_delimited ignargs -> argv.c parsing.
Renamed macro functions to correspond to ontologies.
`Fo' and `St' made callable (compat documented).
strings.sh deprecated (directly using CPP).
Abstracted ASCII translation into ascii.{c,in}.
ASCII table uses a self-reordering chained hashtable.
Removed old regressions.

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