CVS log for docbook2mdoc/Attic/extern.h

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.34, Tue Mar 26 18:32:07 2019 UTC (5 years ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.33: +1 -1 lines
FILE REMOVED

The program docbook2mdoc(1) has become large enough that splitting
it into a number of logical components makes sense: node tree,
parser, formatter, each with interface and implementation, and the
main program.  That way, it becomes easier to see what interacts
with what, and what is independent of what.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Mar 25 23:14:44 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (unified)

Various parser simplifications and improvements.

Delete the redundant member "node" of struct parse.
The same is already available from cur->node.

No need to check in xml_char() whether an element is open.
Text outside the document element results in expat errors "not
well-formed (invalid token)" or "junk after document element"
and the function xml_char() is not called.

No need to check in xml_elem_end() whether an element is open.
Bogus closing tags result in expat errors "not well-formed (invalid
token)" or "mismatched tag" and the function xml_elem_end() is not
called.

In xml_elem_start(): no point in skipping the element name check
for the document element; and the error error "multiple refentries"
can no longer happen due to earlier cleanups.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Mar 22 19:44:29 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (unified)

support <personname> and <email>;
based on a patch from Stephen Gregoratto <dev at sgregoratto dot me>

Revision 1.31 / (download) - annotate - [select for diffs], Fri Mar 22 17:01:10 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (unified)

handle class="monospaced" in NODE_LITERALLAYOUT

Revision 1.30 / (download) - annotate - [select for diffs], Fri Mar 22 16:50:54 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (unified)

translate NODE_LINK to .Sx

Revision 1.29 / (download) - annotate - [select for diffs], Fri Mar 22 16:42:49 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.28: +1 -9 lines
Diff to previous 1.28 (unified)

Work towards reducing the number of node IDs.

Allow mapping several node names to the same node ID
and use that for chapter, part, refsect*, sect* -> NODE_SECTION.
Do not require the root to be of a specific type.
Delete the useless NODE_IGNTEXT.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Mar 22 16:10:09 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.27: +52 -0 lines
Diff to previous 1.27 (unified)

many new nodes found below /usr/xenocara/proto/xorgproto/specs/

Revision 1.27 / (download) - annotate - [select for diffs], Fri Mar 22 15:54:43 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.26: +0 -12 lines
Diff to previous 1.26 (unified)

Delete the rest of rules.c.

Just like validation of element nesting is pointless,
validating attributes makes no sense either.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 22 15:38:09 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.25: +0 -1 lines
Diff to previous 1.25 (unified)

Delete the isparent() validation function.

The DocBook language is totally ill-designed, a gigantic accretion
of arbitrary elements without any kind of discernible design or
cohesion, with an absurdly large number of arbitrary and pointless
rules of what is allowed to nest inside which other elements.
So attempting to validate DocBook input against the totally crazy
specification makes no sense whatsoever, and even less so because
we are certainly not encouraging anybody to write new or maintain
existing DocBook documents.  The whole point of having a DocBook
parser is to be able to parse legacy documents and convert them to
a sane language, so it is utterly irrelevant whether the input is
considered valid or invalid by some idiotic standard.

This deletion allows substantial simplification of the code
and will massively speed up development in the future.

Kristaps@ says that i can move forward with development without
asking for individual OKs.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Mar 19 10:04:32 2015 UTC (9 years ago) by schwarze
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (unified)

zap trailing whitespace; verified with diff -b;
patch from Svyatoslav Mishyn <juef at openmailbox dot org>

