zxing.git
14 years agoGerman translation
srowen [Fri, 30 Oct 2009 10:38:32 +0000 (10:38 +0000)]
German translation

git-svn-id: http://zxing.googlecode.com/svn/trunk@1090 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoBelated version notes for 1.4
srowen [Thu, 29 Oct 2009 19:00:54 +0000 (19:00 +0000)]
Belated version notes for 1.4

git-svn-id: http://zxing.googlecode.com/svn/trunk@1089 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoSimplifications to release: consider rim/ and bug/ sorta unsupported so don't bother...
srowen [Mon, 26 Oct 2009 20:27:35 +0000 (20:27 +0000)]
Simplifications to release: consider rim/ and bug/ sorta unsupported so don't bother building, and, leave preverifying to Proguard in javame/ to get around lack of WTK preverifier for Mac

git-svn-id: http://zxing.googlecode.com/svn/trunk@1088 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoPossible small fix for missing external-libs-folder issue
srowen [Mon, 26 Oct 2009 15:23:01 +0000 (15:23 +0000)]
Possible small fix for missing external-libs-folder issue

git-svn-id: http://zxing.googlecode.com/svn/trunk@1087 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoFrench translation
srowen [Sat, 24 Oct 2009 23:47:49 +0000 (23:47 +0000)]
French translation

git-svn-id: http://zxing.googlecode.com/svn/trunk@1086 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoUpdate and reformat Russian translation
srowen [Fri, 23 Oct 2009 22:59:13 +0000 (22:59 +0000)]
Update and reformat Russian translation

git-svn-id: http://zxing.googlecode.com/svn/trunk@1085 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoThe final compatibility changes for Barcode Scanner 3.0, which is now finished.
dswitkin [Fri, 23 Oct 2009 16:40:54 +0000 (16:40 +0000)]
The final compatibility changes for Barcode Scanner 3.0, which is now finished.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1084 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoRussian translation
srowen [Thu, 22 Oct 2009 23:46:03 +0000 (23:46 +0000)]
Russian translation

git-svn-id: http://zxing.googlecode.com/svn/trunk@1083 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoTiny clarification to build
srowen [Thu, 22 Oct 2009 18:55:27 +0000 (18:55 +0000)]
Tiny clarification to build

git-svn-id: http://zxing.googlecode.com/svn/trunk@1082 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years ago- Added back support for Cupcake by making the choice of preview callback conditional...
dswitkin [Thu, 22 Oct 2009 14:51:53 +0000 (14:51 +0000)]
- Added back support for Cupcake by making the choice of preview callback conditional on the build flavor.
- Fixed a number of non-dpi-aware resource dimensions.
- Bumped the version to 3.0 beta 3.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1081 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years ago- Fixed a crash on first launch after install on some hardware.
dswitkin [Tue, 20 Oct 2009 18:09:40 +0000 (18:09 +0000)]
- Fixed a crash on first launch after install on some hardware.
- Moved the beep sound to the music stream and made the volume keys work.
- Bumped the version to 3.0 beta 2.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1080 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoFix scanline stride issue
srowen [Tue, 20 Oct 2009 17:41:23 +0000 (17:41 +0000)]
Fix scanline stride issue

git-svn-id: http://zxing.googlecode.com/svn/trunk@1079 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoProperly drop table on update
srowen [Tue, 20 Oct 2009 16:57:21 +0000 (16:57 +0000)]
Properly drop table on update

git-svn-id: http://zxing.googlecode.com/svn/trunk@1078 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoFixes to Spanish translation
srowen [Mon, 19 Oct 2009 20:55:08 +0000 (20:55 +0000)]
Fixes to Spanish translation

git-svn-id: http://zxing.googlecode.com/svn/trunk@1077 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoUpdate DB version to ensure older clients update (see Issue 254)
srowen [Mon, 19 Oct 2009 20:44:45 +0000 (20:44 +0000)]
Update DB version to ensure older clients update (see Issue 254)

