Commit Graph

5801 Commits

Author SHA1 Message Date
Egor Pugin
3c1c36acaa
Update sw.yml 2021-01-04 13:57:24 +03:00
Egor Pugin
b7bf1a81ce
Update sw.yml 2021-01-04 03:43:11 +03:00
Egor Pugin
09c18f5fe2
Update sw.yml 2021-01-04 01:13:05 +03:00
Egor Pugin
89004e5be6
Update sw.yml 2021-01-04 01:12:39 +03:00
Egor Pugin
682f602421
[sw] Add list test. 2021-01-04 00:25:44 +03:00
Stefan Weil
a96a05df7a Add some basic tests for ELIST
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-03 22:02:51 +01:00
Stefan Weil
4186978dfc Add Leptonica library for ligature_table_test
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-03 21:45:27 +01:00
Stefan Weil
709acf74fe Remove functions which are only used locally from fpchop.h
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-03 21:41:56 +01:00
Stefan Weil
bb6dbd2cd8 Fix autotoools build with --disable-legacy
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-03 20:28:30 +01:00
Egor Pugin
6d3f64fd18
[ci][github] Split build and test jobs. 2021-01-03 22:13:45 +03:00
Stefan Weil
8571cd26f8 Add missing OpenMP flags for fuzzer-api
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-03 19:59:56 +01:00
Egor Pugin
139b11272f
Update sw.yml 2021-01-03 16:58:35 +03:00
Egor Pugin
ab68856fd5
Update sw.yml 2021-01-03 14:51:38 +03:00
Egor Pugin
0c1baa1e77
Update sw.yml 2021-01-03 14:36:46 +03:00
Egor Pugin
7922e30240
Update sw.yml 2021-01-03 13:29:54 +03:00
Egor Pugin
dba5093702
Update sw.yml 2021-01-03 09:24:15 +03:00
Egor Pugin
3ea9cfbc95
Update appveyor.yml 2021-01-03 09:23:30 +03:00
Egor Pugin
39afd24a65
Update sw.yml 2021-01-03 09:19:17 +03:00
Egor Pugin
50b9ae0025
Update sw.yml 2021-01-03 03:01:22 +03:00
Egor Pugin
ee4532ab7e
Update appveyor.yml 2021-01-03 02:59:43 +03:00
Egor Pugin
61da5c9e05
Update sw.yml 2021-01-03 02:51:24 +03:00
Egor Pugin
9820ceff2b
Update sw.yml 2021-01-03 02:50:59 +03:00
Egor Pugin
13cf7278d2
Update appveyor.yml 2021-01-03 02:47:51 +03:00
Egor Pugin
e7a3964098
Update appveyor.yml 2021-01-03 00:31:51 +03:00
Egor Pugin
856a20111d
Update appveyor.yml 2021-01-02 23:49:03 +03:00
Egor Pugin
3a9162f3f1
Update sw.yml 2021-01-02 22:54:27 +03:00
Egor Pugin
8a3f1ccb8f [ci][github] Run tests on linux and macos. 2021-01-02 22:52:06 +03:00
Egor Pugin
f96406906b [ci][appveyor] Gather tests. 2021-01-02 22:24:27 +03:00
Egor Pugin
244708fde6 [sw] Better skip tests. 2021-01-02 22:22:44 +03:00
Egor Pugin
7118836f89
Update appveyor.yml 2021-01-02 16:49:38 +03:00
Egor Pugin
a70c1176ac [ci][appveyor] Initial tests. 2021-01-02 16:48:18 +03:00
Egor Pugin
5ace17e1db [gitignore] Ignore some local dirs. 2021-01-02 16:47:47 +03:00
Egor Pugin
f209a6fddf [sw] Allow to skip tests. 2021-01-02 16:46:53 +03:00
Egor Pugin
fd8907471c Improve C API. Add tests.
1. Add simple C API test in C++ program.
2. Add simple C API test in C program.
3. Fix including capi.h in C++ files.
2021-01-02 03:57:25 +03:00
Egor Pugin
6740e88549 [capi] Reorder headers in capi.h. Put our header before standard ones. 2021-01-02 03:00:49 +03:00
Egor Pugin
bee90f7835 [capi] Remove unused functions.
Those functions were undef ifdef for C++ mode. Since in C++ mode noone uses them, they can be safely removed.
2021-01-02 02:59:31 +03:00
Egor Pugin
52f5e5b8fb Restore building of C API. Simplify.
1. Delete useless ifdefs.
2. Move C++ includes into source file. C code does not care about any C++ headers.
3. Replace TESS_CAPI_INCLUDE_BASEAPI with simple __cplusplus macro.
4. In capi.cpp remove enclosing namespace tesseract, so symbols have their according decls back.

In capi.cpp we
- put capi.h after all C++ headers, so we can remove some typedefs later,
- put using namespace tesseract between them, so C++ symbols are visible to functions in the file without namespace.
2021-01-02 02:53:33 +03:00
Egor Pugin
a377b4ec0b
Update .travis.yml 2021-01-01 03:09:17 +03:00
Egor Pugin
93b0601e19
[ci] Try (c)make install to check for possible errors during installation process. 2021-01-01 03:01:15 +03:00
Egor Pugin
b4a9bcffe9 Rename platform.h -> export.h in more places. 2021-01-01 03:00:15 +03:00
Egor Pugin
664a718a63 Rename platform.h to export.h. 2021-01-01 00:18:36 +03:00
Egor Pugin
82b20d4283
[ci][appveyor] Revert debug builds. 2020-12-31 22:27:06 +03:00
Stefan Weil
ca114ace38 Create new pre-release 5.0.0-alpha-20201231
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-31 19:45:10 +01:00
Egor Pugin
dbf3c9ec0f
[ci][appveyor] Also build debug config. 2020-12-31 21:17:04 +03:00
Egor Pugin
2c84c4beb2 [cmake] Make pango include dirs public. 2020-12-31 20:47:34 +03:00
Egor Pugin
9eb52625cd Merge branch 'master' of github.com-egorpugin:tesseract-ocr/tesseract 2020-12-31 20:33:48 +03:00
Egor Pugin
32cb90f114 [cmake] Make pango deps public. 2020-12-31 20:33:01 +03:00
Stefan Weil
061f088b77 Replace C headers by C++ headers and remove old unused C code
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-31 18:26:33 +01:00
Stefan Weil
c0db7b7e93 Remove unused code from matchdefs.h
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-31 18:23:38 +01:00
Stefan Weil
47af1282f4 Make autotools builds for unittest less noisy by default
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-31 18:17:25 +01:00