Egor Pugin
|
664a718a63
|
Rename platform.h to export.h.
|
2021-01-01 00:18:36 +03:00 |
|
Stefan Weil
|
d4df4c06fc
|
Add missing definition for TESS_API
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2020-12-31 17:06:21 +01:00 |
|
Egor Pugin
|
c86325e2f7
|
Use TESS_API for every public symbol. Public symbol is exported from the library. This also applies to unit test and training symbols. Users will be limited to public api, but set of exported symbols will be wider still.
Remove TESS_LOCAL.
Fix several symbol issues that made visible with these changes.
All build systems must set -fvisibility-hidden for *nix systems.
|
2020-12-31 16:32:29 +03:00 |
|
Stefan Weil
|
fc4002dda8
|
Remove helpers.h from public API
Remove also outdated references to apitypes.h which no longer exists.
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-31 09:06:16 +01:00 |
|
Egor Pugin
|
ff1a995bfc
|
Removed unused fwd decl.
|
2020-12-31 02:45:55 +03:00 |
|
Egor Pugin
|
a7246865fc
|
Remove unused fwd decls.
|
2020-12-31 02:43:24 +03:00 |
|
Egor Pugin
|
67218eeb99
|
Remove unused typedefs.
|
2020-12-31 02:41:26 +03:00 |
|
Egor Pugin
|
1f834b7f27
|
Remove unused fwd decl.
|
2020-12-31 02:39:45 +03:00 |
|
Egor Pugin
|
b01f151027
|
Remove comment.
|
2020-12-31 02:39:04 +03:00 |
|
Egor Pugin
|
3af30419db
|
Move MAX_PATH def out from public header.
|
2020-12-31 02:35:28 +03:00 |
|
Egor Pugin
|
2252936fc8
|
Use linear congruential random number generator from C++11.
|
2020-12-31 02:31:53 +03:00 |
|
Egor Pugin
|
a0509b2feb
|
Use std::swap instead of manual function.
|
2020-12-31 02:17:54 +03:00 |
|
Egor Pugin
|
89273c915d
|
Remove empty DLLSYM macro.
|
2020-12-31 02:10:46 +03:00 |
|
Egor Pugin
|
8bd1227c3e
|
Remove public empty header.
|
2020-12-31 02:05:47 +03:00 |
|
Stefan Weil
|
faf0407dff
|
Remove RecognizeForChopTest from public API
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2020-12-30 17:55:40 +01:00 |
|
Stefan Weil
|
d1d176a280
|
Remove TessTruthCallback from public API
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2020-12-30 15:44:44 +01:00 |
|
Stefan Weil
|
588ac3fed2
|
Remove TessTruthCallback from public API
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2020-12-30 15:38:11 +01:00 |
|
Stefan Weil
|
deec8ef46f
|
Replace std::list by std::vector
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-30 07:10:29 +01:00 |
|
Stefan Weil
|
f4e380f64a
|
Remove serialis.h from public API
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2020-12-29 11:28:50 +01:00 |
|
Stefan Weil
|
90af3e7b5c
|
Remove strngs.h from public API
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
03884c370c
|
Replace STRING by std::string in ResultIterator
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
a007cbeb57
|
Replace STRING by std::string
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
d37a9319ec
|
Remove unused TessBaseAPIInit from capi.h
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
2369aa5604
|
Use std::vector, std::string in baseapi.h
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
72663a9a81
|
Use std::vector, std::string in baseapi.h
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
fec9c11c8c
|
Use std::vector, std::string in baseapi.h
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
64e902ddf7
|
Remove genericvector.h from public API
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
f462389673
|
renderer for TessPDFRenderer
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
d55e5f4803
|
Replace more GenericVector by std::vector
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
4a28d33c58
|
Replace GenericVector by std::vector in strngs.h and more places
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
3ddc88cccb
|
Use std::vector in TessPDFRenderer
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
7c679e777d
|
Use std::vector for allowed_scripts
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
32d53479ae
|
Use std::vector for vars_vec, vars_values
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
085f6b2572
|
Use std::list for paragraph models
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
4ebba72919
|
Use std::vector for paragraph models
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Stefan Weil
|
524fc67165
|
Fix tesseract --list-langs
Signed-off-by: Stefan Weil <sw@weil.de>
|
2020-12-28 21:03:29 +01:00 |
|
Egor Pugin
|
a98d6d9e8e
|
Better symbol visibility fix for unit test.
|
2020-12-28 04:58:14 +03:00 |
|
Egor Pugin
|
f51a945e26
|
Make symbol visible to fix unit test.
|
2020-12-28 04:31:00 +03:00 |
|
Egor Pugin
|
0c19e1e14d
|
Allow to construct STRING from nullptr.
|
2020-12-28 01:10:15 +03:00 |
|
Egor Pugin
|
7519cbe175
|
Use resize() instead of reserve() in resize_no_init() to match std::vector behavior. Using memory after reserve() is UB.
|
2020-12-28 01:09:57 +03:00 |
|
Egor Pugin
|
b2b2d02167
|
Another msvc/macos fix attempt.
|
2020-12-26 15:09:03 +03:00 |
|
Egor Pugin
|
f7c78f97a1
|
Fix macos build. Add missing header.
|
2020-12-26 15:00:43 +03:00 |
|
Egor Pugin
|
560560eb35
|
Try to fix macos build.
|
2020-12-26 13:40:27 +03:00 |
|
Egor Pugin
|
c8b8d266d6
|
Fix some of vector<bool> cases for msvc.
|
2020-12-26 04:17:13 +03:00 |
|
Egor Pugin
|
6b22972bc2
|
Fix linux build.
|
2020-12-26 04:15:42 +03:00 |
|
Egor Pugin
|
c3e04abe1e
|
Inherit STRING from std::string.
|
2020-12-26 03:48:35 +03:00 |
|
Egor Pugin
|
b4495a6bb5
|
Call base vector::insert() explicitly.
|
2020-12-26 03:37:21 +03:00 |
|
Egor Pugin
|
4fc467a922
|
Inherit GenericVector from std::vector. Inherit kdpairs from std::pair. Rewrite some move ctors to modern C++ style.
|
2020-12-26 03:23:09 +03:00 |
|
Egor Pugin
|
79a86f2582
|
Move all tesseract symbols into tesseract namespace. Fix include order in many places.
|
2020-12-26 00:55:30 +03:00 |
|
Egor Pugin
|
a905e8c1ef
|
Reorder includes.
|
2020-12-25 18:11:37 +03:00 |
|