git-svn-id: http://zxing.googlecode.com/svn/trunk@1076 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years ago- Created Barcode Scanner 3.0 beta 1, for Donut and above only.
dswitkin [Mon, 19 Oct 2009 18:04:57 +0000 (18:04 +0000)]
- Created Barcode Scanner 3.0 beta 1, for Donut and above only.
- Added support for ACTION_SEND intent for encoding a QR from Contacts.
- Made VCARD parsing a little less strict.
- Updated help and fixed a minor UI issue.
- Removed vestigial intent support using the old package name.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1075 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoOops passing somewhat too large values for width / height -- were being used as right...
srowen [Tue, 13 Oct 2009 17:20:25 +0000 (17:20 +0000)]
Oops passing somewhat too large values for width / height -- were being used as right/bottom coordinates.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1074 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoIssue 249, fix references to methods not in MIDP 2
srowen [Tue, 13 Oct 2009 17:16:19 +0000 (17:16 +0000)]
Issue 249, fix references to methods not in MIDP 2

git-svn-id: http://zxing.googlecode.com/svn/trunk@1073 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoIssue 246, add Italian translation (and standardize spacing of strings.xml files)
srowen [Tue, 13 Oct 2009 16:55:16 +0000 (16:55 +0000)]
Issue 246, add Italian translation (and standardize spacing of strings.xml files)

git-svn-id: http://zxing.googlecode.com/svn/trunk@1072 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoSwitched back to the one shot preview mechanism and lowered the beep volume a bit.
dswitkin [Tue, 13 Oct 2009 14:02:13 +0000 (14:02 +0000)]
Switched back to the one shot preview mechanism and lowered the beep volume a bit.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1071 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoUpdate to work with GWT 1.7
srowen [Fri, 9 Oct 2009 15:19:43 +0000 (15:19 +0000)]
Update to work with GWT 1.7

git-svn-id: http://zxing.googlecode.com/svn/trunk@1070 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoUpdate to work with GWT 1.7
srowen [Fri, 9 Oct 2009 15:12:57 +0000 (15:12 +0000)]
Update to work with GWT 1.7

git-svn-id: http://zxing.googlecode.com/svn/trunk@1069 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoEnhanced book support
srowen [Tue, 29 Sep 2009 22:33:55 +0000 (22:33 +0000)]
Enhanced book support

git-svn-id: http://zxing.googlecode.com/svn/trunk@1068 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoDraft Spanish translation -- in review with native speaker
srowen [Tue, 29 Sep 2009 22:33:30 +0000 (22:33 +0000)]
Draft Spanish translation -- in review with native speaker

git-svn-id: http://zxing.googlecode.com/svn/trunk@1067 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoImproved history function
srowen [Tue, 29 Sep 2009 22:33:03 +0000 (22:33 +0000)]
Improved history function

git-svn-id: http://zxing.googlecode.com/svn/trunk@1066 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoUnbroke the app after the big subpackage reshuffle of '09:
dswitkin [Mon, 28 Sep 2009 16:07:20 +0000 (16:07 +0000)]
Unbroke the app after the big subpackage reshuffle of '09:

- Updated manifest entries.
- Made necessary classes public.
- Fixed ProGuard exclusions.
- Updated resource file class name.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1065 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoTiny changes to System.err usage, closed a stream, saved a reused Pattern
srowen [Sat, 26 Sep 2009 13:25:37 +0000 (13:25 +0000)]
Tiny changes to System.err usage, closed a stream, saved a reused Pattern

git-svn-id: http://zxing.googlecode.com/svn/trunk@1064 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoExtended the test app to write the camera parameters to /sdcard/CameraParameters...
dswitkin [Fri, 25 Sep 2009 21:38:26 +0000 (21:38 +0000)]
Extended the test app to write the camera parameters to /sdcard/CameraParameters.txt in addition to emailing them. Also bumped the version to 1.1.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1063 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoUpdated the HTML "What's new" page with 3.0 features.
dswitkin [Wed, 23 Sep 2009 15:19:44 +0000 (15:19 +0000)]
Updated the HTML "What's new" page with 3.0 features.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1062 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoBumping to 3.0 alpha 2 to reflect the new history feature.
dswitkin [Wed, 23 Sep 2009 15:07:13 +0000 (15:07 +0000)]
Bumping to 3.0 alpha 2 to reflect the new history feature.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1061 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoRemove MobileTag support -- outdated, unused, and not clear we support the direction...
srowen [Wed, 23 Sep 2009 13:33:45 +0000 (13:33 +0000)]
Remove MobileTag support -- outdated, unused, and not clear we support the direction MobileTag is going

