Commit Graph

42 Commits

Author SHA1 Message Date
Stefan Weil
1cf8fe51a0 Remove mathfix.h
It was only needed for MS Visual Studio 2012 and older.
Those compilers are not supported for Tesseract.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-06-05 20:26:25 +02:00
Stefan Weil
5f8ecdb2b3 Remove local implementation of strtok_r
MS Visual Studio does not provide that function, but can use strtok_s
which does exactly the same.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-06-05 19:52:25 +02:00
Stefan Weil
8ec67a940d Remove strcasestr which is no longer needed
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-06-03 10:11:44 +02:00
Stefan Weil
5b23f71563 Remove support for VS2010
It is dropped because of missing C++11 support.
CMake can be used instead.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-16 08:31:56 +01:00
amitdo
1901aaef42 Remove 'listio.cpp' and 'listio.h' from vs2010 vcxproj 2016-12-09 16:19:02 +02:00
Zdenko Podobný
3dddf37b25 Increase version number in VS2010 2016-11-24 14:18:28 +01:00
Ray Smith
dd216f69e7 Added more missing license headers 2016-11-18 15:56:43 -08:00
Ray Smith
5913d7344f Added missing license headers 2016-11-18 15:53:11 -08:00
Stefan Weil
4708ea3b42 vs2010: Fix implementation of strcasestr
A haystack which is shorter than the needle resulted in negative value
for length_haystack which was forced to a very large unsigned value.

The resulting buffer overflow while reading the haystack would crash
text2image when it was called with a short font name.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-08-31 14:48:07 +02:00
Zdenko Podobný
a3ba11b030 Revert "allow OpenMP in VS2010 LIB_Release"
This reverts commit a02ef80f27.
2016-03-24 17:32:03 +01:00
Zdenko Podobný
a02ef80f27 allow OpenMP in VS2010 LIB_Release 2016-03-23 17:19:58 +01:00
Zdenko Podobný
bedc46f16d remove empty header file secname.h 2015-07-31 17:32:54 +02:00
Zdenko Podobný
71e226c44f increase version number 2015-07-21 22:46:52 +02:00
Zdenko Podobný
301eaeca5f replace vs2008 directory with vs2010 directory (fixes cygwin build) 2015-07-20 20:35:52 +02:00
Zdenko Podobný
8950a2ec96 change version 2015-07-11 09:43:50 +02:00
Zdenko Podobný
59bcbc79b3 fix GIT_VER info in VS2010 2015-05-15 15:14:49 +02:00
Zdenko Podobný
1d6de86150 fix VS2010 linking error 2015-05-14 14:24:55 +02:00
Zdenko Podobný
035b324f0f reflect the latest commits in VS2010 build 2015-05-14 10:52:54 +02:00
Zdenop
524ee27f01 increase version number based on baseapi.h 2014-08-16 21:02:41 +02:00
Zdenop
689c8e5667 fix VS2010 build 2014-08-15 23:00:20 +02:00
zdenop
905e6162b9 put info about (API) version; fix typo
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1117 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-06-22 18:31:42 +00:00
zdenop@gmail.com
9c0dfe54c5 mathfix.h for VS2013, add lib-opencl-debug configuration to VS2010
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1051 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-02-13 09:38:08 +00:00
zdenop@gmail.com
ac5a8a871b fix windows builds (mingw and VS2010)
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1017 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-26 22:39:20 +00:00
zdenop@gmail.com
94d08567e1 fix vs2010 (and maybe vs2008) build
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@983 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-12 20:13:55 +00:00
zdenop@gmail.com
e1796b0f08 add OpenCL configuration for VS2010 (INTEL and maybe AMD )
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@929 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-12-20 22:12:32 +00:00
rajesh.katikam@gmail.com
b8d7a1d139 Fixed all the crashes observed on 24 bit and 8 bit images.
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@919 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-12-10 10:52:54 +00:00
rajesh.katikam@gmail.com
983aaabaae Initial version of OpenCL support added.
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@909 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-11-11 17:43:13 +00:00
zdenop@gmail.com
7e89c8d9db count lines from 1 in APPLY_BOXES error message; remove not needed file
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@901 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-11-01 12:42:54 +00:00
zdenop@gmail.com
3993f0fb96 add VS2010 solution and update VS2008 solution
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@899 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-10-31 13:14:24 +00:00
zdenop@gmail.com
da121f013c vs2008 and vs2010 replaced with Tom Powers solution
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@681 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-02-26 15:30:05 +00:00
zdenop@gmail.com
95168ef064 fix missing ";" in VS2008 project files + fix VS2010
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@678 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-02-20 13:12:45 +00:00
zdenop@gmail.com
6ccab83bd6 fixing issue 628 (replacing __MSW32__ with _WIN32) and issue 614 (reverting "class DLLSYM STRING" to "class CCUTIL_API STRING")
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@677 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-02-19 21:48:45 +00:00
max.markin@gmail.com
0fef845950 VC2010: add support for dynamic linking
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@629 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-10-15 22:17:19 +00:00
max.markin@gmail.com
cfc7de1420 fixed debug build
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@628 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-10-07 03:49:25 +00:00
zdenop@gmail.com
22fc3e80be VS2010 build fix
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@625 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-09-05 10:05:36 +00:00
zdenop@gmail.com
da41b96f7f removed check for libtiff - leptonica is required; cleanup #ifdef/#ifndef HAVE_LIBLEPT
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@624 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-30 06:34:41 +00:00
zdenop@gmail.com
2ded50b4d0 'make dist' improvement; removed debugwin.* from vs2008 and vs2010; decreased warning level in vs2008 project files for Release* build
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@620 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 21:33:28 +00:00
zdenop@gmail.com
9b7375edd6 MinGW portability solved + some code cleanup (based on cpplint)
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@605 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-15 19:28:25 +00:00
zdenop@gmail.com
4abdfdb8fe moved ccstruct/callcpp.cpp to cutil (to header file - see issue 414); moved vs2008/include/stdint.h to vs2008/port/stdint.h so we can use vs2008/include also for mingw; removed unused tessembedded.*
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@603 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-11 14:04:20 +00:00
zdenop@gmail.com
16f0481f5c renamed duplicate cube/const.h to cube/cube_const.h (issue 525)
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@602 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-11 06:51:30 +00:00
zdenop@gmail.com
1dda256957 update of vs2010 project files
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@583 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-05-23 08:11:38 +00:00
zdenop@gmail.com
ca083a0897 initial support for vs2010 - thanks to Michael Lutz!
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@582 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-05-05 14:38:26 +00:00