srowen [Wed, 11 Jun 2008 12:51:38 +0000 (12:51 +0000)]
Removing android-m3 since it is no longer in active development (but we have it in SVN of course)
git-svn-id: http://zxing.googlecode.com/svn/trunk@412
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Wed, 11 Jun 2008 00:05:51 +0000 (00:05 +0000)]
- Added support for rotation in our blackbox test framework, and refactored the ways tests are created and run.
- Turned on 0 and 180 degree rotation for all 1D formats.
- Turned on 0, 90, 180, and 270 degree rotation for QR.
- Changed the 1D code to re-enable upside down scanning, with a dramatic improvement in barcodes found and fewer false positives.
git-svn-id: http://zxing.googlecode.com/svn/trunk@411
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Tue, 10 Jun 2008 19:44:47 +0000 (19:44 +0000)]
Tiny bug fix, need to deal with no query params case correctly
git-svn-id: http://zxing.googlecode.com/svn/trunk@410
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Tue, 27 May 2008 17:58:59 +0000 (17:58 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@404
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Tue, 27 May 2008 17:51:46 +0000 (17:51 +0000)]
SnapshotThread now Runnable instead of a Thread, to dodge an odd override problem with stop() method
git-svn-id: http://zxing.googlecode.com/svn/trunk@403
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 23 May 2008 22:40:13 +0000 (22:40 +0000)]
Added SMSTO support, added subject/body param support in mailto:, improved handling of mailto: and tel: URIs
git-svn-id: http://zxing.googlecode.com/svn/trunk@402
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 23 May 2008 22:20:10 +0000 (22:20 +0000)]
Added handy toString() methods
git-svn-id: http://zxing.googlecode.com/svn/trunk@401
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Sun, 11 May 2008 18:01:23 +0000 (18:01 +0000)]
Improvements and refinements to web site
git-svn-id: http://zxing.googlecode.com/svn/trunk@397
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Sat, 10 May 2008 23:53:19 +0000 (23:53 +0000)]
A simple GUI interface -- still needs work
git-svn-id: http://zxing.googlecode.com/svn/trunk@396
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 8 May 2008 15:12:44 +0000 (15:12 +0000)]
Detector is now a little more skeptical once it has found 3 confirmed finder patterns -- one may be a false positive, so it also checks to see if the estimated module sizes are "pretty similar". If not, keeps looking.
git-svn-id: http://zxing.googlecode.com/svn/trunk@394
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 18:12:19 +0000 (18:12 +0000)]
Updates for 0.7
git-svn-id: http://zxing.googlecode.com/svn/trunk@390
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 18:05:00 +0000 (18:05 +0000)]
Update Analytics tag for javadoc too
git-svn-id: http://zxing.googlecode.com/svn/trunk@389
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 17:56:47 +0000 (17:56 +0000)]
Fix some minor javadoc issues
git-svn-id: http://zxing.googlecode.com/svn/trunk@388
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 17:54:15 +0000 (17:54 +0000)]
Oops, one more compile problem fixed. Also delete redundant copies of core and javase jars.
git-svn-id: http://zxing.googlecode.com/svn/trunk@387
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 17:39:33 +0000 (17:39 +0000)]
Reformatted code, updated to new Analytics tags, fixed a problem with EmailAuthenticator
git-svn-id: http://zxing.googlecode.com/svn/trunk@386
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 17:31:31 +0000 (17:31 +0000)]
Checking in somewhat ugly 'fix' for ArrayIndexOutOfBoundsException in rare cases
git-svn-id: http://zxing.googlecode.com/svn/trunk@385
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Sat, 3 May 2008 16:10:16 +0000 (16:10 +0000)]
Merged revisions 378,380,382 via svnmerge from
https://zxing.googlecode.com/svn/trunk/android-m3
........
r378 | dswitkin | 2008-04-28 21:27:27 -0400 (Mon, 28 Apr 2008) | 4 lines
- Added Joseph's excellent supermarket checkout beep. There seems to be a bug in the M3 framework where it sometimes plays twice or hiccups.
- Changed the status bar to flash green for a second when the result points are drawn.
- Added install as a target to the build file.
- Fixed a crashing bug when decoding from preview mode (driver problem).
........
r380 | srowen | 2008-05-02 14:39:03 -0400 (Fri, 02 May 2008) | 2 lines
Added preliminary support for MobileTag formats; not enabled yet.
Added "sms:" URI support.
........
r382 | srowen | 2008-05-02 15:18:14 -0400 (Fri, 02 May 2008) | 1 line
Many more little tweaks from IntelliJ inspections
........
git-svn-id: http://zxing.googlecode.com/svn/trunk@384
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 2 May 2008 22:18:38 +0000 (22:18 +0000)]
Added source code to zxing.org
git-svn-id: http://zxing.googlecode.com/svn/trunk@383
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 2 May 2008 19:18:14 +0000 (19:18 +0000)]
Many more little tweaks from IntelliJ inspections
git-svn-id: http://zxing.googlecode.com/svn/trunk@382
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 2 May 2008 18:41:05 +0000 (18:41 +0000)]
Fix typo introduced at the last second before commit. Watch that 'a' key!
git-svn-id: http://zxing.googlecode.com/svn/trunk@381
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 2 May 2008 18:39:03 +0000 (18:39 +0000)]
Added preliminary support for MobileTag formats; not enabled yet.
Added "sms:" URI support.
git-svn-id: http://zxing.googlecode.com/svn/trunk@380
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 29 Apr 2008 01:27:27 +0000 (01:27 +0000)]
- Added Joseph's excellent supermarket checkout beep. There seems to be a bug in the M3 framework where it sometimes plays twice or hiccups.
- Changed the status bar to flash green for a second when the result points are drawn.
- Added install as a target to the build file.
- Fixed a crashing bug when decoding from preview mode (driver problem).
git-svn-id: http://zxing.googlecode.com/svn/trunk@378
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 23 Apr 2008 14:38:43 +0000 (14:38 +0000)]
Remove experimental shell code for now
git-svn-id: http://zxing.googlecode.com/svn/trunk@377
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
christian.brunschen [Wed, 23 Apr 2008 13:05:17 +0000 (13:05 +0000)]
First version of iPhone skeleton app using official iPhone SDK.
Very much unpolished & a work in progress.
git-svn-id: http://zxing.googlecode.com/svn/trunk@376
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 21 Apr 2008 23:16:48 +0000 (23:16 +0000)]
Fixed a typo in the Android build file.
git-svn-id: http://zxing.googlecode.com/svn/trunk@375
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 21 Apr 2008 22:44:40 +0000 (22:44 +0000)]
Merged revisions 321,327,330,332,334,342-343,352-353,355-358,361-363,365,372 via svnmerge from
https://zxing.googlecode.com/svn/trunk/android-m3
........
r321 | srowen | 2008-03-28 09:57:55 -0700 (Fri, 28 Mar 2008) | 1 line
Updates for 0.6; set aside a different android-m3-home variable for android-m3 build
........
r327 | srowen | 2008-03-31 12:04:38 -0700 (Mon, 31 Mar 2008) | 1 line
Made the RGB to luminance approximation/optimization a little faster -- one less shift
........
r330 | dswitkin | 2008-03-31 13:55:38 -0700 (Mon, 31 Mar 2008) | 1 line
Changed the project names for the two Android clients to disambiguate them.
........
r332 | dswitkin | 2008-04-01 09:11:36 -0700 (Tue, 01 Apr 2008) | 1 line
Added some debugging features to the M3 Android client. You can now press 'C' to capture a photo, 'U' to decode only UPC/1D barcodes, and 'Q' to decode only QR Codes.
........
r334 | dswitkin | 2008-04-01 12:23:05 -0700 (Tue, 01 Apr 2008) | 1 line
Added latency measurement in milliseconds to the Android client.
........
r342 | dswitkin | 2008-04-03 14:13:50 -0700 (Thu, 03 Apr 2008) | 1 line
Improved the Android M3 viewfinder display, by making the framing box larger and zooming in. Also fixed a bug when restarting the activity where the camera params were stale. Fixed handling of geo and tel URIs.
........
r343 | srowen | 2008-04-03 15:18:16 -0700 (Thu, 03 Apr 2008) | 1 line
Moved the "geo:" fix to the 'right' place
........
r352 | dswitkin | 2008-04-08 08:25:13 -0700 (Tue, 08 Apr 2008) | 1 line
Rewrote the Android M3 client to do continuous decoding, which means you no longer have to push the shutter button. Now you can just place the barcode in the viewfinder and it will display the contents as soon as it decodes them. That also means you no longer get "barcode not found" error dialogs which is a big improvement. Also made sure that capturing debug JPEGs uses unique filenames.
........
r353 | dswitkin | 2008-04-08 09:06:13 -0700 (Tue, 08 Apr 2008) | 1 line
Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture.
........
r355 | dswitkin | 2008-04-10 13:57:37 -0700 (Thu, 10 Apr 2008) | 1 line
Made sure the BitmapSource subclasses do not reuse a BitArray which is too small.
........
r356 | dswitkin | 2008-04-11 12:30:54 -0700 (Fri, 11 Apr 2008) | 1 line
Changed ProGuard settings so it will inline methods which use private members. This eliminates tens of thousands of function calls to BitArray.get() on a typical decode, and lots of other work as well. Overall we're roughly 20% faster by using ProGuard than turning it off.
........
r357 | dswitkin | 2008-04-11 13:25:09 -0700 (Fri, 11 Apr 2008) | 1 line
Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon.
........
r358 | dswitkin | 2008-04-11 14:16:08 -0700 (Fri, 11 Apr 2008) | 1 line
Added 'T' as a shortcut to toggle debug method tracing using android.os.Debug and traceview for analysis. The traces are written to /sdcard, which means the SD Card must not be mounted as a volume by USB at the time. Tracing can slow down decoding by a factor of 5 or more but gives very useful insights into where the time is going.
........
r361 | dswitkin | 2008-04-15 15:34:49 -0700 (Tue, 15 Apr 2008) | 1 line
A couple small improvements to the CameraManager.
........
r362 | srowen | 2008-04-15 17:27:36 -0700 (Tue, 15 Apr 2008) | 1 line
Small simplification of build file condition properties using else attribute
........
r363 | srowen | 2008-04-15 17:34:13 -0700 (Tue, 15 Apr 2008) | 1 line
Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android
........
r365 | dswitkin | 2008-04-17 13:09:17 -0700 (Thu, 17 Apr 2008) | 1 line
Converted the Android client to use a status bar on the bottom of the screen instead of dialogs for a much better, less interrupting user experience.
........
r372 | dswitkin | 2008-04-21 11:11:02 -0700 (Mon, 21 Apr 2008) | 1 line
Added some simple sharpening for 1D decoding which allowed a couple more blackbox images to pass. There were a few cases where the format or content is now misdetected, but since the net gain was positive I decided to make those non-fatal errors. In real world use the sharpening seems to help, and I think we can do even better with a better algorithm.
........
git-svn-id: http://zxing.googlecode.com/svn/trunk@374
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 21 Apr 2008 19:58:44 +0000 (19:58 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-319" from
https://zxing.googlecode.com/svn/trunk/android-m3
git-svn-id: http://zxing.googlecode.com/svn/trunk@373
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 21 Apr 2008 18:11:02 +0000 (18:11 +0000)]
Added some simple sharpening for 1D decoding which allowed a couple more blackbox images to pass. There were a few cases where the format or content is now misdetected, but since the net gain was positive I decided to make those non-fatal errors. In real world use the sharpening seems to help, and I think we can do even better with a better algorithm.
git-svn-id: http://zxing.googlecode.com/svn/trunk@372
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 21 Apr 2008 14:43:32 +0000 (14:43 +0000)]
Improved the command line test app to accept multiple arguments, a --try_harder flag, and to skip hidden files and text files.
git-svn-id: http://zxing.googlecode.com/svn/trunk@371
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Sat, 19 Apr 2008 18:38:52 +0000 (18:38 +0000)]
Replaced the smaller, resized EAN13-2 test images with the full-size originals.
git-svn-id: http://zxing.googlecode.com/svn/trunk@370
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 18 Apr 2008 17:03:04 +0000 (17:03 +0000)]
Separate out test-unit and test-blackbox targets for running different sorts of tests
git-svn-id: http://zxing.googlecode.com/svn/trunk@369
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 18 Apr 2008 15:51:39 +0000 (15:51 +0000)]
Added a new test library of 16 blurry EAN-13 barcodes. Currently we cannot decode any of them. I'm checking these in as a baseline so we can evaluate various sharpening techniques.
git-svn-id: http://zxing.googlecode.com/svn/trunk@368
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 18 Apr 2008 14:43:56 +0000 (14:43 +0000)]
Changed the black box tests to require an absolute number of images to decode successfully, instead of a percentage, and set the high water mark for each test.
git-svn-id: http://zxing.googlecode.com/svn/trunk@367
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 18 Apr 2008 14:30:02 +0000 (14:30 +0000)]
Changed the parsing logic to refer to EAN-8 and EAN-13 as UPCs as well, so that the clients can recognize them as product barcodes and offer to do a product search.
git-svn-id: http://zxing.googlecode.com/svn/trunk@366
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Thu, 17 Apr 2008 20:09:17 +0000 (20:09 +0000)]
Converted the Android client to use a status bar on the bottom of the screen instead of dialogs for a much better, less interrupting user experience.
git-svn-id: http://zxing.googlecode.com/svn/trunk@365
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 16 Apr 2008 00:38:54 +0000 (00:38 +0000)]
Added workaround for NoSuchMethodError on some Nokia JVMs with a superfluous abstract method (thanks Marnix)
git-svn-id: http://zxing.googlecode.com/svn/trunk@364
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 16 Apr 2008 00:34:13 +0000 (00:34 +0000)]
Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android
git-svn-id: http://zxing.googlecode.com/svn/trunk@363
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 16 Apr 2008 00:27:36 +0000 (00:27 +0000)]
Small simplification of build file condition properties using else attribute
git-svn-id: http://zxing.googlecode.com/svn/trunk@362
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 15 Apr 2008 22:34:49 +0000 (22:34 +0000)]
A couple small improvements to the CameraManager.
git-svn-id: http://zxing.googlecode.com/svn/trunk@361
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 11 Apr 2008 21:16:08 +0000 (21:16 +0000)]
Added 'T' as a shortcut to toggle debug method tracing using android.os.Debug and traceview for analysis. The traces are written to /sdcard, which means the SD Card must not be mounted as a volume by USB at the time. Tracing can slow down decoding by a factor of 5 or more but gives very useful insights into where the time is going.
git-svn-id: http://zxing.googlecode.com/svn/trunk@358
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 11 Apr 2008 20:25:09 +0000 (20:25 +0000)]
Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon.
git-svn-id: http://zxing.googlecode.com/svn/trunk@357
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 11 Apr 2008 19:30:54 +0000 (19:30 +0000)]
Changed ProGuard settings so it will inline methods which use private members. This eliminates tens of thousands of function calls to BitArray.get() on a typical decode, and lots of other work as well. Overall we're roughly 20% faster by using ProGuard than turning it off.
git-svn-id: http://zxing.googlecode.com/svn/trunk@356
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Thu, 10 Apr 2008 20:57:37 +0000 (20:57 +0000)]
Made sure the BitmapSource subclasses do not reuse a BitArray which is too small.
git-svn-id: http://zxing.googlecode.com/svn/trunk@355
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Thu, 10 Apr 2008 20:26:42 +0000 (20:26 +0000)]
Changed how many rows we scan while detecting QR finder patterns. The mobile case dynamically calculates this based on the height of the image, and ranges from a small speedup to a big difference for large inputs. Also changed the try harder case to scan every 3rd line for a 3x speedup. The unit tests have the same success rate as before: 16/20 on qr1, 10/10 on qr2.
git-svn-id: http://zxing.googlecode.com/svn/trunk@354
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 8 Apr 2008 16:06:13 +0000 (16:06 +0000)]
Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture.
git-svn-id: http://zxing.googlecode.com/svn/trunk@353
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 8 Apr 2008 15:25:13 +0000 (15:25 +0000)]
Rewrote the Android M3 client to do continuous decoding, which means you no longer have to push the shutter button. Now you can just place the barcode in the viewfinder and it will display the contents as soon as it decodes them. That also means you no longer get "barcode not found" error dialogs which is a big improvement. Also made sure that capturing debug JPEGs uses unique filenames.
git-svn-id: http://zxing.googlecode.com/svn/trunk@352
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 7 Apr 2008 22:05:40 +0000 (22:05 +0000)]
Workaround for codes that fail to include (required) final TERMINATOR mode indicator
git-svn-id: http://zxing.googlecode.com/svn/trunk@351
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 7 Apr 2008 20:32:17 +0000 (20:32 +0000)]
Oops, off-by-one bug fix, and some more comments
git-svn-id: http://zxing.googlecode.com/svn/trunk@350
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 7 Apr 2008 20:05:11 +0000 (20:05 +0000)]
Can now instantiate this to represent a region of a BufferedImage rather than the whole thing.
git-svn-id: http://zxing.googlecode.com/svn/trunk@349
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 7 Apr 2008 19:42:35 +0000 (19:42 +0000)]
Standardize array initializer syntax to use the form without "new type[]", to be consistent and make translation to C++ easier
git-svn-id: http://zxing.googlecode.com/svn/trunk@348
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 4 Apr 2008 16:34:42 +0000 (16:34 +0000)]
Make two methods public for easier reuse by third-party implementaitons
git-svn-id: http://zxing.googlecode.com/svn/trunk@345
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 3 Apr 2008 22:43:56 +0000 (22:43 +0000)]
Forward-porting Daniel's fix
git-svn-id: http://zxing.googlecode.com/svn/trunk@344
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 3 Apr 2008 22:18:16 +0000 (22:18 +0000)]
Moved the "geo:" fix to the 'right' place
git-svn-id: http://zxing.googlecode.com/svn/trunk@343
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Thu, 3 Apr 2008 21:13:50 +0000 (21:13 +0000)]
Improved the Android M3 viewfinder display, by making the framing box larger and zooming in. Also fixed a bug when restarting the activity where the camera params were stale. Fixed handling of geo and tel URIs.
git-svn-id: http://zxing.googlecode.com/svn/trunk@342
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
mschulkind [Thu, 3 Apr 2008 20:34:30 +0000 (20:34 +0000)]
small typo fix.
git-svn-id: http://zxing.googlecode.com/svn/trunk@341
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 3 Apr 2008 16:39:44 +0000 (16:39 +0000)]
At last, removing SKIP_N_BARCODES and separating this logic out in a way that individual projects can implement it on their own. It's a bit too onerous and project-specific to live on in the main code.
git-svn-id: http://zxing.googlecode.com/svn/trunk@340
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 3 Apr 2008 16:12:08 +0000 (16:12 +0000)]
Parsing wasn't correctly ignoring the ':' in prefix!
git-svn-id: http://zxing.googlecode.com/svn/trunk@339
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 3 Apr 2008 15:39:06 +0000 (15:39 +0000)]
Another fix to ensure that 2 barcodes with the same info are counted separately.
git-svn-id: http://zxing.googlecode.com/svn/trunk@338
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 2 Apr 2008 14:03:02 +0000 (14:03 +0000)]
"Skip 0 barcodes" was incorrectly not returning the first barcode found
git-svn-id: http://zxing.googlecode.com/svn/trunk@337
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 2 Apr 2008 13:40:29 +0000 (13:40 +0000)]
Fixed same ResultPoint bug in Code 128 and Code 39 reader; added convenient toString() to Result and GenericResultPoint; added arg checking for Result constructor too
git-svn-id: http://zxing.googlecode.com/svn/trunk@336
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 1 Apr 2008 21:23:14 +0000 (21:23 +0000)]
Fixed the result points for 1D decoding so that we once again get a green line in the Android client across the successful row.
git-svn-id: http://zxing.googlecode.com/svn/trunk@335
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 1 Apr 2008 19:23:05 +0000 (19:23 +0000)]
Added latency measurement in milliseconds to the Android client.
git-svn-id: http://zxing.googlecode.com/svn/trunk@334
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 1 Apr 2008 18:30:38 +0000 (18:30 +0000)]
Improved the statistics reporting for the CommandLineRunner.
git-svn-id: http://zxing.googlecode.com/svn/trunk@333
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 1 Apr 2008 16:11:36 +0000 (16:11 +0000)]
Added some debugging features to the M3 Android client. You can now press 'C' to capture a photo, 'U' to decode only UPC/1D barcodes, and 'Q' to decode only QR Codes.
git-svn-id: http://zxing.googlecode.com/svn/trunk@332
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 31 Mar 2008 20:55:38 +0000 (20:55 +0000)]
Changed the project names for the two Android clients to disambiguate them.
git-svn-id: http://zxing.googlecode.com/svn/trunk@330
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 31 Mar 2008 20:51:24 +0000 (20:51 +0000)]
Completed basic support for NFC / NDEF formats applicable to 2D barcodes. Not yet enabled.
git-svn-id: http://zxing.googlecode.com/svn/trunk@329
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 31 Mar 2008 19:49:08 +0000 (19:49 +0000)]
Removed @Override from Tom's code, which gave errors in 1.5 because they referred to an interface instead of a base class.
git-svn-id: http://zxing.googlecode.com/svn/trunk@328
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 31 Mar 2008 19:04:38 +0000 (19:04 +0000)]
Made the RGB to luminance approximation/optimization a little faster -- one less shift
git-svn-id: http://zxing.googlecode.com/svn/trunk@327
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 28 Mar 2008 17:04:48 +0000 (17:04 +0000)]
Tiny improvement -- 'clean' target should remove generated javadoc
git-svn-id: http://zxing.googlecode.com/svn/trunk@322
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 28 Mar 2008 16:57:55 +0000 (16:57 +0000)]
Updates for 0.6; set aside a different android-m3-home variable for android-m3 build
git-svn-id: http://zxing.googlecode.com/svn/trunk@321
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 28 Mar 2008 16:54:29 +0000 (16:54 +0000)]
Updates to build on M5
git-svn-id: http://zxing.googlecode.com/svn/trunk@320
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 28 Mar 2008 15:25:18 +0000 (15:25 +0000)]
Branching the current Android client into an M3 directory so we can proceed with M5 development.
git-svn-id: http://zxing.googlecode.com/svn/trunk@319
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 26 Mar 2008 17:01:13 +0000 (17:01 +0000)]
Improved bounds-checking and point-nudging logic in GridSampler. We should check more than endpoints.
git-svn-id: http://zxing.googlecode.com/svn/trunk@317
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 26 Mar 2008 16:22:02 +0000 (16:22 +0000)]
Restored a corrected Reed-Solomon optimization and fixed a small issue in black box test cases
git-svn-id: http://zxing.googlecode.com/svn/trunk@316
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 26 Mar 2008 14:46:57 +0000 (14:46 +0000)]
A few refactorings in anticipation of more formats that needs some common functionality
git-svn-id: http://zxing.googlecode.com/svn/trunk@315
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 26 Mar 2008 14:43:42 +0000 (14:43 +0000)]
Removed old YUV-based implementation
git-svn-id: http://zxing.googlecode.com/svn/trunk@314
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 26 Mar 2008 14:42:33 +0000 (14:42 +0000)]
biasTowardsWhite was, embarassingly, not accomplishing anything mathematically. It proved to not have much value so has been removed, to simplify the code.
git-svn-id: http://zxing.googlecode.com/svn/trunk@313
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 26 Mar 2008 14:13:14 +0000 (14:13 +0000)]
Undo optimization that seems to not be correct in all cases -- will have to evaluate again later
git-svn-id: http://zxing.googlecode.com/svn/trunk@312
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Tue, 25 Mar 2008 18:23:49 +0000 (18:23 +0000)]
More aggressive inlining, to inline some key methods like BitArray.get(), resulting in significant performance boost
git-svn-id: http://zxing.googlecode.com/svn/trunk@311
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Tue, 25 Mar 2008 17:03:15 +0000 (17:03 +0000)]
"Regular" version now attempts to set desired camera exposure settings
git-svn-id: http://zxing.googlecode.com/svn/trunk@310
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 24 Mar 2008 20:02:06 +0000 (20:02 +0000)]
Optimized 0- and 1-error case of Reed Solomon decoding a bit
git-svn-id: http://zxing.googlecode.com/svn/trunk@309
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 21 Mar 2008 12:46:00 +0000 (12:46 +0000)]
More aggressive ProGuard optimization
git-svn-id: http://zxing.googlecode.com/svn/trunk@307
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 20 Mar 2008 17:08:07 +0000 (17:08 +0000)]
More small improvements to SKIP_N_BARCODES -- now remembers value across invocations of doDecode()
git-svn-id: http://zxing.googlecode.com/svn/trunk@305
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 20 Mar 2008 17:01:19 +0000 (17:01 +0000)]
Restored SKIP_N_BARCODES functionality and corrected a logic error
git-svn-id: http://zxing.googlecode.com/svn/trunk@304
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 19 Mar 2008 20:23:27 +0000 (20:23 +0000)]
Automatically inserts version number in strings.xml now
git-svn-id: http://zxing.googlecode.com/svn/trunk@303
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 19 Mar 2008 20:23:10 +0000 (20:23 +0000)]
Automatically inserts version number in strings.xml now
git-svn-id: http://zxing.googlecode.com/svn/trunk@302
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 19 Mar 2008 20:18:28 +0000 (20:18 +0000)]
More proper support for geo: URLs in Android
git-svn-id: http://zxing.googlecode.com/svn/trunk@301
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 19 Mar 2008 18:40:52 +0000 (18:40 +0000)]
"Try harder" mode now tries 2D formats first. BlackPointEstimator more conservative about rejecting histograms with too little dynamic range. Temporarily deprecated SKIP_N_BARCODES hint.
git-svn-id: http://zxing.googlecode.com/svn/trunk@300
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 19 Mar 2008 17:10:58 +0000 (17:10 +0000)]
Take small advantage of "TRY_HARDER" in QR code decoder
git-svn-id: http://zxing.googlecode.com/svn/trunk@299
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 19 Mar 2008 17:10:11 +0000 (17:10 +0000)]
Oops, forgot to include in last commit
git-svn-id: http://zxing.googlecode.com/svn/trunk@298
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 19 Mar 2008 17:09:27 +0000 (17:09 +0000)]
Fixed bug in rotation code for BufferedImageMonochromeBitmapSource; fixed "SKIP_N_BARCODES" behavior to ignore barcodes already found.
git-svn-id: http://zxing.googlecode.com/svn/trunk@297
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 19 Mar 2008 14:45:49 +0000 (14:45 +0000)]
Dumb logic error in boundary case for transformation: "nudging" the rightmost pixel of a line back onto the image was actually nudging the leftmost pixel
git-svn-id: http://zxing.googlecode.com/svn/trunk@296
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Tue, 18 Mar 2008 17:06:21 +0000 (17:06 +0000)]
Removed unneeded 'keep' args to ProGuard
git-svn-id: http://zxing.googlecode.com/svn/trunk@295
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Tue, 18 Mar 2008 16:56:12 +0000 (16:56 +0000)]
Oops, use 5 passes of optimization
git-svn-id: http://zxing.googlecode.com/svn/trunk@294
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 17 Mar 2008 20:48:32 +0000 (20:48 +0000)]
Added overdue Reed-Solomon tests
git-svn-id: http://zxing.googlecode.com/svn/trunk@293
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 17 Mar 2008 20:17:20 +0000 (20:17 +0000)]
Add support for tel: URIs
git-svn-id: http://zxing.googlecode.com/svn/trunk@292
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 17 Mar 2008 20:16:20 +0000 (20:16 +0000)]
Only parse UPC result out of a UPC format code, to avoid "false positives" from other formats
git-svn-id: http://zxing.googlecode.com/svn/trunk@291
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 17 Mar 2008 18:41:10 +0000 (18:41 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@290
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 17 Mar 2008 18:24:26 +0000 (18:24 +0000)]
Fixed naming convention. Everything should be a "ParsedResult"
git-svn-id: http://zxing.googlecode.com/svn/trunk@289
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 17 Mar 2008 18:12:00 +0000 (18:12 +0000)]
Some refactoring to remove small disconnect between how Results are handled and whether the client thinks it can do anything meaningful with a Result
git-svn-id: http://zxing.googlecode.com/svn/trunk@288
59b500cc-1b3d-0410-9834-
0bbf25fbcc57