summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [COMPDICT] Tests for Composite Dictionarygsoc2013cdictVidhoon Vishwanathan2013-07-212-1/+286
| | | | | | | | | | This patch creates basic tests for composite dictionary and also include Makefile changes for compilation of new tests to make them run ready. Signed-off-by: Vidhoon Viswanathan <vidhu2366@gmail.com> git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2013cdict@33285 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* [COMPDICT] [FIX] Include language tag extractionVidhoon Vishwanathan2013-07-211-3/+5
| | | | | | | | | | | | The second arg of enchant_broker_request_composite_dict has several language tags combined. strtok is used for extracting tags using delimiter. This patch fixes strtok invocation by passing argument as expected and also fixes an iteration bug. Signed-off-by: Vidhoon Viswanathan <vidhu2366@gmail.com> git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2013cdict@33284 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* [COMPDICT] Makefile changes to compile Composite ProviderVidhoon Vishwanathan2013-07-201-2/+2
| | | | | | | | | | This patch includes the src & header files of Composite Provider in Makefile for comilation purpose. We can decide on the placement of Composite Provider src & header files at a later stage. Signed-off-by: Vidhoon Viswanathan <vidhu2366@gmail.com> git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2013cdict@33281 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* [COMPDICT] New broker API for composite dictionaryVidhoon Vishwanathan2013-07-202-0/+49
| | | | | | | | | | | | | | | This patch defines and implments a new enchant broker API for creating composite dictionary: enchant_broker_request_composite_dict This API is used from application to create a composite dict and it internally calls the composite provider public interface composite_provider_create_dict API to obtain services. Signed-off-by: Vidhoon Viswanathan <vidhu2366@gmail.com> git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2013cdict@33280 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* [COMPDICT] Header to expose Composite Dictionary interfacesVidhoon Vishwanathan2013-07-201-0/+51
| | | | | | | | | | | | | | This patch creates an interface header file that exposes composite provider interface APIs that enchant broker can use to receive services from composite dictionary. composite_provider_create_dict will be used by enchant broker to create a composite dictionary. Hence it is exposed through this new interface header file. Signed-off-by: Vidhoon Viswanathan <vidhu2366@gmail.com> git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2013cdict@33279 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* [COMPDICT] Implement composite_provider_create_dict APIVidhoon Vishwanathan2013-07-201-0/+25
| | | | | | | | | | The composite_provider_create_dict method creates composite dictionary using a list of enchant dicts and maps all methods for dictionary operations. Signed-off-by: Vidhoon Viswanathan <vidhu2366@gmail.com> git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2013cdict@33278 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* [COMPDICT] APIs for Composite DictionaryVidhoon Vishwanathan2013-07-201-0/+82
| | | | | | | | | | | | | | | | | | This patch creates API stubs for all basic opertions to be performed on Composite dictionaries. They will be implemented as development progresses. List of APIs for reference: ->composite_dict_check ->composite_dict_suggest ->composite_dict_add_to_personal ->composite_dict_add_to_session ->composite_dict_store_replacement Signed-off-by: Vidhoon Viswanathan <vidhu2366@gmail.com> git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2013cdict@33277 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* [COMPDICT] Define CompositeDict typeVidhoon Vishwanathan2013-07-202-0/+5
| | | | | | | | This patch defines a struct for composite dictionary data. Signed-off-by: Vidhoon Viswanathan <vidhu2366@gmail.com> git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2013cdict@33276 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* GSOC 2013: Composite Dictionary DevelopmentVidhoon Vishwanathan2013-07-200-0/+0
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2013cdict@33275 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Added DICPATH env var to dictionary search path for hunspell compatibility.trunk2011-09-171-0/+20
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@30321 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Fixes encoding problems on Windows2011-07-101-0/+19
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@30014 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Bumped version to 1.6.12011-07-041-1/+1
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29930 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Update ./configure --help and READMEFabiano Fidencio2011-06-252-13/+14
| | | | | | | - Be explict about OSs dependencies :-) git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29876 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* [mac] Fixing enchant breakageFabiano Fidencio2011-06-252-16/+19
| | | | | | | | | | - Now, applespell is an option valid only for OS X If you try to enable it on Linux/Windows, you'll be ignored :-) - The default, is applespell be disabled. To enable, use --enable-applespell git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29875 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Fixing myspell support compilation on OS XFabiano Fidencio2011-06-222-7/+7
| | | | | | | nice catch, Dwayne Bailey! :-) git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29868 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Adding applespell option in build stuffsFabiano Fidencio2011-06-213-7/+49
| | | | | | | | | | | | | | | | | | | | | | - Now, applespell is compiled by default when an OS X system is detected - If you want to disable it in your mac, please, use --disable-applespell - Now, at least, it's building. I don't know if it's working, probably we need of more (is there?) tests. - Updating README - Many thanks, Dwayne Bailey, for all support :-). Now, could you help us to test and fix another issues with enchant? git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29862 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Adding support for glibtoolize, in autogen.shFabiano Fidencio2011-06-201-1/+10
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29859 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Fixed loading of empty word from pwl2011-04-191-2/+2
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29721 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Palliative fix for 2-letter word bug.2011-03-101-0/+2
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29656 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Updated (hopefully correctly) a makefile.2011-03-071-1/+5
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29649 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* * Update hunspell to 2.152011-03-0730-1912/+14305
| | | | | | * Enable UTF-8 dict paths on Windows git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29648 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Fixed words of ambiguous composition to be considered incorrect2011-03-071-2/+2
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29647 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Bump version to 1.6.0J M Maurer2010-04-011-3/+3
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28773 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Bug 12567 - the ispell sources aren't licensed under the LGPLDom Lachowicz2010-01-1112-347/+0
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28601 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* add a function to get enchant's versionDom Lachowicz2010-01-113-1/+10
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28600 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Bug 12556 - document that dictionary-related functions return a ↵Dom Lachowicz2010-01-111-2/+2
| | | | | | reference-counted object git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28599 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* disable zemberek plugin by default, as it's known to cause issues/crashes ↵Dom Lachowicz2009-12-051-4/+9
| | | | | | with WebKit git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28523 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Bugzilla Bug 12472 - Win32 DLL dependency not found popup occurs when module ↵Dom Lachowicz2009-11-091-0/+8
| | | | | | | | | | | | | | has unmet dependencies If, for example, the aspell module is present, but the required aspell library isn't available when the broker is initialized, a modal win32 error MessageBox appears saying that the required DLL can't be found in addition to the 'g_warning ("Error loading plugin: %s\n", g_module_error())' message that gets printed to the log. From Daniel Atallah <daniel_atallah@yahoo.com> git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28462 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* possibly fix https://bugs.launchpad.net/ubuntu/+source/enchant/+bug/474062Dom Lachowicz2009-11-041-3/+3
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28456 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Registry handle not closed in enchant_get_registry_value_exDom Lachowicz2009-10-261-0/+1
| | | | | | | | hKey handle should be closed. From Pierre Joye <pierre.php@gmail.com> http://bugzilla.abisource.com/show_bug.cgi?id=12409 git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28395 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Leak in _enchant_get_user_home_dirs() on WindowsDom Lachowicz2009-10-261-3/+4
| | | | | | | | | | The returned value of enchant_get_registry_value_ex() is g_strdup()'d instead of being used directly and the original value isn't freed - this will leak if anything is actually returned. From Daniel Atallah <daniel_atallah@yahoo.com> http://bugzilla.abisource.com/show_bug.cgi?id=12406 git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28394 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Update FSF addressDom Lachowicz2009-10-2637-37/+37
| | | | | | | | | | | | | | The FSFs address has changed. Enchant 1.4.2 still has the old address / postal code. http://www.fsf.org/about/contact.html writes: > Free Software Foundation > 51 Franklin Street, Fifth Floor > Boston, MA 02110-1301 > USA http://bugzilla.abisource.com/show_bug.cgi?id=12007 git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28393 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Zemberek module lists a Turkish dictionary even without Zemberek installedDom Lachowicz2009-10-261-2/+3
| | | | | | | | | | | Running `enchant-lsmod -list-dicts' returns a list including `tr (zemberek)'. This is incorrect, as Zemberek is not installed on the system in question. The module should be corrected to list no dictionaries when Zemberek is not installed. From Sebastien Bacher <seb128@ubuntu.com> http://bugzilla.abisource.com/show_bug.cgi?id=12305 git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28392 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* don't assert if passed a null string listDom Lachowicz2009-10-021-1/+0
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28242 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* enchant_pwl_init_with_file truncates pwl file - bug #12350Dom Lachowicz2009-09-121-1/+1
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@28175 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* avoid double-free. Noticed by Rob.Dom Lachowicz2009-06-301-1/+0
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@27068 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* bug 12173 - fix some small memory leaks. from Caolan.Dom Lachowicz2009-06-302-3/+8
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@27066 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* bug 12174 - mis-acceptence of dictionaries which start with a partial match ↵Dom Lachowicz2009-06-301-2/+22
| | | | | | of the lang id. From Caolan. git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@27065 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Fix for 12160. Patch from the ever-awesome Caolan McNamara.Dom Lachowicz2009-06-231-3/+3
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26974 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Don't define stuff in a public namespace.. bad msvc, badJ M Maurer2009-05-251-0/+4
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26532 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Add --with-system-myspell optionJ M Maurer2009-05-251-4/+10
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26531 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Package missing fileJ M Maurer2009-05-251-0/+1
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26530 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* on windows, compare paths ignoring case sensitivity. may fix a bug that ↵Dom Lachowicz2009-05-232-21/+26
| | | | | | fridrich noticed git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26494 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* bump enchant version #. uwog, you can release this tomorrow if you'd like to.Dom Lachowicz2009-05-231-2/+2
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26489 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* uspell can now use programatically-set dictionaries. if anyone uses uspell, ↵Dom Lachowicz2009-05-231-5/+19
| | | | | | that is. i'm guessing that not a lot of people spell-check yiddish. git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26488 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* code should parse a parameter and turn it into a list of paths. normal ↵Dom Lachowicz2009-05-221-1/+25
| | | | | | win32/posix path conventions apply. i.e. on windows, use a semi-colon to separate paths, and on posix, use a colon git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26484 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* on a hunch from Fridrich, put all functions that are called by C code inside ↵Dom Lachowicz2009-05-224-20/+20
| | | | | | of an 'extern C' block. maybe calling conventions differ between C/C++ on Win32. git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26483 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* myspell and ispell now query for any programatically-set dictionary paths. ↵Dom Lachowicz2009-05-224-0/+37
| | | | | | the function that parses the path is not yet implemented. git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26482 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* pass the broker to the correct classes and functions; will be useful in ↵Dom Lachowicz2009-05-223-32/+38
| | | | | | setting dictionary paths git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26481 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
* Fix buildJ M Maurer2009-05-221-0/+1
| | | | git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26480 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6