1 2022-10-09 G. Branden Robinson <g.branden.robinson@gmail.com>
3 * gpinyin.pl: Report groff version number along with this
4 program's own when not run from source tree. Drop dead code.
5 Bump micro version number to reflect recent restructuring.
7 2022-10-09 G. Branden Robinson <g.branden.robinson@gmail.com>
9 Make gpinyin script stand alone.
11 * subs.pl: Delete, moving its content into...
12 * gpinyin.pl: ...here.
13 (vowel_t): Use explicit list with `my`.
14 (vowel_n, vowel_t): Declare local scalar `$vowel_with_tone`
16 * gpinyin.am (dist_gpinyin_DATA): Delete.
18 2022-05-03 G. Branden Robinson <g.branden.robinson@gmail.com>
20 * gpinyin.am (gpinyin): Fix missing dependency on
21 `$(SH_DEPS_SED_SCRIPT)`.
23 2021-05-11 G. Branden Robinson <g.branden.robinson@gmail.com>
25 * gpinyin.1.man: Render the tone mark table only if the output
26 device might be capable.
28 Fixes <https://savannah.gnu.org/bugs/index.php?55215>.
30 2021-05-10 G. Branden Robinson <g.branden.robinson@gmail.com>
32 * gpinyin.1.man: Work around inability of grops and gropdf to
33 construct some Unicode composite characters. Use groff
34 composite special characters for "a" with acute and grave
35 accents, and define strings for "a" with macron (overline) and
36 with háček/caron accents. Use different string definitions for
37 nroff and troff modes so we don't regress UTF-8 terminal output.
39 2021-05-10 G. Branden Robinson <g.branden.robinson@gmail.com>
41 * subs.pl (vowel_t): Fix incorrect rendering of base glyph 'U',
42 which was being forced to lowercase when a dieresis and tone
43 mark were both being applied. This caused the tone mark to
44 overlap the dieresis, so decrease the font size of the base
45 glyph even more to compensate. The result is ugly but
48 See <https://savannah.gnu.org/bugs/?57524>, partially mitigated
49 but not completely resolved.
51 2021-05-09 G. Branden Robinson <g.branden.robinson@gmail.com>
53 * subs.pl (%tones1_Unicode): Fix copy and paste error. Emit
54 U+01D5 (Latin capital letter u with dieresis and macron) for Ü
55 with tone 1, instead of U+016A (Latin capital letter u with
58 Fixes <https://savannah.gnu.org/bugs/?60562>.
60 2021-05-09 G. Branden Robinson <g.branden.robinson@gmail.com>
62 * subs.pl (handle_word): Emit \[cq] instead of \[aq] when
63 interpolating an apostrophe before a vowel.
65 Fixes <https://savannah.gnu.org/bugs/?60561>.
67 2021-05-09 G. Branden Robinson <g.branden.robinson@gmail.com>
69 * subs.pl (%tones_glyphs, %tones4_glyphs): Fix hash keys to use
70 the groff dotless i special character into which a lowercase "i"
71 has already been transformed instead of 'i' itself.
72 (vowel_n, vowel_t): Rename variable so that tone-transformed
73 vowel is stored separately. Add "or warn" to test the result
74 and cheaply assert that we got a string back from our hash
77 Fixes <https://savannah.gnu.org/bugs/?60560>.
79 2021-01-06 Colin Watson <cjwatson@debian.org>
81 * gpinyin.pl: Avoid Perl's unsafe "<>" operator.
83 The "<>" operator is implemented using the two-argument form of
84 "open", which interprets magic such as pipe characters, allowing
85 execution of arbitrary commands which is unlikely to be
86 expected. Perl >= 5.22 has a "<<>>" operator which avoids this,
87 but also forbids the use of "-" to mean the standard input,
88 which is a facility that the affected groff programs document.
90 ARGV::readonly would probably also fix this, but I fundamentally
91 dislike the approach of escaping data in preparation for a
92 language facility to unescape it, especially when the required
93 escaping is as non-obvious as it is here. (For the same reason,
94 I prefer to use subprocess invocation facilities that allow
95 passing the argument list as a list rather than as a string to
96 be interpreted by the shell.) So I've abandoned this dubious
97 convenience and changed the affected programs to iterate over
98 command-line arguments manually using the three-argument form of
101 Fixes <https://savannah.gnu.org/bugs/?55557>.
103 2020-04-22 G. Branden Robinson <g.branden.robinson@gmail.com>
105 * gpinyin.1.man: Delete references to groffer.
107 2018-02-28 Werner LEMBERG <wl@gnu.org>
109 * gpinyin.am (gpinyin): Use $(AM_V_GEN) to silence file generation.
111 2015-08-22 Bernd Warken <groff-bernd.warken-72@web.de>
113 * gpinyin.1.man: Rename `gpinyin.man'.
115 * gpinyin.am: include renaming.
117 2015-08-05 Bernd Warken <groff-bernd.warken-72@web.de>
119 * gpinyin.am: Add `Last update'. Setup Emacs mode.
121 2015-04-03 Werner LEMBERG <wl@gnu.org>
123 * gpinyin.man: Make it work in compatibility mode.
126 2014-10-11 Werner LEMBERG <wl@gnu.org>
128 * Makefile.sub (gpinyin): Handle `gpinyin_dir'.
130 2014-10-11 Bernd Warken <groff-bernd.warken-72@web.de>
132 * gpinyin.pl: Version 1.0.4
133 Remove `use IPC::System::Simple'.
135 2014-10-10 Bernd Warken <groff-bernd.warken-72@web.de>
137 * gpinyin.pl: Version 1.0.3
138 Remove beginning empty line for `pinyin' parts.
140 2014-09-25 Bernd Warken <groff-bernd.warken-72@web.de>
142 * gpinyin.pl: Version 1.0.2
144 * Makefile.sub: Add .PHONY. Restructure install and uninstall.
146 2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
150 * all `gpinyin' files: Copying and Emacs settings.
152 2014-08-27 Bernd Warken <groff-bernd.warken-72@web.de>
156 * gpinyin.pl, subs.pl, gpinyin.man: Make `gpinyin' runnable.
158 2014-08-08 Bernd Warken <groff-bernd.warken-72@web.de>
160 * gpinyin.pl: Version 0.9.2
162 * subs.pl: Rename `sub.pl'.
164 * Makefile.sub: Change `sub.pl' to `subs.pl'.
166 2014-08-08 Bernd Warken <groff-bernd.warken-72@web.de>
168 * gpinyin.pl: Version 0.9.1
170 * sub.pl: New file for storing subs later on.
172 * Makefile.sub: Add new gpinyin path for sub.pl.
174 2014-08-01 Bernd Warken <groff-bernd.warken-72@web.de>
176 * gpinyin.pl, gpinyin.man, ChangeLog, Makefile.sub:
177 First version 0.9.0 of gpinyin
179 2014-08-01 Bernd Warken <groff-bernd.warken-72@web.de>
180 ________________________________________________________________________
183 Copyright (C) 2014-2020 Free Software Foundation, Inc.
184 Written by Bernd Warken <groff-bernd.warken-72@web.de>.
186 Copying and distribution of this file, with or without
187 modification, are permitted provided the copyright notice and this
188 notice are preserved.
190 This file is part of `gpinyin', which is part of the `groff'
193 ##### Editor settings
198 version-control: never
200 vim:set autoindent textwidth=72: