summaryrefslogtreecommitdiff
path: root/libs/hunspell/src
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-01-30 09:37:41 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-01-30 09:37:41 +0000
commitc3fc2108262762d1c4c54fac4b7376e65eb7689e (patch)
treed13cb8279abb8463b509844ceeff3e158b5085ee /libs/hunspell/src
parenteefd0fa80022fe122cfc816e7146212729ee02b4 (diff)
update hunspell pt1
git-svn-id: http://svn.miranda-ng.org/main/trunk@16191 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'libs/hunspell/src')
-rw-r--r--libs/hunspell/src/Hunspell.rc32
-rw-r--r--libs/hunspell/src/config.h2
-rw-r--r--libs/hunspell/src/hunspell.hxx5
-rw-r--r--libs/hunspell/src/replist.hxx1
4 files changed, 6 insertions, 34 deletions
diff --git a/libs/hunspell/src/Hunspell.rc b/libs/hunspell/src/Hunspell.rc
deleted file mode 100644
index b8465bc150..0000000000
--- a/libs/hunspell/src/Hunspell.rc
+++ /dev/null
@@ -1,32 +0,0 @@
-
-#include <windows.h>
-
-VS_VERSION_INFO VERSIONINFO
-FILEVERSION 1,3,4,0
-PRODUCTVERSION 1,3,4,0
-FILEFLAGSMASK 0x17L
-FILEFLAGS 0
-FILEOS VOS_NT_WINDOWS32
-FILETYPE VFT_APP
-FILESUBTYPE VFT2_UNKNOWN
-BEGIN
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1200
- END
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904b0"
- BEGIN
- VALUE "Comments", "Hunspell (http://hunspell.github.io/) by László Németh"
- VALUE "CompanyName", "http://hunspell.github.io/"
- VALUE "FileDescription", "libhunspell"
- VALUE "FileVersion", "1.3.4"
- VALUE "InternalName", "libhunspell"
- VALUE "LegalCopyright", "Copyright (c) 2007-2011"
- VALUE "OriginalFilename", "libhunspell.dll"
- VALUE "ProductName", "Hunspell Dynamic Link Library"
- VALUE "ProductVersion", "1.3.4"
- END
- END
-END
diff --git a/libs/hunspell/src/config.h b/libs/hunspell/src/config.h
index 1ba48a798b..f1963148b6 100644
--- a/libs/hunspell/src/config.h
+++ b/libs/hunspell/src/config.h
@@ -180,7 +180,7 @@
#define HAVE___ARGZ_STRINGIFY 1
/* "Define if you use exterimental functions" */
-#undef HUNSPELL_EXPERIMENTAL
+//#define HUNSPELL_EXPERIMENTAL 1
/* "Define if you need warning messages" */
#define HUNSPELL_WARNING_ON
diff --git a/libs/hunspell/src/hunspell.hxx b/libs/hunspell/src/hunspell.hxx
index 12124e1db0..259d44f86c 100644
--- a/libs/hunspell/src/hunspell.hxx
+++ b/libs/hunspell/src/hunspell.hxx
@@ -117,7 +117,6 @@ class LIBHUNSPELL_DLL_EXPORTED Hunspell {
* long path names (without the long path prefix Hunspell will use fopen()
* with system-dependent character encoding instead of _wfopen()).
*/
-
Hunspell(const char* affpath, const char* dpath, const char* key = NULL);
~Hunspell();
@@ -226,6 +225,10 @@ class LIBHUNSPELL_DLL_EXPORTED Hunspell {
/* need for putdic */
int input_conv(const char* word, char* dest, size_t destsize);
+ inline char *get_try_string()
+ {
+ return pAMgr->get_try_string();
+ }
/* experimental and deprecated functions */
#ifdef HUNSPELL_EXPERIMENTAL
diff --git a/libs/hunspell/src/replist.hxx b/libs/hunspell/src/replist.hxx
index fe51b8a3b6..319eb03fb0 100644
--- a/libs/hunspell/src/replist.hxx
+++ b/libs/hunspell/src/replist.hxx
@@ -96,6 +96,7 @@ class LIBHUNSPELL_DLL_EXPORTED RepList {
int get_pos();
int add(char* pat1, char* pat2);
replentry* item(int n);
+#undef near
int near(const char* word);
int match(const char* word, int n);
int conv(const char* word, char* dest, size_t destsize);