Commit Graph

5990 Commits

Author SHA1 Message Date
Stefan Weil
58304cbfdd Don't compile OpenCL code when OpenCL is disabled
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-26 15:40:23 +01:00
Stefan Weil
a6946c3bf9 Replace calls of exit function
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-26 14:22:36 +01:00
Stefan Weil
373a3527ec Format code
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-26 14:22:09 +01:00
Stefan Weil
ea446b1eae Remove blanks at line endings
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-26 14:05:36 +01:00
Stefan Weil
394c56ab15 Replace GenericVector by std::vector in class WERD_CHOICE
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-23 23:14:25 +01:00
Egor Pugin
b030b03e0d
Update configure.ac 2021-02-24 01:09:44 +03:00
Egor Pugin
c877c368a1
Merge pull request #3309 from stweil/std
Replace more STRING and GenericVector variables and other code maintenance
2021-02-24 01:04:03 +03:00
Egor Pugin
90afdef30d
Merge pull request #3162 from xloem/android
Specify ADD_RT for android platform, which embeds librt in libc
2021-02-24 00:22:17 +03:00
Stefan Weil
fccecb2d23 Replace GenericVector by std::vector in class ResultIterator
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-23 21:07:57 +01:00
Stefan Weil
2257028052 Replace GenericVector by std::vector in reject.cpp
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-23 21:06:59 +01:00
Stefan Weil
d62f27dd8f Replace GenericVector by std::vector in stepblob.cpp
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-23 20:47:06 +01:00
Stefan Weil
3e5b2760ab Replace GenericVector by std::vector for struct BlamerBundle
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-23 20:34:41 +01:00
Stefan Weil
0b8e937655 Use countof to get number of array elements
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-23 20:20:48 +01:00
Stefan Weil
7097dfd41c Replace GenericVector by std::vector for parameters
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-23 20:20:48 +01:00
Stefan Weil
f2d2695ce9 Replace STRING and clean declarations of local variables in eval_word_spacing
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-23 20:20:48 +01:00
Stefan Weil
5277443833 Replace more STRING
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-23 20:20:48 +01:00
Stefan Weil
ae00f291f6 Remove unused include statements
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-22 22:28:47 +01:00
Egor Pugin
8081cae82e
Merge pull request #3305 from Shreeshrii/vcpkg-cmake-win
Actions CI: Add workflow to build tesseract using vcpkg and cmake
2021-02-20 14:25:15 +03:00
Shree Devi Kumar
b99ff07f64 Actions CI: Add workflow to build tesseract and basicapitest using vcpkg and cmake 2021-02-20 09:33:15 +00:00
Egor Pugin
a219d64811
Merge pull request #3302 from Shreeshrii/PR1
Actions CI: Remove gcc from macOS CI
2021-02-15 17:07:57 +03:00
Shree Devi Kumar
efba7535f0 Actions CI: Remove gcc from macOS CI 2021-02-15 14:04:29 +00:00
Egor Pugin
0b35605420
Merge pull request #3300 from Shreeshrii/autocmake
Formatting changes and basicapitest.cpp from test/testing for Actions CI
2021-02-13 20:41:02 +03:00
Shree Devi Kumar
642e2ac9c1 Link to basicapitest in test/testing for Actions CI 2021-02-13 17:20:36 +00:00
Stefan Weil
65053890d7 Handle file list without terminating LF (fix issue #3298)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-13 11:44:47 +01:00
Stefan Weil
3d5fea6355 Update test submodule
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-13 11:02:48 +01:00
Stefan Weil
bc69e28de3 Update include statements for external header file allheaders.h
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-13 10:17:20 +01:00
Stefan Weil
b091b09b4f Fix default value for --enable-doc
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-13 10:05:42 +01:00
Egor Pugin
015504fad4
Merge pull request #3297 from Shreeshrii/autotools
Add basicapitest to daily Github Actions Workflow
2021-02-12 19:07:29 +03:00
Shree Devi Kumar
b2fbd72742 Add basicapitest to daily Github Actions Workflow 2021-02-12 15:46:43 +00:00
Stefan Weil
a20036622e Fix default value for --with-archive and --with-curl
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-11 23:15:35 +01:00
Egor Pugin
7b25f2f8bf
Merge pull request #3292 from stweil/master
Add new configure options --disable-doc, --with-archive and --with-curl
2021-02-11 11:40:27 +03:00
Stefan Weil
ddc36722b2 configure: Sort AC_ARG_WITH to get better help text
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-11 07:25:49 +01:00
Stefan Weil
974e396542 Add configure option --disable-doc (default: check)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-11 07:16:54 +01:00
Stefan Weil
2ba3f69667 Add configure option --with-curl (check for libcurl by default)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-10 22:56:51 +01:00
Stefan Weil
f1b9e326d0 Add configure option --with-archive (check for libarchive by default)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-10 22:56:27 +01:00
Stefan Weil
e6f15621c2 Remove Python training scripts which were moved to tesstrain
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-04 14:45:19 +01:00
Shree Devi Kumar
40f3c8d104 Change LATIN_FONTS to use replacement fonts from TeX Gyre collection 2021-02-04 13:51:03 +01:00
Egor Pugin
cefa3e7e7e
Merge pull request #3276 from Shreeshrii/travis
travis: export PKG_CONFIG_PATH for homebrew
2021-02-03 13:42:04 +03:00
Egor Pugin
bff87be625
Merge pull request #3279 from Shreeshrii/master
Add vcpkg build
2021-02-03 13:41:08 +03:00
Shree Devi Kumar
52dba02954 Add vcpkg build 2021-02-03 10:32:52 +00:00
Shree Devi Kumar
ac52eb3227 travis: export PKG_CONFIG_PATH for homebrew
travis: osx_image: xcode12.2

prefix

travis: move export under script, use brew --prefix

travis: change leptonica version to 1.80

travis: setup matrix for osx and linux

travis: remove brew update

travis: try to fix tiff linkage on osx

travis: add macos cache
2021-02-03 09:16:18 +00:00
Egor Pugin
10d91370d7
Merge pull request #3275 from Shreeshrii/ci
Improve cmake Github Actions workflow
2021-02-02 13:24:03 +03:00
Shree Devi Kumar
99840e220e Improve cmake Github Actions workflow 2021-02-02 04:44:45 +00:00
Stefan Weil
4902e68682 cmake: Use pkg_config to find required libraries
This is needed for cmake builds on MacOS (Intel and Amd64) with Homebrew.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-31 17:23:06 +01:00
Stefan Weil
458af8b8d0 cmake: Don't try to set compile flags for NEON support for ARM64
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-31 16:54:17 +01:00
Stefan Weil
5d040f91a0 cmake: Activate NEON support for ARM64
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-31 16:32:24 +01:00
Egor Pugin
a06d961212
Merge pull request #3270 from Shatur95/fix-set-and-check
Use set instead of set_and_check
2021-01-31 15:41:37 +03:00
Shatur95
17dbbd65e2 Fix wrong include 2021-01-30 23:48:12 +02:00
Egor Pugin
c6539e21a0
Merge pull request #3268 from Shreeshrii/ci
Improve daily GitHub Action Workflows
2021-01-29 08:41:56 +03:00
Shree Devi Kumar
f818dc3d82 Improve daily GitHub Action Workflows 2021-01-29 05:07:43 +00:00