git-svn-id: http://zxing.googlecode.com/svn/trunk@1060 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdd history feature; group some functionality into subpackages
srowen [Mon, 21 Sep 2009 18:03:29 +0000 (18:03 +0000)]
Add history feature; group some functionality into subpackages

git-svn-id: http://zxing.googlecode.com/svn/trunk@1058 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAnother shot at TCP CLOSE_WAIT issue, and tiny code tweak
srowen [Fri, 18 Sep 2009 10:27:17 +0000 (10:27 +0000)]
Another shot at TCP CLOSE_WAIT issue, and tiny code tweak

git-svn-id: http://zxing.googlecode.com/svn/trunk@1057 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoFurther attacks on the mysterious TCP CLOSE_WAIT issue
srowen [Wed, 16 Sep 2009 10:39:53 +0000 (10:39 +0000)]
Further attacks on the mysterious TCP CLOSE_WAIT issue

git-svn-id: http://zxing.googlecode.com/svn/trunk@1056 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAllow custom search on 'text' results. Seems maybe useful for Code 128/39 payloads...
srowen [Wed, 16 Sep 2009 09:58:41 +0000 (09:58 +0000)]
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: http://zxing.googlecode.com/svn/trunk@1055 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoRun tests with -Xint to work around weird JIT bug in Java 6, which causes ArithmeticE...
srowen [Tue, 15 Sep 2009 09:06:45 +0000 (09:06 +0000)]
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: http://zxing.googlecode.com/svn/trunk@1054 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoSpell checker fixes, narrowed scope / made less visible where possible. Little stuff
srowen [Tue, 15 Sep 2009 09:03:05 +0000 (09:03 +0000)]
Spell checker fixes, narrowed scope / made less visible where possible. Little stuff

git-svn-id: http://zxing.googlecode.com/svn/trunk@1053 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoFix for old logic error in seeking format information -- actually was comparing unmas...
srowen [Mon, 14 Sep 2009 10:17:17 +0000 (10:17 +0000)]
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: http://zxing.googlecode.com/svn/trunk@1052 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdded some comments to public methods.
dswitkin [Fri, 11 Sep 2009 16:11:47 +0000 (16:11 +0000)]
Added some comments to public methods.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1051 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoThis should have been deleted in the last change.
dswitkin [Fri, 11 Sep 2009 14:02:39 +0000 (14:02 +0000)]
This should have been deleted in the last change.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1050 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoLots of updates:
dswitkin [Thu, 10 Sep 2009 22:18:58 +0000 (22:18 +0000)]
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: http://zxing.googlecode.com/svn/trunk@1049 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoFinal changes for Barcode Scanner 2.93.
dswitkin [Thu, 3 Sep 2009 20:37:38 +0000 (20:37 +0000)]
Final changes for Barcode Scanner 2.93.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1046 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdded a new feature to the test app, which captures all the device info and default...
dswitkin [Wed, 2 Sep 2009 21:06:00 +0000 (21:06 +0000)]
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: http://zxing.googlecode.com/svn/trunk@1045 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoSImplified optimization a bit and made it more aggressive.
srowen [Fri, 28 Aug 2009 13:31:16 +0000 (13:31 +0000)]
SImplified optimization a bit and made it more aggressive.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1044 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoRevert to pre-Cupcake preview callback system since seems to be some collision betwee...
srowen [Wed, 26 Aug 2009 21:48:52 +0000 (21:48 +0000)]
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: http://zxing.googlecode.com/svn/trunk@1042 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoTiny code adjustments from inspection
srowen [Tue, 25 Aug 2009 21:29:39 +0000 (21:29 +0000)]
Tiny code adjustments from inspection

git-svn-id: http://zxing.googlecode.com/svn/trunk@1041 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoIssue 230
srowen [Mon, 24 Aug 2009 06:49:57 +0000 (06:49 +0000)]
Issue 230

