summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* merge rev. 1.240: default to preformatted, not to man(7)Ingo Schwarze2017-01-271-14/+19
|
* merge rev. 1.239: fix base directory detection for makewhatis -tIngo Schwarze2017-01-271-0/+14
|
* merge rev. 1.55: gcc 6 fix from Alpine LinuxIngo Schwarze2017-01-121-2/+2
|
* merge rev. 1.237: completion of NODE_NOSRC workIngo Schwarze2017-01-111-2/+2
|
* merge rev. 1.236: NODE_NOSRC and NODE_NOPRT for .Bx and .AtIngo Schwarze2017-01-101-2/+2
|
* merge rev. 1.235: use NODE_NOSRC for .Ux, .Ox, and friendsIngo Schwarze2017-01-101-130/+135
|
* merge rev. 1.279: make "cat foo.mdoc | man -l" workIngo Schwarze2017-01-091-5/+5
|
* merge rev. 1.278: call new function mparse_updaterc()Ingo Schwarze2017-01-091-1/+2
|
* merge rev. 1.157: new function mparse_updaterc()Ingo Schwarze2017-01-091-0/+7
|
* merge rev.s 1.155 and 1.156: changes to the message catalogueIngo Schwarze2017-01-091-2/+4
|
* merge rev. 1.154: improve message "whitespace at end of input line"Ingo Schwarze2017-01-091-1/+3
|
* merge rev. 1.153: warn about trailing whitespace at the end of commentsIngo Schwarze2016-11-101-5/+11
|
* merge 1.234: cast off_t and uint64_t for printf(3)Ingo Schwarze2016-10-221-1/+2
|
* fix sqlite3_errstr() autodetection if sqlite3 is in /usr/localIngo Schwarze2016-10-201-0/+1
|
* merge reproducible build support including compat glue to 1.13 branch:Ingo Schwarze2016-10-203-32/+59
| | | | mandocdb.c 1.231 & 1.232; configure 1.52 & 1.53; configure.local.example 1.21
* add test-EFTYPE.c, related to configure rev. 1.43.2.5Ingo Schwarze2016-10-201-0/+1
|
* add EFTYPE, corresponding to configure rev. 1.43.2.5Ingo Schwarze2016-10-201-0/+1
|
* merge rev. 1.46: work around the lack of EFTYPEIngo Schwarze2016-10-201-0/+3
|
* merge rev. 1.233: 0x%llu is a bad idea, make that 0x%llxIngo Schwarze2016-10-201-1/+1
|
* merge rev. 1.226: fix a typo that prevented names from .DtIngo Schwarze2016-10-201-93/+371
| | | | from getting priority over names from .Sh NAME
* merge ".Bl -tag without -width" fix to 1.13 branchIngo Schwarze2016-10-181-1/+7
|
* merge wide stream fixes from HEAD to 1.13, rev. 1.276 and 1.277Ingo Schwarze2016-09-181-31/+48
|
* merge tentative 'entering directory' fix for gmake to 1.13 branchIngo Schwarze2016-08-101-1/+1
|
* backport to 1.13: fix printf("%s", NULL)Ingo Schwarze2016-08-091-4/+26
|
* 1.13 backport: handle absence of PATH_MAXIngo Schwarze2016-08-023-0/+4
|
* 1.13 backport: autodetect UTF8_LOCALEIngo Schwarze2016-07-312-1/+35
|
* 1.13 backport: Autodetect if -lrt is needed for nanosleep(3).Ingo Schwarze2016-07-203-72/+184
|
* Autodetect if -lrt is needed for nanosleep(3).Ingo Schwarze2016-07-204-5/+47
| | | | | Helpful for Solaris 9 and 10. Reminded by Thomas Klausner.
* tag_signal() is dead; from LLVM via Christos ZoulasIngo Schwarze2016-07-201-2/+2
|
* Linux compatibility: Work around the lack of EFTYPE and protect <err.h>.Ingo Schwarze2016-07-208-11/+34
|
* Now that our man.conf(5) format is mature and extremely simple,Ingo Schwarze2016-07-196-102/+14
| | | | | | | | delete manpath(1) support. With the mandoc-based man(1), manpath(1) is utterly useless. Just set MANPATH_DEFAULT in configure.local for sane operating system defaults, use man.conf(5) for machine- specific modifications, and use ${MANPATH}, -m, and -M for user preferences.
* Remove the dependency on SQLite without loss of functionality.Ingo Schwarze2016-07-1925-1238/+2275
| | | | | Stop supporting systems that don't have mmap(3). Drop the obsolete names_check() now that we deleted MLINKS.
* Remove one outdated comment and fix one typoIngo Schwarze2016-07-191-3/+1
| | | | noted by Jan Stary <hans at stare dot cz>.
* Since the mdoc/man parser unification, the parser is always allocatedIngo Schwarze2016-07-191-24/+2
| | | | | | in mparse_alloc(), so delete all the curp->man == NULL checks. Triggered by a patch from Christos Zoulas suggesting to add yet another such check.
* Use __attribute__((__format__ throughout.Ingo Schwarze2016-07-197-27/+15
| | | | | | | Triggered by a smaller patch from Christos Zoulas. While here, unify style, move several config tests to config.h, and delete the useless MANDOC_CONFIG_H.
* cope with -Wmissing-prototypesIngo Schwarze2016-07-182-4/+25
|
* To remove the const qualifier from a pointer to an object - eitherIngo Schwarze2016-07-152-3/+1
| | | | | | | | | because we know it is actually mutable or because we are passing it to a function that doesn't accept a const object but won't actually attempt to modify it - simply casting from (const type *) to (type *) is legal C and clearly expresses the intent. So get rid of the obfuscating UNCONST macro. Basic idea discussed with guenther@.
* Fix previous: the mandocdb() prototype was already there, it justIngo Schwarze2016-07-151-3/+2
| | | | hid among static functions, as noticed by tedu@ (my bad).
* add missing prototypes, no code change;Ingo Schwarze2016-07-157-4/+16
| | | | noticed by Christos Zoulas with -Wmissing-prototypes
* Sanitize the environment when calling make(1) to autodetect ${CC}.Ingo Schwarze2016-07-151-1/+1
| | | | Sevan Janiyan found during testing on AIX that ${CC} could leak in.
* final 1.13.4 release notesVERSION.1.13.4Ingo Schwarze2016-07-143-19/+37
|
* Add support for Mac OS X's sandbox_init(3) sandbox functionality, whichKristaps Dzonsons2016-07-125-0/+35
| | | | | | | is marked as DEPRECATED in OS X after 2011 or so, but has not been removed and has no replacement. ok schwarze@
* Make all components of the URI individually optional,Ingo Schwarze2016-07-112-17/+44
| | | | | | | independent of each other, as in: http://man.openbsd.org[/manpath][/mansec][/arch]/name[.sec] The restrictions in the past kept confusing people. Triggered by a question from RafaelNeves at gmail dot com.
* support LDFLAGS;Ingo Schwarze2016-07-103-6/+15
| | | | suggested by Christian Neukirchen <chneukirchen at gmail dot com>
* On OpenBSD, more(1) is actually less(1) with a small number ofIngo Schwarze2016-07-101-2/+2
| | | | | | | compatibility features - so we can safely use more -T on OpenBSD. But don't do that in the portable version: more -T is unlikely to work elsewhere. Issue reported by Svyatoslav Mishyn <juef at openmailbox dot org>.
* Fix a nasty typo that prevented .so links to gziped manualsIngo Schwarze2016-07-101-1/+1
| | | | | from working in the absence of a mandoc.db(5) database. Found the hard way by Svyatoslav Mishyn on Crux Linux.
* Simplify the code and the server setup by deleting the pseudo-manpathIngo Schwarze2016-07-103-26/+13
| | | | | | | | | | "mandoc" that was used for man.cgi(8) documentation and by assuming that the apropos(1) and man.cgi(8) manuals are simply installed in the default manpath. Even though man.cgi(8) is not installed by default when installing OpenBSD, it is easy to copy it into the default manpath used for man.cgi(8). Idea found when considering a question asked by wrant dot com.
* Do not treat PATH_INFO as a complete path if it doesn't containIngo Schwarze2016-07-091-1/+1
| | | | | | a manpath. For example, this makes http://man.openbsd.org/mandoc work as expected. Bug reported by tb@, reminded by Svyatoslav Mishyn.
* getopt(3) is declared in <unistd.h>, and <getopt.h> is not needed;Ingo Schwarze2016-07-094-4/+0
| | | | from Joerg Sonnenberger via Thomas Klausner, NetBSD.
* ISO C99 7.19.2.5 doesn't like mixing putchar(3) and putwchar(3) onIngo Schwarze2016-07-083-8/+7
| | | | | | the same stream, and actually, it fails spectacularly on glibc. Portability issue pointed out by Svyatoslav Mishyn <juef at openmailbox dot org> after testing on Void Linux.