-
Notifications
You must be signed in to change notification settings - Fork 23
/
ChangeLog
259 lines (196 loc) · 10.7 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
2014-09-18 Caolán McNamara <caolán at redhat dot com>:
* coverity#58283 now 0 coverity warnings
2014-06-30 Rene Engelhard <rene at rene - engelhard dot de>:
* add missing stdio.h to hyphen.h, reported by David Suárez
in deb#753218.
2014-06-26 Caolán McNamara <caolán at redhat dot com>:
* clang scan-build warnings
2013-03-18 László Németh <nemeth at numbertext dot org>:
* Makefile.am, Makefile.in: set -version-info
2013-03-12 Paweł Hajdan <phajdan at google>:
* hyphen.h, hyphen.c: add hnj_hyphen_load_file() for sandboxing
2012-09-13 László Németh <nemeth at numbertext dot org>:
* hyphen.c: fdo#43931: removing hard hyphen hyphenation for LibreOffice
* tests/rhmin.*: add Telugu test example for rhmin fix
2012-09-11 Steven Dickson <DicksonSK at ldschurch dot org>:
* hyphen.c: fdo#54843: rhmin fix for words with 3-byte or more UTF-8
multibyte characters
2012-07-18 Caolán McNamara <caolán at redhat dot com>:
* coverity warnings
2011-10-10 László Németh <nemeth at numbertext dot org>:
* hyphen.c:
- fix NOHYPHEN (hyphenation vector
modified by 0 instead of '0')
- fix non-balanced hyphenation of LibreOffice/OOo 3.3 by
1-1/=,1,1 alternative pattern (removing hyphen)
- set default COMPOUNDHYPHENMIN=3 at hyphen and apostrophes
- fix VERBOSE to support multilevel patterns
* example.c: new option: -n to print hyphenation vector
2011-10-07 László Németh <nemeth at numbertext dot org>:
* hyphen.c: use explicite compoundhyphenmin values of the
dictionary also for the implicite NOHYPHEN hyphenation
2011-10-06 László Németh <nemeth at numbertext dot org>:
* hyphen.c: force minimal lefthyphenmin and righthyphenmin values
of the dictionary
2011-10-04 László Németh <nemeth at numbertext dot org>:
* hyphen.c: ignore leading and ending numbers (eg. fix
hyphenation of words with manual or field-based
indexes in LibreOffice/OpenOffice.org)
* tests/num.*: new test files
* hyphen.c: default NOHYPHEN separators: hyphen and
ASCII apostrophe + (only in UTF-8 encoding) endash (U+2013)
and typographical apostrophe (U+2019): fix hyphenation of
words with hyphens, n-dashes or apostrophes in LibreOffice/OOo.
* README.compound: description
* hyph_en_US.dic: remove explicite NOHYPHEN declaration
2010-12-01 László Németh <nemeth at OOo>:
* hyphen.c: NOHYPHEN fix for a special case (NOHYPHEN
character in starting position, eg. "-example")
2010-11-27 László Németh <nemeth at OOo>:
* hyphen.c: add NOHYPHEN feature
to handle special hyphenation at hyphens and apostrophes,
see README.compound
* tests/{rhmin, hyphen}: new test files
* ooopatch.sed. hyph_en_US.dic: replace and improve old hack
with NOHYPHEN
2010-07-18 Caolán McNamara <cmc at OOo>:
* remove csutil.* as more trouble that its
worth for just the testsuite
2010-07-17 Caolán McNamara <cmc at OOo>:
* strip down csutil.* to the bits that are used
* use libtool dlopen invocation to ensure we test in-tree
libhyphen during tests
2010-03-04 Caolán McNamara <cmc at OOo>:
* hun#1724558 tidy substring.c a little
* hun#1999737 add some malloc checks
* hun#2005643 tidy string functions
2010-02-23 László Németh <nemeth at OOo>:
* hyphen.c: fix lefthyphenmin calculation for UTF-8 encoded input
* hyphen.c: add Unicode ligature support for hyphenmin calculation
(see also LONG_LIGATURE macro in hyphen.c for conditional
compiling)
* csutil.c: static struct for encds[] (from OpenOffice.org patch),
(unsigned char)s, wordmin + 5 limit (see hyphen-2.4.patch of OOo)
* Makefile.am, ooopatch.awk: add OpenOffice.org patch to the en_US
hyphenation dictionary to fix apostrophe handling, see lhmin.test
* Makefile.am, lig.awk: add Unicode ligature support to en_US
hyphenation dictionary. NOTE: hyphenation within ligatures is not
supported yet because of an implementation problem of
OpenOffice.org: see OOo issue 71608.
* tests: new tests: lig.* for ligature hyphenation, lhmin.* for
lefthyphenmin calculation for UTF-8 encoded text with diacritics.
2008-05-01 László Németh <nemeth at OOo>:
* hyphen.c, hyphen.h: compound word hyphenation support by recursive
pattern matching based on two hyphenation pattern sets, see
README.compound. Especially useful for languages with arbitrary
number of compounds (Danish, Dutch, Finnish, German, Hungarian,
Icelandic, Norwegian, Swedish etc.).
- dictionary options for compound word hyphenation:
COMPOUNDLEFTHYPHENMIN: minimal hyphenation distance from the
left compound word boundary
COMPOUNDRIGHTHYPHENMIN: minimal hyphenation distance from the right
compound word boundary
* README.compound: documentation
* tests/compound.*: test data for compound word hyphenation and
COMPOUNDLEFTHYPHENMIN and COMPOUNDRIGHTHYPHENMIN.
* tests/test.sh:
- add Valgrind debugger support, usage:
make check
VALGRIND=memcheck make check
- fix false return when an error occurred
- fix make distcheck target
* tests/*.pat, test.sh: using static pattern files processed by
substrings.pl instead of run-time processed patterns.
* hyphen.c: add default hyphenmin support to the dictionaries:
LEFTHYPHENMIN: minimal hyphenation distance from the left
end of the word
RIGHTHYPHENMIN: minimal hyphenation distance from the right
end of the word.
Problems with the LEFTHYPHENMIN and RIGHTHYPHENMIN and a
possible solution reported by Joan Montané in SF.net Bug ID 1777894.
* tests/settings*.*: test data of LEFTHYPHENMIN and
RIGHTHYPHENMIN. First test (settings.*) is based on the test data
of Joan Montané (SF.net Bug ID 1777894).
* example.c: changed options:
- old -d (non-standard hyph.) mode is the default now
- -dd (listing possible hyphenations) -> -d
- -o : old (without non-standard hyphenation support) mode
* Makefile.am:
- remove unused csutil from the shared library (-20 kB and
solve a csutil conflict with Hunspell reported by
Rene Engerhald in SF.net Bug 1939988).
* substrings.pl : add lefthyphenmin and righthyphemin options:
substrings.pl infile outfile [encoding [lefthyphenmin [righthyphenmin]]]
* hyph_en_US.dic, Makefile.am: set right default values for
American English, based on the original TeX settings and
American English orthography:
LEFTHYPHENMIN 2
RIGHTHYPHENMIN 3
* README_hyph_en_US.dic: add README for en_US hyphenation patterns
* tbhyphext.tex: TugBoat hyphenation exception log with
thousand word fixes, source:
http://www.ctan.org/tex-archive/info/digests/tugboat/tb0hyf.tex,
processed by the hyphenex.sh script (see in the same folder).
* tbhyphext.sh: conversion script for tbhyphext.pat.
2008-02-19 László Németh <nemeth at OOo>:
* hyphen.c: fix unconditional jump in the obsolete
hnj_hyphen_hyphenate() (it was already fixed in the
preferred hnj_hyphen_hyphenate2()). Possible fix for the problem
reported by Rene Engelhard in SourceForge Bug ID 1896207.
* Makefile.am: add missing $(srcdir)s for make dist
* NEWS: add NEWS for autoreconf
2007-11-22 László Németh <nemeth at OOo>:
* hyphen.c: fix a bad condition that introduced in the previous version.
Problem reported by Joan Montané under SourceForge Bug ID 1772381.
* Makefile.am: rename the library to "hyphen".
* hyphen.tex: use the last official version and its time stamp.
Source: http://tug.ctan.org/text-archive/macros/plain/base/hyphen.tex
* tests/*: add make check support
* doc/tb87nemeth.pdf: TugBoat article about non-standard
hyphenation and its implementation.
2007-11-12 Caolan McNamara <cmc at OO.o>:
* autoconf/automake/libtoolize it
Which as a side effect makes it fit into the existing
--with-system-altlinuxhyph configure support in OOo to use a system
pre-installed library for OOo hyphenation.
* make a shared library libhnj.so from it
* install the hyphen.h header
* hyphen.patch: document by a make target how to go from the
original hyphen.tex file to the interim hyphen.us to the final
hyph_en_US.dic that OOo uses. (For example, converting
\hyphenate section of hyphen.tex.)
2007-05-14 László Németh <nemeth at OOo>:
* README: add information about substring.pl conversion and HyFo
Java hyphenation module.
* README.hyphen: add the following references about hyphenation:
Franklin M. Liang: Word Hy-phen-a-tion by Com-put-er.
Stanford University, 1983. http://www.tug.org/docs/liang.
László Németh: Automatic non-standard hyphenation in OpenOffice.org,
TUGboat (27), 2006. No. 2., http://hunspell.sourceforge.net/tb87nemeth.pdf
* README. nonstandard: add information about narrow subpatterns,
and a problem reported by Peter B. West.
2006-11-27 László Németh <nemeth at OOo>:
* substrings.pl: restore previous version to fix rare non-standard hyphenation
problems reported by Peter B. West, HyFo (Java XSLT formatter) developer
2006-08-03 László Németh <nemeth at OOo>:
* hyphen.c: fix bad Unicode non-standard hyphenation (reset deleted
break in UTF-8 length conversion code in hnj_hyphen_load())
* tests/unicode*, Makefile: test for this fix
* hyphen.c: fix bad hyphen duplication in hyphword output in hnj_hyphenate2()
* example.c: fix empty input fault in single_hyphenations()
(unsigned return value of strlen() output couldn't be negative in the condition)
* substrings.pl: shorter version with Nanning Buitenhuis's substrings.pl fix.
2006-07-28 Nanning Buitenhuis <nanning at elvenkind dot com>:
* substrings.c: faster C version of substrings.pl
- It also fixed a minor bug in combine(): if a sub-pattern is found twice
(or more) in the main pattern, then all occurences were changed instead
of (the correct) last occurence. Only example in hyphen.us is 'tanta3'
2006-01-27 László Németh <nemeth at OOo>:
* *.{c,h}: add non-standard hyphenation and Unicode support
* README.discretionary: documentation
- add tests/ (see make check)
2005-10-13 Daniel Naber <dnaber at OOo>:
* example.c: fixed the call to hnj_hyphen_hyphenate() in example.c so that
patterns ending in a dot should now work (Daniel Naber)
Libhnj was written by Raph Levien <raph@acm.org>
Adapted to OpenOffice.org by Peter Novodvorsky <nidd@alt-linux.org>