Commit Graph

1829 Commits

Author SHA1 Message Date
Stefan Weil
934e612a3e testing: Fix warnings from shellcheck
Fix these kinds of warnings:

SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
SC2086: Double quote to prevent globbing and word splitting.
SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-11 18:23:47 +02:00
zdenop
afd6b7d105 Merge pull request #813 from jbarlow83/4.00-opencl
[4.00] Fix #786 OpenCL linkage fails on macOS
2017-04-11 12:43:23 +02:00
James R. Barlow
f54577e6be Fix #786 - 3.05 linkage fails on macOS Sierra with --enable-opencl
Also needed for 4.00.
2017-04-10 22:22:49 -07:00
Egor Pugin
36a995bdc9 Merge pull request #812 from stweil/readme
README: Update stable version
2017-04-11 00:17:05 +03:00
Stefan Weil
98961ed169 README: Update stable version
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-10 22:28:14 +02:00
zdenop
5baa8c883a Merge pull request #808 from stweil/macos
opencl: Add missing TIFF library for macOS
2017-04-09 19:10:40 +02:00
Stefan Weil
31cb732a0f opencl: Add missing TIFF library for macOS
The OpenCL code of Tesseract uses TIFF functions, but the TIFF library
was not added to the linker flags for macOS.

This fixes builds with OpenCL on Mac.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-09 12:12:18 +02:00
zdenop
cf0b378577 Merge pull request #801 from amitdo/readme-compilers
README.md: Add subsection 'Supported compilers'
2017-04-03 19:07:40 +02:00
Amit D
3357e25c66 Update README.md 2017-04-03 19:24:26 +03:00
zdenop
168e7998eb Merge pull request #800 from atuyosi/fix-makefile
Update Makefile.am (add 'lstm.train')
2017-04-02 19:30:50 +02:00
Jeff Breidenbach
9038faf436 Better escaping for PDF title; fixes #636 2017-04-02 19:01:16 +02:00
zdenop
c38eedae7e Merge pull request #797 from stweil/warnings
opencl: Fix some compiler warnings [-Wunused-function]
2017-04-02 17:07:41 +02:00
Atsuyoshi Suzuki
82d62f89a2 Update Makefile.am (add 'lstm.train') 2017-04-02 17:06:12 +09:00
Stefan Weil
c1a01d0c51 opencl: Fix some compiler warnings [-Wunused-function]
opencl_device_selection.h contains lots of code which is only used in
openclwrapper.cpp. This results in several compiler warnings:

opencl/opencl_device_selection.h:396:18: warning:
 ‘ds_status readProfileFromFile(ds_profile*, ds_score_deserializer, const char*)’ defined but not used [-Wunused-function]
opencl/opencl_device_selection.h:257:18: warning:
 ‘ds_status writeProfileToFile(ds_profile*, ds_score_serializer, const char*)’ defined but not used [-Wunused-function]
opencl/opencl_device_selection.h:196:18: warning:
 ‘ds_status profileDevices(ds_profile*, ds_evaluation_type, ds_perf_evaluator, void*, unsigned int*)’ defined but not used [-Wunused-function]
opencl/opencl_device_selection.h:90:18: warning:
 ‘ds_status initDSProfile(ds_profile**, const char*)’ defined but not used [-Wunused-function]
opencl/opencl_device_selection.h:70:18: warning:
 ‘ds_status releaseDSProfile(ds_profile*, ds_score_release)’ defined but not used [-Wunused-function]

Move that functions and all related code to openclwrapper.cpp.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-01 12:34:27 +02:00
Egor Pugin
362b68ecfd Update .travis.yml 2017-03-25 22:06:12 +03:00
Egor Pugin
ddd901b6e4 Update .travis.yml 2017-03-25 22:04:57 +03:00
Egor Pugin
b9dd8be8c7 Update .travis.yml 2017-03-25 22:01:27 +03:00
Egor Pugin
0488a0c827 Update .travis.yml 2017-03-25 21:56:58 +03:00
zdenop
f837cc0953 Merge pull request #783 from Shreeshrii/patch-1
Update ChangeLog
2017-03-25 11:49:11 +01:00
Shreeshrii
f7ca7718d2 Update ChangeLog
@zdenko Please change as you see fit.

My confusion is because, https://github.com/tesseract-ocr/tesseract/releases shows
on Nov 8, 2016 
4.00.00alpha  …
 c1c1e42   zip   tar.gz

