CVS log for mandoc/Makefile.depend

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.52 / (download) - annotate - [select for diffs], Thu Apr 14 16:43:43 2022 UTC (23 months, 2 weeks ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.51: +45 -44 lines
Diff to previous 1.51 (unified) to selected 1.40 (unified)

support for hunting memory leaks;
designed and written last autumn, polished today

Revision 1.51 / (download) - annotate - [select for diffs], Sun Sep 19 15:05:39 2021 UTC (2 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6
Changes since 1.50: +1 -0 lines
Diff to previous 1.50 (unified) to selected 1.40 (unified)

Test availability of mkstemps(3) and provide a fallback implementation
in case it is missing; needed for SUN Solaris 10.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Sep 18 15:38:43 2021 UTC (2 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49 (unified) to selected 1.40 (unified)

update Makefile.depend

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jun 22 19:20:40 2020 UTC (3 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.48: +10 -10 lines
Diff to previous 1.48 (unified) to selected 1.40 (unified)

Because mandoc_aux.h and mandoc.h use __attribute__, all files that
include mandoc_aux.h or mandoc.h need to include config.h, too.
It is suspected that for example IRIX needs this, or it is likely
to throw errors in these files because the system compiler doesn't
understand __attribute__.
Issue reported by Kazuo Kuroi <kazuo at irixnet dot org>.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Apr 18 20:40:10 2020 UTC (3 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.47: +5 -5 lines
Diff to previous 1.47 (unified) to selected 1.40 (unified)

When a .Tg is attached to a paragraph, attach the permalink
to the first word, or the first few words if they are short.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Apr 7 22:56:02 2020 UTC (3 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (unified) to selected 1.40 (unified)

Separate the place to put the <a href> permalink (now marked
with NODE_HREF) from the target element of the link (still marked
with NODE_ID).  In many cases, use this to move the target to the
beginning of the paragraph, such that readers don't get dropped
into the middle of a sentence.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Mar 13 15:32:28 2020 UTC (4 years ago) by schwarze
Branch: MAIN
Changes since 1.45: +8 -7 lines
Diff to previous 1.45 (unified) to selected 1.40 (unified)

Split tagging into a validation part including prioritization
in tag.{h,c} and {mdoc,man}_validate.c
and into a formatting part including command line argument checking
in term_tag.{h,c}, html.c, and {mdoc|man}_{term|html}.c.

Immediate functional benefits include:
* Improved prioritization of automatic tags for .Em and .Sy.
* Avoiding bogus automatic tags when .Em, .Fn, or .Sy are explicitly tagged.
* Explicit tagging of .Er and .Fl now works in HTML output.
* Automatic tagging of .IP and .TP now works in HTML output.
But mainly, this patch provides clean earth to build further improvements on.

Technical changes:
* Main program: Write a tag file for ASCII and UTF-8 output only.
* All formatters: There is no more need to delay writing the tags.
* mdoc(7)+man(7) formatters: No more need for elaborate syntax tree inspection.
* HTML formatter: If available, use the "string" attribute as the tag.
* HTML formatter: New function to write permalinks, to reduce code duplication.

Style cleanup in the vicinity while here:
* mdoc(7) terminal formatter: To set up bold font for children,
defer to termp_bold_pre() rather than calling term_fontpush() manually.
* mdoc(7) terminal formatter: Garbage collect some duplicate functions.
* mdoc(7) HTML formatter: Unify <code> handling, delete redundant functions.
* Where possible, use switch statements rather than if cascades.
* Get rid of some more Yoda notation.

The necessity for such changes was first discussed with kn@, but i didn't
bother him with a request to review the resulting -673/+782 line patch.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jul 22 03:21:49 2019 UTC (4 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44 (unified) to selected 1.40 (unified)

Slowly start implementing tagging support for man(7) pages, even
though it is obvious that this can never become as good as for
mdoc(7) pages.  As a first step, tag alphabetic arguments of .IP
macros, which are often used for lists of options and keywords.

Try "man -O tag=g as" to get the point.

Thanks to Leah Neukirchen for recently reminding me that exploring
how much can be done in this respect may be worthwhile: it is likely
to slightly improve usability while adding only small amounts of
relatively straightforward code.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jul 10 19:39:01 2019 UTC (4 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (unified) to selected 1.40 (unified)

Some time ago, i simplified mandoc_msg() such that it can be used
everywhere and not only in the parsers.
For more uniform messages, use it at more places instead of err(3),
in particular in the main program.
While here, integrate a few trivial functions called at exactly one
place into the main option parser, and let a few more functions use
the normal convention of returning 0 for success and -1 for error.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Mar 17 18:21:45 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (unified) to selected 1.40 (unified)

The header file "html.h" uses enum roff_tok,
so "roff.h" must be included before it.
Diff from bcallah@ tweaked by me;
he found the bug by compiling with pcc.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Mar 6 11:11:01 2019 UTC (5 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.41: +1 -0 lines
Diff to previous 1.41 (unified) to selected 1.40 (unified)

add arch.o

Revision 1.41 / (download) - annotate - [select for diffs], Sun Dec 30 00:49:54 2018 UTC (5 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (unified)

Cleanup, no functional change:

The struct roff_man used to be a bad mixture of internal parser
state and public parsing results.  Move the public results to the
parsing result struct roff_meta, which is already public.  Move the
rest of struct roff_man to the parser-internal header roff_int.h.

Since the validators need access to the parser state, call them
from the top level parser during mparse_result() rather than from
the main programs, also reducing code duplication.

This keeps parser internal state out of thee main programs (five
in mandoc portable) and out of eight formatters.

Revision 1.40 / (download) - annotate - [selected], Sun Dec 16 00:17:02 2018 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (unified)

Yet another round of improvements to manual font selection.

Unify handling of \f and .ft.
Support \f4 (bold+italic).
Support ".ft BI" and ".ft CW" for terminal output.
Support the .ft request in HTML output.
Reject the bogus fonts \f(C1, \f(C2, \f(C3, and \f(CP.
In regress.pl, only strip leading whitespace in math mode.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Dec 14 01:18:25 2018 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.38: +1 -0 lines
Diff to previous 1.38 (unified) to selected 1.40 (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.38 / (download) - annotate - [select for diffs], Thu Dec 13 11:55:46 2018 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.37: +17 -17 lines
Diff to previous 1.37 (unified) to selected 1.40 (unified)

Cleanup, no functional change:
Split the top level parser interface out of the utility header
mandoc.h, into a new header mandoc_parse.h, for use in the main
program and in the main parser only.
Move enum mandoc_os into roff.h because struct roff_man is the
place where it is stored.
This allows removal of mandoc.h from seven files in low-level
parsers and in formatters.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Dec 13 07:28:27 2018 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (unified) to selected 1.40 (unified)

Cleanup, no functional change:
Finally merge the pointless file st.in into st.c.
Nobody should do operating systems dependent changes to standards:
By definition, standards are the same for every operating system.
While here, libmdoc.h no longer requires mdoc.h.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Dec 13 05:23:37 2018 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (unified) to selected 1.40 (unified)

Cleanup, no functional change:
No need to expose the eqn(7) syntax tree data structures everywhere.
Move them to their own include file, "eqn.h".
While here, delete the unused enum eqn_pilet.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Dec 13 03:40:13 2018 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.34: +10 -10 lines
Diff to previous 1.34 (unified) to selected 1.40 (unified)

Cleanup, no functional change:
In libroff.h, nothing was left except the eqn(7) parser interface, which
isn't really part of the roff(7) parser, so rename it to eqn_parse.h.

While here, move struct eqn_def to eqn.c because that's the only
file using it, and let eqn_box_free() and eqn_free() handle NULL.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 31 10:25:33 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (unified) to selected 1.40 (unified)

html.c now uses ohash, and new file compat_strndup.c

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jul 20 11:24:19 2017 UTC (6 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_3, VERSION_1_14_2
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (unified) to selected 1.40 (unified)

sync

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jul 1 09:47:30 2017 UTC (6 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.31: +13 -11 lines
Diff to previous 1.31 (unified) to selected 1.40 (unified)

Basic reporting of .Xrs to manual pages that don't exist
in the base system, inspired by mdoclint(1).

We are able to do this because (1) the -mdoc parser, the -Tlint validator,
and the man(1) manual page lookup code are all in the same program
and (2) the mandoc.db(5) database format allows fast lookup.

Feedback from, previous versions tested by, and OK jmc@.

A few features will be added to this in the tree, step by step.

Revision 1.31 / (download) - annotate - [select for diffs], Sun May 7 17:31:45 2017 UTC (6 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.30: +1 -0 lines
Diff to previous 1.30 (unified) to selected 1.40 (unified)

Basic implementation of the roff(7) .ta (define tab stops) request.
This is the first feature made possible by the parser reorganization.
Improves the formatting of the SYNOPSIS in many Xenocara GL manuals.
Also important for ports, as reported by many, including naddy@.

Revision 1.30 / (download) - annotate - [select for diffs], Fri May 5 02:06:19 2017 UTC (6 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.29: +3 -0 lines
Diff to previous 1.29 (unified) to selected 1.40 (unified)

Move handling of the roff(7) .ft request from the man(7)
modules to the new roff(7) modules.  As a side effect,
mdoc(7) now handles .ft, too.  Of course, do not use that.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Apr 29 12:45:41 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.28: +3 -4 lines
Diff to previous 1.28 (unified) to selected 1.40 (unified)

Parser unification: use nice ohashes for all three request and macro tables;
no functional change, minus two source files, minus 200 lines of code.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 24 23:32:00 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.27: +0 -1 lines
Diff to previous 1.27 (unified) to selected 1.40 (unified)

Delete the manpage(1) utility.
It was never enabled in any release, nor was a manual ever written.

In general, we want to simplify the user interface rather than
succumb to featurism.  Consequently, integrating manpage(1)
into the main binary would seem like a dubious direction.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 8 12:24:10 2017 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_1
Changes since 1.26: +2 -0 lines
Diff to previous 1.26 (unified) to selected 1.40 (unified)

more 1.14.1 release preparations

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 15 15:28:55 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (unified) to selected 1.40 (unified)

When looking up macro values while the macro tables are being built
in makewhatis(8), use ohash rather than linear searches.

This was identified as the main makewhatis(8) performance bottleneck
by Baptiste Daroussin <bapt at FreeBSD>, who also suggested part
of the improved algorithm.

This reduces the run time of "makewhatis /usr/share/man" from eleven
to five seconds on my notebook.  Note that the changed code is not
used in apropos(1), so don't expect speedups there.

While here, sort macro values asciibetically, to improve reproducibility -
which still isn't perfect, but getting better.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 18 16:01:40 2016 UTC (7 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24 (unified) to selected 1.40 (unified)

update after rev. 1.5 of dba.c

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 20 00:23:14 2016 UTC (7 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.23: +9 -9 lines
Diff to previous 1.23 (unified) to selected 1.40 (unified)

Linux compatibility: Work around the lack of EFTYPE and protect <err.h>.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jul 19 21:31:55 2016 UTC (7 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.22: +12 -8 lines
Diff to previous 1.22 (unified) to selected 1.40 (unified)

Remove the dependency on SQLite without loss of functionality.
Stop supporting systems that don't have mmap(3).
Drop the obsolete names_check() now that we deleted MLINKS.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jul 15 18:03:45 2016 UTC (7 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (unified) to selected 1.40 (unified)

add missing prototypes, no code change;
noticed by Christos Zoulas with -Wmissing-prototypes

Revision 1.21 / (download) - annotate - [select for diffs], Sat Nov 7 20:52:52 2015 UTC (8 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_4
Changes since 1.20: +1 -0 lines
Diff to previous 1.20 (unified) to selected 1.40 (unified)

provide a simple stand-alone implementation of getline(3)
for systems lacking it

Revision 1.20 / (download) - annotate - [select for diffs], Sat Nov 7 17:58:55 2015 UTC (8 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 (unified) to selected 1.40 (unified)

Modernization, no functional change intended:
Use the POSIX function getline(3) rather than the slightly
dangerous BSD function fgetln(3).
Remove the related compatibility code.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 22 22:06:43 2015 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 (unified) to selected 1.40 (unified)

use the new function man_validate() here, too

Revision 1.18 / (download) - annotate - [select for diffs], Tue Oct 20 02:01:31 2015 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (unified) to selected 1.40 (unified)

In order to become able to generate syntax tree nodes on the roff(7)
level, validation must be separated from parsing and rewinding.
This first big step moves calling of the mdoc(7) post_*() functions
out of the parser loop into their own mdoc_validate() pass, while
using a new mdoc_state() module to make syntax tree state handling
available to both the parser loop and the validation pass.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 13 22:59:54 2015 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (unified) to selected 1.40 (unified)

Major character table cleanup:
* Use ohash(3) rather than a hand-rolled hash table.
* Make the character table static in the chars.c module:
There is no need to pass a pointer around, we most certainly
never want to use two different character tables concurrently.
* No need to keep the characters in a separate file chars.in;
that merely encourages downstream porters to mess with them.
* Sort the characters to agree with the mandoc_chars(7) manual page.
* Specify Unicode codepoints in hex, not decimal (that's the detail
that originally triggered this patch).
No functional change, minus 100 LOC, and i don't see a performance change.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Oct 13 15:53:05 2015 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (unified) to selected 1.40 (unified)

Reduce the amount of code by moving the three copies of the ohash
callback functions into one common place, preparing for the use of
ohash for some additional purposes.  No functional change.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Oct 11 21:12:54 2015 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (unified) to selected 1.40 (unified)

Finally use __progname, err(3) and warn(3).
That's more readable and less error-prone than fumbling around
with argv[0], fprintf(3), strerror(3), perror(3), and exit(3).

It's a bad idea to boycott good interfaces merely because standards
committees ignore them.  Instead, let's provide compatibility modules
for archaic systems (like commercial Solaris) that still don't have
them.  The compat module has an UCB Copyright (c) 1993...

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 17 22:38:29 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (unified) to selected 1.40 (unified)

Initial, still somewhat experimental implementation to leverage
less(1) -T and :t ctags(1)-like functionality to jump to the
definitions of various terms inside manual pages.
To be polished in the tree, so bear with me and report issues.

Technically, if less(1) is used as a pager, information is collected
by the mdoc(7) terminal formatter, first stored using the ohash
library, then ultimately written to a temporary file which is passed
to less via -T.  No change intended for other output formatters or
when running without a pager.

Based on an idea from Kristaps using feedback from many, in particular
phessler@ nicm@ millert@ halex@ doug@ kspillner@ deraadt@.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jul 14 23:16:29 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.12: +4 -21 lines
Diff to previous 1.12 (unified) to selected 1.40 (unified)

Fix the "depend" target and regenerate Makefile.depend:
* do not process the test-*.c files, they are not built via make
* add the missing compat_stringlist.c and soelim.c
* read.c now uses roff_int.h
* roff.c no longer uses libmdoc.h

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 19 13:50:25 2015 UTC (8 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.11: +8 -8 lines
Diff to previous 1.11 (unified) to selected 1.40 (unified)

Unify node handling functions:
* node_alloc() for mdoc and man_node_alloc() -> roff_node_alloc()
* node_append() for mdoc and man_node_append() -> roff_node_append()
* mdoc_head_alloc() and man_head_alloc() -> roff_head_alloc()
* mdoc_body_alloc() and man_body_alloc() -> roff_body_alloc()
* mdoc_node_unlink() and man_node_unlink() -> roff_node_unlink()
* mdoc_node_free() and man_node_free() -> roff_node_free()
* mdoc_node_delete() and man_node_delete() -> roff_node_delete()
Minus 130 lines of code, no functional change.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 2 21:36:49 2015 UTC (8 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.10: +25 -25 lines
Diff to previous 1.10 (unified) to selected 1.40 (unified)

First step towards parser unification:
Replace enum mdoc_type and enum man_type by a unified enum roff_type.
Almost mechanical, no functional change.
Written on the ICE train from Frankfurt to Bruxelles on the way to p2k15.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 27 17:37:25 2015 UTC (9 years ago) by schwarze
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (unified) to selected 1.40 (unified)

Parse the new man.conf(5) "output" directive.
The next step will be to actually use the parsed data.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 19 14:57:29 2015 UTC (9 years ago) by schwarze
Branch: MAIN
Changes since 1.8: +6 -0 lines
Diff to previous 1.8 (unified) to selected 1.40 (unified)

Compat glue needed for Solaris 9 and 10.

Thanks to Sevan Janiyan <venture37 at geeklan dot co dot uk> for
reporting the Solaris 10 issues, to Jan Holzhueter <jh at opencsw
dot org> for some additional insight, and to OpenCSW in general for
providing me with a Solaris 9/10/11 testing environment.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 16 14:56:22 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_3
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (unified) to selected 1.40 (unified)

strtonum(3) compat glue

Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 1 08:05:52 2014 UTC (9 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_2
Changes since 1.6: +8 -8 lines
Diff to previous 1.6 (unified) to selected 1.40 (unified)

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

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 28 18:57:31 2014 UTC (9 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.5: +3 -5 lines
Diff to previous 1.5 (unified) to selected 1.40 (unified)

AT&T is unlikely to release an new version of Research UNIX any time soon.
So, it's pointless to make adding version strings easy for downstream.
One source file less to maintain.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 17 03:24:47 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.4: +20 -17 lines
Diff to previous 1.4 (unified) to selected 1.40 (unified)

Fully integrate apropos(1) into mandoc(1).
Switch the argmode on the progname, including man(1).
Provide -f and -k options to switch the argmode.
Store the argmode inside struct search, generalizing the flags.
Derive the deftype from the argmode when needed instead of storing it.
Store the outkey inside struct search instead of passing it alone.
While here, get rid of the trailing blanks in Makefile.depend.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 11 01:39:00 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +11 -10 lines
Diff to previous 1.3 (unified) to selected 1.40 (unified)

Provide a fallback version of fts(3) for systems lacking it.
I chose the OpenBSD version because it apparently contains various
bugfixes that never made it into libnbcompat.  To reduce size and
complexity, i stripped out the features we don't need.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 10 16:21:08 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_1
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (unified) to selected 1.40 (unified)

sync after adding config.h to mansearch_const.c;
committing on behalf of kristaps@ because i want to release now

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 5 16:12:25 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (unified) to selected 1.40 (unified)

sync after sqlite3_errstr() compat addition

Revision 1.1 / (download) - annotate - [select for diffs], Tue Aug 5 05:27:16 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
Branch point for: VERSION_1_12
Diff to selected 1.40 (unified)

Switch to autogenerated dependency rules; they are less error-prone.
Provide a maintainer target to regenerate them.

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