tesseract/ccutil
Stefan Weil 023e1b340e Use POSIX data types and macros (#878)
* api: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccmain: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccstruct: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* classify: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* cutil: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* dict: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* textord: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* training: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* wordrec: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccutil: Replace Tesseract data types by POSIX data types

Now all Tesseract data types which are no longer needed can be removed
from ccutil/host.h.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccmain: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccstruct: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* classify: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* dict: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* lstm: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* textord: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* wordrec: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccutil: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Remove the macros which are now unused from ccutil/host.h.
Remove also the obsolete history comments.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* Fix build error caused by ambiguous ClipToRange

Error message vom Appveyor CI:

    C:\projects\tesseract\ccstruct\coutln.cpp(818): error C2672: 'ClipToRange': no matching overloaded function found [C:\projects\tesseract\build\libtesseract.vcxproj]
    C:\projects\tesseract\ccstruct\coutln.cpp(818): error C2782: 'T ClipToRange(const T &,const T &,const T &)': template parameter 'T' is ambiguous [C:\projects\tesseract\build\libtesseract.vcxproj]
      c:\projects\tesseract\ccutil\helpers.h(122): note: see declaration of 'ClipToRange'
      C:\projects\tesseract\ccstruct\coutln.cpp(818): note: could be 'char'
      C:\projects\tesseract\ccstruct\coutln.cpp(818): note: or       'int'

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* unittest: Replace Tesseract's MAX_INT8 by POSIX INT8_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* arch: Replace Tesseract's MAX_INT8 by POSIX INT8_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-03-13 21:36:30 +01:00
..
ambigs.cpp Changed the way unicharsets are handled to allow support for the ™ character. Can find the issue where it was requested. 2017-07-24 11:45:57 -07:00
ambigs.h Remove extra semicolons 2017-07-15 12:40:34 +02:00
basedir.cpp Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion 2017-07-14 09:30:14 -07:00
basedir.h Fixed relative-to-executable tessdata location, while allowing for addition of terminating / 2012-10-09 00:41:08 +00:00
bits16.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
bits16.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
bitvector.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
bitvector.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
ccutil.cpp Remove parameter m_data_sub_dir (#1356) 2018-03-03 14:34:24 +01:00
ccutil.h Remove parameter m_data_sub_dir (#1356) 2018-03-03 14:34:24 +01:00
clst.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
clst.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
doubleptr.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
elst2.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
elst2.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
elst.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
elst.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
errcode.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
errcode.h Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
fileerr.h top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
genericheap.h Fix #define guards in header files 2016-12-04 15:43:03 +01:00
genericvector.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
globaloc.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
globaloc.h fix filenames in comments 2017-07-02 17:35:47 -04:00
helpers.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
host.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
indexmapbidi.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
indexmapbidi.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
kdpair.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
lsterr.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
mainblk.cpp Remove parameter m_data_sub_dir (#1356) 2018-03-03 14:34:24 +01:00
Makefile.am Remove macro USE_STD_NAMESPACE (#1360) 2018-03-04 14:43:28 +01:00
memry.cpp Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
memry.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
ndminx.h Harmless improvements from 3.00 going in to 2.04 2008-12-30 18:20:15 +00:00
nwmain.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
object_cache.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
ocrclass.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
params.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
params.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
platform.h Remove obsolete code (#1365) 2018-03-08 21:12:23 +01:00
qrsequence.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
scanutils.cpp More formatting fixes from clang tidy 2017-04-28 13:38:32 -07:00
scanutils.h Applied patch to refix issue 331 2014-04-23 23:12:53 +00:00
serialis.cpp Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
serialis.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
sorthelper.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
stderr.h top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
strngs.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
strngs.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
tesscallback.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
tessdatamanager.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
tessdatamanager.h Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
tprintf.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
tprintf.h Moved -v to training 2014-01-09 17:25:12 +00:00
unichar.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
unichar.h Fixed unqualified class "string" (#1082) 2018-02-28 15:16:23 +01:00
unicharcompress.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
unicharcompress.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
unicharmap.cpp Changed the way unicharsets are handled to allow support for the ™ character. Can find the issue where it was requested. 2017-07-24 11:45:57 -07:00
unicharmap.h Changed the way unicharsets are handled to allow support for the ™ character. Can find the issue where it was requested. 2017-07-24 11:45:57 -07:00
unicharset.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
unicharset.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
unicity_table.h fix filenames in comments 2017-07-02 17:35:47 -04:00
unicodes.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
unicodes.h Replace reserved identifiers used in #define guards header files 2016-12-04 15:43:03 +01:00
universalambigs.cpp Misc fixes, mostly clang formatting, but some bug fixes in matrix, werd, and tesstrain_utils. Also updates unicharset to match traineddata files. 2015-07-09 14:28:20 -07:00
universalambigs.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
version.h Update TESSERACT_VERSION_STR (#1372) 2018-03-11 18:25:35 +01:00