Commit graph

921 commits

Author SHA1 Message Date
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
srowen 16c8ded299 Issue 246, add Italian translation (and standardize spacing of strings.xml files)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1072 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-13 16:55:16 +00:00
dswitkin 3bf20cf82f Switched back to the one shot preview mechanism and lowered the beep volume a bit.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1071 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-13 14:02:13 +00:00
srowen 54084961c4 Update to work with GWT 1.7
git-svn-id: https://zxing.googlecode.com/svn/trunk@1070 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-09 15:19:43 +00:00
srowen 2f8695435b Update to work with GWT 1.7
git-svn-id: https://zxing.googlecode.com/svn/trunk@1069 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-09 15:12:57 +00:00
srowen 762bb70046 Enhanced book support
git-svn-id: https://zxing.googlecode.com/svn/trunk@1068 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-29 22:33:55 +00:00
srowen 85fc102cb9 Draft Spanish translation -- in review with native speaker
git-svn-id: https://zxing.googlecode.com/svn/trunk@1067 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-29 22:33:30 +00:00
srowen 29b88b66e3 Improved history function
git-svn-id: https://zxing.googlecode.com/svn/trunk@1066 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-29 22:33:03 +00:00
dswitkin 1c4fe60220 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: https://zxing.googlecode.com/svn/trunk@1065 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-28 16:07:20 +00:00
srowen 7d0acf8bd9 Tiny changes to System.err usage, closed a stream, saved a reused Pattern
git-svn-id: https://zxing.googlecode.com/svn/trunk@1064 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-26 13:25:37 +00:00
dswitkin 77a263dd91 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: https://zxing.googlecode.com/svn/trunk@1063 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-25 21:38:26 +00:00
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