53cc228805388dfe1a35d95fb8058bceba9815a9
[platform/upstream/groff.git] / contrib / gpinyin / ChangeLog
1 2022-10-09  G. Branden Robinson <g.branden.robinson@gmail.com>
2
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.
6
7 2022-10-09  G. Branden Robinson <g.branden.robinson@gmail.com>
8
9         Make gpinyin script stand alone.
10
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`
15         using `my`.
16         * gpinyin.am (dist_gpinyin_DATA): Delete.
17
18 2022-05-03  G. Branden Robinson <g.branden.robinson@gmail.com>
19
20         * gpinyin.am (gpinyin): Fix missing dependency on
21         `$(SH_DEPS_SED_SCRIPT)`.
22
23 2021-05-11  G. Branden Robinson <g.branden.robinson@gmail.com>
24
25         * gpinyin.1.man: Render the tone mark table only if the output
26         device might be capable.
27
28         Fixes <https://savannah.gnu.org/bugs/index.php?55215>.
29
30 2021-05-10  G. Branden Robinson <g.branden.robinson@gmail.com>
31
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.
38
39 2021-05-10  G. Branden Robinson <g.branden.robinson@gmail.com>
40
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
46         comprehensible.
47
48         See <https://savannah.gnu.org/bugs/?57524>, partially mitigated
49         but not completely resolved.
50
51 2021-05-09  G. Branden Robinson <g.branden.robinson@gmail.com>
52
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
56         macron).
57
58         Fixes <https://savannah.gnu.org/bugs/?60562>.
59
60 2021-05-09  G. Branden Robinson <g.branden.robinson@gmail.com>
61
62         * subs.pl (handle_word): Emit \[cq] instead of \[aq] when
63         interpolating an apostrophe before a vowel.
64
65         Fixes <https://savannah.gnu.org/bugs/?60561>.
66
67 2021-05-09  G. Branden Robinson <g.branden.robinson@gmail.com>
68
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
75         lookup on the vowel.
76
77         Fixes <https://savannah.gnu.org/bugs/?60560>.
78
79 2021-01-06  Colin Watson <cjwatson@debian.org>
80
81         * gpinyin.pl: Avoid Perl's unsafe "<>" operator.
82
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.
89
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
99         open.
100
101         Fixes <https://savannah.gnu.org/bugs/?55557>.
102
103 2020-04-22  G. Branden Robinson <g.branden.robinson@gmail.com>
104
105         * gpinyin.1.man: Delete references to groffer.
106
107 2018-02-28  Werner LEMBERG  <wl@gnu.org>
108
109         * gpinyin.am (gpinyin): Use $(AM_V_GEN) to silence file generation.
110
111 2015-08-22  Bernd Warken  <groff-bernd.warken-72@web.de>
112
113         * gpinyin.1.man: Rename `gpinyin.man'.
114
115         * gpinyin.am: include renaming.
116
117 2015-08-05  Bernd Warken  <groff-bernd.warken-72@web.de>
118
119         * gpinyin.am: Add `Last update'.  Setup Emacs mode.
120
121 2015-04-03  Werner LEMBERG  <wl@gnu.org>
122
123         * gpinyin.man: Make it work in compatibility mode.
124         (EL): Fix typo.
125
126 2014-10-11  Werner LEMBERG  <wl@gnu.org>
127
128         * Makefile.sub (gpinyin): Handle `gpinyin_dir'.
129
130 2014-10-11  Bernd Warken  <groff-bernd.warken-72@web.de>
131
132         * gpinyin.pl: Version 1.0.4
133         Remove `use IPC::System::Simple'.
134
135 2014-10-10  Bernd Warken  <groff-bernd.warken-72@web.de>
136
137         * gpinyin.pl: Version 1.0.3
138         Remove beginning empty line for `pinyin' parts.
139
140 2014-09-25  Bernd Warken  <groff-bernd.warken-72@web.de>
141
142         * gpinyin.pl: Version 1.0.2
143
144         * Makefile.sub: Add .PHONY.  Restructure install and uninstall.
145
146 2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>
147
148         Version 1.0.1
149
150         * all `gpinyin' files: Copying and Emacs settings.
151
152 2014-08-27  Bernd Warken  <groff-bernd.warken-72@web.de>
153
154         Version 1.0.0
155
156         * gpinyin.pl, subs.pl, gpinyin.man: Make `gpinyin' runnable.
157
158 2014-08-08  Bernd Warken  <groff-bernd.warken-72@web.de>
159
160         * gpinyin.pl: Version 0.9.2
161
162         * subs.pl: Rename `sub.pl'.
163
164         * Makefile.sub: Change `sub.pl' to `subs.pl'.
165
166 2014-08-08  Bernd Warken  <groff-bernd.warken-72@web.de>
167
168         * gpinyin.pl: Version 0.9.1
169
170         * sub.pl: New file for storing subs later on.
171
172         * Makefile.sub: Add new gpinyin path for sub.pl.
173
174 2014-08-01  Bernd Warken  <groff-bernd.warken-72@web.de>
175
176         * gpinyin.pl, gpinyin.man, ChangeLog, Makefile.sub:
177         First version 0.9.0 of gpinyin
178
179 2014-08-01  Bernd Warken  <groff-bernd.warken-72@web.de>
180 ________________________________________________________________________
181 License
182
183 Copyright (C) 2014-2020 Free Software Foundation, Inc.
184 Written by Bernd Warken <groff-bernd.warken-72@web.de>.
185
186 Copying and distribution of this file, with or without
187 modification, are permitted provided the copyright notice and this
188 notice are preserved.
189
190 This file is part of `gpinyin', which is part of the `groff'
191 project.
192
193 ##### Editor settings
194
195 Local Variables:
196 fill-column: 72
197 mode: change-log
198 version-control: never
199 End:
200 vim:set autoindent textwidth=72: