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
5d60444f40
automake: Enable all warnings and fix a warning
...
Fix this automake warning for java/Makefile.am:
java/Makefile.am:67: warning: user target 'clean' defined here ...
automake: ... overrides Automake target 'clean' defined here
java/Makefile.am:67: consider using clean-local instead of clean
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-05-15 20:08:54 +02:00
Stefan Weil
92f2eda2c7
java: Improve build rules
...
* Fix builds in subdirectories:
* Add srcdir to Manifest.txt.
* Remove srcdir from piccolo2d-core-3.0.jar and piccolo2d-extras-3.0.jar.
* Add dependency of SCROLLVIEW_CLASSES on SCROLLVIEW_LIBS.
The SCROLLVIEW_LIBS are now automatically fetched when needed.
* Add .PHONY target for fetch-jars.
* Improve rule for clean target.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-11 22:04:17 +01: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
Tom Morris
4d92667e89
Simplify build and run of ScrollView
2015-09-09 17:21:58 -04: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
d5b3c6c47c
fix Parallel Build Trees (a.k.a. VPATH Builds) ('make install-langs' and 'make install-jars')
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@888 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-10-03 21:26:35 +00:00
zdenop@gmail.com
503f68966e
fix 'make distclean'
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@754 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-09-21 17:36:27 +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
zdenop@gmail.com
1563c01565
fixed build in java directory; create documentation package with 'make doc-pack'
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@705 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-15 21:05:12 +00:00
joregan@gmail.com
323ee5af7a
more Makefile.in
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@618 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 18:40:33 +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
theraysmith@gmail.com
d5d15f32d7
Deleted Makefile.in from svn
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@606 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 16:32:44 +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
b3c1e2e5b0
Fix issue 333 (patch from Zdenko)
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@430 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-07-21 10:29:42 +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
c2ca19e073
Automake changes for potential RC of 2.04
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@249 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-03 02:52:02 +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
theraysmith
c82051a461
Removing lua dependency from java code
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@243 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-02 23:37:06 +00:00
tmbdev
a978ccb68f
changed runautoconf instructions
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@183 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-08-18 20:18:21 +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
89a5284c69
Updated graphics output for new java-based display
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@148 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-02-01 00:49:38 +00:00