Revision 1.24 / (download) - annotate - [select for diffs], Sun Oct 12 15:34:44 2014 UTC (9 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.23: +2 -0 lines
Diff to previous 1.23 (unified)

Make <mml:mfenced> work properly.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 12 15:08:45 2014 UTC (9 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.22: +11 -0 lines
Diff to previous 1.22 (unified)

Add initial support for mml:* -> eqn(7).

Revision 1.22 / (download) - annotate - [select for diffs], Wed Apr 30 13:18:38 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_0_0_9
Changes since 1.21: +4 -0 lines
Diff to previous 1.21 (unified)

Add type, modifier, and fieldsynopsis.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 30 12:54:26 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.20: +1 -0 lines
Diff to previous 1.20 (unified)

Add refmetainfo, which seems to be a holdover from early DocBook days.
Also add the -W flag to differentiate failure and warning in scanning output.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 30 09:43:55 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_0_0_8
Changes since 1.19: +1 -0 lines
Diff to previous 1.19 (unified)

For free, we get informaltable.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Apr 30 09:26:10 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.18: +1 -0 lines
Diff to previous 1.18 (unified)

Add trademark, format constant.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 30 09:04:40 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.17: +6 -1 lines
Diff to previous 1.17 (unified)

Add holder, copyright, and year elements.
Fix parameter to suppress trailing newline (puts -> fputs).

Revision 1.17 / (download) - annotate - [select for diffs], Wed Apr 2 12:12:41 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_0_0_7
Changes since 1.16: +3 -0 lines
Diff to previous 1.16 (unified)

Add <sgmltag> and (ignore) <anchor>.
Also give more error-reporting for internal XML errors.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 2 10:59:07 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.15: +6 -0 lines
Diff to previous 1.15 (unified)

Add caution, note, tip, refsect3, refsection, warning.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 2 10:27:29 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.14: +1 -0 lines
Diff to previous 1.14 (unified)

Add <quote>.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 2 10:06:14 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.13: +1 -0 lines
Diff to previous 1.13 (unified)

Add <application> and a README for adding new nodes.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 2 07:52:14 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_0_0_6
Changes since 1.12: +1 -0 lines
Diff to previous 1.12 (unified)

Add <varname>.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 2 07:48:34 2014 UTC (9 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.11: +7 -0 lines
Diff to previous 1.11 (unified)

Initial support for tables.
Because docbook table entries are blocks (not columns), write them out as
lists (rows) of lists (elements).

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 30 18:15:55 2014 UTC (10 years ago) by kristaps
Branch: MAIN
Changes since 1.10: +1 -0 lines
Diff to previous 1.10 (unified)

Get a biggie: <group>.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 30 17:46:17 2014 UTC (10 years ago) by kristaps
Branch: MAIN
Changes since 1.9: +1 -0 lines
Diff to previous 1.9 (unified)

Add more tags.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 30 17:22:01 2014 UTC (10 years ago) by kristaps
Branch: MAIN
Changes since 1.8: +2 -0 lines
Diff to previous 1.8 (unified)

Even more tags.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 30 17:10:50 2014 UTC (10 years ago) by kristaps
Branch: MAIN
Changes since 1.7: +3 -0 lines
Diff to previous 1.7 (unified)

Add <orderedlist>, <acronym>, <envar>.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 30 16:57:06 2014 UTC (10 years ago) by kristaps
Branch: MAIN
Changes since 1.6: +1 -0 lines
Diff to previous 1.6 (unified)

Add <refsect2>.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 30 16:44:13 2014 UTC (10 years ago) by kristaps
Branch: MAIN
Changes since 1.5: +2 -0 lines
Diff to previous 1.5 (unified)

Add <sbr>, <literal>.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 30 16:32:03 2014 UTC (10 years ago) by kristaps
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (unified)

Add <filename>.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 30 16:25:26 2014 UTC (10 years ago) by kristaps
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (unified)

<itemizedlist> support.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 30 15:08:03 2014 UTC (10 years ago) by kristaps
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (unified)

Add <refentryinfo> and <date> for more doclifter processing.
Note that <ulink> is from the original DocBook.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 30 13:18:49 2014 UTC (10 years ago) by kristaps
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (unified)

Initial ulink (is this just a DocBook extension?) and link working.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 30 11:48:10 2014 UTC (10 years ago) by kristaps
Branch: MAIN

Split out rules and enums (extern.h, rules.c).
Add initial variable list support.
Clarify role of who prints space/control character.

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