summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Release man-db 2.12.0Colin Watson2023-09-23
|
* systemd: Avoid duplicate cleanup of old cat pagesColin Watson2023-09-19
| | | | | | | | | | Thanks to Ferenc Wágner. Fixes https://bugs.debian.org/1052221. * init/systemd/man-db.service.in: Remove call to `find`; this is already handled equivalently by `init/systemd/man-db.conf.in`, and having both can result in error messages due to the two cleanups running concurrently. * NEWS.md: Document this.
* bootstrap: Make --skip-po disable Gnulib downloads tooColin Watson2023-08-20
| | | | | | | | Fixes https://bugs.debian.org/1050089. * bootstrap.conf: If the `--skip-po` option is explicitly passed, then don't pass `--po-base` or `--po-domain` options to `gnulib-tool`, and don't merge `gl/ref-po/` into `gl/po/`.
* README.md: Update my copyright noticeColin Watson2023-08-07
|
* Update URLs for libpipeline and flexColin Watson2023-08-07
| | | | | | | * NEWS.md, docs/INSTALL.quick: Update libpipeline URLs to <https://libpipeline.gitlab.io/libpipeline/>. * docs/INSTALL.quick: Update flex URL to <https://github.com/westes/flex>.
* Update to Gnulib stable-202307 as of 20230728Colin Watson2023-08-07
| | | | | * bootstrap.conf (GNULIB_REVISION): Set to d1b40e09c9c04d5c1ff120373397c6180bc16beb.
* Update syscall lists from systemd ab9617a766Colin Watson2023-08-07
| | | | | * lib/sandbox.c (make_seccomp_filter): Add `futex_waitv`, `riscv_hwprobe`, and `arm_fadvise64_64`.
* Update Czech translationPetr Pisar2023-08-07
| | | | * po/cs.po: Update from Translation Project.
* Update German manual page translationMario Blättermann2023-08-07
| | | | * man/po4a/po/de.po: Update from Translation Project.
* Update Simplified Chinese manual page translationBoyuan Yang2023-08-07
| | | | * man/po4a/po/zh_CN.po: Update from Translation Project.
* Update Simplified Chinese translationBoyuan Yang2023-08-07
| | | | * po/zh_CN.po: Update from Translation Project.
* Update Romanian manual page translationRemus-Gabriel Chelu2023-08-07
| | | | * man/po4a/po/ro.po: Update from Translation Project.
* Update Korean manual page translationSeong-ho Cho2023-08-07
| | | | * man/po4a/po/ko.po: Update from Translation Project.
* Update Korean translationSeong-ho Cho2023-08-07
| | | | * po/ko.po: Update from Translation Project.
* Release man-db 2.12.0-pre2Colin Watson2023-08-06
|
* Update translation filesColin Watson2023-08-06
| | | | * man/po4a/po/*.pot, man/po4a/po/*.po, po/*.pot, po/*.po: Update.
* Update Romanian manual page translationRemus-Gabriel Chelu2023-08-06
| | | | * man/po4a/po/ro.po: Update from Translation Project.
* man(1): Document handling of file names without -l more accuratelyColin Watson2023-08-06
| | | | | | | | | Fixes https://gitlab.com/man-db/man-db/-/issues/18. * man/man1/man.man1: Without `-l`, we only fall back to interpreting arguments as local file names if they contain a slash. Explain this more accurately. * NEWS.md: Document this.
* Merge branch 'cjwatson/man-negative-warnings' into 'main'Colin Watson2023-08-06
|\ | | | | | | | | man: Allow disabling warnings enabled by default in groff See merge request man-db/man-db!8
| * man: Allow disabling warnings enabled by default in groffColin Watson2023-08-06
|/
* man(1): Fix typography in STANDARDSColin Watson2023-08-06
| | | | | | | | Reported by Mario Blättermann. * man/man/man.man1 (STANDARDS): Use `\-`, not a mix of Unicode hyphens and unescaped ASCII hyphens. * man/po4a/po/*.pot, man/po4a/po/*.po: Update.
* Update Romanian translationRemus-Gabriel Chelu2023-08-06
| | | | * po/ro.po: Update from Translation Project.
* Update German manual page translationMario Blättermann2023-08-06
| | | | * man/po4a/po/de.po: Update from Translation Project.
* Update German translationMario Blättermann2023-08-06
| | | | * po/de.po: Update from Translation Project.
* Update Traditional Chinese translationYi-Jyun Pan2023-08-06
| | | | * po/zh_TW.po: Update from Translation Project.
* Declare variable as constColin Watson2023-08-06
| | | | * lib/util.c (init_locale): Declare `locale` as const.
* Merge branch 'guess_manpath_fix' into 'main'Colin Watson2023-08-06
|\ | | | | | | | | Fixed add_man_subdirs to correctly add PATH elements with trailing paths See merge request man-db/man-db!10
| * Fixed add_man_subdirs to correctly add PATH elements with trailing pathsJan Seeger2023-08-06
|/
* Release man-db 2.12.0-pre1Colin Watson2023-08-06
| | | | | | * man/po4a/po/*.pot, man/po4a/po/*.po, po/man-db.pot, po/*.po: Update. * NEWS.md: Bump next version to 2.12.0. * configure.ac: Update version and date.
* Always pass a line length to nroffColin Watson2023-08-06
| | | | | | | | Fixes https://bugs.debian.org/1041704. * src/man.c (get_roff_line_length): Remove `line_length != 80` condition. * NEWS.md: Document this.
* Merge branch 'branden-lexgrog-thinko' into 'main'Colin Watson2023-08-01
|\ | | | | | | | | lexgrog.1: Fix thinko in my recent contribution See merge request man-db/man-db!9
| * lexgrog.1: Fix thinko in my recent contributionG. Branden Robinson2023-07-28
|/ | | | | | | | In commit bbf7701c4f, 19 July, I got the sense of the tests that governed the macro definitions backwards. I fooled myself because I use a more complex test in groff's an-ext.tmac file (written in a non-intuitive way due to AT&T troff limitations) so that it's easy to run groff's automated tests on them.
* Ensure that time_t can go past 2038Colin Watson2023-07-22
| | | | | * bootstrap.conf (gnulib_modules): Add `year2038-recommended`. * NEWS.md: Document this.
* man: Pass --regex/--wildcard on to whatis/aproposColin Watson2023-07-22
| | | | | | | | | | | Fixes https://gitlab.com/man-db/man-db/-/issues/13. * src/man.c (do_extern): Pass `-r` or `-w` options to the external program if necessary. * man/man1/man.man1 (Main modes of operation): Document that `-f` and `-k` are still only approximately equivalent to `whatis` and `apropos` respectively (since `man` accepts slightly different options). * NEWS.md: Document this.
* Update pre-commit hooksColin Watson2023-07-22
| | | | * .pre-commit-config.yaml (shellcheck-py): Update to v0.9.0.5.
* Upgrade to Gnulib stable-202307Colin Watson2023-07-22
| | | | | | | | | * bootstrap: Sync to Gnulib b7f7ed06961454cdf77b93c6c00c3e3f26202663. * bootstrap.conf (GNULIB_REVISION): Set to b7f7ed06961454cdf77b93c6c00c3e3f26202663. * src/tests/Makefile.am (fspause_LDADD): Link with `$(NANOSLEEP_LIB)` instead of `$(LIB_NANOSLEEP)`. * NEWS.md: Document this.
* Include .lf corrections in debugging outputColin Watson2023-07-21
| | | | | | | | | | | | | | The pipeline command names in `PIPELINE_DEBUG` output are deliberately abbreviated in the cases where the command is inserting data into the `*roff` input stream, in an attempt to convey the essential parts without overwhelming the reader. However, it probably does make sense to include `.lf` corrections there, since if you're relying on the debugging output to construct a manual shell pipeline when debugging an issue with a page, you'll want the `.lf` corrections so that line numbers still come out correctly. * src/man.c (add_roff_line_length, display): Include `echo .lf 1` in command names where appropriate.
* Take advantage of groff's AD string and HY registerColin Watson2023-07-20
| | | | | | | | | | | | | | | | | | Fixes https://gitlab.com/man-db/man-db/-/issues/23. Thanks to G. Branden Robinson for assistance. * src/man.c (make_roff_command) [TROFF_IS_GROFF]: Implement `--no-hyphenation` using `-rHY=0`. This requires groff >= 1.19, released in 2003. (disable_hyphenation): Only define if `TROFF_IS_GROFF` is not defined. (display): Only use the more complex hyphenation-control mechanism if `TROFF_IS_GROFF` is not defined. * src/man.c (disable_justification): Implement using `.ds AD l` if groff is at least version 1.23.0. (display): Adjust debugging output to reflect this (more or less). * NEWS.md: Document this.
* Document false negatives from "man -K"Colin Watson2023-07-20
| | | | | | | | Fixes https://gitlab.com/man-db/man-db/-/issues/14. * man/man1/man.man1 (Main modes of operation): Document false negatives due to things like `\-`. * NEWS.md: Document this.
* man(1): Add a STANDARDS sectionColin Watson2023-07-20
| | | | | | | Fixes https://gitlab.com/man-db/man-db/-/issues/20. * man/man1/man.man1 (STANDARDS): New section. * NEWS.md: Document this.
* Change "CONFORMING TO" to "STANDARDS"Colin Watson2023-07-20
| | | | | | | | | | This is in line with `man-pages(7)`. See https://gitlab.com/man-db/man-db/-/issues/20. * man/man1/man.man1 (DESCRIPTION): Recommend `STANDARDS` rather than `CONFORMING TO`. * NEWS.md: Document this.
* Fix test failures when a working iconv is not availableColin Watson2023-07-20
| | | | | | | | | | | | | | | | Part of https://gitlab.com/man-db/man-db/-/issues/25. * configure.ac: Substitute `HAVE_ICONV`. * src/tests/Makefile.am (TESTS_ENVIRONMENT): Export `HAVE_ICONV`. * src/tests/testlib.sh (report_skip): New function to skip an individual test out of several in a file. (skip): Refactor slightly to call `report_skip`. * src/tests/man-recode-in-place, src/tests/man-recode-suffix, src/tests/manconv-coding-tags, src/tests/manconv-guess-from-encoding, src/tests/manconv-incomplete-char-at-eof, src/tests/manconv-odd-combinations: Skip several tests if `HAVE_ICONV` is not `yes`. * NEWS.md: Document this.
* NEWS.md: Document some recent commitsColin Watson2023-07-20
|
* Update warning regex for groff 1.23.0Colin Watson2023-07-20
| | | | | | | Part of https://gitlab.com/man-db/man-db/-/issues/25. * man/check-man: groff 1.23.0 says "cannot break line" rather than "can't break line"; update regular expression.
* Avoid translation fallout from lexgrog(1) fixColin Watson2023-07-19
| | | | | * man/man1/lexgrog.man1: Protect `.ds mC CW` with `.if !'po4a'hide'`, to avoid "CW" showing up as a string for translation.
* Improve lexgrog(1) portabilityG. Branden Robinson2023-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a test failure in man1/lexgrog.1 when building against groff 1.23.0. Borrow code from groff 1.23.0's "an-ext.tmac" file (licensed as permissively as a decadent society) to implement `EX` and `EE` extension macros from Ninth Edition Research Unix (1986) (and groff) to get monospaced code displays in a more portable way. There is no way to portably change font families in pure man(7) itself, and the names of troff typefaces aren't very portable either. There is also no portable way to test for the _existence_ of a font. FTW. ("Portable" here largely means "to AT&T device-independent troff implementations", for which there has been no official source since the mid-1990s.[1] Several AT&T Unix System V licensees/descendants have continued to ship their own vendored versions, but these have enjoyed little or no development for the past 3 decades.) * Define a string `mC` to store the name of a presumed monospaced roman typeface. Use "CW", which is portable to AT&T device-independent troff of the early 1980s before it occurred to anyone that Courier might someday be available in italic and bold styles (and budget available to purchase them). * Define `mC` as "CR" if using a typesetting device and the formatter is groff, or claims groff compatibility by the setting the `.g` register. This is reasonably portable to modern implementations given traditional troff font naming practices and the pervasive influence of Adobe Software and the "base fonts" of its PostScript and PDF specifications. * If not typesetting (i.e., if using nroff), define `mC` as "R", which is certain to be available. * Define `EX` and `EE` macros as groff does, if the formatter does not set the `.g` register. * Migrate from `ft CW` and `nf` requests to `EX` macro calls. * Migrate from `ft P` and `fi` requests to `EE` macro calls. * Replace an inline use of `\f(CW` with a change to inline bold. There is to date no portable way to inline a font family change. Test passes now. Tested as-is and with the `EX` and `EE` macro definitions forcibly enabled. [1] https://groups.google.com/g/comp.text/c/COkqrii4W0E/m/7HarA8Ha2dAJ
* Correct typography of "~/.manpath"Colin Watson2023-07-08
| | | | | | | | | | | `~` should be written as `\(ti` in manual pages to avoid being rendered as something along the lines of U+02DC SMALL TILDE in PDF output, or as of groff 1.23.0 in UTF-8 output. * man/man1/apropos.man1, man/man1/man.man1, man/man1/manpath.man1, man/man1/whatis.man1, man/man8/catman.man8, man/man8/mandb.man8, man/it/man1/apropos.man1, man/it/man1/man.man1: Write `\(ti` when shell tilde expansion is intended.
* systemd: Sort hardening optionsColin Watson2023-07-03
| | | | * init/systemd/man-db.service.in: Sort hardening options.
* Update Serbian manual page translationМирослав Николић2023-05-21
| | | | * man/po4a/po/sr.po: Update from Translation Project.
* Add Georgian translationTemuri Doghonadze2023-04-14
| | | | | | * po/ka.po: New from Translation Project. * po/LINGUAS: Add ka. * man/THANKS: Add translator credit.