aboutsummaryrefslogtreecommitdiff
path: root/dw/hyphenator.cc
AgeCommit message (Collapse)Author
2025-02-05Fix several typosGevel Tekens
See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/L3FFAINJJMIOZQNID5HC2DHKJIIIHEYH/
2024-08-07Use dStrdup instead of strdupRodrigo Arias Mallo
The strdup function is not available in POSIX-2001, so we use our own implementation in dlib: dStrdup. Reviewed-by: dogma
2016-07-13cppcheck: fix format stringJohannes Hofmann
2016-03-05Cleanup.Sebastian Geerken
2014-05-10Whitespace.Sebastian Geerken
2014-03-05use delete[] to delete arrayJohannes Hofmann
2013-09-06Fix for recent replace.Sebastian Geerken
2013-09-06Replace variable length arrays in C++ by new/delete (the former is only ↵Sebastian Geerken
standard in C, not in C++).
2013-04-23Fixes FTBFS on hurd-i386Pino Toscano
2013-04-19trim some spacescorvid
2013-03-30Added/updated copyright notices.Sebastian Geerken
2013-01-02Fixed valgrind error in Hyphenator.Sebastian Geerken
2012-12-18add NULL check in hyphenateSingleWord()Johannes Hofmann
2012-12-15a little more detail on hyphenator provenancecorvid
2012-12-13New function nextUtf8Char; usage in dw::Hyphenator and (partly) dw::Textblock.Sebastian Geerken
2012-12-09share hyphenators between windows/tabsJohannes Hofmann
2012-12-06Split up words in hyphenation.Sebastian Geerken
2012-12-05Hyphenation regard characters, not bytes, at the end.Sebastian Geerken
2012-11-06add copright notice to hyphenation patterns in test directoryJohannes Hofmann
Add code to ignore lines starting with '%' when parsing pattern files as comments. noticed-by: corvid <corvid@lavabit.com>
2012-11-05trim some spacescorvid
2012-10-29rm semicolonscorvid
2012-09-21fix some free() / delete mismatchesJohannes Hofmann
2012-09-20use a packed trie to store hyphenation patternsJohannes Hofmann
Hyphenation patterns are now stored in a packed trie as described in Frank Liang's "Word Hy-phen-a-tion by Com-put-er" paper. This reduces memory consumption considerably compared to the previous hash table based trie representation.
2012-09-13typos/spelling/a little Englishcorvid
2012-09-13Correction of last patch.Sebastian Geerken (patch by Johannes Hofmann)
2012-09-12No hard-coded paths for hyphenation patterns anymore.Sebastian Geerken (patch by Johannes Hofmann)
2012-07-12new file "unicode.hh" and "unicode.cc" for Unicode and UTF-8 issuessgeerken
2012-07-11At least at the beginning, UTF-8 characters are countet correctly. ↵sgeerken
Ückendorf is now hyphenated correctly.
2012-07-11Corrected bug in getHyphenator: wild pointerssgeerken
2012-07-10For hyphenation, all characters not belonging to the actual word, e.g. ↵sgeerken
punctuation marks, are ignored. Currently only words for English and German.y
2012-07-09Cleanupsgeerkenq
2012-07-09Hyphenation exceptions. Some bug fixes.sgeerken
2012-07-06Attribute "lang" is evaluated for hyphenation; part of dw:core::style::Style.ysgeerken
2012-07-04Hyphenator: better file error handlingsgeerken
2012-06-28... cleanup of Hyphenator finished. Calls to malloc() are now reduced.sgeerken
2012-06-28... cleaning up ...sgeerken
2012-06-28Getting rid of the old method ...sgeerken
2012-06-27Changed interface (but not yet implementation) of Hyphenator.sgeerken
2012-06-27First version of automatic hyphenation. (Still a large number of bugs.)sgeerken
2012-06-26some refactoringsgeerken
2012-06-25Static hash map for hyphenators. Patterns are loaded from ↵sgeerken
/usr/local/lib/dillo/hyphenation.
2012-06-25Hyphenation moved to dw (soon to be used by dw::Textlock)sgeerken