summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* merge kristaps@' bugfix from HEAD:Ingo Schwarze2014-08-181-153/+93
| | | | | | | Fix a corner case where \H<nil> (where <nil> is the \0 character) would cause mandoc_escape() to read past the end of an allocated string. Found when a script scanning of all Mac OSX manual accidentally also scanned binary (gzip'd) files, discussed with schwarze@ on tech@.
* While all current callers pass valid data to ascii_hspan() only,Ingo Schwarze2014-08-171-42/+65
| | | | | | it's safer to assume incoming enum data might be invalid and catch it instead of happily returning an unitialized int. No functional change right now.
* Add INSTALL, and remove WWW gunk from the Makefile, we are notIngo Schwarze2014-08-142-49/+175
| | | | going to rebuild the website from this version.
* Standard output reminder to run ./configure from make, suggested byIngo Schwarze2014-08-141-0/+2
| | | | Paul Onyschuk <ptmelville at gmail dot com> (Alpine Linux)
* Cygwin support; from Yaakov Selkowitz,Ingo Schwarze2014-08-143-5/+5
| | | | https://sourceforge.net/p/cygwin-ports/mdocml/ci/master/tree/
* typo in comment; Guy Harris <guy at alum dot mit dot edu>Ingo Schwarze2014-08-121-1/+1
|
* Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.Ingo Schwarze2014-08-114-8/+5
| | | | Include <sys/types.h> where needed, it does not belong in config.h.
* remove another leftover fileIngo Schwarze2014-08-051-122/+0
|
* merge portability fix from HEADIngo Schwarze2014-08-051-3/+4
|
* Split mandoc_escape(3), mandoc_malloc(3), and mchars_alloc(3)Ingo Schwarze2014-08-051-1/+8
| | | | out of mandoc(3), adding lots of new information.
* Switch to autogenerated dependency rules; they are less error-prone.Ingo Schwarze2014-08-052-84/+135
| | | | Provide a maintainer target to regenerate them.
* Properly partition the build system and install some missing stuff:Ingo Schwarze2014-08-051-12/+33
| | | | | | | | | | | * Introduce targets base-build and db-build. * Introduce targets base-install and db-install. * Introduce a BUILD_TARGETS variable to contain db-build. * Introduce an INSTALL_TARGETS variable and fill it using BUILD_TARGETS. * Install the apropos(1) and mandocdb(8) binaries. * Install whatis(1) as a hard link to apropos(1). * Install the apropos(1), whatis(1), and mandocdb(8) manuals. * Install mandoc_aux.h.
* Various minor corrections:Ingo Schwarze2014-08-051-3/+7
| | | | | | | * Do not install programs and libs root-writeable. * Add missing test-strcasestr.c and test-strsep.c to TESTSRCS. * Add missing mandoc_html.3 to SRCS. * Add missing mandoc_html.3.html to WWW_MANS.
* sort user settings; no functional changeIngo Schwarze2014-08-051-11/+19
|
* Remove the old man.cgi.Ingo Schwarze2014-08-054-1770/+3
| | | | Running that would not be a responsible thing to do, nowadays.
* remove strnlen(3) compat, we no longer use itIngo Schwarze2014-08-043-7/+0
|
* Merge from HEAD:Ingo Schwarze2014-04-241-25/+53
| | | | | | | | | * Use sha256 rather than md5. * Update .h dependencies for some objects. * Provide `www' target to build everything needed for the web site. * Move .SUFFIXES and .PHONY technicalities to the bottom. * State Copyright and license, just for clarity. * Bump VERSION in preparation for release.
* prototype for reallocarray()Ingo Schwarze2014-04-231-0/+3
|
* Audit malloc(3)/calloc(3)/realloc(3) in VERSION_1_12.Ingo Schwarze2014-04-234-4/+8
|
* include the LICENSE into the distribution tarballIngo Schwarze2014-04-221-1/+2
|
* backport man(7) .Nd improvementIngo Schwarze2014-03-231-45/+8
|
* introduce mandoc_aux to 1.12Ingo Schwarze2014-03-233-4/+11
|
* cope with the mparse_result() interface changeIngo Schwarze2014-03-191-1/+1
|
* cope with mparse_alloc() interface changeIngo Schwarze2014-03-191-4/+4
|
* merge the applicable parts from HEADIngo Schwarze2014-03-171-33/+77
|
* minor sync with HEAD, but keep the Berkeley DB partsIngo Schwarze2014-03-171-5/+10
|
* - remove index.html, is now part of the website repoIngo Schwarze2014-03-034-522/+22
| | | | - and some general cleanup (installcgi is .PHONY)
* Implement the \: (optional line break) escape sequence,Ingo Schwarze2014-01-221-6/+14
| | | | | | | documented in the Ossanna-Kernighan-Ritter troff manual and also supported by groff. Missing feature reported by Steffen Nurpmeso <sdaoden at gmail dot com>.
* Cope with the mparse_alloc() interface change.Ingo Schwarze2014-01-051-3/+8
|
* Put ./configure into the distribution tarball.Ingo Schwarze2014-01-041-1/+3
|
* Merge strnlen(3) configuration bits.Ingo Schwarze2014-01-043-9/+14
|
* Merge cleanup of feature tests to VERSION_1_12, resolving conflicts.Ingo Schwarze2014-01-042-51/+57
|
* Provide strcasestr(3) and strsep(3) for Solaris 10 compat;Ingo Schwarze2013-12-312-1/+19
| | | | reported missing by Matthias Scheler <tron at NetBSD> via wiz@.
* update the link to the ISC licenseIngo Schwarze2013-12-311-2/+2
| | | | and note that the pkgsrc port was updated to 1.12.3
* release 1.12.3Ingo Schwarze2013-12-312-28/+54
|
* update downstream versionsIngo Schwarze2013-12-261-4/+4
|
* My audit of mandoc revealed one missing (unsigned char) castIngo Schwarze2013-11-211-1/+1
| | | | | in a tolower() argument containing arbitrary char data. Thanks to deraadt@ for triggering the audit.
* make text shorter and clearer; from kristaps@; tweaked by meIngo Schwarze2013-11-071-11/+10
|
* Mention that mandoc is also an OpenBSD project, agreed by Kristaps.Ingo Schwarze2013-11-071-9/+17
| | | | | Remove text about groff as suggested by Kristaps; explaining that topic properly would get too long.
* new section about mandoc history, with linksIngo Schwarze2013-10-131-3/+30
|
* Thomas Klausner <wiz at NetBSD dot org> finally succeeded to buildIngo Schwarze2013-10-111-1/+1
| | | | on SmartOS and sent these additional patches, thanks!
* On __sun, use <sys/byteorder.h>, BE_64(x), and <db_185.h>.Ingo Schwarze2013-10-103-13/+23
| | | | | | | Thanks to Thomas Klausner <wiz at NetBSD dot org> for providing failing SmartOS build logs such that i could write this patch without access to a __sun system and for confirming that these patches help.
* link supplementary information on mandocIngo Schwarze2013-10-101-5/+20
| | | | and Alpine Linux port was upgraded to 1.12.2
* Put VERSION into config.h.Ingo Schwarze2013-10-061-1/+2
| | | | | | This makes life easier for downstream maintainers having more than one Makefile, for example DragonFly and FreeBSD. Suggested by Franco Fichtner <franco at lastsummer dot de>.
* Franco Fichtner moved DragonFly to 1.12.2.Ingo Schwarze2013-10-061-2/+2
| | | | While here, fix one more instance of the release date.
* Cleanup suggested by gcc-4.8.1, following hints by Christos Zoulas:Ingo Schwarze2013-10-054-10/+520
| | | | | | | | - avoid bad qualifier casting in roff.c, roff_parsetext() by changing the mandoc_escape arguments to "const char const **" - avoid bad qualifier casting in mandocdb.c, index_merge() - do not complain about unused variables in test-*.c - garbage collect a few unused variables elsewhere
* Thomas Klausner <wiz at netbsd dot org> already update pkgsrc.Ingo Schwarze2013-10-051-3/+3
| | | | While here, fix the FreeBSD link and the 1.12.1 release date.
* Add missing link to the NEWS file.VERSION.1.12.2Ingo Schwarze2013-10-051-0/+3
|
* Release version 1.12.2. This is no longer beta.Ingo Schwarze2013-10-052-3/+9
| | | | Sneak in a downstream link to Alpine Linux.
* whatis.{db,index} -> mandoc.{db,index}; from kristaps@Ingo Schwarze2013-10-052-4/+4
|