124 Commits

Author SHA1 Message Date
G. Branden Robinson
f4a9e0674f ANNOUNCE: Acknowledge Nelson.
...for feeding groff 1.24.0.rc1 into his multifarious meat grinder of
build environments.
2026-01-21 11:36:13 -06:00
G. Branden Robinson
cfcfe1dde5 ANNOUNCE: Ackowledge John de Armas.
...for reporting Savannah #67899 and performing some analysis of its
cause.
2026-01-09 15:33:12 -06:00
G. Branden Robinson
cefed74f8f doc/groff.texi.in: Fix style nit.
"Usenet" is not an acronym.

Thanks to Martin D. Kealey for pointing that out.
<https://lists.gnu.org/archive/html/bug-bash/2025-10/msg00033.html>

Also break input lines in a roff-friendly way.

ANNOUNCE: Acknowledge Martin.
2026-01-04 11:30:58 -06:00
G. Branden Robinson
c08d9b19b0 ANNOUNCE: Credit more contributors.
Alan, Thomas: See <https://savannah.gnu.org/bugs/?67387>.

Thomas also helpfully reported <https://savannah.gnu.org/bugs/?65469>.

Peter Chubb: Suggested bsearch(3) as an exemplar for new and improved
`SY` and `YS` man(7) macros.

T. Kurt Bond: Reported Fedora 39's new storage location for URW fonts.

Andreas, Axel: Assisted with "notquine.sed" in sboxes.

Frazer: Assisted with mm(7)'s display macros `DF` and `DE`.

Gene: Reported <https://savannah.gnu.org/bugs/?63581>.

Günther: Reported and assisted with
<https://savannah.gnu.org/bugs/?63581> (a vicious beast to nail down).

Ken: Assisted with mm(7)'s memorandum type 5.

Larry: Assisted with gdiffmk(1).
2026-01-03 04:39:00 -06:00
G. Branden Robinson
8745f376d4 ANNOUNCE: Acknowledge Norwid.
Continues commit 86f816985f, 9 December.
2025-12-17 12:15:45 -06:00
G. Branden Robinson
54e2b45a1c ANNOUNCE: Update a contributor's name. 2025-12-12 10:03:04 -06:00
G. Branden Robinson
149c18a3d4 [gxditview]: Fix Savannah #67754.
* src/devices/xditview/xditview.am
  (src/devices/xditview/GXditview-ad.h): Add `$(MKDIR_P)` to target rule
  to ensure the parent directory exists.  This problem is hard to
  observe because it shows up only when our `configure` script is run
  with the `--disable-dependency-tracking` option and, apparently,
  stochastically with highly parallelized builds.  {A "stock" build
  never encounters it because with "dependency tracking", Automake
  generates make(1) files that create ".deps" files in the build tree,
  and a prerequisite to doing so is to create the parents of the
  directories housing them, a convenience that this target rule snuck
  through.}

Fixes <https://savannah.gnu.org/bugs/?67754> and
<https://bugs.debian.org/1121570>.  Problem dates back at least to
commit 62a22cb540, 22 August 2014 (but which did not appear in the
"master" branch until 27 January of the next year), when groff's build
system adopted Automake.  Thanks to Helmut Grohne for the report and
Colin Watson for assistance reproducing it.

