Sean Owen
5409e6b6fd
Closes #912
2017-11-16 11:40:33 -06:00
Sean Owen
ea3b04289d
Fixes issue #908
2017-11-13 19:36:57 -06:00
Aldracor
72a21d158b
Add QRCode lenient diagonal check ( #906 )
...
* Add QRCode lenient diagonal check
Adding diagonal check to solve #897 to prevent false positives for centers
* update tests to expect the increased number of successes
2017-11-08 10:11:25 +00:00
Sean Owen
7eae23f659
Guard against a few rare errors from Play logs
2017-11-02 11:54:25 +00:00
Steffen Kieß
49d90b6457
Implement support for WPA2 Enterprise (EAP) ( #865 )
2017-10-29 20:40:53 +00:00
Sean Owen
5284daa336
Restore changed protected method to satisfy clirr, just in case something extends it.
2017-10-29 10:26:45 +00:00
Sean Owen
c2a2245bb9
Remove unused cross-check-diagonal logic
2017-10-29 09:56:47 +00:00
Sean Owen
550afd451c
[maven-release-plugin] prepare for next development iteration
2017-10-25 18:28:09 +01:00
Sean Owen
0edfaa0318
[maven-release-plugin] prepare release zxing-3.3.1
2017-10-25 18:28:02 +01:00
Sean Owen
f4d5b1f785
[maven-release-plugin] rollback the release of zxing-3.3.1
2017-10-25 18:22:03 +01:00
Sean Owen
cd97b100fa
[maven-release-plugin] prepare for next development iteration
2017-10-25 18:12:27 +01:00
Sean Owen
06eb69b579
[maven-release-plugin] prepare release zxing-3.3.1
2017-10-25 18:12:21 +01:00
Sean Owen
05093ed3d2
Disable Android, proguard, appspot for JDK 9
2017-09-22 17:50:34 +01:00
Michael Jahn
24f170efb3
Add codeset A support to Code 128 ( #877 )
...
* add support of Codeset A for Code 128
* simplification, everything from 0 to 127 is supported by Codeset A and B
2017-09-20 07:44:23 +01:00
Michael Jahn
437db89b45
Code39 extended mode encoding support ( #876 )
...
* asterisk isn't a valid character which can be encoded with Code 39.
the following sample content results in an unreadable barcode: *123456789
because the asterisk is the start-stop character (special meaning, not valid in content)
the really encoded value is **123456789*. The barcode reader stops after reading the second asterisk
and throw the content away.
* remove wrong private modifier for ALPHABET_STRING
* cleanup comments
* add support for Code 39 extended mode encoding
* add support for Code 39 extended mode encoding
* clean ups
* clean ups
2017-09-18 17:17:38 +01:00
Michael Jahn
76d9dd5cf6
Fix extended mode decoding code39 ( #873 )
...
* fix extended mode decoding of Code 39
* beautification
* tests for Code 39 extended mode decoding, full supported ascii table
2017-09-17 21:31:40 +01:00
Michael Jahn
1d66d793ed
asterisk isn't a valid character and should not be encoded as content with Code 39. ( #872 )
...
* asterisk isn't a valid character which can be encoded with Code 39.
the following sample content results in an unreadable barcode: *123456789
because the asterisk is the start-stop character (special meaning, not valid in content)
the really encoded value is **123456789*. The barcode reader stops after reading the second asterisk
and throw the content away.
* remove wrong private modifier for ALPHABET_STRING
* cleanup comments
2017-09-15 07:23:29 +01:00
Sean Owen
04595508b6
Require Android API 19, so fully use Java 7 try-with-resources, as well as a few other Java 7 features. Reduce deprecation warning count in android
2017-09-11 14:05:37 +01:00
Sean Owen
4ddc8c9e49
Issue 863: add limited support for VALUE=uri in vCard
2017-09-02 08:57:14 +01:00
Sean Owen
ae6b9f4426
A few more touch-ups from Codacy
2017-06-16 13:51:08 +01:00
Sean Owen
3c64fa1e62
Fix Codacy warnings
2017-06-14 18:50:03 +01:00
Sean Owen
458923c3cd
Closes issue #806 : bad encodation switch in non-ASCII DataMatrix encodation (credit micjahn)
2017-05-31 10:49:41 +01:00
David Sanders
7df4aa6694
Clean up whitespace ( #800 )
2017-05-14 17:54:32 +01:00
David Sanders
5a5237b4a8
Drop debugging code from UPCEWriter ( #803 )
2017-05-14 17:53:42 +01:00
Sean Owen
5b14d23194
Update plugins/deps, fix bug in base64 decoding
2017-04-06 14:31:14 +01:00
David Sanders
8d12dc4155
Minor performance improvements to HybridBinarizer ( #762 )
2017-02-27 18:21:59 +00:00
David Sanders
6546dc5863
Add basic test case for ITFWriter ( #758 )
2017-02-25 01:18:12 +00:00
David Sanders
0ec5b9a260
Add new matrix tests in RGBLuminanceSourceTestCase ( #757 )
2017-02-20 05:58:12 -08:00
David Sanders
25776d82d9
Correct size of array in ITFWriter ( #756 )
2017-02-19 03:51:20 +00:00
Sean Owen
06ccbf72ae
Issue #751 fix misparsing of vCard phone vs type in case of blank value or type
2017-02-10 16:50:40 +00:00
Sebastian
dcde8a30a6
Fix two typos in Javadocs ( #750 )
2017-02-02 17:28:13 +00:00
Sean Owen
b8c3d08e19
Closes #738 : fix UPC-E encoding with system 1
2017-01-06 14:17:48 +00:00
Sean Owen
f5b5c3a97e
Factor out boolean[][] -> BitMatrix parsing
2017-01-06 13:29:10 +00:00
Sean Owen
dfe4819691
Minor updates / optimization from inspection; minor plugin / dependency updates
2016-12-12 15:50:30 +00:00
Sean Owen
0dfda08078
Fix typos; avoid use of java.util.Date; other small improvements from inspection; deprecate some accidentally-public methods
2016-11-29 12:16:07 +00:00
Sean Owen
28f8bd37f3
Update deps including Guava 20; use switch in pref to chained if-else for slightly more consistent style
2016-11-11 20:20:46 +00:00
Sean Owen
c219e28d56
More on #679 : convert UPC-E to A before getting check digit
2016-10-01 08:48:55 -05:00
Sean Owen
24681e8488
Partial fix for #679 : UPC/EAN min quiet zone is 9 modules for encoding
2016-09-30 20:04:34 -05:00
Sean Owen
2d02cb05ea
Partial fix for #679 : add check digit if absent in UPC-A/E EAN-13/8 encoding, and reject those with invalid check digit
2016-09-30 17:41:40 -05:00
Sean Owen
75c51f93fe
Update lax count for qr code 2
2016-09-30 17:41:01 -05:00
Sean Owen
2434efd625
Add ECI segment whenever encoding is explicitly given, even when it's the default encoding
2016-09-29 23:53:22 -05:00
Sean Owen
ec383d2411
[maven-release-plugin] prepare for next development iteration
2016-09-16 15:20:51 +01:00
Sean Owen
6b6ad7ff0b
[maven-release-plugin] prepare release zxing-3.3.0
2016-09-16 15:20:45 +01:00
Sean Owen
47459f4bd7
Bump SNAPSHOT to 3.3.0 for next release
2016-09-11 22:07:04 +01:00
Sean Owen
1a444601d9
Move gh-pages branch into docs/, fix/overhaul site gen and javadoc, and regenerate site for 3.2.2-SNAPSHOT
2016-09-11 20:52:01 +01:00
Sean Owen
30dc420bab
More coverage for Code93/39 writers, and for multiple barcode detection
2016-09-11 13:44:13 +01:00
Sean Owen
0718d8a45f
A little more coverage for PDF417 writer and multi QR code
2016-09-11 09:51:20 +01:00
Sean Owen
28c3288094
Add more tests to better cover DataMatrix, Maxicode decoding
2016-09-10 17:36:02 +01:00
Sean Owen
75d6000c1d
Add 'getNumBits' to Result objects to return when not all bits of the raw byte representation are valid ( #664 )
2016-09-09 18:44:09 +01:00
Sean Owen
b639d5748d
Deprecate MonochromeRectangleDetector and more coverage-related improvements
2016-09-05 21:00:59 +01:00
Sean Owen
0895b3cefa
Improve code coverage in some core classes, plus fix a small BitMatrix bug
2016-09-05 17:29:59 +01:00
fgrieu
e9e2bd280b
Update DataMask.java ( #653 )
...
Further micro-optimize QR data mask recognition; more comment for earlier such changes.
2016-08-28 23:12:25 +01:00
Sean Owen
7b1e1ccadb
Fix some warnings from new inspection tool
2016-08-26 16:21:05 +01:00
Sean Owen
33fd85e0c2
Minor changes from inspection
2016-08-22 10:46:41 +01:00
Sebastian Buchwald
70db62d11b
Optimize QR data mask recognition ( #652 )
2016-08-22 10:33:43 +01:00
Sebastian Buchwald
7805a7551c
Fix some typos ( #651 )
2016-08-22 10:29:31 +01:00
Sean Owen
ba6ce9fb25
Minor follow on to last QR code version hint commit
2016-08-08 11:30:18 +01:00
germinator
d60c0f14bd
Add ability to specify a QR code version hint. ( #637 )
...
* Add ability to specify a QR code version hint.
* Checkstyle.
2016-08-08 11:22:35 +01:00
Sean Owen
f6a1e20e1b
Fix one code warning; update plugins
2016-08-08 11:16:57 +01:00
fgrieu
b708f95a87
Aztec decoder fix: return to Upper mode after U/S B/S sequence. ( #643 )
...
* Update Decoder.java
* Add files via upload
dlusbs.png and dlusbs.txt is a test case for the D/L [digit] U/S B/S sequence, which should end in Upper mode, not Digit mode
* Update number of test cases
* Comment logic of the fix
* Mention fixed issue #642
2016-08-08 09:09:53 +01:00
Sean Owen
2f11529aa3
A bunch of inspection changes, including some dead code removal and tightening visibility, removing unnecessary casts
2016-07-24 18:29:42 +01:00
Sean Owen
d3dd1827ba
Don't interpret very long strings.with.dots.like.this to be interpreted as URIs
2016-07-08 15:21:18 +01:00
Sean Owen
7e2d7c0b21
Crush some PNGs that could benefit from it
2016-07-02 14:13:11 +01:00
Sean Owen
a1a51de290
Oops, fix fat finger typo from last change
2016-06-24 10:48:25 +01:00
Sean Owen
08e5431d99
Implement more style checks around whitespace
2016-06-24 10:28:00 +01:00
Sebastian Buchwald
ee150757ec
Fix typo ( #615 )
2016-06-21 21:20:16 +01:00
Sean Owen
1a5b739cdc
Closes #610 : avoid AIOOBE in pure-barcode mode for obviously wrong case
2016-06-20 09:20:16 +01:00
Sean Owen
5927f6ef09
Redirect to https://zxing.org directly, and touch up a build warning
2016-06-20 09:13:21 +01:00
Sean Owen
c044a946e9
Put optimization behind a profile as it won't currently work with JDK9
2016-06-13 10:25:49 +01:00
Sean Owen
3d18e3e449
Update proguard plugin to 2.0.13
2016-06-10 13:59:08 +01:00
Sean Owen
6cdc7493d5
Closes Issue #607 : guard against very narrow images which would otherwise cause an exception
2016-06-10 13:58:51 +01:00
Sean Owen
b1f4b5a269
Try local-only Proguard optimization for core library
2016-06-08 18:40:27 +01:00
Sean Owen
58f748a451
Remove unneeded .gitignore, and unneeded libs copy step for Android targets. Update plugins. Fix javadoc warning / checkstyle problem.
2016-06-08 15:15:06 +01:00
Sean Owen
032e1547ae
Enable some additional checkstyle rules
2016-06-04 22:40:48 +01:00
Sean Owen
389f69f4b2
Add minimal javadoc to all classes (and enforce with checkstyle); minor refactoring to of array sum code
2016-06-04 15:36:32 +01:00
Nayuki
7cf49565c2
Simplified pieces of code ( #601 )
...
* Simplify code in bit-twiddling methods, using APIs introduced in Java 5.
* Align code by adjusting whitespace and adding `+0`.
* Convert qrcode DataMask to enum to reduce source code size, which shouldn't change behavior.
* Simplify lists of character constants using string initializer instead of array.
* Remove redundant `+ 0` operations from a recent change.
* Delete the function DataMask.forReference() and inline the logic into all its callers.
2016-05-25 06:46:44 -05:00
Sean Owen
c2eb20d976
Compute locale-specific expected date strings in test for JDK 9 compatibility
2016-05-23 07:18:48 -05:00
Taneli Huuskonen
cc16a72c85
Simplified some code ( #596 )
...
* Fixed bug #593
Bug #593 was misleadingly reported as pertaining to another project, but
testing revealed it affected this project as well. The Code128 encoding
algorithm failed when an odd number of digits were followed by FNC1 and
other digits. The code selection algorithm was rewritten. A test case
showing the bug was added, and an old test case was updated to expect
the result of the new algorithm - another valid encoding of the same
length as the old one.
* Fixed bug #593
Bug #593 was misleadingly reported as pertaining to another project, but
testing revealed it affected this project as well. The Code128 encoding
algorithm failed when an odd number of digits were followed by FNC1 and
other digits. The code selection algorithm was rewritten. A test case
showing the bug was added, and an old test case was updated to expect
the result of the new algorithm - another valid encoding of the same
length as the old one.
* Cleaning up
Added a private enum and changed some names to improve readability.
Also some trivial cosmetic changes.
* Further cleanup of Code128 writer test
Removed a private one-liner method used exactly once, alphabetized
imports.
* Simplify conversion RGB -> luminance
Removed testing every pixel for greyness in RGBLuminanceSource, as it
did not appreciably change the speed of converting a greyscale image and
slowed down the conversion of a colour image by a few percent. Besides,
there was no need to treat every row separately; the total number of
pixels was enough.
* Minor improvements to BitArray
Simplified some code, added more accurate error checking, and corrected
small inaccuracies in comments.
2016-05-12 10:06:04 +01:00
Taneli Huuskonen
f0dfcdfed5
Fix for bug #593
...
* Fixed bug #593
Bug #593 was misleadingly reported as pertaining to another project, but
testing revealed it affected this project as well. The Code128 encoding
algorithm failed when an odd number of digits were followed by FNC1 and
other digits. The code selection algorithm was rewritten. A test case
showing the bug was added, and an old test case was updated to expect
the result of the new algorithm - another valid encoding of the same
length as the old one.
* Fixed bug #593
Bug #593 was misleadingly reported as pertaining to another project, but
testing revealed it affected this project as well. The Code128 encoding
algorithm failed when an odd number of digits were followed by FNC1 and
other digits. The code selection algorithm was rewritten. A test case
showing the bug was added, and an old test case was updated to expect
the result of the new algorithm - another valid encoding of the same
length as the old one.
* Cleaning up
Added a private enum and changed some names to improve readability.
Also some trivial cosmetic changes.
* Further cleanup of Code128 writer test
Removed a private one-liner method used exactly once, alphabetized
imports.
2016-05-08 15:01:41 +01:00
Sean Owen
84d08ef61f
Revert inadvertent change to non-private API
2016-05-08 09:30:51 +01:00
Sean Owen
30bb62bf4f
Minor changes from inspection
2016-05-08 09:13:41 +01:00
Taneli Huuskonen
ee48b3e5d3
Cleaned up previous commit
...
Following Sean Owen's suggestions, I cleaned up my code in the Aztec
decoder and its tests as follows:
1. Made convertBoolArrayToByteArray() package-private.
2. Replaced my own assertEqualByteArrays() with existing
assertArrayEquals().
3. Replaced C-style array declarations with more Javaish ones.
2016-05-05 21:58:37 +03:00
Taneli Huuskonen
e9896d03a6
Aztec decoder returns raw bytes
...
The Aztec decoder now packs the code bits into bytes and returns them as
"raw bytes", even though the error correction codes and stuffing have
been already removed. Also added a couple of tests for the byte-packing
function.
2016-05-05 15:10:44 +03:00
Alex Hatzenbuhler
8b53e448db
Fix spelling mistake in error message
2016-04-20 14:50:35 -05:00
Sean Owen
308d91de1c
Update plugins, dependencies, and clean up small code inspection issues
2016-01-21 14:46:48 +01:00
Kbhredsox
79b8454186
Update ITFWriter.java
...
Fixed spelling of text within "invalid input" exception.
2015-12-02 19:05:48 -05:00
sato yoshiyuki
585f77bf39
QRCode Encoder: Support NUMERIC/ALPHANUMERIC Mode in Shift_JIS
2015-12-03 00:12:43 +09:00
Sean Owen
9910fcfaa9
Closes issue #496 : correct checksum for certain Code 39 inputs
2015-11-11 09:37:13 +00:00
mmagician
9cf93792d4
Added a Code 93 encoder
2015-10-18 23:39:03 +01:00
Sean Owen
a6707cb440
Alter many encode hints to accept String equivalents
2015-10-05 14:13:17 +01:00
wood
a2159ed0f4
change the comment
...
Change the comment
2015-10-02 00:23:07 +08:00
Sean Owen
e0ea32f217
Fix two rare crashes from bad input / state
2015-09-22 22:24:38 +01:00
RX1226
17676d064a
Add support encoding UPC-E format
2015-09-04 21:59:41 +08:00
Guenther Grau
825a31e4b5
Ignore additional PDF417 barcode rows
...
Some barcode generators (e.g. Okapi) seem to generate additional barcode
rows at the end of the barcode, which can be decoded as valid barcode
rows, but actually contain garbage. The barcode metadata states that
these additional rows are not part of the barcode. So we ignore those
addional rows when parsing the barcode. This could potentially also
happen (though quite unlikely) if data after the barcode looks like a
barcode row.
2015-09-01 14:12:17 +02:00
Sean Owen
585667bc31
[maven-release-plugin] prepare for next development iteration
2015-08-19 13:21:05 +01:00
Sean Owen
e641a9c36b
[maven-release-plugin] prepare release zxing-3.2.1
2015-08-19 13:21:00 +01:00
Sean Owen
4dd053a919
Merge pull request #441 from gredler/pdf417-error-correction-level
...
PDF417Writer shouldn't ignore ERROR_CORRECTION hint
2015-08-14 08:07:49 +01:00
Daniel Gredler
53875e4fd3
PDF417Writer shouldn't ignore ERROR_CORRECTION hint
2015-08-13 21:21:26 -04:00
Sean Owen
c1c2fcfbb0
Issue #428 Fix Code 93 escapes above %F
2015-07-21 11:09:24 +01:00
Andreas Wenger
cc1a7aa86a
Set PDF_417 lineThickness to 1
...
- fine-grained scaling for PDF_417 generation
2015-07-15 15:51:24 +02:00
Sean Owen
3b8ab085d8
Merge pull request #412 from strguntbr/multibyteFix
...
Fixed substring call
2015-07-02 17:15:42 +01:00
Marcus Winkler
18a72279dd
Added unittest for PDF417 encoder using ISO-8859-1 with special chars
2015-07-02 17:55:00 +02:00
Marcus Winkler
e31ac261e3
Fixed substring call
2015-07-02 17:15:11 +02:00
Sean Owen
02d3697a59
Remove spurious stack trace from singleton exception, and various minor edits
2015-06-06 10:46:18 +01:00
Sean Owen
ea9a260f0a
Fix javadoc 8 error; actually enable enforcer; update plugins
2015-05-25 23:54:50 +01:00
Marcus Winkler
849f81354c
Fixed multibyte charset problem when encoding PDF417 with Compaction AUTO
2015-05-20 13:01:26 +02:00
Marcus Winkler
060010253c
Added unit test for multibyte problem
2015-05-20 13:00:38 +02:00
Sean Owen
8bae23a923
Revert another change that causes a whirr failure, fix rat warnings, and one more error on Android generated files
2015-05-15 16:23:18 +01:00
Sean Owen
867d580e66
Enable RAT check in build; enable checkstyle; fix some violations; update Jetty/Android plugin
2015-05-15 15:44:45 +01:00
Sean Owen
ec9487c0b2
Fixes from coverity
2015-05-13 13:04:43 +01:00
Sean Owen
560cba85b0
Update plugins (now requires Maven 3.2); fix javadoc warning
2015-05-03 20:49:10 +01:00
Sean Owen
721723ecee
Revert "minSize from provided sizes"
2015-05-03 20:47:43 +01:00
Sean Owen
8475bf6fd2
Remove system-dependent line separator logic in BitMatrix
2015-02-23 16:08:44 +00:00
Sean Owen
e4bb497942
[maven-release-plugin] prepare for next development iteration
2015-02-15 12:48:15 +00:00
Sean Owen
adfc4097ad
[maven-release-plugin] prepare release zxing-3.2.0
2015-02-15 12:48:10 +00:00
Sean Owen
625d9b77d7
Additional fix for issue #300 (HT micjahn)
2015-02-06 21:39:28 +00:00
Sean Owen
4b02337709
Issue #300 : simplify X12 encodation at end of input stream to fix unlatch issue. HT micjahn
2015-02-04 07:45:35 -06:00
Bo Xu
cfeb6758db
Fix PDF417 numeric encoding grouping index check
2015-01-15 12:01:49 -08:00
Sean Owen
0fc1a267c0
Tiny fixes from coverity; fix SuppressWarnings for deprecation; just one Java 7 build now
2015-01-11 16:15:14 +00:00
Sean Owen
51bee78535
Supplement for #271 to deprecate alternative min/max size hint
2014-12-17 21:59:35 +00:00
Zavael
ea00f5a51c
minSize from provided sizes
...
create minSize Dimension from provided width and height
2014-12-17 15:41:33 +01:00
Sean Owen
ce1fbe1b76
Cleanups while looking at issue #268
2014-12-13 17:13:39 +00:00
Sean Owen
344d55e688
Closes #262 : fix parsing of Data Matrix with dimension >= 144
2014-12-04 16:45:48 -06:00
Sean Owen
d876b3e178
Follow up on commit for issue #242
2014-10-30 21:40:02 +00:00
Mark
b04edfec68
squash changes
2014-10-27 18:35:26 +01:00
Sean Owen
79bd5f585e
Add simple test for PDF417 high level encoder
2014-10-06 23:01:40 +01:00
Sean Owen
9dfeb03611
Add simple test to try codecov.io
2014-10-02 20:43:48 +01:00
Sean Owen
3b0145dbc8
Fix tiny java 8 javadoc warnings
2014-09-02 16:39:33 +01:00
Sean Owen
0111b72eaa
Issue #202 correctly report absolute ResultPoint coordinates
2014-08-18 00:23:49 +01:00
Sean Owen
e4ff7d9bb9
Issue #197 : handle escaped backslash preceding terminator
2014-07-30 12:18:04 +01:00
Sean Owen
281721f2d9
Avoid another NPE on null ResultPoint
2014-07-28 10:13:27 +01:00
Sean Owen
8158984458
Support multiple "to", and CC and BCC, throughout the email result API.
2014-07-25 22:53:17 +01:00
Sean Owen
e715fec42a
Avoid NPE when underlying result point is null, for some reason
2014-07-24 12:05:50 +01:00
Sean Owen
a0c53e0558
Issue #179 : add default start/end guard to Codabar if not specified, for symmetry with decoder
2014-07-03 23:19:28 +01:00
Sean Owen
6c2a9b016c
Touch up whitespace and other small issues from inspection
2014-06-28 22:34:37 +01:00
Sean Owen
787a4497ba
Issue #166 let byte compaction proceed in cases where it 'thought' text compaction would take over, but it had not
2014-06-10 17:58:59 -04:00
Sean Owen
d70ef416ec
Issue #166 handle a shift to byte mode properly outside of a compaction mode handler
2014-06-10 08:41:53 -04:00
Sean Owen
e28b0116e0
Add support for consuming and using ECI in PDF417, closing issue #166
2014-06-08 12:13:17 -04:00
Sean Owen
b2f059b07b
Return to ISO-8859-1 as default PDF417 encoding, as per discussion of spec in issue #166
2014-06-08 12:12:24 -04:00
Sean Owen
1b43233ba7
Issue #166 consume ECI in PDF417; still need to use it
2014-06-05 23:22:21 +01:00
Sean Owen
cdcccab200
Issue #168 : don't emit symbols for empty numeric compaction in PDF417
2014-06-05 21:30:48 +01:00
Sean Owen
f4b7264413
Issue #167 : recognize protocols like opc.tcp as valid URI schemes
2014-06-05 18:26:36 +01:00
Sean Owen
84643199a9
Closes issue #162 : PURE_BARCODE fails on certain dense QR codes
2014-05-31 21:04:54 +01:00
Sean Owen
90cc0b8b13
[maven-release-plugin] prepare for next development iteration
2014-05-22 16:24:03 +01:00
Sean Owen
4af41323ae
[maven-release-plugin] prepare release zxing-3.1.0
2014-05-22 16:19:05 +01:00
Sean Owen
45da6416e6
[maven-release-plugin] rollback the release of zxing-3.1.0
2014-05-22 16:10:10 +01:00
Sean Owen
d20a7ac375
[maven-release-plugin] prepare for next development iteration
2014-05-22 12:34:50 +01:00
Sean Owen
edf35c7cac
[maven-release-plugin] prepare release zxing-3.1.0
2014-05-22 12:33:24 +01:00
Sean Owen
6b9a59a593
Remove home-grown binary search function in PDF417Common
2014-05-22 09:21:55 +01:00
Sean Owen
77aabfc457
Issue #147 : handle corner case as normal failed read rather than AIOOBE
2014-05-15 13:26:04 +01:00
Sean Owen
151ad6818b
Issue #127 : fix typo in table of PDF417 punctuation chars
2014-04-28 21:09:56 +01:00
Sean Owen
98bc57f5d1
Avoid error on malformed Aztec code
2014-04-25 13:36:43 +01:00
Sean Owen
8af98a573f
Replace bit shifts that are really multiplication and division with simple operators now
2014-04-25 13:30:58 +01:00
Sean Owen
408c3848b1
Replace FP math faked in integers with plain floating-point math
2014-04-25 13:02:44 +01:00
Sean Owen
3b8b44856d
For safety, make optimized round method consistent with Math.round for negative input too
2014-04-23 22:18:54 +01:00
Sean Owen
414d1f0412
Handle null erasures correctly
2014-04-23 13:49:05 +01:00
Sean Owen
4050f5c2f3
Fix some issues flagged by Coverity static analysis
2014-04-22 22:20:58 +01:00
Sean Owen
391e85ea51
Remove unnecessary lazy init of QR code GF classes, and avoid accessing null field during construction
2014-04-22 22:18:41 +01:00
Sean Owen
2894c094f5
Issue #118 (supplemental) Fix logic error on a null encoding
2014-04-22 21:24:20 +01:00
Sean Owen
27cff89316
[maven-release-plugin] prepare for next development iteration
2014-04-18 14:30:03 +01:00
Sean Owen
32fcad21c3
[maven-release-plugin] prepare release zxing-3.0.1
2014-04-18 14:27:03 +01:00
Sean Owen
7d878d701e
Issue #116 add range check and simplify some conditions
2014-04-18 11:06:08 +01:00
Sean Owen
252a9e34cf
Fix other Java 8 javadoc warnings
2014-04-13 22:16:08 +01:00
Sean Owen
a4af21a0fe
Issue #108 : avoid accessing system property directly to avoid a potential security exception
2014-03-31 13:57:48 +01:00
Sean Owen
b09290c7dc
Issue #105 avoid accessing Charset Cp437 until absolutely necessary, as it won't work on Android sometimes
2014-03-28 14:14:27 +01:00
Sean Owen
fabd9f6473
Minimal changes to build successfully with Java 8, plus optional profile to enable it
2014-03-25 18:01:01 +00:00
Sean Owen
f0532a2730
Issue #86 : Fix logic error in Code 39 that was requiring too much quiet zone
2014-03-13 14:19:08 +00:00
Sean Owen
6545971a7e
Disable strangely flaky test for now
2014-03-06 13:42:37 +00:00
Sean Owen
f1c385ba93
[maven-release-plugin] prepare for next development iteration
2014-02-28 12:27:11 +00:00
Sean Owen
47b3d63d97
[maven-release-plugin] prepare release zxing-3.0.0
2014-02-28 12:20:21 +00:00
Sean Owen
cef513e790
Correctly configure findbugs, add excludes, fix a few simple warnings
2014-02-26 22:47:32 +00:00
Sean Owen
e9ff0501c7
Disable test that is flaky on OpenJDK 7 only for now
2014-02-25 11:42:23 +00:00
Chris Gulley
a4a9817065
Build barcode from left to right instead of right to left.
2014-02-24 09:37:19 -06:00
Sean Owen
c77b79d690
Handle VEVENT with malformed GEO
2014-02-22 13:06:32 +00:00
Sean Owen
1b898320ac
Issue #67 : Avoid rare AIOOBE on PDF417 misread
2014-02-21 08:10:42 +00:00
Sean Owen
bd4536f077
Issue #63 : minor formatting and doc changes
2014-02-18 12:49:30 +00:00
Ralf Kistner
1baa8f3311
Specify allowed EAN extensions as a hint.
2014-02-18 12:26:50 +02:00
Sean Owen
9d4b8b9565
Issue #61 : touch up style in test and simplify new logic
2014-02-17 22:56:49 +00:00
Sean Owen
525774a953
Merge pull request #61 from ColinxLLC/master
...
Support for Code B FNC characters
2014-02-17 22:03:55 +00:00
mkicinski
e45d175829
Unit test FNC1 and FNC2
2014-02-17 15:57:13 -05:00
mkicinski
c064fe21de
Add support for Code B FNC characters
2014-02-17 15:12:08 -05:00
Sean Owen
3faef2804c
Issue #52 : add AUTHORS credit and touch up some whitespace
2014-02-12 23:42:55 +00:00
Sean Owen
a8cd708508
Merge pull request #52 from tgibson11/master
...
Reduce possibility of detecting white rectangles within barcodes
2014-02-12 23:32:46 +00:00
Sean Owen
e3d6c3e49f
Allow all long-ish ITF code lengths, as the result is very unlikely to be a false positive, and there are apparently a number of uses of long-ish ITF codes of various lengths out there. Allowed lengths are now interpreted as allowing those lengths and anything longer than the largest allowd length.
2014-02-12 17:50:57 +00:00
tgibson11
670e238cfc
Modified WhiteRectangleDetector
...
Continue expanding the rectangle until at least one black point has been
found on each side, instead of stopping immediately when all sides are
white - which might still be inside the barcode.
2014-02-12 10:18:22 -07:00
tgibson11
78e2ac4522
Update WhiteRectangleDetector.java
...
Changed image-only version of the constructor to calculate an appropriate initSize based on the image dimensions.
2014-02-10 15:03:49 -07:00
Sean Owen
937d087365
Delete old test gen code
2014-02-08 09:41:38 -05:00
Sean Owen
5d5a8e20fc
Handle invalid VIN-like data in Code 39 barcodes
2014-02-06 00:00:20 -05:00
Sean Owen
dddc1c4e19
Move to use of Java 7 NIO2 APIs
2014-01-31 13:01:18 +00:00
Sean Owen
c42131e866
Issue #41 : Handle null barcode metadata in PDF417 in corner case
2014-01-29 13:22:32 +00:00
Sean Owen
7199f4ad17
Closes Issue #27 : add basic character set ECI support in PDF417
2014-01-27 09:17:47 +00:00
Sean Owen
7169d1ad18
More FindBugs changes as part of test
2014-01-26 22:54:26 +00:00
Sean Owen
9567698f63
Small commit for issue #27 , and part of a test
2014-01-26 22:47:13 +00:00
Sean Owen
077ae83bc3
FindBugs inspection -- part of a test commit
2014-01-26 22:38:57 +00:00
Sean Owen
42cfa9ca3e
Closes Issue #37 : don't respond to (invalid?) UPC-E codes that aren't 8 digits
2014-01-23 22:14:26 +00:00
Sean Owen
d7c78074ec
Refactor a little bit of result parsing (mostly, a test commit)
2014-01-23 21:56:09 +00:00
Sean Owen
be038c7eef
Try a diagonal cross check in PURE_BARCODE mode for QR codes to avoid false positives. HT fics.danmark
2014-01-23 20:27:30 +00:00
Sean Owen
9983ccc428
Add VIN result type
2014-01-18 19:42:06 +00:00
Sean Owen
3f6ee7f789
Update project site references to Github
2014-01-18 14:06:46 +00:00
Sean Owen
3bd1c7c5ff
Update .gitignores everywhere for IDEA files, etc
2014-01-17 11:13:30 +00:00
srowen
6463455d26
Issue 1825. PDF417Reader can't modify the image. When it doesn't, it actually reduces the number of images that pass unfortunately.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@3001 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-20 16:44:39 +00:00
srowen
10c2f71671
Handle smaller images in WhiteRectangleDetector
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@3000 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-19 16:16:08 +00:00
srowen
373f4f5c39
Suppress ignorable unchecked cast warning
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2997 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-19 14:39:00 +00:00
srowen
17f3ab9c7e
Issue 1823: fix handling of initial alt Codabar char, and improve tests
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2996 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-19 14:35:03 +00:00
srowen
9a5391b653
Issue 1821: structured append support in QR code from mike06j
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2994 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-13 15:50:26 +00:00
srowen
cce6d80637
Issue 1820 add Code 128 FNC4 support
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2992 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-12 13:37:09 +00:00
srowen
da9d32846a
Whitespace cleanup and other inspections from IDEA 13
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2989 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-06 11:17:57 +00:00
srowen@gmail.com
8d7eb91faa
Remove explicit luminance conversion option -- always do it in tests
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2983 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-02 22:26:59 +00:00
srowen@gmail.com
a53c659b0e
Boldly move to Java 7 for everything, including Android.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2981 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-02 18:18:46 +00:00
srowen@gmail.com
1a2a011cc7
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2971 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:39:36 +00:00
srowen@gmail.com
9a0b6cec39
[maven-release-plugin] prepare release zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2969 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:39:24 +00:00
srowen@gmail.com
1ce4516d00
[maven-release-plugin] rollback the release of zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2966 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:31:32 +00:00
srowen@gmail.com
54a3bfabab
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2965 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:22:18 +00:00
srowen@gmail.com
ca14065f0d
[maven-release-plugin] prepare release zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2963 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:22:07 +00:00
srowen@gmail.com
0a89cdddf2
[maven-release-plugin] rollback the release of zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2960 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:14:42 +00:00
srowen@gmail.com
b852b82042
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2959 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:59:41 +00:00
srowen@gmail.com
5fc526df04
[maven-release-plugin] prepare release zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2957 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:59:31 +00:00
srowen@gmail.com
1b6986abe3
[maven-release-plugin] rollback the release of zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2954 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:52:28 +00:00
srowen@gmail.com
d7f11da90b
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2953 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:26:37 +00:00
srowen@gmail.com
e1949f057d
[maven-release-plugin] prepare release zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2951 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:26:27 +00:00
srowen@gmail.com
a7f213f060
[maven-release-plugin] rollback the release of zxing-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2949 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:19:30 +00:00
srowen@gmail.com
39899fd9aa
[maven-release-plugin] prepare release zxing-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2948 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:17:35 +00:00
srowen@gmail.com
7d988572d4
[maven-release-plugin] rollback the release of zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2947 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:11:59 +00:00
srowen@gmail.com
d01ddc6d70
[maven-release-plugin] prepare release zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2946 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:02:40 +00:00
srowen@gmail.com
a741181e8d
Roll back to 2.3.0-SNAPSHOT again
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2944 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 16:57:21 +00:00
srowen@gmail.com
afe159b22e
[maven-release-plugin] prepare release zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2943 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 16:49:00 +00:00
srowen@gmail.com
13a092262b
Roll back to 2.3.0-SNAPSHOT for another attempt
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2941 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 16:41:16 +00:00
srowen@gmail.com
8d846457e0
[maven-release-plugin] prepare release zxing-parent-2.3.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2934 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 14:37:04 +00:00
srowen@gmail.com
1bcc298ad3
Move resources to match Maven standard directory structure
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2915 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-21 23:01:31 +00:00
srowen@gmail.com
cc8254bfc3
Reduce test warning about newlines to info
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2914 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-21 12:34:36 +00:00
srowen@gmail.com
8e909ddb51
Version should really be in x.y.z form. Simplify dir location config, and actually generate source/javadoc artifacts
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2913 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-21 12:00:37 +00:00
srowen@gmail.com
59ea393a08
Try again to introduce one parent pom for all modules
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2910 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-17 01:34:42 +00:00
srowen@gmail.com
7cb18ee813
Update plugin versions
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2905 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-05 11:58:53 +00:00
srowen@gmail.com
f03b60ef0d
Make start symbol a part of returned raw byte representation of Code 128
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2904 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-01 03:28:26 +00:00
srowen@gmail.com
65ce3f0896
Issue 1788 additional fix for vCard delimited name parsing
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2900 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-10-13 23:05:14 +00:00
srowen@gmail.com
ad24a551aa
Simple changes from code inspection
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2899 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-10-13 22:15:01 +00:00
srowen@gmail.com
6d7a77d73f
Handle ; separators in N vCard field
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2897 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-10-03 08:22:40 +00:00
srowen@gmail.com
0b56d79d00
Issue 1789 PDF417 encoding fix for 1-character latch into byte mode
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2896 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-10-02 15:17:22 +00:00
srowen@gmail.com
f84c8470a4
Don't throw IllegalArgumentException in RSS reader; use checked FormatException to fit into BS error checking mechanism correctly
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2893 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-09-13 12:01:50 +00:00
srowen@gmail.com
6c103e7840
Issue 1778 maybe avoid NPE
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2892 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-09-09 20:23:30 +00:00
srowen@gmail.com
c43cf419c2
Fix issues similar to 1776
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2887 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-09-08 20:50:01 +00:00
srowen@gmail.com
7807214bbd
Issue 1776 fix bad location of Code 39 end pattern when followed by lots of white space
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2886 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-09-08 20:42:29 +00:00
srowen@gmail.com
1d086a09af
Type weakening and dead code commenting again
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2876 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-26 17:27:54 +00:00
srowen@gmail.com
e23507a825
Issue 1764 bit reverse speedup
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2875 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-20 08:13:25 +00:00
srowen@gmail.com
558dad051e
Issue 1758 try again with better rule implementation that counts all exterior regions as white
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2873 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-19 12:15:24 +00:00
srowen@gmail.com
a582958cc3
Issue 1736 reject UPC/EAN less than 8 chars
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2871 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-19 10:24:59 +00:00
srowen@gmail.com
5fd33bb9d2
Issue 1762 PDF417 speed up and back-port to Java
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2870 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-19 08:54:10 +00:00
srowen@gmail.com
23ab47533b
Issue 1758: revert last change, applying penalty at edge is necessary. Try new change from original code to avoid applying in the "2 1 3 1 1" case
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2867 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-17 09:08:25 +00:00
srowen@gmail.com
8d18bab224
Issue 1758 correct corner case of mask pattern penalty 3
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2866 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-16 13:51:03 +00:00
srowen@gmail.com
4e1a2acf82
More misc inspection stuff
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2862 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-08 08:44:02 +00:00