| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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/`.
|
| |
|
|
|
|
|
|
|
| |
* 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>.
|
|
|
|
|
| |
* bootstrap.conf (GNULIB_REVISION): Set to
d1b40e09c9c04d5c1ff120373397c6180bc16beb.
|
|
|
|
|
| |
* lib/sandbox.c (make_seccomp_filter): Add `futex_waitv`,
`riscv_hwprobe`, and `arm_fadvise64_64`.
|
|
|
|
| |
* po/cs.po: Update from Translation Project.
|
|
|
|
| |
* man/po4a/po/de.po: Update from Translation Project.
|
|
|
|
| |
* man/po4a/po/zh_CN.po: Update from Translation Project.
|
|
|
|
| |
* po/zh_CN.po: Update from Translation Project.
|
|
|
|
| |
* man/po4a/po/ro.po: Update from Translation Project.
|
|
|
|
| |
* man/po4a/po/ko.po: Update from Translation Project.
|
|
|
|
| |
* po/ko.po: Update from Translation Project.
|
| |
|
|
|
|
| |
* man/po4a/po/*.pot, man/po4a/po/*.po, po/*.pot, po/*.po: Update.
|
|
|
|
| |
* man/po4a/po/ro.po: Update from Translation Project.
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
man: Allow disabling warnings enabled by default in groff
See merge request man-db/man-db!8
|
|/ |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* po/ro.po: Update from Translation Project.
|
|
|
|
| |
* man/po4a/po/de.po: Update from Translation Project.
|
|
|
|
| |
* po/de.po: Update from Translation Project.
|
|
|
|
| |
* po/zh_TW.po: Update from Translation Project.
|
|
|
|
| |
* lib/util.c (init_locale): Declare `locale` as const.
|
|\
| |
| |
| |
| | |
Fixed add_man_subdirs to correctly add PATH elements with trailing paths
See merge request man-db/man-db!10
|
|/ |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
Fixes https://bugs.debian.org/1041704.
* src/man.c (get_roff_line_length): Remove `line_length != 80`
condition.
* NEWS.md: Document this.
|
|\
| |
| |
| |
| | |
lexgrog.1: Fix thinko in my recent contribution
See merge request man-db/man-db!9
|
|/
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* bootstrap.conf (gnulib_modules): Add `year2038-recommended`.
* NEWS.md: Document this.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* .pre-commit-config.yaml (shellcheck-py): Update to v0.9.0.5.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Fixes https://gitlab.com/man-db/man-db/-/issues/20.
* man/man1/man.man1 (STANDARDS): New section.
* NEWS.md: Document this.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* man/man1/lexgrog.man1: Protect `.ds mC CW` with `.if !'po4a'hide'`, to
avoid "CW" showing up as a string for translation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
`~` 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.
|
|
|
|
| |
* init/systemd/man-db.service.in: Sort hardening options.
|
|
|
|
| |
* man/po4a/po/sr.po: Update from Translation Project.
|
|
|
|
|
|
| |
* po/ka.po: New from Translation Project.
* po/LINGUAS: Add ka.
* man/THANKS: Add translator credit.
|