ANNOUNCE: Acknowledge Helmut.
2025-12-01 21:49:17 -06:00
G. Branden Robinson
5c3c2fcf74 [troff]: Adjust wording of syntax warning.
* src/roff/troff/input.cpp (is_conditional_expression_true): Tweak
  wording of syntax warning thrown only in compatibility mode.  Say that
  the conditional expression operator is "not portable to AT&T troff",
  for parallel phrasing with the escape sequence warning added in commit
  589a724eca, 2 November, and because a person authoring or formatting a
  document presumably knows whether they're using compatibility mode.
  (If they don't know, they can find out with `.tm compatibility mode is
  \n(.C`.)  Prompted by discussion with James Youngman.

ANNOUNCE: Acknowledge James.
2025-11-14 11:32:11 -06:00
G. Branden Robinson
a5348da552 ANNOUNCE: Update mail protocol.
* Recognize existence of info-groff list.
* Stop talking about beta releases.  groff hasn't made a beta release
  since 1999 (1.12beta, per ChangeLog.112).
2025-11-06 05:19:31 -06:00
G. Branden Robinson
986e0b59c5 ANNOUNCE: Acknowledge Grisha Levit.
Thanks to Grisha for his help identifying a problem with Acrobat Reader
when rendering gropdf(1)-generated documents.
2025-10-06 04:50:42 -05:00
G. Branden Robinson
37a575e349 tmac/groff_man.7.man.in: Update DWB annotations.
Thanks to Dan Plassche for the historical research.

ANNOUNCE: Acknowledge Dan.
2025-10-01 05:00:43 -05:00
G. Branden Robinson
7f29f15153 ANNOUNCE: Credit Alexander Monakov, Russ Allbery.
...for C++ illumination and man(7) package design consultation.

See <https://savannah.gnu.org/bugs/?64421> and
<https://savannah.gnu.org/bugs/?67363>, respectively.
2025-09-07 04:16:08 -05:00
G. Branden Robinson
389b3e7f09 [afmtodit]: Don't warn on expected dupe code pts.
* src/utils/afmtodit/afmtodit.pl: Stop throwing duplicate mapping
  warning diagnostics in a handful of cases where we expect them.  (All
  are cases of classical Greek letters repurposed for technical
  applications).  Per James Cloos, some redundant character code points,
  and thus duplicate Unicode->AGL mappings, exist to preserve round-trip
  compatibility when converting between character sets.

ANNOUNCE: Acknowledge James.
2025-08-07 08:43:43 -05:00
G. Branden Robinson
7512c53bd7 ANNOUNCE: Acknowledge Jonathan Gray.
...for help with BSD/grn history, which kept me from making a (bigger)
fool of myself in the file "LICENSE".  It seems there really was a
Berkeley ditroff.  It just couldn't be shipped in BSD per se.
2025-07-31 00:17:50 -05:00
G. Branden Robinson
73ac47047c [me]: Fix Savannah #67303 (German date l10n).
* tmac/de.tmac (_td_format) [@R]: Fix German date localization for me(7)
  package; don't put a dot after the month name.

* tmac/tests/e_ld-works.sh: Update test expectations.

Fixes <https://savannah.gnu.org/bugs/?67303>.  Thanks to Stefan Möding
for the report and patch.  Problem appears to date back to the
introduction of German localization to groff, in commit 9ed99d14cb, 19
December 2006.

ANNOUNCE: Acknowledge Stefan.
2025-07-14 18:45:09 -05:00
G. Branden Robinson
8315ac6ba5 ANNOUNCE: Acknowledge Duncan Losin. 2025-06-08 11:25:54 -05:00
G. Branden Robinson
323e6affa0 [mdoc]: Fix Savannah #66410 (stop Lb warnings).
* tmac/mdoc/doc-syms (Lb): Stop throwing warning if no description is
  available for the argument.  `Lb` usage is not universal among mdoc(7)
  documents; per Ingo Schwarze, FreeBSD and NetBSD use it, but OpenBSD
  does not.  (And in my opinion, a central registry for library
  descriptions is not tractable.)

Fixes <https://savannah.gnu.org/bugs/?66410>.  Thanks to Andrew Bower
for the report.

ANNOUNCE: Acknowledge Andrew.
2025-05-07 13:56:27 -05:00
G. Branden Robinson
1de7cff46d [man,mdoc]: Fix Savannah #66836 (\- in HTML).
* tmac/an.tmac ([initialization])
* tmac/doc.tmac ([initialization]): Remap the text minus sign character
  `\-` to `\N'45'` (U+002D) on the "html" device.  Annotate the limited
  scope of this remapping more thoroughly.

Fixes <https://savannah.gnu.org/bugs/?66836>.  Thanks to Benno
Schulenberg for the report.

ANNOUNCE: Acknowledge Benno.
2025-02-24 17:53:22 -06:00
G. Branden Robinson
3b67273614 ANNOUNCE: Acknowledge Sebastien Peterson-Boudreau. 2025-02-16 17:29:47 -06:00
G. Branden Robinson
86d3f7c5be NEWS: Add item re: loosened makeinfo build dep.
ANNOUNCE: Acknowledge onf.
2024-12-22 18:17:10 -06:00
G. Branden Robinson
f65009ba3a ANNOUNCE: Acknowledge Takuji. 2024-11-24 12:13:49 -06:00
G. Branden Robinson
d5a48feeb3 ANNOUNCE: Acknowledge Robert Yang. 2024-11-13 12:14:10 -06:00
G. Branden Robinson
1e76294d21 [doc,man,ANNOUNCE]: Recast our elevator pitch. 2024-11-13 12:14:10 -06:00
G. Branden Robinson
c528b2f726 ChangeLog: Add bug-closer to old item.
In August, I fixed a nine-year-old bug without even knowing it.

ANNOUNCE: Acknowledge Hanno.
2024-11-13 12:13:27 -06:00
G. Branden Robinson
31421079ab groff_ms(7): Clarify IP usage for lists.
...per a suggestion from Oliver Corff.
2024-11-10 10:21:05 -06:00
G. Branden Robinson
02fb0e9ccf ANNOUNCE: Acknowledge Rob Kolstad. 2024-11-10 10:13:01 -06:00
G. Branden Robinson
51704d0cea ANNOUNCE: Acknowledge Ross Burton.
...for Savannah #66316.
2024-10-11 19:52:05 -05:00
G. Branden Robinson
c1b1804522 ANNOUNCE: Credit only individuals.
I'm happy to credit manpages-l10n project contributors who have found
issues with groff's man pages if Helge identifies them in his bug
reports (or in follow-ups).
2024-10-03 06:15:51 -05:00
G. Branden Robinson
93697e267d NEWS: Update 1.23.0 entry re: ms/mm IX macro.
Inline the definition of the deleted, undocumented macro (identical in
both packages) to ease life for refugees who discovered and used it
happily as-was.

Thanks to Joerg van den Hoff for noting my lack of courtesy.
2024-10-03 06:15:51 -05:00
G. Branden Robinson
77125e9118 [doc,man]: Clarify description of \c.
Thanks to Tadziu Hoffman for prompting me to review it.

https://lists.gnu.org/archive/html/groff/2024-10/msg00001.html
2024-10-03 06:15:51 -05:00
G. Branden Robinson
d3632851e2 groff(1), soelim(1): Hyperlink more xrefs.
* src/preproc/soelim/soelim.1.man (Description):
* src/roff/groff/groff.1.man (groff-specific options, Usage)
  (Getting started): Hyperlink man page cross references on first
  occurrences.

Fixes <https://savannah.gnu.org/bugs/?66103>.  Thanks to Helge
Kreutzmann and the manpage-l10n project for the report.

ANNOUNCE: Acknowlede Helge.
2024-09-12 10:32:50 -05:00
G. Branden Robinson
195e2574d7 ANNOUNCE: Acknowledge Sven. 2024-09-07 20:18:20 -05:00
G. Branden Robinson
d753cd697c ANNOUNCE: Acknowledge Werner.
https://lists.gnu.org/archive/html/groff/2024-08/msg00001.html
2024-08-19 12:28:37 -05:00
G. Branden Robinson
4be1bd882d ANNOUNCE: Acknowledge Jeff Conrad.
Continues commit 67a9620dc0 (authored months ago, committed earlier
today).
2024-08-09 02:41:40 -05:00
G. Branden Robinson
568beeb2ef [troff]: Fix Savannah #66052 (1/2).
* src/roff/troff/env.cpp (hyphenate): Fix potential one-byte stack
  overwrite if attempting to hyphenate a 256-letter sequence within a
  word.  Reserve space for null terminator in `hbuf` character array.
  Initially, this isn't necessary because the array is simply walked to
  normalize hyphenation codes by their equivalence classes.  However,
  when we subsequently look up the (possibly partial) word in the
  exception dictionaries, `hbuf` (or a pointer into it) needs to be
  treatable as a C string, thus null-terminated.  Respell already
  correct expression later in the code to reinforce similarity.

Partially fixes <https://savannah.gnu.org/bugs/?66052>.  Thanks to Lukas
Javorsky for identifying the problem using "SAST analyzers (combination
of coverity, snyk, cppcheck, gcc, clang, shellcheck, unicontrol)".

ANNOUNCE: Acknowledge Lukas.
2024-08-08 07:22:30 -05:00
G. Branden Robinson
c415e26da9 bootstrap: Resync with gnulib upstream.
* bootstrap: Resync with gnulib upstream.  Thanks to Collin Funk for the
  suggestion.

* ANNOUNCE: Acknowledge Collin.
2024-07-16 07:27:23 -05:00
G. Branden Robinson
621c75426e [grohtml]: Fix Savannah #65987 (psselect->ps2ps).
[grohtml]: Migrate from psselect(1) to ps2ps(1).

* src/preproc/html/pre-html.cpp (imageList::createPage): Do it.
* src/devices/grohtml/grohtml.1.man (Dependencies): Document
the changed runtime requirement.
* m4/groff.m4 (GROFF_CHECK_GROHTML_PROGRAMS):
* src/roff/groff/tests/html_works_with_grn_and_eqn.sh:
* src/roff/groff/tests/smoke-test_html_device.sh: Check for
existence of `ps2ps` command instead of `psselect`.

* ANNOUNCE:
* NEWS:
* README:
* README.MinGW: Document change in dependencies.

Fixes <https://savannah.gnu.org/bugs/?65987>.
2024-07-13 15:14:43 -05:00
Dave Kemper
e6f9a7a9aa [docs]: Revise "input file" usage.
Change the term "input file" to "input" in groff documentation in cases
where the referenced input need not come from a file.

Fixes <https://savannah.gnu.org/bugs/?65967>.

[Follow-ups:

1. Update the description of groff at its GNU home page to match the
   language now in ANNOUNCE/groff.texi.in/groff.1.man.

2. Sync meintro_fr.me.in.  Drop a "fichier"?

3. Change some instances of "input" to "the input" where that sounds
   better.

--GBR]
2024-07-10 00:51:20 -05:00
G. Branden Robinson
8c4788c44d [grog]: Fix Savannah #65902 (detect use of chem(1)).
* src/utils/grog/grog.pl: Take `cstart` and `cend` tokens out of
  `preprocessor_for_macro` hash.  They don't work with the existing
  logic.  Also drop tokens used by preprocessors that don't have
  corresponding groff(1) options and therefore don't influence the
  output grog(1) can emit.

  (do_line): Add bespoke handling for `cstart` and `cend`.  Not only are
  they the only AT&T troff preprocessor tokens that are longer than two
  characters, but their names collide in those first two characters with
  the names of troff requests.

Fixes Savannah #65902.  Thanks to Morten Bo Johansen for the report.
Problem introduced by me in commit 53a9964497, 31 July 2021.

ANNOUNCE: Acknowledge Morten.
2024-06-20 19:03:35 -05:00
G. Branden Robinson
1c6e8bcc0a ANNOUNCE: Acknowledge Patrice.
...for his assistance with Texinfo syntax.

https://lists.gnu.org/archive/html/groff/2024-06/msg00009.html
2024-06-14 17:34:28 -05:00
G. Branden Robinson
6031dbd4e0 ANNOUNCE: Acknowledge Eli for Savannah #65762. 2024-06-10 12:38:02 -05:00
G. Branden Robinson
2de49ea2e3 ANNOUNCE, ChangeLog: Log, ack previous commit. 2024-04-30 06:38:56 -05:00
G. Branden Robinson
32cde99cda ANNOUNCE: Acknowledge Paul for Savannah #65474. 2024-04-13 17:03:25 -05:00
G. Branden Robinson
1381d6a347 src/roff/troff/input.cpp: Fix Savannah #45502.
* src/roff/troff/input.cpp (skip_branch): Handle control flow branches
  consisting only of a newline correctly when skipping them--actually
  skip them, as AT&T troff does.  A newline after the `el` request, or
  after the conditional expression of an `if`, `ie`, or `while` request,
  is not "nothing"; if the branch is taken, it puts a newline on the
  output, and if it is not taken, it should neither affect output nor be
  _syntactically_ ignored on the pretense that the next input line was
  actually part of the branch.

Fixes <https://savannah.gnu.org/bugs/?45502>.  Problem likely goes back
to groff's origin.  (You could always avoid it with brace escape
sequences, which might explain why it seemed to cause little
consternation.)  Thanks to Carsten Kunze for the report and to Dave
Kemper for the code review.
2024-04-13 16:01:55 -05:00
G. Branden Robinson
d6e7f76f0f ANNOUNCE: Acknowledge Alexis. 2024-03-31 18:14:46 -05:00
G. Branden Robinson
2c5f4de013 doc/groff.texi.in: Fix Harvard Square ms example.
It had drifted out of sync with doc/ms.ms.

Thanks to Ian Ropers for the report.

ANNOUNCE: Acknowledge Ian.
2024-03-04 06:40:42 -06:00
G. Branden Robinson
8762547275 [mm]: Support pic(1) pictures when formatting HTML.
* contrib/mm/m.tmac (PS): Call `HTML-IMAGE` at end of macro definition.
* contrib/mm/m.tmac (PY): Call `HTML-IMAGE-END` at end of macro
  definition.  (`PE` calls `PY`, and so is also handled.)

Fixes https://savannah.gnu.org/bugs/?65047> (1/2).  Thanks to Hans
Bezemer and Dave Kemper for the report.

ANNOUNCE: Acknowledge Hans.
2023-12-27 14:44:21 -06:00
G. Branden Robinson
40739d1497 [gdiffmk]: Skip tests if "diff -D" not supported.
* contrib/gdiffmk/tests/runtests.sh: Test for "diff -D" support as
  gdiffmk itself does, and skip test if such support is lacking.

* ANNOUNCE:
* PROBLEMS: Drop caveat about potential test failures.
2023-12-25 19:13:03 -06:00
G. Branden Robinson
173588377b [gdiffmk]: Refactor to stop using expr(1).
* contrib/gdiffmk/gdiffmk.sh (RequiresArgument): Refactor to use shell
  parameter expansion instead of expr(1), to avoid potential use of
  external command and quirk in FreeBSD's implementation.

* ANNOUNCE:
* PROBLEMS: Drop caveat.
2023-12-23 17:50:46 -06:00
G. Branden Robinson
5956b88504 PROBLEMS: Drop caveat about GNU diffutils 3.9.
GNU diffutils 3.10 has been out for a while now.

ANNOUNCE: Ditto.
2023-12-23 13:17:56 -06:00