git-svn-id: http://zxing.googlecode.com/svn/trunk@1040 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoImprove detector logic to throw out false positive finder patterns in a more reasonab...
srowen [Sun, 23 Aug 2009 15:32:01 +0000 (15:32 +0000)]
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: http://zxing.googlecode.com/svn/trunk@1039 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoMiscellaneous changes from FindBugs analysis
srowen [Sat, 22 Aug 2009 15:16:36 +0000 (15:16 +0000)]
Miscellaneous changes from FindBugs analysis

git-svn-id: http://zxing.googlecode.com/svn/trunk@1038 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoUpdate to final HTTP Client binaries
srowen [Fri, 21 Aug 2009 16:17:50 +0000 (16:17 +0000)]
Update to final HTTP Client binaries

git-svn-id: http://zxing.googlecode.com/svn/trunk@1037 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoMade another fix for the Samsung Galaxy, and bumped the version to 2.92.
dswitkin [Fri, 21 Aug 2009 14:18:31 +0000 (14:18 +0000)]
Made another fix for the Samsung Galaxy, and bumped the version to 2.92.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1036 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoMade a new fix to turn off the Samsung Galaxy flash, and cut release 2.91.
dswitkin [Wed, 19 Aug 2009 14:52:16 +0000 (14:52 +0000)]
Made a new fix to turn off the Samsung Galaxy flash, and cut release 2.91.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1035 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoMake web app work on Servlet/JSP 2.3/1.2 and fix some other mistakes
srowen [Thu, 13 Aug 2009 11:11:48 +0000 (11:11 +0000)]
Make web app work on Servlet/JSP 2.3/1.2 and fix some other mistakes

git-svn-id: http://zxing.googlecode.com/svn/trunk@1034 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoIssue 224, remove Christian's info since it seems to prevent the build from working...
srowen [Wed, 12 Aug 2009 09:15:52 +0000 (09:15 +0000)]
Issue 224, remove Christian's info since it seems to prevent the build from working for developers?

git-svn-id: http://zxing.googlecode.com/svn/trunk@1033 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoBoneheaded mistake: was writing transparent pixels
srowen [Tue, 4 Aug 2009 21:59:24 +0000 (21:59 +0000)]
Boneheaded mistake: was writing transparent pixels

git-svn-id: http://zxing.googlecode.com/svn/trunk@1032 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoNeed to use 1.5 jar location
srowen [Tue, 4 Aug 2009 15:57:37 +0000 (15:57 +0000)]
Need to use 1.5 jar location

git-svn-id: http://zxing.googlecode.com/svn/trunk@1031 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoDisable email-based decoding -- won't be able to support it soon and it is very rarel...
srowen [Tue, 4 Aug 2009 08:54:02 +0000 (08:54 +0000)]
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: http://zxing.googlecode.com/svn/trunk@1030 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoFix issue 221
srowen [Tue, 4 Aug 2009 08:53:05 +0000 (08:53 +0000)]
Fix issue 221

git-svn-id: http://zxing.googlecode.com/svn/trunk@1029 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdd MatrixToImageWriter convenience class, small code tweaks in javase/, make ByteMat...
srowen [Thu, 30 Jul 2009 08:58:57 +0000 (08:58 +0000)]
Add MatrixToImageWriter convenience class, small code tweaks in javase/, make ByteMatrix width/height property getters names standard

git-svn-id: http://zxing.googlecode.com/svn/trunk@1028 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoFixed some long lines over 100 columns.
dswitkin [Thu, 23 Jul 2009 22:10:43 +0000 (22:10 +0000)]
Fixed some long lines over 100 columns.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1027 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdded error correction level to Result
srowen [Wed, 22 Jul 2009 10:40:18 +0000 (10:40 +0000)]
Added error correction level to Result

git-svn-id: http://zxing.googlecode.com/svn/trunk@1026 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoRe-enable ProGuard, and finally identified the workaround that seems to make 4.4...
srowen [Wed, 22 Jul 2009 10:36:11 +0000 (10:36 +0000)]
Re-enable ProGuard, and finally identified the workaround that seems to make 4.4 work with our code without a VerifyError

