Commit graph

1139 commits

Author SHA1 Message Date
dswitkin 965ea2f3fe Updated the HTML "What's new" page with 3.0 features.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1062 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-23 15:19:44 +00:00
dswitkin 4c7fb2cbd7 Bumping to 3.0 alpha 2 to reflect the new history feature.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1061 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-23 15:07:13 +00:00
srowen 63b8253e10 Remove MobileTag support -- outdated, unused, and not clear we support the direction MobileTag is going
git-svn-id: https://zxing.googlecode.com/svn/trunk@1060 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-23 13:33:45 +00:00
srowen e844ff06f4 Add history feature; group some functionality into subpackages
git-svn-id: https://zxing.googlecode.com/svn/trunk@1058 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-21 18:03:29 +00:00
srowen 938c44c17a Another shot at TCP CLOSE_WAIT issue, and tiny code tweak
git-svn-id: https://zxing.googlecode.com/svn/trunk@1057 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-18 10:27:17 +00:00
srowen 5dd4b663ce Further attacks on the mysterious TCP CLOSE_WAIT issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@1056 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-16 10:39:53 +00:00
srowen 8c876a047a Allow custom search on 'text' results. Seems maybe useful for Code 128/39 payloads, and, the UI for this result type is not overcrowded yet
git-svn-id: https://zxing.googlecode.com/svn/trunk@1055 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-16 09:58:41 +00:00
srowen 3b557e6229 Run tests with -Xint to work around weird JIT bug in Java 6, which causes ArithmeticException failure in a few QR code tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@1054 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-15 09:06:45 +00:00
srowen 5b041daad0 Spell checker fixes, narrowed scope / made less visible where possible. Little stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@1053 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-15 09:03:05 +00:00
srowen eef79f730b Fix for old logic error in seeking format information -- actually was comparing unmasked rather than masked values, though it ended up working
git-svn-id: https://zxing.googlecode.com/svn/trunk@1052 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-14 10:17:17 +00:00
dswitkin 2b0d14963d Added some comments to public methods.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1051 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-11 16:11:47 +00:00
dswitkin 7983309b66 This should have been deleted in the last change.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1050 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-11 14:02:39 +00:00
dswitkin 833ca52c27 Lots of updates:
- Added support for new YUYV preview buffer format.
- Made the preview rectangle larger.
- Added support for high resolution screens.
- Updated for Donut but still runs on Cupcake.
- Converted to standard Java coding style for member variables.
- Added many comments and author tags.
- Removed some Petit Four hacks and vestigial code.

