Commit Graph

6512 Commits

Author SHA1 Message Date
Egor Pugin
5f40a2e290 Move include line. 2024-02-23 12:11:26 +03:00
Stefan Weil
fbff9362ce Fix some typos
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-02-22 07:55:33 +01:00
Egor Pugin
8e6af37da2
[ci][appveyor] Switch to VS2022. 2024-02-21 03:29:03 +03:00
Egor Pugin
becd395490
Merge pull request #4189 from sjbronner/main
Fix grey result of indexed PNG in pdfrenderer.
2024-02-12 16:15:20 +03:00
Sebastian J. Bronner
304014f28a
Simplify variable declaration. 2024-02-12 08:03:11 +01:00
Sebastian J. Bronner
209cf5c476
Fix grey result of indexed PNG in pdfrenderer. 2024-02-11 00:08:48 +01:00
Egor Pugin
a7f860a417
Merge pull request #4188 from softwaretirol/main
Update appveyor.yml - Url has changed
2024-02-07 23:02:07 +03:00
www.software.tirol
0b3b6e5c54
Update appveyor.yml 2024-02-07 14:32:53 +01:00
Stefan Weil
8ee020e14c Create new release 5.3.4
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-01-18 08:48:04 +01:00
Stefan Weil
1bb72501dd Set User-Agent: header field in HTTP request for curl downloads
Some servers (for example wikimedia.org) don't allow downloads
with the default user agent of libcurl and send HTTP status 403,
so OCR for images on such servers fails.

Setting the user agent to "Tesseract OCR" allows OCR for images
on those servers.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-01-18 08:45:24 +01:00
Stefan Weil
bcd6144ca5
Merge pull request #4178 from sadra-barikbin/patch-1
Fix a tiny typo in `publictypes.h`
2024-01-11 14:05:16 +01:00
Sadra Barikbin
10f1d95edd
Update publictypes.h 2024-01-11 14:35:41 +03:30
zdenop
637be531f6
Merge pull request #4174 from stweil/warnings
Fix some compiler warnings and avoid unnecessary conversions from std::string to char pointer
2023-12-31 23:42:47 +01:00
Stefan Weil
4a6efcd9b7 Avoid unnecessary conversions from std::string to char pointer
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-12-29 10:30:21 +01:00
Stefan Weil
061e386125 Fix compiler warnings
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-12-29 10:30:21 +01:00
Stefan Weil
04c330907d Remove unused assignments (fix compiler warnings)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-12-29 10:29:54 +01:00
Stefan Weil
ea0b245c43 Update status badge for GitHub workflow sw (add missing line break)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-11-21 09:30:33 +01:00
Stefan Weil
35d3a9c355 Update status badge for GitHub workflow sw
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-11-21 09:25:28 +01:00
Stefan Weil
7c178276d7 Correct indefinite articles before vowels
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-11-14 14:25:57 +01:00
Amit D
67438fad8b
Update issue-bug.yml 2023-11-13 12:34:21 +02:00
Stefan Weil
317a274b1a
Merge pull request #4162 from tfmorris/3000-tcp-scrollview
Force TCP v4 for socket to ScrollView server. Fixes #3000
2023-11-11 22:18:40 +01:00
Tom Morris
994a4db33b Force TCP v4 for socket to Java server. Fixes #3000
Without any hints, we can end up with a UDP socket which won't
work with the TCP socket that the Java display server is
listening on. Use hints for TCP v4 so that we get the right
kind of socket returned.

Also, delete some obsolete comments nearby.
2023-11-11 15:21:44 -05:00
Stefan Weil
d2d1ff565c Avoid conversions from std::string to char* to std::string
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-11-11 10:38:44 +01:00
Stefan Weil
c69065c360 Remove unnecessary conversions from std::string to C string
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-11-11 10:28:38 +01:00
Stefan Weil
6518489c75 Remove whitespace at line endings
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-11-01 18:14:11 +01:00
Egor Pugin
5530cb7f73
Update sw.yml 2023-11-01 13:49:04 +03:00
Amit D
aa671beb57
Update README.md 2023-11-01 12:05:48 +02:00
Egor Pugin
e97dfad171
Update sw.yml 2023-11-01 01:05:41 +03:00
Egor Pugin
d522f3bd1c
Update sw.yml 2023-10-31 17:25:35 +03:00
Egor Pugin
640a39bc03
Update sw.yml 2023-10-31 17:16:35 +03:00
Egor Pugin
53da117048
Update sw.yml 2023-10-31 17:12:35 +03:00
Egor Pugin
127292fa8e
Update sw.yml 2023-10-31 17:10:52 +03:00
Egor Pugin
4dea21b1e8
Update sw.yml 2023-10-31 17:09:08 +03:00
Egor Pugin
764464e098
Update sw.yml 2023-10-31 17:05:36 +03:00
Egor Pugin
87db4e26c4
Update sw.yml 2023-10-31 17:04:55 +03:00
Egor Pugin
1ec3957003
Update sw.yml 2023-10-31 16:56:22 +03:00
Egor Pugin
a3b627621f
Update sw.yml 2023-10-31 16:53:33 +03:00
Stefan Weil
36f3efdfac Fail on curl download errors
Fail with an error message instead of trying to handle the text
from an HTML error page as an image and fail later for HTTP codes
equal or larger than 400.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-10-31 10:50:36 +01:00
Stefan Weil
dd1c85dc1e Add new parameter curl_cookiefile for curl_easy_setopt
This allows OCR for URLs which require a session cookie.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-10-31 10:50:36 +01:00
Stefan Weil
bb2af57054 ci: Fix clang build for Ubuntu 22.04
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-10-29 13:07:36 +01:00
Stefan Weil
3a40824561 ci: Allow manual trigger of unittest
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-10-29 13:07:29 +01:00
Michaël Veillet Guillem
670672d50b Move bail_out function before libtoolize check 2023-10-25 18:51:29 +02:00
zdenop
eb612f0786
Merge pull request #4150 from tfmorris/4149-directory-to-stdout
Send output of combine_tessdata -d to stdout instead of stderr. Fixes #4149
2023-10-24 06:57:38 +02:00
Tom Morris
07174708ff Document hidden combo flags 2023-10-23 19:48:07 -04:00
Tom Morris
8cee06da5a Output directory list to stdout. Fixes #4149 2023-10-23 19:47:22 -04:00
zdenop
dc228edc56
Update cmake-win64.yml
use recent version of png (1.6.40) and tiff (4.6.0)
2023-10-07 12:25:14 +02:00
Stefan Weil
e082522c24 Create new release 5.3.3
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-10-05 18:27:23 +02:00
Stefan Weil
d366e1e987 Fix loading of sublangs (regression)
Model files which where defined with tessedit_load_sublangs in another
model file where no longer loaded since Tesseract release 5.0.0-rc2.

Fixes: 9091055783 ("Fix loading of additional model files")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-10-05 17:53:15 +02:00
Yiğit Efe İ
dfcd485725 Update SVPopupMenu.java
fixed typo
2023-10-05 12:42:48 +02:00
Yiğit Efe İ
4e3518a1d7 Update SVImageHandler.java
fixed typo
2023-10-05 12:42:48 +02:00