summaryrefslogtreecommitdiff
path: root/javase/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2026-06-26reject negative and overflowing crop in BufferedImageLuminanceSource (#2111)jmestwa-coder1-1/+2
2026-06-22Validate crop rectangle for TYPE_BYTE_GRAY images in ↵Vasiliy Mikhailov1-5/+6
BufferedImageLuminanceSource (#2107) The crop-bounds check was only in the else branch, so TYPE_BYTE_GRAY images skipped it and an out-of-bounds crop was accepted, failing later with an ArrayIndexOutOfBoundsException instead of IllegalArgumentException. Hoist the check above the image-type branch so it applies to all images. Adds a test.
2026-06-22wrap invalid base64 as IOException in readDataURIImage (#2105)jmestwa-coder1-1/+6
2023-09-07Prevent --raw CLR option from failing if result.getRawBytes() is null (#1683)Dan Lenski1-6/+9
Fixes https://github.com/zxing/zxing/issues/1682
2022-10-24Use SwingUtilities to avoid deadlock in GUI mini appSean Owen1-5/+16
2022-01-14Set FEATURE_SECURE_PROCESSING when reading XML in HtmlAssetTranslator, just ↵Sean Owen1-1/+3
in case (#1482)
2021-10-13Minor code style updates to MinimalEncoder and a few other files ; minor dep ↵Sean Owen1-1/+1
updates
2021-10-05Enforce line length and indent in checkstyle (#1448)Sean Owen1-2/+3
2021-09-28Add option to output raw bitstream from CommandLineRunner. (#1442)Anders Hammarquist2-0/+17
* Add option to output raw bitstream from CommandLineRunner. Useful for debugging barcodes. Same as the web decoder. * Use StringBuilder. Fix indentation.
2020-12-09Improve test coverageSean Owen2-5/+9
2019-12-12Plugin updates; misc code simplifications and optimizationsSean Owen1-10/+11
2019-05-14Bump to 3.4.0. Require Java 8. Various code simplifications and plugin / dep ↵Sean Owen6-142/+12
updates
2019-05-13Move 'Translator' classes to .client.j2se subpackage in order to allow a ↵Sean Owen2-2/+2
Java 9 module for javase
2018-09-03Many more changes from recent IJ inspectionsSean Owen1-3/+3
2018-07-25A few more tests and fix handling of data: URIs in command line decoderSean Owen1-2/+7
2018-07-24Fix bug in decoding data URIs; Add tests in javase/, zxingorg/Sean Owen1-3/+1
2018-05-18Apply checkstyle to test code too, and fix violations; minor updates from ↵Sean Owen1-2/+1
code inspections
2018-01-31Trivial dep update; code tweakSean Owen1-1/+1
2017-10-08Minor update to last changeSean Owen1-9/+10
2017-10-08Fix null pointer exception (#885)Michal Hernas1-0/+3
2017-07-17Minor changes from inspectionSean Owen2-2/+4
2017-06-14Fix Codacy warningsSean Owen1-1/+1
2017-04-23Optimize generating BufferedImage by allocating memory per row. Add tests. ↵Sean Owen1-4/+6
Remove old jetty plugin.
2017-04-15Catch a few corner case errors in web appSean Owen1-2/+3
2017-04-06Update plugins/deps, fix bug in base64 decodingSean Owen1-1/+1
2016-12-12Minor updates / optimization from inspection; minor plugin / dependency updatesSean Owen1-5/+2
2016-07-24A bunch of inspection changes, including some dead code removal and ↵Sean Owen1-1/+1
tightening visibility, removing unnecessary casts
2016-06-24Implement more style checks around whitespaceSean Owen1-2/+2
2016-05-23Use java.util.Base64 in Java 8+ only, to remove javax.xml.bind dependency in ↵Sean Owen4-2/+121
javase, which doesn't exist by default in Java 9
2016-02-16Use StringWriter to prevent race condition in printlnLucas Wiman1-7/+17
2016-02-08Closes issue #540 : handle file paths with spaceSean Owen2-3/+17
2016-01-21Update plugins, dependencies, and clean up small code inspection issuesSean Owen1-2/+2
2016-01-14Closes issue #539 : handle relative files againSean Owen1-3/+2
2015-10-13Add possibility to choose the error correction level for the encodingopenerp2-6/+19
2015-10-01Update BufferedImageLuminanceSource.javawood1-4/+6
2015-10-01fix a little errorwood1-3/+3
RGB to gray, the weight of R is 0.299, not 0.229. The comment have a little error. And why add 0x200 ? It may be a error. 306/1024 = 0.2988. 601/1024=0.5869 and 117/1027 = 0.1143.
2015-09-23Closes #467 : more efficient construction of BufferedImage from bit matrixSean Owen1-3/+6
2015-05-03Use JCommander for CommandLineEncoder argsSean Owen2-65/+71
2015-05-03Use JCommander for CommandLineRunner argsSean Owen4-278/+199
2015-05-03CommandLineRunner can now handle URIs again; refactored some duplicated codeSean Owen3-163/+114
2015-01-30Fix unescaped quote in new translation and make translator escape quotes ↵Sean Owen1-5/+7
going forward
2015-01-24Follow up with translations for #296Sean Owen1-1/+1
2014-06-25Use ARGB when on/off colors are not opaqueSean Owen1-2/+14
2014-06-24Use ARGB color model in MatrixToImageConfigMikhail Surin1-2/+2
2014-04-13Fix some Java 8 javadoc warningsSean Owen1-3/+39
2014-03-13Output HTML DOCTYPE correctly from HtmlAssetTranslatorSean Owen1-1/+6
2014-02-28Fix unescaping of entities in translator and touch up two typos in BS what's ↵Sean Owen1-4/+4
new notes
2014-01-31Fix a few bugs from last NIO2 commit in resource translationSean Owen2-2/+20
2014-01-31Move to use of Java 7 NIO2 APIsSean Owen8-217/+174
2014-01-29Avoid auto translation of langauges that are just symlinks. Use Java 7 file ↵Sean Owen2-11/+19
APIs more.