git-svn-id: http://zxing.googlecode.com/svn/trunk@1025 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoSet a camera parameter to force the flash off. Also fixed the uninstall build targets.
dswitkin [Tue, 21 Jul 2009 21:36:33 +0000 (21:36 +0000)]
Set a camera parameter to force the flash off. Also fixed the uninstall build targets.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1024 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoConverted the Android client and the test app to use the Android 1.5 SDK, and to...
dswitkin [Tue, 21 Jul 2009 19:33:25 +0000 (19:33 +0000)]
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: http://zxing.googlecode.com/svn/trunk@1023 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoSmall detector simplification that addresses issue 215 and picks up a net +4 more...
srowen [Tue, 21 Jul 2009 09:39:31 +0000 (09:39 +0000)]
Small detector simplification that addresses issue 215 and picks up a net +4 more images decoded in tests

git-svn-id: http://zxing.googlecode.com/svn/trunk@1022 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAnother tweak to get some valid ISO-8859-1 strings like "frédéric" to be guessed...
srowen [Fri, 17 Jul 2009 09:30:46 +0000 (09:30 +0000)]
Another tweak to get some valid ISO-8859-1 strings like "frédéric" to be guessed correctly

git-svn-id: http://zxing.googlecode.com/svn/trunk@1021 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdded an optimization to the Android client's LuminanceSource implementation, and...
dswitkin [Wed, 15 Jul 2009 18:32:01 +0000 (18:32 +0000)]
Added an optimization to the Android client's LuminanceSource implementation, and removed manual array copies in favor of System.arraycopy().

git-svn-id: http://zxing.googlecode.com/svn/trunk@1020 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdded Germany to the list of Google Product Search locales.
dswitkin [Fri, 10 Jul 2009 18:55:04 +0000 (18:55 +0000)]
Added Germany to the list of Google Product Search locales.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1019 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoCreated v2.9 of Barcode Scanner, and added Japanese translations.
dswitkin [Thu, 9 Jul 2009 15:20:42 +0000 (15:20 +0000)]
Created v2.9 of Barcode Scanner, and added Japanese translations.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1018 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoMore x, y cleanup and 100 column fixes.
dswitkin [Wed, 8 Jul 2009 21:17:52 +0000 (21:17 +0000)]
More x, y cleanup and 100 column fixes.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1017 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoModified my skew correction code to also work upside down, meaning we now decode...
dswitkin [Wed, 8 Jul 2009 20:38:21 +0000 (20:38 +0000)]
Modified my skew correction code to also work upside down, meaning we now decode three more inverted PDF 417 images.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1016 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoI noticed that the codeword coordinates in PDF 417 barcodes were a few pixels off...
dswitkin [Thu, 2 Jul 2009 20:07:09 +0000 (20:07 +0000)]
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: http://zxing.googlecode.com/svn/trunk@1015 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoGot 180 degree rotation working for PDF 417, and turned on the appropriate unit tests...
dswitkin [Wed, 1 Jul 2009 19:42:52 +0000 (19:42 +0000)]
Got 180 degree rotation working for PDF 417, and turned on the appropriate unit tests as a result.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1014 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoCleaned up a number of comments and code to fit in 100 columns and added some TODO...
dswitkin [Wed, 1 Jul 2009 16:35:05 +0000 (16:35 +0000)]
Cleaned up a number of comments and code to fit in 100 columns and added some TODO items.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1013 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoConverted the last user of the old MonochromeBitmapSource-style calls over to BitMatr...
dswitkin [Wed, 1 Jul 2009 16:13:25 +0000 (16:13 +0000)]
Converted the last user of the old MonochromeBitmapSource-style calls over to BitMatrix, and removed these deprecated methods.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1012 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdded the second PDF 417 test to the AllPositiveBlackBoxTester.
dswitkin [Wed, 1 Jul 2009 15:13:44 +0000 (15:13 +0000)]
Added the second PDF 417 test to the AllPositiveBlackBoxTester.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1011 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years ago- Converted parts of the PDF 417 reader to use BitMatrix.
dswitkin [Tue, 30 Jun 2009 21:55:19 +0000 (21:55 +0000)]
- 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: http://zxing.googlecode.com/svn/trunk@1010 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdded the PDF 417 blackbox tests to the test-blackbox Ant target.
dswitkin [Tue, 30 Jun 2009 18:51:43 +0000 (18:51 +0000)]
Added the PDF 417 blackbox tests to the test-blackbox Ant target.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1009 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoCreated a new blackbox unit test of real-world PDF 417 images taken with an Android...
dswitkin [Tue, 30 Jun 2009 18:47:34 +0000 (18:47 +0000)]
Created a new blackbox unit test of real-world PDF 417 images taken with an Android device. Currently we decode 0/23.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1008 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdded a few computer-generated PDF 417 barcodes to the blackbox tests. The current...
dswitkin [Tue, 30 Jun 2009 17:32:12 +0000 (17:32 +0000)]
Added a few computer-generated PDF 417 barcodes to the blackbox tests. The current code doesn't seem to handle more advanced error correction modes.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1007 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdded the previous Android benchmark I've been using to track performance, as well...
dswitkin [Mon, 29 Jun 2009 22:08:38 +0000 (22:08 +0000)]
Added the previous Android benchmark I've been using to track performance, as well as a new one which uses wider images and therefore twice as many pixels.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1006 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoAdded slightly better blackbox unit test stats.
dswitkin [Mon, 29 Jun 2009 21:57:59 +0000 (21:57 +0000)]
Added slightly better blackbox unit test stats.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1005 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years ago- Got the DataMatrix decoder compiling again with a quick bandaid.
dswitkin [Mon, 29 Jun 2009 15:49:42 +0000 (15:49 +0000)]
- Got the DataMatrix decoder compiling again with a quick bandaid.
- Fixed two bugs in the LocalBlockBinarizer sharpening routine. It can now decode 2132 images in our blackbox tests, compared to 2103 using the global histogram approach.
- Added the PDF 417 blackbox test to AllPositiveBlackBoxTester, and allowed it to complete even if the tests fail.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1004 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoCode analysis tweaks
srowen [Sun, 28 Jun 2009 16:33:02 +0000 (16:33 +0000)]
Code analysis tweaks