*** The app must be built with the Donut SDK from now on.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1049 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-10 22:18:58 +00:00
dswitkin e83cb0cef1 Final changes for Barcode Scanner 2.93.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1046 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-03 20:37:38 +00:00
dswitkin 5e752acd25 Added a new feature to the test app, which captures all the device info and default camera parameters, then bundles them up into an email. This will make it very easy to get some important info about new devices from users (e.g. the HTC Hero which I don't have).
Also did a lot of other cleanup, added an about box, and prepared the app to be released on the Market.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1045 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-02 21:06:00 +00:00
srowen fff6624521 SImplified optimization a bit and made it more aggressive.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1044 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-28 13:31:16 +00:00
srowen b05d7601cf Revert to pre-Cupcake preview callback system since seems to be some collision between the new one and auto-focus callback that stops scanning in some cases. Also, remove a bad version number from search activity?
git-svn-id: https://zxing.googlecode.com/svn/trunk@1042 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-26 21:48:52 +00:00
srowen c02bd97b6a Tiny code adjustments from inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@1041 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-25 21:29:39 +00:00
srowen 46640620e9 Issue 230
git-svn-id: https://zxing.googlecode.com/svn/trunk@1040 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-24 06:49:57 +00:00
srowen e1dd41a115 Improve detector logic to throw out false positive finder patterns in a more reasonable manner. Current logic didn't quite achieve its goal in some corner cases and needed rethinking and some simplification. Fixes a reported failure from the group list. Net change in passed test cases is -1 otherwise (for 270 degree rotation -- not vital) so I consider it a net tiny win.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1039 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-23 15:32:01 +00:00
srowen 362236564e Miscellaneous changes from FindBugs analysis
git-svn-id: https://zxing.googlecode.com/svn/trunk@1038 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-22 15:16:36 +00:00
srowen 9045bd2409 Update to final HTTP Client binaries
git-svn-id: https://zxing.googlecode.com/svn/trunk@1037 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-21 16:17:50 +00:00
dswitkin 599d513d73 Made another fix for the Samsung Galaxy, and bumped the version to 2.92.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1036 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-21 14:18:31 +00:00
dswitkin fc9bc55213 Made a new fix to turn off the Samsung Galaxy flash, and cut release 2.91.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1035 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-19 14:52:16 +00:00
srowen 3cab89a732 Make web app work on Servlet/JSP 2.3/1.2 and fix some other mistakes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1034 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-13 11:11:48 +00:00
srowen 14b2850f92 Issue 224, remove Christian's info since it seems to prevent the build from working for developers?
git-svn-id: https://zxing.googlecode.com/svn/trunk@1033 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-12 09:15:52 +00:00
srowen 0bf2c2a66e Boneheaded mistake: was writing transparent pixels
git-svn-id: https://zxing.googlecode.com/svn/trunk@1032 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-04 21:59:24 +00:00
srowen 9cfc5158b3 Need to use 1.5 jar location
git-svn-id: https://zxing.googlecode.com/svn/trunk@1031 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-04 15:57:37 +00:00
srowen b6b9015a7c Disable email-based decoding -- won't be able to support it soon and it is very rarely used by anyone. Leaving code in for future reference though.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1030 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-04 08:54:02 +00:00
srowen 95596de0d2 Fix issue 221
git-svn-id: https://zxing.googlecode.com/svn/trunk@1029 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-04 08:53:05 +00:00
srowen 6dbf893cb0 Add MatrixToImageWriter convenience class, small code tweaks in javase/, make ByteMatrix width/height property getters names standard
git-svn-id: https://zxing.googlecode.com/svn/trunk@1028 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-30 08:58:57 +00:00
dswitkin d8b1011324 Fixed some long lines over 100 columns.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1027 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-23 22:10:43 +00:00
srowen 4331605913 Added error correction level to Result
git-svn-id: https://zxing.googlecode.com/svn/trunk@1026 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-22 10:40:18 +00:00
srowen 91d8e04d86 Re-enable ProGuard, and finally identified the workaround that seems to make 4.4 work with our code without a VerifyError
git-svn-id: https://zxing.googlecode.com/svn/trunk@1025 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-22 10:36:11 +00:00
dswitkin 9dc583f556 Set a camera parameter to force the flash off. Also fixed the uninstall build targets.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1024 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-21 21:36:33 +00:00
dswitkin d71c099313 Converted the Android client and the test app to use the Android 1.5 SDK, and to use a more efficient preview frame mechanism too. We now require devices to be running Cupcake or a newer version of the platform. This change temporarily removes the Proguard step, which Sean is going to add back.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1023 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-21 19:33:25 +00:00
srowen 9f475ac33e Small detector simplification that addresses issue 215 and picks up a net +4 more images decoded in tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@1022 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-21 09:39:31 +00:00
srowen 636c00e844 Another tweak to get some valid ISO-8859-1 strings like "frédéric" to be guessed correctly
git-svn-id: https://zxing.googlecode.com/svn/trunk@1021 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-17 09:30:46 +00:00
dswitkin 38f73bca64 Added an optimization to the Android client's LuminanceSource implementation, and removed manual array copies in favor of System.arraycopy().
git-svn-id: https://zxing.googlecode.com/svn/trunk@1020 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-15 18:32:01 +00:00
dswitkin c51c5800f6 Added Germany to the list of Google Product Search locales.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1019 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-10 18:55:04 +00:00
dswitkin c0cf079ccb Created v2.9 of Barcode Scanner, and added Japanese translations.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1018 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-09 15:20:42 +00:00
dswitkin 54e6ed418a More x, y cleanup and 100 column fixes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1017 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-08 21:17:52 +00:00
dswitkin 402880798c Modified my skew correction code to also work upside down, meaning we now decode three more inverted PDF 417 images.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1016 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-08 20:38:21 +00:00
dswitkin b238cb7828 I noticed that the codeword coordinates in PDF 417 barcodes were a few pixels off if there was skew or rotation in the image. I added a simple method to correct the vertical component of these points, and the units tests went from 8/23 to 11/23.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1015 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-02 20:07:09 +00:00
dswitkin 0944a2bb18 Got 180 degree rotation working for PDF 417, and turned on the appropriate unit tests as a result.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1014 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-01 19:42:52 +00:00
dswitkin af2ce46c37 Cleaned up a number of comments and code to fit in 100 columns and added some TODO items.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1013 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-01 16:35:05 +00:00
dswitkin e44f00ba75 Converted the last user of the old MonochromeBitmapSource-style calls over to BitMatrix, and removed these deprecated methods.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1012 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-01 16:13:25 +00:00
dswitkin c31b489efe Added the second PDF 417 test to the AllPositiveBlackBoxTester.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1011 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-01 15:13:44 +00:00
dswitkin 01eed5266e - Converted parts of the PDF 417 reader to use BitMatrix.
- Changed the PDF 417 detector to search the image more broadly, instead of assuming the barcode starts in the left 1/4 and ends in the right 1/4. We now get 8/23 on the real-world blackbox test, and we'll probably do even better with further improvements here.
- Added a quiet zone to two of the unit test images and updated a golden result for one of them. We now get 3/7 on the first test.
- Tried to fix some bugs in the upside down code but it still doesn't work.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1010 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-30 21:55:19 +00:00
dswitkin 0667b29155 Added the PDF 417 blackbox tests to the test-blackbox Ant target.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1009 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-30 18:51:43 +00:00