If someone gets that zip/tar, it will not have all the items listed on Changelog for 4.0.0-alpha.
2017-03-25 09:01:52 +05:30
Shreeshrii
62bb7e26e0 Fixed update date to 2017-03-24 2017-03-24 22:09:28 +05:30
Shreeshrii
366e1be90a Update ChangeLog 2017-03-24 17:42:45 +05:30
Shreeshrii
cce32f17fb Updated changelog for 2016-11-11 to 2017-March - V4.00.00-alpha 2017-03-24 17:12:19 +05:30
zdenop
cf245f8f5c Merge pull request #787 from ipylypiv/master
Remove redundant condition from TessBaseAPI::AdaptToWordStr()
2017-03-24 10:59:43 +01:00
Igor Pylypiv
cea24b7e44 Remove redundant condition from TessBaseAPI::AdaptToWordStr()
Expression (wordstr[w] != '\0') is always true if (wordstr[w] == ' ') is true.
2017-03-23 22:55:40 -07:00
Shreeshrii
a554801963 Update ChangeLog 2017-03-23 14:17:07 +05:30
Egor Pugin
d2fcfcaec2 Update appveyor.yml 2017-03-23 01:21:28 +03:00
Egor Pugin
8d7a2bcf1a Update appveyor.yml 2017-03-23 00:51:58 +03:00
Egor Pugin
f58522ac62 Update appveyor.yml 2017-03-22 23:33:20 +03:00
Egor Pugin
1a4f61a24c Update appveyor.yml 2017-03-22 22:08:37 +03:00
Egor Pugin
14b1de3f8f Update appveyor.yml 2017-03-22 21:44:00 +03:00
Egor Pugin
6c3d8fad17 Ignore bin dir. 2017-03-21 18:49:07 +03:00
Zdenko Podobný
2b52915a74 add 3.05 to ChangeLog 2017-03-21 09:35:41 +01:00
zdenop
a51d0d4ec6 Merge pull request #770 from wilsonmar/typofix
Update README.md heading markdown
2017-03-20 19:53:54 +01:00
Wilson Mar
446f5c0ff3 Update README.md heading markdown 2017-03-18 06:13:53 -04:00
Egor Pugin
7c27088b64 Update appveyor.yml 2017-03-14 18:25:32 +03:00
Egor Pugin
e97ada8afb Update appveyor.yml 2017-03-14 17:49:35 +03:00
Egor Pugin
5a37a8b593 Update CMakeLists.txt 2017-03-14 17:26:53 +03:00
Egor Pugin
5ca1e12908 Update appveyor.yml 2017-03-14 02:09:09 +03:00
Egor Pugin
019d16c203 Update appveyor.yml 2017-03-14 02:02:02 +03:00
Egor Pugin
8349da8d26 Update appveyor.yml 2017-03-12 23:26:43 +03:00
zdenop
323f26f6cc Merge pull request #755 from stweil/doc
Fix some typos in comments (found by codespell)
2017-03-10 20:02:46 +01:00
Stefan Weil
becec34057 Fix some typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-03-10 19:50:17 +01:00
zdenop
31486f7c3c Merge pull request #700 from elopio/snapcraft
Add the packaging metadata to build the tesseract snap
2017-03-10 08:15:11 +01:00
zdenop
fe986dfd34 Merge pull request #752 from stweil/warn
Remove some unused local variables and functions
2017-03-10 08:13:06 +01:00
zdenop
ace9d2a311 Merge pull request #750 from RandomDSdevel/autogen_sh-fix_1
[`autogen.sh`:]  Abstract the absolute path of `libtoolize` or `glibtoolize` away into `$LIBTOOLIZE`.
2017-03-10 08:11:42 +01:00
Bryce Glover
df887307a9 [autogen.sh:] Improve libtoolize invocation message.
Use the `$LIBTOOLIZE` variable inside the message to abstract over the two possible variants of the tool which
can be invoked.
2017-03-09 18:45:31 -05:00
Bryce Glover
bcba09c85d [autogen.sh:] Clarify libtoolize/glibtoolize existence check error message.
Explicitly mention the latter variant of the tool inside said error message.
2017-03-09 18:45:31 -05:00
Bryce Glover
e08ed04412 [autogen.sh:] Reduce in-script comment block width to 80 characters.
This is with respect to the comment preceding the `libtoolize`/`glibtoolize` existence check I introduced.
2017-03-09 18:45:31 -05:00
Bryce Glover
da4f7fdb0c [autogen.sh:] Abstract the absolute path of libtoolize or glibtoolize away into $LIBTOOLIZE.
Increase portability by insulating `autogen.sh` from platform variance.
2017-03-09 18:45:30 -05:00