Commit Graph

1957 Commits

Author SHA1 Message Date
Leo Arias
cfd8b4a3f3 Add the packaging metadata to build the tesseract snap 2017-02-03 06:37:39 +00:00
Stefan Weil
b7ef3e0193 configure: Run AVX test only with 64 bit compiler
The current implementation for AVX uses 64 bit code,
so run the AVX test only when the compiler is a 64 bit compiler.

This fixes the broken implementation for 32 bit hosts
which provide AVX but call the stub of DotProductAVX.

Simplify also the conditional code for AVX_OPT and SSE41_OPT.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-02-02 21:59:27 +01:00
Jeff Breidenbach
bd45b3ae4f fix #537: Error in pixClone: pixs not defined 2017-01-29 16:59:52 +01:00
Jeff Breidenbach
fd0683f9e0 remove obsolete OpenCl code from TessBaseAPI::ProcessPagesMultipageTiff; fixes #635 2017-01-29 16:43:10 +01:00
zdenop
5291ae967b Merge pull request #680 from voyageur/disable_graphics
Fix GRAPHICS_DISABLED build, issue #679
2017-01-29 16:29:30 +01:00
zdenop
5de844f54c Merge pull request #687 from jwilk/spelling
Fix typos
2017-01-29 16:27:37 +01:00
Jakub Wilk
bf9f40cac6 Fix typos 2017-01-29 13:12:24 +01:00
Bernard Cafarelli
57b7236f7f
Provide SVSync::StartThread() with GRAPHICS_DISABLED 2017-01-27 12:06:15 +01:00
Bernard Cafarelli
4c39775c2d
Fix Network declarations with GRAPHICS_DISABLED 2017-01-27 12:06:15 +01:00
Bernard Cafarelli
8aeb73e507
Partial fix for GRAPHICS_DISABLED build, issue #679
Include automatically generated configuration file if running autoconf
2017-01-26 11:40:35 +01:00
Ray Smith
f566a45b30 clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
Ray Smith
a1c22fb0d0 Fixed issue #557 2017-01-25 16:05:59 -08:00
Ray Smith
b453f74e01 Fixed issue #633 (multi-language mode 2017-01-25 15:58:39 -08:00
Ray Smith
ca16a08c10 Removed dead TODO 2017-01-25 15:54:11 -08:00
Egor Pugin
9b604b1eb9 Fix possible warning when WIN32_LEAN_AND_MEAN is already defined. 2017-01-24 00:22:36 +03:00
Egor Pugin
d6f2ba8df4 Update cppan.yml 2017-01-23 23:52:57 +03:00
zdenop
a8e8bac621 Merge pull request #666 from solomennikm/err-err_exit
err -> err_exit
2017-01-23 21:51:04 +01:00
zdenop
65b3ddeb68 Merge pull request #675 from stweil/macos-simd-detect
Implement SIMD detection on macOS-gcc; complain if no SIMD detection
2017-01-23 21:26:53 +01:00
James R. Barlow
fa677f1ba1 Implement SIMD detection on macOS-gcc; complain if no SIMD detection
Change SIMD detection to instead check for compilers with __get_cpuid.
Verified that this compiles and runs on macOS El Capitan with homebrew gcc.

Also added an #error if SIMD checking is missing. Compilers that have no
SIMD should make that explicit.

