Commit graph

949 commits

Author SHA1 Message Date
srowen c9175ecae2 Pull out optimize target so we can selectively disable ProGuard with -Dno-optimize
git-svn-id: https://zxing.googlecode.com/svn/trunk@1123 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23 09:41:58 +00:00
srowen 88c77b18b8 Fixed unit test fail from vCard change
git-svn-id: https://zxing.googlecode.com/svn/trunk@1122 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23 09:37:58 +00:00
dswitkin f4cd22ee1a Consolidated all the Android LuminanceSource classes into one file. Either a device can be handled by this file, or the app won't work. The Android platform requires every device to support yuv420sp camera preview buffers, but we also let two other similar formats sneak in for compatibility. I also removed the ability to convert LuminanceSource data into ARGB images, which wasn't used.
I also reverted a String-related change to QRCodeEncoder.java. The new method appears present in Java 1.6's String class but not in Android's.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1121 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23 03:16:41 +00:00
srowen 5339ef7757 Bug fix, use data height/width to check input size
git-svn-id: https://zxing.googlecode.com/svn/trunk@1120 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22 15:24:29 +00:00
srowen 87b6b0ec66 Technically split out YUV 4:2:0 and 4:2:2 support and tried implementing RGB conversion for 4:2:0
git-svn-id: https://zxing.googlecode.com/svn/trunk@1119 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22 12:55:18 +00:00
srowen f75a6ec766 Loosen BDAY parsing for vCard results
git-svn-id: https://zxing.googlecode.com/svn/trunk@1118 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22 11:14:39 +00:00
srowen c0c1290611 Logging vCard content received to help debug
git-svn-id: https://zxing.googlecode.com/svn/trunk@1117 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22 05:59:00 +00:00
bas5winkel 2893fb3804 Adding the actionscript3/Flex conversion of the zxing library plus a demo app.
See the readme.txt file and the comments in the zxing client project for more details, hints and remarks.


git-svn-id: https://zxing.googlecode.com/svn/trunk@1116 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-20 15:00:00 +00:00
srowen f337db0b35 Issue 278
git-svn-id: https://zxing.googlecode.com/svn/trunk@1115 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-20 00:55:13 +00:00
leppoc dcb68910a2 In barcode generaotor (zxing.appspot.com), generate barcode upon pressing enter. Issue 229: http://code.google.com/p/zxing/issues/detail?id=229.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1113 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-18 23:15:52 +00:00
srowen f919bbcba5 Use the new Android 2.0-style SDK value for this field so it compiles
git-svn-id: https://zxing.googlecode.com/svn/trunk@1112 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-17 20:33:13 +00:00
srowen 57cebcc697 Tiny speedups
git-svn-id: https://zxing.googlecode.com/svn/trunk@1111 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-17 20:32:10 +00:00
srowen 58b5bf7b0f Commit share app functionality for broader testing and comments
git-svn-id: https://zxing.googlecode.com/svn/trunk@1110 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-17 11:54:15 +00:00
srowen b710e257eb More fixes, to cropping BufferedImages
git-svn-id: https://zxing.googlecode.com/svn/trunk@1109 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-13 10:46:04 +00:00
srowen 431ace93e1 Oops fixed typo in last patch
git-svn-id: https://zxing.googlecode.com/svn/trunk@1108 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-13 09:57:14 +00:00
srowen ac64595afa Be more conservative about choosing Kanji mode. Since we don't support mixed mode, can only use it when the input is all double-byte Kanji.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1107 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-13 09:49:49 +00:00
srowen 0debee9c71 Issue 271
git-svn-id: https://zxing.googlecode.com/svn/trunk@1106 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-13 09:17:18 +00:00
srowen 193f7a24c7 Missed adding a contributor name for translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1105 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-13 09:11:59 +00:00
srowen 8e4824da68 Fix some double-reversed i-j problems in this code
git-svn-id: https://zxing.googlecode.com/svn/trunk@1104 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-12 22:18:25 +00:00
dswitkin 3b957d3dec Made the final changes for Barcode Scanner 3.01.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1103 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-06 17:10:10 +00:00
dswitkin ac2ea432c0 Updated ZXing Test with all of the CameraManager fixes from Barcode Scanner, as well as making it high-dpi capable, and bumped the version to 1.12.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1102 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-06 15:55:00 +00:00
srowen c47cf9752e Improve Spanish translation from Marcelo, standardize lines for comparison, add some auto translation of missing strings in Chinese
git-svn-id: https://zxing.googlecode.com/svn/trunk@1101 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-06 10:01:37 +00:00
ralf.kistner@gmail.com 4c51e618e3 C++ Port:
- Fixed to be able to build for the Symbian emulator (variable-sized arrays cannot be created on the stack).
- Fixed bug only present on Symbian phones that prevented the alignment patterns from being found (the Symbian implementation of valarray does not initialize its values to 0, unless it is explicitly specified as the default value).
- Fixed an include.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1100 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-05 22:11:15 +00:00
dswitkin d2fea027ec The Donut (1.6) SDK is required to build all Android apps in the project.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1099 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-05 22:08:13 +00:00
srowen 9fd4391f8e Added Code 39 check digit hint
git-svn-id: https://zxing.googlecode.com/svn/trunk@1098 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-04 22:00:27 +00:00
dswitkin fbae6e32e9 Changed the ZXing Test default email address and bumped the version to 1.11.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1097 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-03 23:12:14 +00:00
srowen a853429282 Fix a typo and add better javadoc
git-svn-id: https://zxing.googlecode.com/svn/trunk@1096 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-03 14:39:07 +00:00
srowen 2cc7a2c8fa Oops, rendering based on ByteMatrix was reversed, white on black (Issue 265)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1095 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-03 13:43:53 +00:00
srowen 5be212750e Issue 263
git-svn-id: https://zxing.googlecode.com/svn/trunk@1094 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-02 23:04:24 +00:00
srowen e913ff5990 Remove some redundant 'throws'; allocate more reasonably sized StringBuffers for performance
git-svn-id: https://zxing.googlecode.com/svn/trunk@1093 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-02 10:16:03 +00:00
ralf.kistner@gmail.com 34607d71ee Many changes to the C++ port.
- Refactoring:
 - All the files are now in a zxing folder,
 - Changed the namespaces so that everything is either in zxing or
