Commit Graph

5220 Commits

Author SHA1 Message Date
Stefan Weil
16553014e0 Replace references to the old wiki by new URLs
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-02-03 11:37:41 +01:00
Stefan Weil
20bcbc4058 Catch std::runtime_error exception when setting the locale in debug code
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-02-03 07:58:43 +01:00
Stefan Weil
a1a177f582 Doxyfile: Add missing source directories (include, unittest)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-01-30 14:35:24 +01:00
Stefan Weil
cc05d19495 Doxyfile: Update to version 1.8.16
The update was done using `doxygen -u`.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-01-30 14:20:05 +01:00
Egor Pugin
e9db7aae88
Update sw.cpp 2020-01-26 03:48:39 +03:00
Egor Pugin
8c20573ebf [sw] Set cpp standard. 2020-01-26 00:36:50 +03:00
Egor Pugin
946ed4e972 [sw] Fix linux build. 2020-01-25 23:03:16 +03:00
Stefan Weil
78fc00aa17
Merge pull request #2871 from bertsky/fix-choiceiterator
ChoiceIterator: skip symbol without choices
2020-01-24 14:57:45 +01:00
Egor Pugin
b0c275894f [ci] Add linux and macos sw builds to github actions. 2020-01-24 11:45:44 +03:00
Robert Sachunsky
cdc8e44a20 ChoiceIterator: skip symbol without choices 2020-01-24 09:19:14 +01:00
jkang-eng
60248f59d4 Fix "tesseract.exe not flushing stdout/stderr" (Issue #2859) (#2865)
* Issue #2859 - Fix "tesseract.exe not flushing stdout/stderr"
2020-01-21 21:51:08 +01:00
Egor Pugin
912c9978da
Merge pull request #2861 from stweil/master
Remove redundant method from class GenericVector
2020-01-18 17:24:45 +03:00
Stefan Weil
6f2f310fdf Remove redundant method from class GenericVector
length() is not needed: it can be replaced by size().

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-01-18 11:30:14 +01:00
Egor Pugin
f268e6615e
Update sw.yml 2020-01-06 14:08:29 +03:00
Egor Pugin
73744b8caa
Update sw.yml 2020-01-06 03:38:40 +03:00
Egor Pugin
2689f139ec
Update README.md 2020-01-06 03:31:32 +03:00
Egor Pugin
a210605015
Update sw.yml 2020-01-06 03:24:40 +03:00
Egor Pugin
9ffe73cbdc
Update README.md 2020-01-06 03:20:51 +03:00
Egor Pugin
9eff14404d
[ci] Add github actions. 2020-01-06 03:18:47 +03:00
zdenop
9df8710402 Merge branch 'master' of https://github.com/tesseract-ocr/tesseract 2020-01-05 22:33:34 +01:00
zdenop
8ba14a655d fix #2847 cmake with OPENMP_BUILD=ON 2020-01-05 22:33:24 +01:00
Egor Pugin
ca3ce652b1
Update CMakeLists.txt 2020-01-05 23:08:03 +03:00
zdenop
faf54e08f7
Update README.md
Fix typos
2020-01-05 14:07:52 +01:00
zdenop
3aa07371d6
Add badge for Google OSS-Fuzz (#2846)
Add badge for Google OSS-Fuzz
2020-01-05 13:54:04 +01:00
Stefan Weil
9f3123615b Add badge for Google OSS-Fuzz
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-01-05 11:48:30 +01:00
Stefan Weil
7f40242888 Update README.md for 4.1.1
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-01-05 11:15:12 +01:00
Stefan Weil
3d1f82d0e2 tesstrain.sh: Fix command line flag --help
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-01-05 10:10:55 +01:00
Egor Pugin
e630ca819f
Merge pull request #2844 from stweil/warn
pageres: Fix compiler warnings
2020-01-04 16:45:42 +03:00
Stefan Weil
cfd39dc2c7 pageres: Fix compiler warnings
clang warnings:

    src/ccstruct/pageres.cpp:903:20: warning:
      implicit conversion from 'int' to 'float' changes value from
      2147483647 to 2147483648 [-Wimplicit-int-float-conversion]
    src/ccstruct/pageres.cpp:904:23:
      warning: implicit conversion from 'int' to 'float' changes value from
      -2147483647 to -2147483648 [-Wimplicit-int-float-conversion]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-01-04 09:46:10 +01:00
Stefan Weil
6ce1a29d5a Update fuzzer code to use TESSERACT_FUZZER_WIDTH, TESSERACT_FUZZER_HEIGHT
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-01-03 15:54:59 +01:00
Egor Pugin
652e99d79f
Merge pull request #2823 from amitdo/patch-1
Update AUTHORS
2020-01-03 15:36:25 +03:00
Stefan Weil
d2a2292f32 mftraining: Fix compiler warning
powerpc64le-linux-gnu-g++ warning:

    src/training/mftraining.cpp:209:5: warning:
        ‘%04d’ directive output may be truncated writing between 4 and 10 bytes
        into a region of size 8 [-Wformat-truncation=]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-01-03 10:13:58 +01:00
Stefan Weil
7f16162745 Fix previous commit 688f6490bb
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-12-31 09:50:07 +01:00
Stefan Weil
688f6490bb Fix broken build for pango_font_info_test
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-12-28 09:35:40 +01:00
zdenop
79f191fe20
Merge pull request #2826 from bertsky/clip-blockpolygon
make BlockPolygon usable
2019-12-19 09:14:25 +01:00
Robert Sachunsky
4b0c9f3373 BlockPolygon: clip to image rectangle 2019-12-18 13:29:43 +01:00
Robert Sachunsky
5751a408c9 BlockPolygon: unrotate from internal to image coordinates 2019-12-18 13:29:43 +01:00
Stefan Weil
1d75ddd56f Use /W4 instead of /Wall for MSVC (fix issue #2816)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-12-18 07:42:52 +01:00
Amit D
cf132c0e79
Update AUTHORS 2019-12-17 14:42:18 +02:00
Egor Pugin
13e5dc8753
Merge pull request #2821 from amitdo/autotools
Autotools: Pango, Cairo and ICU only required by training tools
2019-12-16 19:06:01 +03:00
amitdo
502ebe8ca9 Autotools: Pango, Cairo and ICU only required by training tools 2019-12-16 17:23:06 +02:00
zdenop
60b07d5dd8
Merge pull request #2807 from stweil/modeline
Remove Emacs C modeline in comment line 1
2019-12-05 15:27:17 +01:00
Stefan Weil
fc84f84b5b Remove Emacs C modeline in comment line 1
Those files are C++, and the wrong modeline is not needed at all.
Remove also some empty descriptions and old history in the comments.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-12-05 13:57:50 +01:00
Stefan Weil
87841e9ace Remove more relicts from cppan build (fixes make dist)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-12-05 07:59:35 +01:00
Stefan Weil
6d32de484a Update autogen.sh
The m4 directory must not be removed as it contains files
which are distributed with the source code.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-12-04 22:38:09 +01:00
Jörg Mechnich
d14bca4f19 Makefile.am: fixed fuzzer-api target (#2802) 2019-12-04 22:20:25 +01:00
Stefan Weil
420cbac876 Clean public API for renderers
- Remove unused type definitions for TessTextRenderer, ... in capi.h
  (they were only used in capi.cpp which now no longer needs them)

- Fix typo in comment

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-12-03 12:23:58 +01:00
Stefan Weil
39cc7b5808 automake: Improve build rules
- Use less noinst_LTLIBRARIES (saves build time and disk space)
- Move DISABLED_LEGACY_ENGINE from compiler flags to config_auto.h

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-12-03 12:22:47 +01:00
Stefan Weil
56df8e6e19 Fix some typos in comments (most of them found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-12-02 14:30:13 +01:00
Egor Pugin
14c6e38723
Merge pull request #2789 from stweil/master
Clean handling of SIMD related macros
2019-11-28 20:08:50 +03:00