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