Commit graph

986 commits

Author SHA1 Message Date
yerar 6fe3a775a0
Make MultiFinderPatternFinder a public class (#1313)
* Make MultiFinderPatternFinder a public class

* Make MultiFinderPatternFinder constructor public

Co-authored-by: Gerard Finol <gfinol@color-sensing.com>
2020-09-14 10:03:09 -05:00
Sean Owen 40c2e2e9af
Many small updates from code analysis; remove unused files; tune server params (#1311) 2020-09-06 18:21:05 -05:00
Sean Owen da049f21d9
Update proguard to 7. Remove unused slf4j. Minor code tweaks and dep updates. (#1307) 2020-08-26 13:09:20 -05:00
Sean Owen 9aa4db5c1f Misc code simplification and edits 2020-06-05 21:34:13 -05:00
Sean Owen c89470b2b0 Issue #862 : avoid invalid codeword from bad EC number estimate 2020-06-03 11:50:14 -05:00
Sean Owen f8df5f0ca2 Avoid tiny Array.sort; a bottleneck 2020-05-13 14:12:34 -05:00
Sean Owen 2e2b5ba757 Resolve issue #1254: overloaded H: for hidden/p2m 2020-01-27 08:33:27 -06:00
Sean Owen 459c0197a7 Plugin updates; misc code simplifications and optimizations 2019-12-11 15:29:49 -06:00
Sean Owen 4e110ecdbb Minor code inspection: Use Math.min, Arrays.fill. No point in keeping opts from J2ME days 2019-07-29 14:36:16 -05:00
Sean Owen 1cc5cbe961 Don't run Aztec test 1000 times pointlessly 2019-07-29 14:33:58 -05:00
Sean Owen 4d94ac22eb Add addition wifi: QR code test case from mailing list 2019-07-29 14:33:58 -05:00
MakKi (makki_d) ae6d7e55af findFinderPattern()[1] points the outside pixel of the finder pattern (#1179) 2019-06-16 10:10:23 -05:00
anrcode 6075d5b2f6 Minor change to enable manual selection of the QR code mask pattern (#1176)
* Minor change to enable manual selection of the QR code mask pattern via encoding hints. Manual selection of the mask pattern greatly improves performance.

* fixed style
2019-06-13 07:02:10 -05:00
Sean Owen 723b65fe3d Refactor checking of write format in 1D writers 2019-05-31 10:53:24 -05:00
MakKi (makki_d) 2d77cec7c8 check format param in CodaBarWriter::encode (#1173) 2019-05-31 10:32:53 -05:00
Sean Owen f1683e1f4f Bump to 3.4.0. Require Java 8. Various code simplifications and plugin / dep updates 2019-05-13 18:44:57 -05:00
MakKi (makki_d) 653ac2a3be Improve FinderPatternFinder.selectBestPatterns (#1158)
* rewrite FinderPatternFinder.selectBestPatterns
2019-04-18 06:42:52 -07:00
MakKi (makki_d) fedfa7a16c Remove duplicate results when it has structured append header. (#1147)
* remove duplicate results in processStructuredAppend

* add whitespace

* remove illegal import
2019-03-22 05:51:06 -05:00
Sean Owen bc645c50bb Small fixes, dep updates, removed warning about Android app, made web app params into annotations 2019-03-09 17:18:31 -06:00
fitchfuloffun eb6bea6ed3 Fixing checksum error in UPC-E barcodes (#1130)
* Converting to UPC-A before checking for matching check digits
2019-02-04 08:54:41 -06:00
Sean Owen 9617a90616 Minor updates to plugins and from code inspection 2019-01-25 21:20:56 -06:00
Sean Owen a81dda90ba Small code improvements from inspections 2019-01-19 20:58:09 -06:00
MakKi (makki_d) 6b3bf9ea40 fix typo (#1111) 2018-11-23 05:58:29 -06:00
MakKi (makki_d) 79bdb2c84e Continue in codeset A when character encoded single number or FNC1-4 in Code128Writer (#1108)
* Continue in code A when character encodes FNC1-4 in Code128Writer

* FNC1 in codeset A

* Single number also can continue in codeset A
2018-11-15 09:00:01 -06:00
MakKi (makki_d) e636498b5e Support Full-ASCII in Code93Writer (#1104)
* support extended characters in Code93Writer

* remove redundancy

* add test for convertToExtended

* thanks for review

* fix comment, use package-private for testing
2018-11-09 08:05:07 -06:00
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
Ben John 5a282c5e05 Fixed duplicated assertion (#1072) 2018-09-21 19:55:15 -05:00
Sean Owen 36f38c5beb Many more changes from recent IJ inspections 2018-09-03 15:18:54 -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 2179c52ee3 Tighten definition of what's accepted as a URI, to exclude some potentially malicious ones 2018-08-05 19:07:19 -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
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 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
Sean Owen 553b5e97a3 Update JAI ImageIO for JDK 9; other trivial inspection and plugin updates 2018-04-24 11:31:57 -05:00
Sean Owen d352c5f159 Fix a few typos in new PDF 417 test 2018-03-23 11:04:52 -05:00