Commit Graph

5801 Commits

Author SHA1 Message Date
Egor Pugin
4f5bd1c562 Move unicodes into files where they are used. 2021-01-07 14:33:02 +03:00
Egor Pugin
8aa5492262 Misc. 2021-01-07 14:14:40 +03:00
Egor Pugin
9cc7bdeaa6 Use std::bitset<16> instead of custom BITS16. 2021-01-07 14:14:27 +03:00
Egor Pugin
9710bc0465 More std::vector. 2021-01-07 13:57:57 +03:00
Egor Pugin
154ea6bab8
Update sw.yml 2021-01-07 12:44:52 +03:00
Egor Pugin
3cccacf023
Update sw.yml 2021-01-07 03:43:11 +03:00
Egor Pugin
95b98042c3
Update sw.yml 2021-01-06 18:12:25 +03:00
Stefan Weil
e1f1f325f7 Fix brew check for GitHub actions
Don't abort if a brew catalog file is missing.

This is needed for the GitHub actions environment
which provides brew also for Linux.

Running cross builds then failed at AC_CHECK_FILE.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-06 14:01:06 +01:00
Egor Pugin
a772571401
Update sw.yml 2021-01-06 13:49:19 +03:00
Egor Pugin
ca4a3f9a90
Update sw.yml 2021-01-06 13:45:09 +03:00
Egor Pugin
6be8198532
Update sw.yml 2021-01-06 02:08:24 +03:00
Stefan Weil
dd8ee23fa2 Remove remaining parts of emalloc (fix autotools build)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-05 23:29:08 +01:00
Stefan Weil
66128429e5 Fix include statement for allheaders.h
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-05 23:18:39 +01:00
Stefan Weil
7757bde818 Sort entries in Makefile.am
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-05 23:17:06 +01:00
Stefan Weil
d000df7e00 Remove remaining parts of tessopt (fix autotools build)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-05 23:06:17 +01:00
Egor Pugin
db43bb43dc [test] Init FC early. 2021-01-06 00:30:52 +03:00
Egor Pugin
8e947a98b5 Remove emalloc. Replace it with malloc. To be replaced with new later. 2021-01-06 00:30:52 +03:00
Egor Pugin
d92c04abe5
Update sw.yml 2021-01-05 22:35:05 +03:00
Egor Pugin
6212e89882
Update sw.yml 2021-01-05 21:32:42 +03:00
Egor Pugin
db86fdd3e7 [ci] Copy fonts to testdir. 2021-01-05 21:23:35 +03:00
Egor Pugin
e6b00e6579 [test] Init fontconfig early. 2021-01-05 20:48:09 +03:00
Egor Pugin
b302e13126 [sw] Add pthread to tests. 2021-01-05 20:37:33 +03:00
Egor Pugin
2a74e72c39 [sw] Add pthread dependency. 2021-01-05 18:45:09 +03:00
Egor Pugin
af4ebaa943 Alloc on stack. 2021-01-05 18:07:40 +03:00
Egor Pugin
d3729cb34e Rmove unused members. 2021-01-05 18:07:10 +03:00
Egor Pugin
40aca00559 Remove unused var. 2021-01-05 17:56:39 +03:00
Egor Pugin
14cf6adda2 More std::vector. 2021-01-05 17:53:05 +03:00
Egor Pugin
a44d107e94 Misc. 2021-01-05 17:45:34 +03:00
Egor Pugin
6e94564152 [training] More unique ptrs. 2021-01-05 17:03:26 +03:00
Egor Pugin
4415209fd6 Remove tessopt. This fixes mastertrainer test in shared build. 2021-01-05 17:00:27 +03:00
Egor Pugin
d30b5415fd Reorder headers. 2021-01-05 16:46:24 +03:00
Egor Pugin
c946a5610c Remove unused header. 2021-01-05 16:45:24 +03:00
Egor Pugin
8950e49a5d Remove unused var. 2021-01-05 16:45:07 +03:00
Egor Pugin
5160426400 Misc. 2021-01-05 16:31:09 +03:00
Egor Pugin
fb98b9b2f5 Use unique_ptr. 2021-01-05 16:00:22 +03:00
Egor Pugin
aa80aa5de1 More std::vector. 2021-01-05 15:54:30 +03:00
Egor Pugin
4f8f8e3d58 More std::vector. Simplify. 2021-01-05 15:49:53 +03:00
Egor Pugin
ca514ad91e [test] Return early on error. 2021-01-05 15:37:43 +03:00
Egor Pugin
337742f9a5 Merge branch 'master' of github.com-egorpugin:tesseract-ocr/tesseract 2021-01-05 14:46:17 +03:00
Egor Pugin
4ed601956e More std::vector. 2021-01-05 14:46:11 +03:00
Egor Pugin
07fef2db4d
Update sw.yml 2021-01-04 20:38:27 +03:00
Egor Pugin
0c7139ce09 A better fix to read unichars. Imbue C locale always since on different systems, default locale will give different results. 2021-01-04 20:36:21 +03:00
Egor Pugin
0364832ab8 Correctly read cutoff classes. 2021-01-04 20:20:17 +03:00
Egor Pugin
71f578a198 Do not swap endian elements with size == 1. 2021-01-04 20:00:46 +03:00
Egor Pugin
4e59d964dc Use templates for serialize/deserialize. 2021-01-04 20:00:25 +03:00
Egor Pugin
4162e37e8c Use std::vector. 2021-01-04 19:54:51 +03:00
Egor Pugin
e3dcfb648a Reorder includes. 2021-01-04 18:11:23 +03:00
Egor Pugin
3aae46d53d Remove noisy message. 2021-01-04 18:11:16 +03:00
Stefan Weil
40ba25acbb Remove functions which are only used locally from scanedg.h
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-04 15:49:15 +01:00
Egor Pugin
aa5e2e4073
Update sw.yml 2021-01-04 17:02:33 +03:00