zxing::qrcode.
 - Moved most function implementations from the headers to source
files.
- Ported the new design from the Java code with LuminanceSource,
BinaryBitmap, Binarizer, GlobalHistogramBinarizer and
LocalBlockBinarizer.
- Fixed two rare segmentation faults: one in
GridSampler::checkAndNudgePoints, and one in
ReedSolomonDecoder::decode. These would simply cause
ArrayIndexOutOfBoundsExceptions in Java, but have to be checked
explicitly in C++.
- With help from Erno Mäkinen, used std::vector instead of ArrayRef in
many places, as ArrayRef causes problems on Symbian phones.
- Added scons build files.
- Added a test application using ImageMagick.
- More small changes.



git-svn-id: https://zxing.googlecode.com/svn/trunk@1092 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-01 17:30:30 +00:00
srowen 154172b6ab Committing Jeff's latest for ISSUE-238. May still be an issue with international properties?
git-svn-id: https://zxing.googlecode.com/svn/trunk@1091 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-30 18:34:37 +00:00
srowen 7e9f5c95f9 German translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1090 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-30 10:38:32 +00:00
srowen 879763518e Belated version notes for 1.4
git-svn-id: https://zxing.googlecode.com/svn/trunk@1089 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-29 19:00:54 +00:00
srowen 8e865c1f16 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: https://zxing.googlecode.com/svn/trunk@1088 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-26 20:27:35 +00:00
srowen 6d7cab3dd4 Possible small fix for missing external-libs-folder issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@1087 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-26 15:23:01 +00:00
srowen 30f60cd2b7 French translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1086 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-24 23:47:49 +00:00
srowen ac87d667c7 Update and reformat Russian translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1085 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-23 22:59:13 +00:00
dswitkin bb763ea960 The final compatibility changes for Barcode Scanner 3.0, which is now finished.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1084 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-23 16:40:54 +00:00
srowen 989d3387f6 Russian translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1083 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-22 23:46:03 +00:00
srowen 0a26db6e5a Tiny clarification to build
git-svn-id: https://zxing.googlecode.com/svn/trunk@1082 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-22 18:55:27 +00:00
dswitkin 7f428a3a9b - 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: https://zxing.googlecode.com/svn/trunk@1081 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-22 14:51:53 +00:00
dswitkin c36697c812 - 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: https://zxing.googlecode.com/svn/trunk@1080 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-20 18:09:40 +00:00
srowen 967afc8e64 Fix scanline stride issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@1079 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-20 17:41:23 +00:00
srowen f4940b5782 Properly drop table on update
git-svn-id: https://zxing.googlecode.com/svn/trunk@1078 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-20 16:57:21 +00:00
srowen 4bd0064326 Fixes to Spanish translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1077 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-19 20:55:08 +00:00
srowen 79f27cde1b Update DB version to ensure older clients update (see Issue 254)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1076 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-19 20:44:45 +00:00
dswitkin 0fd5a2c506 - 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: https://zxing.googlecode.com/svn/trunk@1075 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-19 18:04:57 +00:00
srowen a9788f0419 Oops passing somewhat too large values for width / height -- were being used as right/bottom coordinates.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1074 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-13 17:20:25 +00:00
srowen fbcafd74c8 Issue 249, fix references to methods not in MIDP 2
git-svn-id: https://zxing.googlecode.com/svn/trunk@1073 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-13 17:16:19 +00:00