Egor Pugin
ca5c15e6a8
Set correct rc name.
2018-04-25 11:27:40 +03:00
Egor Pugin
cfe15b9d14
Remove wrong src dir from configure.
2018-04-25 11:09:45 +03:00
Egor Pugin
8ae22b9ebb
Remove wrong src dir from configure.
2018-04-25 11:09:04 +03:00
Egor Pugin
e95ff1159e
Move sources into src dir. Update build scripts.
2018-04-25 11:02:54 +03:00
zdenop
e8fceb58ab
Merge pull request #1523 from stweil/test
...
Fix unittest (missing include path)
2018-04-24 17:25:04 +02:00
Stefan Weil
95f39142ac
Fix unittest (missing include path)
...
Add include path for api/tess_version.h.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-24 13:17:57 +02:00
zdenop
79ab597b94
Merge pull request #1522 from ic/master
...
Revert failed attempt to support MacPort's g++
2018-04-24 08:19:24 +02:00
Eric Platon
4ded0d066e
Revert failed attempt to support MacPort's g++
...
The support will require more work, and postpone for now.
2018-04-24 08:38:17 +09:00
zdenop
b6c6cd7aa6
Merge pull request #1521 from stweil/coverity
...
Fix CID 1164613 (Uninitialized pointer field)
2018-04-23 21:03:52 +02:00
Stefan Weil
3b69c2bc4c
Fix CID 1164613 (Uninitialized pointer field)
...
This involves removing some constructors without argument.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-23 20:49:01 +02:00
Egor Pugin
d5fb4041ee
Merge pull request #1519 from stweil/winfix
...
Fix linker regression for Visual Studio
2018-04-23 17:05:21 +03:00
Egor Pugin
d522655125
Merge pull request #1518 from amitdo/subdir-objects
...
Remove 'AUTOMAKE_OPTIONS' from all Makefile.am files
2018-04-23 17:05:07 +03:00
Stefan Weil
17f29d0079
Fix linker regression for Visual Studio
...
Commit cb77067f55
changed the declaration of
null_script. An additional TESS_API is needed to satisfy the VS linker.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-23 14:18:36 +02:00
zdenop
c0f9699e9b
Merge pull request #1514 from stweil/cid
...
Fix two reports from Coverity Scan (Copy into fixed size buffer)
2018-04-23 13:08:58 +02:00
zdenop
acbd333ce4
Merge pull request #1516 from ic/master
...
Fix wrong environment test that breaks clang++ builds.
2018-04-23 13:07:43 +02:00
zdenop
0774069db6
Merge pull request #1517 from stweil/ignore
...
Update .gitignore
2018-04-23 13:06:56 +02:00
amitdo
c3e6083e42
Remove 'AUTOMAKE_OPTIONS' from all Makefile.am files
...
'AM_INIT_AUTOMAKE()' in configure.ac sets options globally.
2018-04-23 14:01:16 +03:00
Stefan Weil
4df706e7bf
Update .gitignore
...
* Ignore generated version file
* Add some comments
* Add missing training executable
* Remove two CR at line endings
* Remove googletest (part of the git repository, so cannot be ignored)
* Add test related files
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-23 10:42:51 +02:00
Eric Platon
54b048fa0d
Fix wrong environment test that breaks clang++ builds.
...
g++ builds require extra flags rejected by clang++. The bug is that the
flags are actually added unconditionally. This commit fixes the
condition.
See https://github.com/tesseract-ocr/tesseract/pull/1474
2018-04-23 16:11:24 +09:00
Stefan Weil
68450d8680
Fix CID 1164709 (Copy into fixed size buffer)
...
Using STRING removes the limitation for the filename length.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-23 08:58:07 +02:00
Stefan Weil
cb77067f55
Fix CID 1164710 (Copy into fixed size buffer)
...
As null_script never changes, it is not necessary to allocate it in
each class instance. Change this, too.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-23 08:58:06 +02:00
Egor Pugin
d3f6382b55
Merge pull request #1512 from stweil/cube
...
training: Remove some cube relicts
2018-04-22 21:54:42 +03:00
Egor Pugin
763b78414d
Merge pull request #1511 from stweil/nullcheck
...
Remove nullptr checks before destructor
2018-04-22 21:54:22 +03:00
Stefan Weil
e07414f425
training: Remove some cube relicts
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 20:45:31 +02:00
Stefan Weil
1b2677a278
Remove nullptr checks before destructor
...
It is not needed because delete accepts a nullptr argument.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 20:25:49 +02:00
zdenop
e2ab699777
Merge pull request #1506 from stweil/version
...
Support version names starting with non numeric characters
2018-04-22 19:33:35 +02:00
zdenop
577f6f76d2
Merge pull request #1507 from stweil/nullptr
...
Replace NULL by nullptr
2018-04-22 19:30:02 +02:00
zdenop
d67df9ee57
Merge pull request #1510 from Shreeshrii/Shreeshrii-tesstrain-msg
...
Change info message from tesstrain.sh
2018-04-22 19:26:12 +02:00
Shreeshrii
86275c2187
Clarify message to indicate additional LSTM training required for 4.0.0
2018-04-22 22:26:07 +05:30
Shreeshrii
0f3d33f699
Change max_pages to zero
...
Fixes https://github.com/tesseract-ocr/tesseract/issues/1149 and https://github.com/tesseract-ocr/tesseract/issues/1508
2018-04-22 22:19:06 +05:30
Stefan Weil
58d9593094
wordrec: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:36 +02:00
Stefan Weil
8374e373ac
vs2010: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:36 +02:00
Stefan Weil
f785d5c046
viewer: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:36 +02:00
Stefan Weil
39cfbd04fe
unittest: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:36 +02:00
Stefan Weil
5eca9143b9
training: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:36 +02:00
Stefan Weil
222f5b9d65
textord: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:36 +02:00
Stefan Weil
6e2750ce08
lstm: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:35 +02:00
Stefan Weil
16e00b59fe
dict: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:35 +02:00
Stefan Weil
800b290d94
cutil: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:35 +02:00
Stefan Weil
72ac460f96
classify: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:35 +02:00
Stefan Weil
57755a2754
ccutil: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:35 +02:00
Stefan Weil
e74d997668
ccstruct: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:35 +02:00
Stefan Weil
5b4ce2431d
ccmain: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:42:34 +02:00
Stefan Weil
17e01ee912
api: Replace NULL by nullptr
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 17:21:00 +02:00
Stefan Weil
3b3216e883
Support version names starting with non numeric characters
...
Not only version names like 4.0.0, but also version names like
v4.0.0 or tesseract-4.0.0 are now supported and give the same
GENERIC_MAJOR_VERSION = 4.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 16:43:35 +02:00
zdenop
6d311cc9cc
Merge pull request #1504 from stweil/readme
...
Separate build status badges from other status badges
2018-04-22 15:45:13 +02:00
zdenop
8dd56a796d
Merge pull request #1505 from stweil/winfix
...
Fix tessdata prefix from executable path for Windows
2018-04-22 15:44:32 +02:00
Stefan Weil
701bac904a
Fix tessdata prefix from executable path for Windows
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 14:35:25 +02:00
Stefan Weil
e8946f9e86
Separate build status badges from other status badges
...
They are now again shown on two lines as it was before
commit 0d9cdbe6dd
.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-22 14:15:56 +02:00
zdenop
4f56abba10
Merge pull request #1501 from stweil/cmdline
...
training: Support new command line option -v (short form for --version)
2018-04-21 10:26:23 +02:00