2012-06-29 09:10:58 +02:00
|
|
|
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 02:30:20 +01:00
|
|
|
2010-12-01 László Németh <nemeth at OOo>:
|
2012-06-29 09:10:58 +02:00
|
|
|
* hyphen.c: NOHYPHEN fix for a special case (NOHYPHEN
|
|
|
|
character in starting position, eg. "-example")
|
2010-12-01 02:30:20 +01:00
|
|
|
|
2010-11-27 03:20:33 +01:00
|
|
|
2010-11-27 László Németh <nemeth at OOo>:
|
2012-06-29 09:10:58 +02:00
|
|
|
* hyphen.c: add NOHYPHEN feature
|
|
|
|
to handle special hyphenation at hyphens and apostrophes,
|
|
|
|
see README.compound
|
2010-11-27 03:20:33 +01:00
|
|
|
|
2012-06-29 09:10:58 +02:00
|
|
|
* tests/{rhmin, hyphen}: new test files
|
2010-11-27 03:20:33 +01:00
|
|
|
|
2012-06-29 09:10:58 +02:00
|
|
|
* ooopatch.sed. hyph_en_US.dic: replace and improve old hack
|
|
|
|
with NOHYPHEN
|
2010-11-27 03:20:33 +01:00
|
|
|
|
2010-07-19 11:23:18 +02:00
|
|
|
2010-07-18 Caolán McNamara <cmc at OOo>:
|
|
|
|
* remove csutil.* as more trouble that its
|
|
|
|
worth for just the testsuite
|
|
|
|
|
2010-07-17 17:57:17 +02:00
|
|
|
2010-07-17 Caolán McNamara <cmc at OOo>:
|
|
|
|
* strip down csutil.* to the bits that are used
|
2010-07-17 18:14:13 +02:00
|
|
|
* use libtool dlopen invocation to ensure we test in-tree
|
|
|
|
libhyphen during tests
|
2010-07-17 17:57:17 +02:00
|
|
|
|
2010-03-04 13:50:21 +01:00
|
|
|
2010-03-04 Caolán McNamara <cmc at OOo>:
|
2010-03-04 14:08:22 +01:00
|
|
|
* hun#1724558 tidy substring.c a little
|
|
|
|
* hun#1999737 add some malloc checks
|
2010-03-04 14:29:16 +01:00
|
|
|
* hun#2005643 tidy string functions
|
2010-03-04 13:50:21 +01:00
|
|
|
|
2010-03-04 13:13:53 +01:00
|
|
|
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>
|