X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=contrib%2Fgpinyin%2FChangeLog;h=53cc228805388dfe1a35d95fb8058bceba9815a9;hb=0d03474e524253d1b583bb009956b22749efffb1;hp=c7ec8d5f4ddd56a38910cb06459d584dcc1d5526;hpb=23a127f15b8a2bc7781bcc05cc83c8dc68d6f6ef;p=platform%2Fupstream%2Fgroff.git diff --git a/contrib/gpinyin/ChangeLog b/contrib/gpinyin/ChangeLog index c7ec8d5..53cc228 100644 --- a/contrib/gpinyin/ChangeLog +++ b/contrib/gpinyin/ChangeLog @@ -1,3 +1,109 @@ +2022-10-09 G. Branden Robinson + + * gpinyin.pl: Report groff version number along with this + program's own when not run from source tree. Drop dead code. + Bump micro version number to reflect recent restructuring. + +2022-10-09 G. Branden Robinson + + Make gpinyin script stand alone. + + * subs.pl: Delete, moving its content into... + * gpinyin.pl: ...here. + (vowel_t): Use explicit list with `my`. + (vowel_n, vowel_t): Declare local scalar `$vowel_with_tone` + using `my`. + * gpinyin.am (dist_gpinyin_DATA): Delete. + +2022-05-03 G. Branden Robinson + + * gpinyin.am (gpinyin): Fix missing dependency on + `$(SH_DEPS_SED_SCRIPT)`. + +2021-05-11 G. Branden Robinson + + * gpinyin.1.man: Render the tone mark table only if the output + device might be capable. + + Fixes . + +2021-05-10 G. Branden Robinson + + * gpinyin.1.man: Work around inability of grops and gropdf to + construct some Unicode composite characters. Use groff + composite special characters for "a" with acute and grave + accents, and define strings for "a" with macron (overline) and + with háček/caron accents. Use different string definitions for + nroff and troff modes so we don't regress UTF-8 terminal output. + +2021-05-10 G. Branden Robinson + + * subs.pl (vowel_t): Fix incorrect rendering of base glyph 'U', + which was being forced to lowercase when a dieresis and tone + mark were both being applied. This caused the tone mark to + overlap the dieresis, so decrease the font size of the base + glyph even more to compensate. The result is ugly but + comprehensible. + + See , partially mitigated + but not completely resolved. + +2021-05-09 G. Branden Robinson + + * subs.pl (%tones1_Unicode): Fix copy and paste error. Emit + U+01D5 (Latin capital letter u with dieresis and macron) for Ü + with tone 1, instead of U+016A (Latin capital letter u with + macron). + + Fixes . + +2021-05-09 G. Branden Robinson + + * subs.pl (handle_word): Emit \[cq] instead of \[aq] when + interpolating an apostrophe before a vowel. + + Fixes . + +2021-05-09 G. Branden Robinson + + * subs.pl (%tones_glyphs, %tones4_glyphs): Fix hash keys to use + the groff dotless i special character into which a lowercase "i" + has already been transformed instead of 'i' itself. + (vowel_n, vowel_t): Rename variable so that tone-transformed + vowel is stored separately. Add "or warn" to test the result + and cheaply assert that we got a string back from our hash + lookup on the vowel. + + Fixes . + +2021-01-06 Colin Watson + + * gpinyin.pl: Avoid Perl's unsafe "<>" operator. + + The "<>" operator is implemented using the two-argument form of + "open", which interprets magic such as pipe characters, allowing + execution of arbitrary commands which is unlikely to be + expected. Perl >= 5.22 has a "<<>>" operator which avoids this, + but also forbids the use of "-" to mean the standard input, + which is a facility that the affected groff programs document. + + ARGV::readonly would probably also fix this, but I fundamentally + dislike the approach of escaping data in preparation for a + language facility to unescape it, especially when the required + escaping is as non-obvious as it is here. (For the same reason, + I prefer to use subprocess invocation facilities that allow + passing the argument list as a list rather than as a string to + be interpreted by the shell.) So I've abandoned this dubious + convenience and changed the affected programs to iterate over + command-line arguments manually using the three-argument form of + open. + + Fixes . + +2020-04-22 G. Branden Robinson + + * gpinyin.1.man: Delete references to groffer. + 2018-02-28 Werner LEMBERG * gpinyin.am (gpinyin): Use $(AM_V_GEN) to silence file generation. @@ -74,7 +180,7 @@ ________________________________________________________________________ License -Copyright (C) 2014-2018 Free Software Foundation, Inc. +Copyright (C) 2014-2020 Free Software Foundation, Inc. Written by Bernd Warken . Copying and distribution of this file, with or without @@ -84,8 +190,11 @@ notice are preserved. This file is part of `gpinyin', which is part of the `groff' project. -####### Emacs settings +##### Editor settings Local Variables: +fill-column: 72 mode: change-log +version-control: never End: +vim:set autoindent textwidth=72: