Commit Graph

24 Commits

Author SHA1 Message Date
Stefan Weil
368fa189d1 Fix CID 1386106 (Explicit null dereferenced)
Handle also the case when the user closes the dialog
without selecting an answer.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 16:29:49 +02:00
Stefan Weil
244b54bfc9 Fix CID 1386083 (Dereference null return value)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-29 17:50:23 +02:00
Stefan Weil
2a30d77d75 Fix CID 1386104 (Dereference null return value)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-29 17:40:06 +02:00
Stefan Weil
4bebf3a5a3 Fix CID 1386098 (Dubious method used)
PrintStream depends on the default encoding if no encoding is given,
so set UTF-8 encoding explicitly.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-29 17:33:43 +02:00
Stefan Weil
0686cbed87 Fix CID 1386094 (Unread field)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-29 17:31:44 +02:00
Stefan Weil
509a6f0ce0 Fix some typos (most found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-05-27 18:49:43 +02:00
Stefan Weil
62df5ae686 java: Fix CID 1386112 (Resource leak)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-26 14:27:43 +02:00
Stefan Weil
63d5709958 java: Make SVWindow more robust (fix three CID issues)
1386093 Division or modulo by zero
1386096 Division or modulo by float zero
1386101 Division or modulo by float zero

A division by zero would have occurred if both sizeX and canvasSizeX or
sizeY and canvasSizeY were 0.

Catch also negative sizes which don't raise a division by zero exception
but which are also invalid.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-26 10:02:01 +02:00
Stefan Weil
64e2efffc7 java: Remove unused field (fix CID 1386094 UrF: Unread field)
desc is written once, but never used otherwise.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-26 09:36:46 +02:00
Stefan Weil
dabf3c299f Fix file endings
Text files should end with a LF, but not additional empty lines.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-25 19:35:33 +02:00
Stefan Weil
425c2391b2 Java: Fix typos in comments and strings
All of them were found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-09-14 22:18:44 +02:00
Zdenko Podobný
66a76a9477 Revert "temporary add config/*, configure and Makefile.in for release"
This reverts commits ec9581d8f2, 1afe382c4e, 4b2cfabcc1
2015-07-31 21:44:43 +02:00
Zdenko Podobný
ec9581d8f2 temporary add configure and Makefile.in for release 2015-07-11 09:42:43 +02:00
theraysmith@gmail.com
d1e4f27acb Cleaner fix for issue 1075
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1033 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-30 02:20:06 +00:00
theraysmith@gmail.com
8eb1218adf Fixed exception on clearing a window (issue 988)
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1028 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-29 19:17:04 +00: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
zdenop@gmail.com
5958f01f5f fix doxygen warnings
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@715 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-30 15:42:06 +00:00
theraysmith@gmail.com
47f032b0e9 Removed remaining Makefile.in
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@615 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 16:52:53 +00:00
joregan
e0b07948fc disabling gettext checks - not currently used, and something about disabling is causing subsequent autoconf checks to not run
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@492 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-30 16:27:39 +00:00
joregan
a301f9a5c7 start of i18n
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@418 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-07-19 01:59:13 +00:00
joregan
ddcb98565a update generated autoconf/make stuff
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@369 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-26 14:21:37 +00:00
theraysmith
198f6e3c12 Added Makefile.in files for new java dirs
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@245 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-03 01:25:11 +00:00
theraysmith
8131b0fd3b Moved java files to correct hierarchy
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@244 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-03 01:22:46 +00:00