CVS log for texi2mdoc/extern.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.30 / (download) - annotate - [select for diffs], Tue Nov 13 08:45:29 2018 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Add the -d option to specify the .Dd date,
and fall back to the mtime before resorting to the current time.
Patch from Michael Forney <mforney at mforney dot org>
with minimal tweaks by me.

While here, fix the date format, "%F" is wrong for mdoc(7).
Change it to "%B %e, %Y" which isn't perfect due to the
spurious blank before single-digit day numbers, but closer.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Mar 12 10:44:34 2015 UTC (9 years ago) by kristaps
Branch: MAIN
Changes since 1.28: +19 -5 lines
Diff to previous 1.28 (colored)

Properly use natural ordering for the navigation section.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Mar 12 04:24:19 2015 UTC (9 years ago) by kristaps
Branch: MAIN
Changes since 1.27: +14 -2 lines
Diff to previous 1.27 (colored)

First, integrate the new `Xr' notation for linking to sections when
chapter mode is enabled.
Second, refine the @top/@node relationship.
Lastly, specify that we don't break apart by chapters, but directly by
nodes.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 11 12:51:41 2015 UTC (9 years ago) by kristaps
Branch: MAIN
Changes since 1.26: +22 -2 lines
Diff to previous 1.26 (colored)

Enormous patch (re-)fixing (again) the vertical space issue, which works
even better in delaying vertical space until needed.
This also adds a lot more indexing capabilities.
All indexing has an HAVE_INDEX preprocess directive, since this is not
really mdoc(7) (yet).

Revision 1.26 / (download) - annotate - [select for diffs], Thu Mar 5 08:35:35 2015 UTC (9 years ago) by kristaps
Branch: MAIN
Changes since 1.25: +4 -2 lines
Diff to previous 1.25 (colored)

Properly insert the @copying block.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 3 15:04:24 2015 UTC (9 years ago) by kristaps
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

Account for @item a=@var{foo} and similar by using a `Ns' macro to remove
spacing between the macro and prior text.  This cleans up, among others, the
GNU ld.texinfo manual.
Also add the backslash.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 2 18:12:53 2015 UTC (9 years ago) by kristaps
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Allow for @sc{} to properly uppercase as requested by Baptiste Daroussin--thanks!

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 1 16:57:39 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Minor bug-fixes: empty macros still have brackets parsed, correctly
skipping '@NEWLINE' when advancing to the end of line, adding which
nodes are in the info navigation section.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 1 13:39:51 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Allow @value in the settitle block as found in GMP.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 1 00:25:07 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.20: +12 -4 lines
Diff to previous 1.20 (colored)

Add initial (and rather crude) support to print chapter-by-chapter nodes.
This is because with most manuals, apropos(1) is useless: it will point
to somewhere in a million lines.
This allows texi2moc to break apart a manual into chapters, each of which
links to other chapters, and which (at least in theory) will allow for
easier digesting of material.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 28 13:16:44 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

When using @def style commands, indent the "explanation" block as it's
supposed to be, where subsequent @defx commands aren't indented.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 28 08:41:59 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Have @math mode properly interpret commands and match squiggly brackets.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Feb 28 00:03:20 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Prevent infinite macro expansion by incrementing a "depth" of recursive
expansion IFF we're currently in a macro expansion already, where the start
of the macro expansion begins at the macro name and NOT after the name has
been parsed.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 25 19:45:59 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.16: +16 -1 lines
Diff to previous 1.16 (colored)

Need this for musl.  From a question raised by Svyatoslav Mishyn--thanks!

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 25 14:49:14 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_0_1_2
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Have line and column number reporting not be affected by the splice.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 25 14:37:17 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.14: +24 -23 lines
Diff to previous 1.14 (colored)

Completely re-write @value and @macro handling to work exactly as Texinfo
specifies and not how I really want it to work.
In a word, macros and values are pasted into the text: they're not self-
contained bodies that can be recursively executed.

In other words,
  @macro hello{}
  @ifset foo
  @end macro
  @hello
  @end ifset
...is completely valid.

While here, stop paying attention to the manual's lies about macro newlines.
The terminal newline (i.e., before "@end macro") is part of the macro, which
is why so many macros are @r{}@c -- to swallow the newline.

This required a significant mechanical change to get the buffer pointer and
size out of all arguments, as the buffer can now be reallocated.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 24 21:06:52 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.13: +7 -1 lines
Diff to previous 1.13 (colored)

Add (and ignore) a few more macros.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 24 20:34:43 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.12: +19 -1 lines
Diff to previous 1.12 (colored)

Allow many more (all?) symbols and punctuate.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 24 20:06:32 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.11: +34 -5 lines
Diff to previous 1.11 (colored)

Add all of the accents and fix their weird parsing rules.
Add lots more symbols, while there.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 23 22:50:11 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.10: +31 -10 lines
Diff to previous 1.10 (colored)

Add reading initial file from stdin.
Ignore some more macros from in GMP.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 23 15:09:09 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_0_1_1
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

Implement macro-invocation workarounds found in real-life manuals.
Add some random macros found in real-life manuals.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 23 14:36:03 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.8: +10 -2 lines
Diff to previous 1.8 (colored)

Have @math and @verb correctly escape arguments, add @cartouche, fix
accent marks.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 23 12:39:59 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Add @verb{} support.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 23 12:28:20 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

When calling `TS', we can temporarily unset literal mode because the TS
isn't really part of the mdoc(7) document itself.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 23 11:56:39 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Save line, column, and filename references before parsing memory buffers,
or else we'll munge our position.
Also, follow the texinfo manual with its single-argument comma ignoring.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 23 11:44:30 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.4: +16 -3 lines
Diff to previous 1.4 (colored)

Macro support!  This parses the @macro blocks, maintains their arguments and
bodies, recognises invoked macros, fills in their arguments, then recursively
invokes the macro bodies.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 21 21:49:18 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.3: +8 -1 lines
Diff to previous 1.3 (colored)

Make @value{...} parse its own arguments.
So add the necessary protection against infinite recursion.
Also protect against texivspace() in tables.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 21 17:00:33 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.2: +13 -5 lines
Diff to previous 1.2 (colored)

Add user-defined code indices.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 20 12:25:25 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.1: +17 -1 lines
Diff to previous 1.1 (colored)

Move value parsing into util.c.
Add verbatim mode.
Add some more commands.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 20 09:58:50 2015 UTC (9 years, 1 month ago) by kristaps
Branch: MAIN

Split utility functions out of main.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