Commit graph

3662 commits

Author SHA1 Message Date
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
Luiz Machado c99e635482 fixed my port name and URL (#1009)
I was the previous owner of a port/fork of Zxing library, now I moved it into an org.
2018-05-15 13:43:28 -05:00
Wiktor a203ea5c97 Set protocol to JABBER if XMPP IM handle is found (#1007)
IMPP field can be set to a URI [0]. If that URI is of XMPP scheme set the
protocol used to JABBER and drop the scheme part from the IM handle.

This format is used by XMPP messengers e.g. Conversations.im [1].

[0]: https://tools.ietf.org/html/rfc6350#section-6.4.3

[1]: https://github.com/siacs/Conversations/blob/master/README.md#how-does-the-address-book-integration-work
2018-05-14 07:50:02 -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 274159117a Plugin updates, including ones that enable Java 10 build compatibility 2018-03-23 11:05:23 -05:00
Sean Owen d352c5f159 Fix a few typos in new PDF 417 test 2018-03-23 11:04:52 -05:00
Florian Schrag dbfd5520e9 Improve support for Macro PDF417 (#973)
* Improve support for Macro PDF417

* cleanup and move license to it's proper place

* add .editorconfig + proper indentation / add optionalFields array

* rename variables and use Arrays instead of System

* replaced length with to

* restore spaces & switch to package private
2018-03-15 14:44:55 -05:00
Michael Jahn a3bbebccba ZXing 3.3.2 snapshot still creates wrong barcode for text with leadin… (#967)
* ZXing 3.3.2 snapshot still creates wrong barcode for text with leading asterisk #960

* missing spaces
2018-03-04 15:17:40 -06:00
Frank c3d649f6ab Added a workaround for low framerate issue on Nexus 4 (#959)
* Added a workaround for low framerate issue on Nexus 4

* Move setRecordingHint to general camera configuration

* change the location of setRecordingHint
2018-02-23 09:26:38 -06:00
Christoph Läubrich c8da0c1a94 Fix #957 - Provide OSGi Metadata in Manifest (#958)
* Fix #957 - Provide OSGi Metadata in Manifest

* replace tabs by whitespaces

* Try once again to fix whitespace/indentation
2018-02-16 17:35:41 -06:00
Sean Owen f51520212c update site for 3.3.2 2018-01-30 22:21:41 -06:00
Sean Owen a75a8b8c55 Update android modules for 3.3.3-SNAPSHOT 2018-01-30 22:16:46 -06:00
Sean Owen 80fd5b1a1c [maven-release-plugin] prepare for next development iteration 2018-01-30 22:10:20 -06:00
Sean Owen 588e6ae4bd [maven-release-plugin] prepare release zxing-3.3.2 2018-01-30 22:10:15 -06:00
Sean Owen f107a9b0ad Updates for 3.3.2 release in android modules 2018-01-30 22:10:07 -06:00
Sean Owen 845ebf4af7 Trivial dep update; code tweak 2018-01-30 20:56:08 -06:00
Sean Owen 9a362fc159 Only activate checkstyle (Java 8+) in Java 8+ build 2018-01-28 14:48:17 -06:00