git-svn-id: http://zxing.googlecode.com/svn/trunk@1003 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years ago* Throw the actual exception objects, rather than pointers to them, i.e.:
christian.brunschen [Sat, 27 Jun 2009 13:22:03 +0000 (13:22 +0000)]
* Throw the actual exception objects, rather than pointers to them, i.e.:
  - replace |throw new FooException()| with |throw FooException()|
  - replace |catch (FooException *ex)| with |catch (FooExceptio ex)|
  - update all uses of caught exceptions appropriately:
    . replace |ex->foo| with |ex.foo|
    . remove all attempts to delete the caught exception(s)
* Add 'const' to the 'char *' declarations for character encoding names

git-svn-id: http://zxing.googlecode.com/svn/trunk@1002 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoWhoops, fixed long-standing bug in the benchmark. Never noticed before because we...
dswitkin [Fri, 26 Jun 2009 21:18:58 +0000 (21:18 +0000)]
Whoops, fixed long-standing bug in the benchmark. Never noticed before because we always used square images.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1001 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoModified the CommandLineRunner to use all available decoders, even the ones which...
dswitkin [Fri, 26 Jun 2009 20:03:10 +0000 (20:03 +0000)]
Modified the CommandLineRunner to use all available decoders, even the ones which aren't considered production quality yet.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1000 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoRemove use of BinaryBitmap in QR Code, DM
srowen [Fri, 26 Jun 2009 19:22:48 +0000 (19:22 +0000)]
Remove use of BinaryBitmap in QR Code, DM

git-svn-id: http://zxing.googlecode.com/svn/trunk@999 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoSean had a good idea to add @deprecated Javadoc comments to these three methods to...
dswitkin [Fri, 26 Jun 2009 19:04:12 +0000 (19:04 +0000)]
Sean had a good idea to add @deprecated Javadoc comments to these three methods to help track down their usage. We can't use a Java @Deprecated annotation because core builds against Java 1.2.

git-svn-id: http://zxing.googlecode.com/svn/trunk@998 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoFix an (old?) compile error
srowen [Fri, 26 Jun 2009 19:03:04 +0000 (19:03 +0000)]
Fix an (old?) compile error

