- Move NSIS installer file to new location
- Support cross builds with NSIS
- Clean nsis configuration
- Fix typos in nsis configuration
- Add jar files needed for ScrollView.jar
- Move ScrollView.jar to a new section
- Add missing configurations to tessdata
- Registry settings are now disabled (problems with long PATH)
- Add menu sections for all languages
- Simplify language downloads
- Tune and improve nsis configuration
- Add sizes for language data
- Add missing translations to nsis configuration
- Don't show details in installer by default
- Initial code for 64 bit Tesseract installer
- Fix uninstall for TESSDATA_PREFIX registry key
- Remove cube code
- nsis: Add all training executables
- nsis: Disable registry settings
Trying to add to PATH fails if the old PATH is very long and
will result in an empty PATH.
Remove these settings as they were already disabled by default,
and both are not needed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Commit db52047420 added the filename conversion for the hOCR renderer,
but it was removed later for TSV in commit 6700edd8bc.
Tesseract does not use a filename conversion anywhere else, so remove it
for the other renderers, too.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
As this project follows Semantic Versioning, the shared object
version should match these semantics.
The two options that make sense here are to have the soversion
set to the version major (so only breaking changes are tracked)
or to set to version major and minor (so breaking and API additions
are tracked).
Since the Windows version of the library already uses version major
and version minor, let's just do this universally.
Fixes: 832926f5af ("Update library version handling for cmake")
Signed-off-by: Neal Gompa <neal@gompa.dev>
This fixes five performance issues reported by Codacy:
%u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'.
%u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'.
%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This fixes several performance issues reported by Coverity:
Variable 'master_trainer_' is assigned in constructor body.
Consider performing initialization in initialization list.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This fixes two performance issues reported by Codacy:
Ineffective call of function 'substr' because a prefix of the string
is assigned to itself. Use resize() or pop_back() instead.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Gate the sample of the clock by the tessedit_timing_debug flag,
which is the only time it gets used anyway.
This eliminates unnecessary clock_gettime() system calls.