Commit Graph

34 Commits

Author SHA1 Message Date
Stefan Weil
6d19e7c3c0 SVNetwork: Avoid unneeded new / delete operations
The class variable mutex_send_ does not require an indirection
by using a pointer.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-30 19:58:58 +02:00
Ray Smith
7a116ce8bb More formatting fixes from clang tidy 2017-04-28 13:38:32 -07:00
Bernard Cafarelli
57b7236f7f
Provide SVSync::StartThread() with GRAPHICS_DISABLED 2017-01-27 12:06:15 +01:00
Egor Pugin
644469595c Fix windows build. 2016-11-24 17:32:23 +03:00
Ray Smith
2c837dffc3 Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
Stefan Weil
c7339c32fc viewer/svutil: Fix resource leak
Coverity report:

CID 1164526 (#1 of 1): Resource leak in object (CTOR_DTOR_LEAK)
2. alloc_fn: Calling allocation function socket.

The previous stream_ must be closed before opening a new one.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-10-24 16:24:34 +02:00
Stefan Weil
c12757b53e viewer/svutil: Fix memory leak
Coverity report:

CID 1164728 (#1 of 1): Resource leak (RESOURCE_LEAK)
33. leaked_storage: Variable argv going out of scope leaks the storage it points to.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-10-24 13:25:45 +02:00
Stefan Weil
d701c15b4e Fix compiler warnings (remove unused constants)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-12-21 10:01:47 +01:00
Stefan Weil
ef7838a950 viewer: Fix format string
Variable port is an int, so "%d" is needed.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-11-04 09:44:52 +01:00
Felix Janda
d69965cb5b viewer/svutils.cpp: Include <sys/select.h> for FD_SET, ... 2015-10-31 11:53:26 +01:00
Tom Morris
4d92667e89 Simplify build and run of ScrollView 2015-09-09 17:21:58 -04:00
Zdenko Podobný
c0640a4bef fix cygwin build (issue 1289) 2014-09-28 23:19:52 +02:00
theraysmith@gmail.com
99e1f05952 Fixed bugs in scrollview and upgraded piccolo to 3.0
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1026 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-29 02:24:32 +00:00
zdenop@gmail.com
4d30bf2a6d ScrollView.jar related fixes: issue 985 and 987
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@889 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-10-05 21:33:07 +00:00
theraysmith@gmail.com
4d514d5a60 Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc.
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@878 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-09-23 15:26:50 +00:00
zdenop@gmail.com
e8f7dc8b54 fix issue 426 - Cannot get Viewer to work on MacOS X
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@827 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-02-23 11:57:40 +00:00
zdenop@gmail.com
e216adab43 fix configure.ac; unify identifiers (WIN32 vs _WIN32)
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@688 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-02 17:31:24 +00:00
theraysmith@gmail.com
e0d735b122 Remaining misc changes for 3.02
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@658 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-02-02 03:14:43 +00:00
zdenop@gmail.com
9b7375edd6 MinGW portability solved + some code cleanup (based on cpplint)
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@605 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-15 19:28:25 +00:00
joregan
f2506871f9 move include of config_auto.h to not conflict with local types. Not finished
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@490 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-30 15:53:40 +00:00
joregan
5c8ad7ee72 add config_auto.h anywhere #ifndef GRAPHICS_DISABLED is used
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@384 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-28 12:03:45 +00:00
theraysmith
61447c655e Fixed issue 90
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@354 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-20 23:38:12 +00:00
theraysmith
208f24ea04 Updating viewer code to latest
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@337 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-19 21:19:00 +00:00
theraysmith
fad96e60b1 Fixed issue 237: compilability on other linux variant
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@317 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-08-20 22:40:04 +00:00
theraysmith
4cf922dd1c Changes to viewer for 3.00
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@303 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-07-11 02:44:48 +00:00
theraysmith
bea5e04b76 Fixed compilation with GRAPHICS_DISABLED
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@250 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-03 17:24:08 +00:00
theraysmith
f3060abf71 Automake changes for potential RC of 2.04
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@248 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-03 02:50:54 +00:00
theraysmith
254b936aef Removing lua
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@242 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-02 23:34:41 +00:00
theraysmith
87b506f63d Fixed build for cygwin: see issue#111
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@223 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-03-12 23:52:44 +00:00
theraysmith
5896151273 Fixed issue 170
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@212 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-12-30 18:38:30 +00:00
theraysmith
ddfabca4d5 Fixed compilatation problems, issue 142 and others
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@203 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-12-24 00:58:55 +00:00
theraysmith
1a76ccd170 Portability issues with the java viewer
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@182 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-08-14 22:52:14 +00:00
theraysmith
5c45dc15b1 Fixed name collision with jpeg library
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@165 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-04-22 00:44:56 +00:00
theraysmith
1a23b25eeb Updated graphics output for new java-based display
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@149 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-02-01 00:50:56 +00:00