git-svn-id: http://zxing.googlecode.com/svn/trunk@997 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoUpdated the Android Test app to use a wider viewfinder, to save images as PNGs instea...
dswitkin [Fri, 26 Jun 2009 18:48:14 +0000 (18:48 +0000)]
Updated the Android Test app to use a wider viewfinder, to save images as PNGs instead of JPEGs, and to work on phones without a shutter button.

git-svn-id: http://zxing.googlecode.com/svn/trunk@996 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoUpdates for appspot
srowen [Fri, 26 Jun 2009 18:08:05 +0000 (18:08 +0000)]
Updates for appspot

git-svn-id: http://zxing.googlecode.com/svn/trunk@995 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoNevermind, removing javadoc
srowen [Fri, 26 Jun 2009 18:01:31 +0000 (18:01 +0000)]
Nevermind, removing javadoc

git-svn-id: http://zxing.googlecode.com/svn/trunk@994 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoRefactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer...
dswitkin [Fri, 26 Jun 2009 17:49:45 +0000 (17:49 +0000)]
Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build.

This change will allow new thresholding algorithms to be developed and tested, as well as implemented per platform if needed (e.g. in JNI on Android). It should also perform better when multiple 2D Readers are installed, because the underlying image will only be converted to 1 bit once. It also allows some platforms to return luminance data without a copy.

The current state of this checkin is to use the old black point algorithm, which now lives in GlobalHistogramBinarizer. This will be our benchmark and fallback for slower platforms. Going forward we will begin to use LocalBlockBinarizer as I shake out the edge cases and tune it for performance. Currently it is unused.

IMPORTANT: I have temporarily included three methods from MonochromeBitmapSource at the end of BinaryBitmap as a way to make this change in stages. They are deprecated and will be removed soon. All of the Reader classes will need to change the way they examine 1 bit pixels to use the new getBlackRow() and getBlackMatrix() calls.

git-svn-id: http://zxing.googlecode.com/svn/trunk@993 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoTry adding current javadoc to SVN
srowen [Fri, 26 Jun 2009 17:47:15 +0000 (17:47 +0000)]
Try adding current javadoc to SVN

git-svn-id: http://zxing.googlecode.com/svn/trunk@992 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoISSUE: http://code.google.com/p/zxing/issues/detail?id=42
kev.sully [Fri, 26 Jun 2009 14:34:16 +0000 (14:34 +0000)]
ISSUE: code.google.com/p/zxing/issues/detail?id=42

Added PDF417 to list of readers. Will be used only if its specified in a Hint.

git-svn-id: http://zxing.googlecode.com/svn/trunk@987 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoFixed some code which was ignoring the result of MonochromeBitmapSource calls, which...
dswitkin [Thu, 25 Jun 2009 19:46:49 +0000 (19:46 +0000)]
Fixed some code which was ignoring the result of MonochromeBitmapSource calls, which may work in some cases but isn't legal and failed and in some experiments.

git-svn-id: http://zxing.googlecode.com/svn/trunk@986 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoStyle changes mostly
srowen [Wed, 24 Jun 2009 13:19:53 +0000 (13:19 +0000)]
Style changes mostly

git-svn-id: http://zxing.googlecode.com/svn/trunk@985 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoISSUE: http://code.google.com/p/zxing/issues/detail?id=42
kev.sully [Wed, 24 Jun 2009 10:03:37 +0000 (10:03 +0000)]
ISSUE: code.google.com/p/zxing/issues/detail?id=42

Added PDF417 to list of readers. Will be used only if its specified in a Hint.

git-svn-id: http://zxing.googlecode.com/svn/trunk@984 59b500cc-1b3d-0410-9834-0bbf25fbcc57

14 years agoISSUE: http://code.google.com/p/zxing/issues/detail?id=42
kev.sully [Wed, 24 Jun 2009 10:02:58 +0000 (10:02 +0000)]
ISSUE: code.google.com/p/zxing/issues/detail?id=42

Added PDF417 to list of readers. Will be used only if its specified in a Hint.

git-svn-id: http://zxing.googlecode.com/svn/trunk@983 59b500cc-1b3d-0410-9834-0bbf25fbcc57