Commit graph

3678 commits

Author SHA1 Message Date
MakKi (makki_d) b31e090239 Optimize code width calculation in Code39Writer (#1103)
Every code39 character has 9 bars containing 3 wide bars, and separated by a white bar.
(9-3)*1 + 3*2 + 1 = 13
2018-11-04 09:57:58 -06:00
MakKi (makki_d) 58feb44536 fix code93 extended character decoder (#1101) 2018-11-02 10:51:39 -05:00
Sean Owen 1f4aaad628 Minor dependency and inspection changes 2018-10-25 07:43:35 -05:00
Pasan Manudul Amarasiri 71f5773d8e Added a null check for relative points (#1096) 2018-10-23 07:36:11 -05:00
MakKi (makki_d) c13216ce08 Rewrite DataMatrix Detector (#1080)
* rewrite datamatrix detector

* comments

* remove unused

* modify test

* fix CI errors
2018-10-04 04:24:38 -05:00
Ben John c7c016a20f Corrected exception message in EAN8Writer (#1073)
- according to EAN13Writer, both possibilities should be reflected within the message
2018-09-24 07:54:10 -05:00
Ben John e6937d25e8 Corrected exception message in UPCEWriter (#1074)
- according to EAN13Writer, both possibilities should be reflected within the message
2018-09-24 07:53:11 -05:00
Sean Owen e9b9fa23fd Make DoS test case possibly less flaky 2018-09-22 11:49:46 -05:00
Ben John 5a282c5e05 Fixed duplicated assertion (#1072) 2018-09-21 19:55:15 -05:00
Sean Owen ea0a9a670f Barcode Scanner 4.7.8 2018-09-11 08:59:25 -05:00
Sean Owen 36f38c5beb Many more changes from recent IJ inspections 2018-09-03 15:18:54 -05:00
Sean Owen 431ae9e06e Catch more exceptions in web app and update site skin 2018-08-30 16:47:18 -05:00
Sean Owen ab4ebad305 Make sure to stop processing after all error conditions (errorResponse calls) 2018-08-30 15:12:06 -05:00
Sean Owen 4fbcadfd37 And back out Spring framework update down to 4.x 2018-08-30 11:37:50 -05:00
Sean Owen 65992d408c Back out bnd plugin update 2018-08-30 11:24:10 -05:00
Sean Owen a010db7fe2 Explicitly specify javadoc encoding, fix a few doc warnings, update plugins again 2018-08-30 11:13:55 -05:00
Sean Owen 0b9b39a74f Issue #1051: to avoid letting user input into logs, sanitize input and/or just remove unimportant log statements in Android, web app 2018-08-07 19:28:06 -05:00
Sean Owen 2179c52ee3 Tighten definition of what's accepted as a URI, to exclude some potentially malicious ones 2018-08-05 19:07:19 -05:00
Felix Bergmann 45d89bce80 Directory Bug (#1046)
The correct pattern to make a directory is: `if (!dir.mkdirs() && !dir.isDirectory()) { error }` mkdirs checks for exists so the exists check is redundant.
2018-07-29 17:07:39 -05:00
Sean Owen 96d974f44d A few more tests and fix handling of data: URIs in command line decoder 2018-07-24 18:16:34 -05:00
Sean Owen a0a4d8ff80 A few more tests and fix handling of data: URIs in command line decoder 2018-07-24 17:59:52 -05:00
Sean Owen 9065c4daee Improve DoS test case to be more robust to timing 2018-07-24 08:20:41 -05:00
Sean Owen d907537c05 Fix bug in decoding data URIs; Add tests in javase/, zxingorg/ 2018-07-23 21:14:47 -05:00
Andreas Niederle e1b127c13a fix binary shift cost heuristics (#1044)
* fix binary shift cost heuristics

* corrected some indents
2018-07-23 08:59:35 -05:00
Koen van Vliet 48bb5fd860 Check if characters are digits for EAN_13, EAN_8, ITF and UPC_EAN_EXTENSION (#1039)
* Check if characters are digits

* Use regex to check if input is valid. Added tests

* Create checkNumeric method

* Remove unused locals, moved attributes to top of class.

* Simplify testcase

* Reduce repeated code

* Fixed indentation
2018-07-10 13:05:37 -05:00
MakKi (makki_d) 0cf3b9be71 Fix QR-code hanzi segment decoder (#1033)
* Fix QR-code hanzi segment decoder

* remove unicode character
2018-06-20 13:52:44 -04:00
MakKi (makki_d) 15b09aeda5 remove spacing from head of polynomial string (#1032) 2018-06-19 13:53:30 -04:00
kdwoo1217 fc057169cd Fixed strings.xml Korean (#1029) 2018-06-13 20:38:29 -05:00
Sean Owen 50baa8afe3 Downgrade to Spring Framework 4 for Java 7 2018-06-13 09:26:33 -05:00
Sean Owen 087f8a727c Shorten error response for floods of requests; experiment with testing web components 2018-06-13 09:11:31 -05:00
Sean Owen d258efbed0 Oops, fix checkstyle 2018-06-02 23:07:13 -05:00
Sean Owen 7ff131b3cc Move and slightly add to new GenericGFPoly tests 2018-06-02 22:51:28 -05:00
MakKi (makki_d) 3778715156 String of zero polynomial be "0" (#1020)
* String of zero polynomial be "0"

* add test

* add more test

* modify test case
2018-06-02 22:32:30 -05:00
Sean Owen 4d39673d67 More stuff in response to static inspection 2018-05-30 10:55:44 -07:00
Sean Owen ccb8293a04 Update site for 3.3.3 2018-05-29 10:44:42 -05:00
Sean Owen db5f3ac62c Update android apps to use 3.3.4-SNAPSHOT 2018-05-29 10:31:42 -05:00
Sean Owen ebb206df3a [maven-release-plugin] prepare for next development iteration 2018-05-29 10:18:14 -05:00
Sean Owen 463d1ea7ed [maven-release-plugin] prepare release zxing-3.3.3 2018-05-29 10:18:05 -05:00
Sean Owen ba91ad5b05 [maven-release-plugin] rollback the release of zxing-3.3.3 2018-05-29 10:15:31 -05:00
Sean Owen 71b4ecf914 [maven-release-plugin] prepare release zxing-3.3.3 2018-05-29 10:15:15 -05:00
Sean Owen dba220280e Back out update of scm plugins due to release plugin incompatibility 2018-05-29 10:12:48 -05:00
Sean Owen d6d72f2aab [maven-release-plugin] rollback the release of zxing-3.3.3 2018-05-29 09:57:26 -05:00
Sean Owen dd3498a01c [maven-release-plugin] prepare for next development iteration 2018-05-29 09:49:35 -05:00
Sean Owen 8c8525d12c [maven-release-plugin] prepare release zxing-3.3.3 2018-05-29 09:49:29 -05:00
Sean Owen d305ea953a Update android parent versions to 3.3.3 2018-05-29 09:47:18 -05:00
Sean Owen b7e888dd4d Revert aQute plugin update as it requires Java 8 2018-05-29 08:47:27 -05:00
Sean Owen 7a64f483fd Various small improvements from inspection, dependency updates, preparing for 3.3.3 2018-05-29 08:26:06 -05:00
MakKi (makki_d) fa0e1d7556 Optimize buffer size (#1013) 2018-05-23 10:26:47 -05:00
Sean Owen a372dfe175 Apply checkstyle to test code too, and fix violations; minor updates from code inspections 2018-05-18 09:21:21 -05:00
Sean Owen 2c2c395afa Issue #217: copy result metadata (like EAN extension) even when return EAN-13 as UPC-A 2018-05-17 12:11:07 -05:00