summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tag enchantenchant-1-4-0tags/enchant-1-4-0Dom Lachowicz2008-03-310-0/+0
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/tags/enchant-1-4-0@23295 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* bump version #Dom Lachowicz2008-03-311-2/+2
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@23294 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* configure.in: fix uspell dictionary directory. can now load uspell dictionariesDom Lachowicz2008-03-216-298/+341
| | | | | | | | | | | | configure.in: point myspell dictionary directory @ your distro's myspell installation configure.in: define enchant's $prefix, so that looking for dictionaries in (eg.) /usr/share/enchant/myspell will still work *.c, *.cpp: look for configuration files, shared libraries, and dictionaries in more places. follow the XDG user-dirs specification more closely, but preserve backward compatability git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@23224 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* if someone requests 'pl' and myspell has a 'pl_PL' dictionary, return that ↵Dom Lachowicz2008-03-206-61/+123
| | | | | | as a 'close enough' answer git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@23210 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Initialize base_dir in the non-win32 case (thanks rob)Eric Albright2008-03-031-1/+1
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@23000 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* identify and describe functions return const char* Eric Albright2008-03-034-8/+8
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22998 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* fewer warnings stillDom Lachowicz2008-03-0211-25/+81
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22993 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* lots more warning fixesDom Lachowicz2008-03-0211-35/+64
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22992 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* More unit tests for providersEric Albright2008-03-0213-12/+833
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22990 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* warnings--;Dom Lachowicz2008-03-022-15/+12
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22989 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* lots of warning flagsDom Lachowicz2008-03-021-0/+69
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22988 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Fix crash when myspell dictionary is missing aff fileEric Albright2008-03-021-6/+26
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22987 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Fix handling of Unicode NFD formsEric Albright2008-03-023-17/+41
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22986 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* clarify user provider probingEric Albright2008-03-011-21/+42
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22979 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* don't use c++ comments in c codeDom Lachowicz2008-02-281-1/+1
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22973 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* bug 11412 - use D-BUS zemberek backend; from Serkan KabaDom Lachowicz2008-02-286-312/+174
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22972 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* include gstdio.h; treat hyphens within words as part of the word (bug 11008)Dom Lachowicz2008-02-281-1/+10
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22971 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Make aspell provider not set an error message if it cannot find a dictionary ↵Eric Albright2008-02-272-1/+70
| | | | | | when requested git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22964 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* More Framework for unit testing providers (make it automatically run)Eric Albright2008-02-273-7/+17
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22963 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Framework for unit testing providersEric Albright2008-02-274-27/+478
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22962 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* On Windows adds the OpenOffice shared dictionary directory as one of the ↵Eric Albright2008-02-261-2/+76
| | | | | | locations to find dictionaries for the myspell provider. git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22946 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Reference count dictionaries so enchant_broker_free_dict works correctlyEric Albright2008-02-222-24/+55
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22883 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* On Windows, tries to explicitly load aspell-15.dll from:Eric Albright2008-02-211-14/+124
| | | | | | | | | | | | 1. The module in registry key Software\Enchant\Aspell\Module 2. The directory in registry key HKLM\Aspell\Path 3. The directory of libenchant_aspell.dll 4. The normal windows dll search strategy which includes path, application directory, current directory, system directory and windows directory Failing that, it ensures that there will be no crash failing to late bind to aspell. git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22870 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* remove msvc compile errorsEric Albright2008-02-202-3/+4
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22860 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Bug 11321 - enable enchant to link against external hunspellDom Lachowicz2008-01-062-15/+25
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22580 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* upgrade to hunspell 1.2.1, released in November, 2007Dom Lachowicz2008-01-0619-1216/+1657
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22579 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Include gstdio.h for g_fopen().2007-12-281-0/+2
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22392 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Make tests clean up after themselvesEric Albright2007-12-231-1/+1
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22383 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Add bindings for .NetEric Albright2007-12-2316-28/+1882
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22382 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* allocate the exact size of the matcher pathEric Albright2007-12-211-3/+5
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22380 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* use g_fopen instead of fopenEric Albright2007-12-202-2/+2
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22379 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Get aspell provider working on Windows, support using previously installed ↵Eric Albright2007-12-203-4/+22
| | | | | | aspell on Windows git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22378 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* change output locations for win32Eric Albright2007-12-2014-56/+56
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22377 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Add commentsEric Albright2007-12-113-13/+17
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22370 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Use Damerau-Levenshtein edit distance algorithm instead of Levenshtein.Eric Albright2007-12-112-13/+151
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22369 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Pwl suggestions returned must be as close as dict suggestionsEric Albright2007-12-104-129/+312
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22368 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Additional tests for pwl edit distanceEric Albright2007-12-101-1/+139
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22367 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Fix pwl suggest. When a word is a prefix of another word and the edits the ↵Eric Albright2007-12-072-9/+110
| | | | | | word being searched is shorter, the prefixed word was not found. git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22362 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Handle case where all suggestions are excludedEric Albright2007-11-292-0/+15
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22360 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Refresh pwl when external changes are madeEric Albright2007-11-294-52/+154
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22359 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* include gstdio in order to silence some build warningsDom Lachowicz2007-11-282-5/+7
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22350 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* ignore lines that are longer than the read buffer for pwlEric Albright2007-11-282-2/+44
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22346 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* treat lines that begin with # as comments in pwlEric Albright2007-11-282-100/+130
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22345 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Refactor: move code to add word to pwl file from enchant_pwl_add_to_trie ↵Eric Albright2007-11-281-21/+19
| | | | | | when flagged to enchant_pwl_add git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22344 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Add enchant_get_user_config_dir and change default location of providers, ↵Eric Albright2007-11-2812-337/+458
| | | | | | dictionaries, etc. on Windows ($APPDATA/enchant instead of $HOME/.enchant) git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22343 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* check for invalid dictionary tags (must only contain alphanumeric ASCII or ↵Eric Albright2007-11-274-53/+134
| | | | | | '_' after normalization) git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22336 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* use c commentEric Albright2007-11-201-1/+1
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22322 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* add exclude functionality (enchant_dict_remove, ↵Eric Albright2007-11-2020-232/+1709
| | | | | | enchant_dict_remove_from_session, enchant_dict_is_removed) and mirrored api for pwl (enchant_dict_add for enchant_dict_add_to_pwl and enchant_dict_is_added for enchant_dict_is_in_session) git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22321 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* fix other case of memory leak introduced in r22318Eric Albright2007-11-201-0/+1
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22320 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* fix memory leak introduced in r22318Eric Albright2007-11-201-0/+2
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22319 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6