[sw: Merged original commits and slightly polished the commit message]
[sw: Removed test for __MINGW32__ which is no longer needed]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-01-23 13:41:03 +01:00
zdenop
c768b5867d Merge pull request #668 from Wikinaut/chg-textonly-pdf-parameter-description
Improve textonly_pdf parameter description
2017-01-21 16:29:06 +01:00
Wikinaut
c03299e2b4 Improve textonly_pdf parameter description 2017-01-21 16:18:53 +01:00
Egor Pugin
1602234cd3 Merge pull request #671 from stweil/warnings
Fix some compiler warnings (unused variables)
2017-01-21 14:58:11 +03:00
Egor Pugin
ef708652c1 Merge pull request #669 from Wikinaut/fix-typo-in-parameter-description
fix typo in parameter description
2017-01-21 14:56:54 +03:00
Stefan Weil
465e2def7b lstm: Remove unused constant and unused local variables
This fixes three compiler warnings.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-01-21 12:32:06 +01:00
Stefan Weil
134a253758 ccstruct: Remove unused local variable
This fixes a compiler warning.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-01-21 12:32:06 +01:00
Wikinaut
98df78ca8a fix typo in parameter description 2017-01-21 10:48:25 +01:00
Zdenko Podobný
8ce58ac458 Fix C-API 2017-01-21 07:40:54 +01:00
zdenop
3d9fb3bf14 Merge pull request #667 from jbarlow83/slash-xobject
Fix PDF syntax error: "XObject" instead of "/XObject" when textonly_pdf=false
2017-01-21 07:37:54 +01:00
James R. Barlow
bf638b9202 Fix PDF syntax error: "XObject" instead of "/XObject" when textonly_pdf=false 2017-01-20 13:36:38 -08:00
Zdenko Podobný
effa5741e6 Implement invisible text only for PDF 2017-01-20 21:26:34 +01:00
Mikhail Solomennik
e2974cf953 err -> err_exit 2017-01-20 18:50:47 +03:00
Jeff Breidenbach
a979494897 fix #665 process file list 2017-01-19 15:19:35 +01:00
zdenop
170573f044 Merge pull request #662 from amitdo/remove-hashfn2
Remove code that is no longer needed
2017-01-16 08:27:53 +01:00
Egor Pugin
080eb73ac6 Update cppan.yml 2017-01-16 10:17:13 +03:00
Egor Pugin
1920288a9e Update appveyor.yml 2017-01-16 09:43:30 +03:00
amitdo
5d627aacae Remove code that is no longer needed
The code in ccutil/hashfn.h was needed for some old compilers. Now that we support MSVC >= 2010 and compilers that has good support for C++11, we can drop this code.

As a result of this file removal, we now use:
  std::unordered_map
  std::unordered_set
  std::unique_ptr
directly in the codebase with '#include' for the needed headers.
2017-01-16 01:49:17 +02:00
Egor Pugin
e2ee78061a Uncomment silent options for cppan. 2017-01-13 22:16:17 +03:00
zdenop
fd835d3ed4 Merge pull request #658 from Wikinaut/patch-1
2 typo corrections "specific"
2017-01-13 08:19:12 +01:00
Wikinaut
f06ef543fc typo correction "specific" 2017-01-13 04:24:16 +01:00
Wikinaut
39274d8000 typo correction "specific" 2017-01-13 04:17:32 +01:00
Egor Pugin
89f33c5ad7 Update appveyor.yml 2017-01-12 12:24:33 +03:00
Egor Pugin
809e49afc4 Update appveyor.yml 2017-01-12 03:33:41 +03:00
Egor Pugin
a79d0c936d Update appveyor.yml 2017-01-12 03:31:23 +03:00
Egor Pugin
ef9932ad7c Update appveyor.yml 2017-01-12 03:30:53 +03:00
Egor Pugin
d2bcd00463 Update appveyor.yml 2017-01-12 03:17:26 +03:00
Egor Pugin
f02027d4e4 Update appveyor.yml 2017-01-11 21:48:05 +03:00
Egor Pugin
dc97e924bc Merge branch 'master' of github.com-egorpugin:tesseract-ocr/tesseract 2017-01-11 21:28:12 +03:00
Egor Pugin
7156a7e288 Add text2image binary when building with cppan. 2017-01-11 21:27:45 +03:00
Egor Pugin
429347b3b8 Update appveyor.yml 2017-01-11 20:48:42 +03:00
Egor Pugin
9bdb7110df Update appveyor.yml 2017-01-11 20:48:31 +03:00