rhodes 2.4.1 → 3.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +7 -0
- data/Rakefile +7 -36
- data/doc/build.txt +48 -22
- data/doc/device-caps.txt +130 -1
- data/doc/rhom.txt +9 -3
- data/doc/test-log-debug.txt +5 -2
- data/lib/extensions/barcode/ext/barcode/platform/android/Rakefile +40 -20
- data/lib/extensions/barcode/ext/barcode/platform/android/ZXing_Info/AUTHORS +58 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/ZXing_Info/CHANGES +266 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/ZXing_Info/COPYING +201 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/ZXing_Info/README +11 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/ext_build.files +173 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/jni/src/barcode.cpp +34 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/BarcodeFormat.java +103 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/Binarizer.java +80 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/BinaryBitmap.java +128 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/ChecksumException.java +37 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/DecodeHintType.java +79 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/EncodeHintType.java +39 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/FormatException.java +38 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/LuminanceSource.java +113 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/MultiFormatReader.java +166 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/MultiFormatWriter.java +65 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/NotFoundException.java +37 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/Reader.java +64 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/ReaderException.java +98 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/Result.java +143 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/ResultMetadataType.java +109 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/ResultPoint.java +127 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/ResultPointCallback.java +29 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/Writer.java +54 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/WriterException.java +35 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/AbstractDoCoMoResultParser.java +39 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/AddressBookAUResultParser.java +73 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/AddressBookDoCoMoResultParser.java +85 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/AddressBookParsedResult.java +122 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/BizcardResultParser.java +94 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/BookmarkDoCoMoResultParser.java +46 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/CalendarParsedResult.java +134 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/EmailAddressParsedResult.java +61 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/EmailAddressResultParser.java +64 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/EmailDoCoMoResultParser.java +87 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/ExpandedProductParsedResult.java +195 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/ExpandedProductResultParser.java +199 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/GeoParsedResult.java +132 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/GeoResultParser.java +77 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/ISBNParsedResult.java +39 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/ISBNResultParser.java +54 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/ParsedResult.java +73 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/ParsedResultType.java +53 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/ProductParsedResult.java +49 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/ProductResultParser.java +66 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/ResultParser.java +319 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/SMSMMSResultParser.java +107 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/SMSParsedResult.java +104 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/SMSTOMMSTOResultParser.java +57 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/TelParsedResult.java +54 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/TelResultParser.java +44 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/TextParsedResult.java +48 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/URIParsedResult.java +113 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/URIResultParser.java +87 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/URLTOResultParser.java +47 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/VCardResultParser.java +346 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/VEventResultParser.java +54 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/WifiParsedResult.java +53 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/WifiResultParser.java +50 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/optional/AbstractNDEFResultParser.java +45 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/optional/NDEFRecord.java +87 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/optional/NDEFSmartPosterParsedResult.java +63 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/optional/NDEFSmartPosterResultParser.java +81 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/optional/NDEFTextResultParser.java +57 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/client/result/optional/NDEFURIResultParser.java +95 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/BitArray.java +247 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/BitMatrix.java +226 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/BitSource.java +97 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/CharacterSetECI.java +110 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/Collections.java +53 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/Comparator.java +27 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/DecoderResult.java +63 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/DefaultGridSampler.java +81 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/DetectorResult.java +46 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/ECI.java +52 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/GlobalHistogramBinarizer.java +196 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/GridSampler.java +171 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/HybridBinarizer.java +185 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/PerspectiveTransform.java +148 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/StringUtils.java +191 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/detector/MonochromeRectangleDetector.java +209 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/detector/WhiteRectangleDetector.java +316 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/reedsolomon/GF256.java +139 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/reedsolomon/GF256Poly.java +263 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/reedsolomon/ReedSolomonDecoder.java +194 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/reedsolomon/ReedSolomonEncoder.java +75 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/common/reedsolomon/ReedSolomonException.java +31 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/datamatrix/DataMatrixReader.java +161 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/datamatrix/decoder/BitMatrixParser.java +446 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/datamatrix/decoder/DataBlock.java +118 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/datamatrix/decoder/DecodedBitStreamParser.java +462 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/datamatrix/decoder/Decoder.java +134 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/datamatrix/decoder/Version.java +242 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/datamatrix/detector/Detector.java +348 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/multi/ByQuadrantReader.java +96 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java +156 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/multi/MultipleBarcodeReader.java +37 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/multi/qrcode/QRCodeMultiReader.java +80 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/multi/qrcode/detector/MultiDetector.java +72 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder.java +324 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/CodaBarReader.java +263 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/Code128Reader.java +473 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/Code128Writer.java +73 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/Code39Reader.java +333 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/Code39Writer.java +82 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/Code93Reader.java +273 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/EAN13Reader.java +135 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/EAN13Writer.java +81 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/EAN8Reader.java +72 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/EAN8Writer.java +76 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/EANManufacturerOrgSupport.java +170 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/ITFReader.java +348 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/ITFWriter.java +68 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/MultiFormatOneDReader.java +109 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/MultiFormatUPCEANReader.java +113 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/OneDReader.java +297 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/UPCAReader.java +75 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/UPCEANExtensionSupport.java +186 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/UPCEANReader.java +355 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/UPCEANWriter.java +104 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/UPCEReader.java +153 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/AbstractRSSReader.java +110 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/DataCharacter.java +37 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/FinderPattern.java +48 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/Pair.java +41 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/RSS14Reader.java +494 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/RSSUtils.java +155 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/BitArrayBuilder.java +85 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/ExpandedPair.java +68 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/RSSExpandedReader.java +578 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AI013103decoder.java +47 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AI01320xDecoder.java +55 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AI01392xDecoder.java +66 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AI01393xDecoder.java +76 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder.java +106 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AI013x0xDecoder.java +56 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AI01AndOtherAIs.java +56 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AI01decoder.java +81 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AI01weightDecoder.java +58 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder.java +85 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/AnyAIDecoder.java +48 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/BlockParsedResult.java +60 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/CurrentParsingState.java +69 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/DecodedChar.java +52 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/DecodedInformation.java +63 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/DecodedNumeric.java +79 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/DecodedObject.java +44 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/FieldParser.java +285 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder.java +414 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/pdf417/PDF417Reader.java +79 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/pdf417/decoder/BitMatrixParser.java +1163 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/pdf417/decoder/DecodedBitStreamParser.java +629 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/pdf417/decoder/Decoder.java +150 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/pdf417/detector/Detector.java +498 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/QRCodeReader.java +166 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/QRCodeWriter.java +108 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/decoder/BitMatrixParser.java +203 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/decoder/DataBlock.java +123 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/decoder/DataMask.java +155 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/decoder/DecodedBitStreamParser.java +261 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/decoder/Decoder.java +148 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/decoder/ErrorCorrectionLevel.java +86 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/decoder/FormatInformation.java +171 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/decoder/Mode.java +112 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/decoder/Version.java +586 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/detector/AlignmentPattern.java +48 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/detector/AlignmentPatternFinder.java +279 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/detector/Detector.java +400 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/detector/FinderPattern.java +63 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/detector/FinderPatternFinder.java +585 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/detector/FinderPatternInfo.java +49 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/encoder/BlockPair.java +37 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/encoder/ByteMatrix.java +97 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/encoder/Encoder.java +557 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/encoder/MaskUtil.java +217 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/encoder/MatrixUtil.java +524 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/google/zxing/qrcode/encoder/QRCode.java +239 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/rhomobile/barcode/Barcode.java +63 -0
- data/lib/extensions/barcode/ext/barcode/platform/android/src/com/rhomobile/barcode/RhoLuminanceSource.java +75 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Barcode.xcodeproj/project.pbxproj +74 -318
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Classes/barcode.m +70 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/COPYING +27 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarCaptureReader.h +105 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarHelpController.h +60 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarImage.h +69 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarImageScanner.h +51 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderController.h +142 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderView.h +118 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderViewController.h +100 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarSDK.h +33 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarSymbol.h +71 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar.h +1476 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Decoder.h +201 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Exception.h +187 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Image.h +321 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/ImageScanner.h +130 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Processor.h +223 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Scanner.h +162 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Symbol.h +529 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Video.h +170 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Window.h +136 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/LICENSE +504 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/README +59 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Resources/zbar-back.png +0 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Resources/zbar-help.html +88 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Resources/zbar-helpicons.png +0 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Resources/zbar-samples.png +0 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/libzbar.a +0 -0
- data/lib/extensions/debugger/debugger.rb +215 -67
- data/lib/extensions/nfc/ext/nfc/platform/android/AndroidManifest.xml +1 -1
- data/lib/extensions/nfc/ext/nfc/platform/android/src/com/nfc/Nfc.java +14 -2
- data/lib/extensions/timeout/timeout.rb +114 -0
- data/lib/framework/rho/render.rb +14 -16
- data/lib/framework/rho/rho.rb +38 -14
- data/lib/framework/rho/rhoapplication.rb +1 -1
- data/lib/framework/rho/rhocontroller.rb +3 -3
- data/lib/framework/rho/rhofsconnector.rb +18 -6
- data/lib/framework/rho/rhoviewhelpers.rb +1 -1
- data/lib/framework/rhoappmanifest.rb +44 -0
- data/lib/framework/rhodes.rb +1 -1
- data/lib/framework/rhoframework.rb +31 -11
- data/lib/framework/rholang/localization_simplified.rb +10 -6
- data/lib/framework/rhom/rhom_object_factory.rb +3 -3
- data/lib/framework/version.rb +1 -1
- data/lib/rhodes.rb +1 -1
- data/platform/android/Rhodes/AndroidManifest.xml +2 -2
- data/platform/android/Rhodes/jni/include/rhodes/jni/com_rhomobile_rhodes_RhodesApplication.h +32 -8
- data/platform/android/Rhodes/jni/include/rhodes/jni/com_rhomobile_rhodes_RhodesService.h +21 -21
- data/platform/android/Rhodes/jni/src/rhocryptimpl.cpp +1 -0
- data/platform/android/Rhodes/jni/src/rhodes.cpp +21 -9
- data/platform/android/Rhodes/jni/src/sslimpl.cpp +1 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +7 -6
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/PushReceiver.java +19 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoCryptImpl.java +2 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +24 -15
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesApplication.java +39 -47
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +113 -106
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/alert/Alert.java +11 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/alert/StatusNotification.java +49 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +5 -1
- data/platform/android/build/RhodesSRC_build.files +1 -0
- data/platform/android/build/android.rake +93 -6
- data/platform/bb/RubyVM/src/com/rho/RhodesApp.java +5 -4
- data/platform/bb/RubyVM/src/com/rho/file/RhoFile.java +10 -0
- data/platform/bb/RubyVM/src/com/rho/sync/SyncEngine.java +16 -15
- data/platform/bb/RubyVM/src/com/rho/sync/SyncNotify.java +2 -2
- data/platform/bb/RubyVM/src/com/rho/sync/SyncSource.java +21 -19
- data/platform/bb/rhodes/src/com/rho/BrowserAdapter5.java +2 -2
- data/platform/bb/rhodes/src/com/rho/rubyext/System.java +6 -1
- data/platform/bb/rhodes/src/com/rho/rubyext/WebView.java +10 -3
- data/platform/bb/rhodes/src/rhomobile/RhodesApplication.java +21 -1
- data/platform/iphone/Classes/SimpleMainView.m +5 -5
- data/platform/iphone/Info.plist +1 -1
- data/platform/iphone/rbuild/iphone.rake +30 -1
- data/platform/iphone/rhorunner.xcodeproj/project.pbxproj +12 -0
- data/platform/shared/SyncClient/SyncClient.cpp +136 -20
- data/platform/shared/SyncClient/SyncClient.h +17 -0
- data/platform/shared/common/AppMenu.cpp +6 -1
- data/platform/shared/common/RhoConf.cpp +13 -1
- data/platform/shared/common/RhoConf.h +3 -1
- data/platform/shared/common/RhoDefs.h +10 -0
- data/platform/shared/common/RhoFile.cpp +15 -0
- data/platform/shared/common/RhoFile.h +1 -0
- data/platform/shared/common/RhodesApp.cpp +16 -3
- data/platform/shared/common/RhodesApp.h +1 -0
- data/platform/shared/common/RhodesAppBase.cpp +102 -62
- data/platform/shared/common/RhodesAppBase.h +7 -1
- data/platform/shared/curl/lib/rhossl.c +1 -0
- data/platform/shared/db/DBAdapter.cpp +14 -2
- data/platform/shared/logging/RhoLogConf.cpp +21 -0
- data/platform/shared/logging/RhoLogConf.h +11 -0
- data/platform/shared/logging/RhoLogSink.cpp +24 -0
- data/platform/shared/logging/RhoLogSink.h +20 -1
- data/platform/shared/net/HttpServer.cpp +8 -6
- data/platform/shared/net/RawSocket.cpp +130 -0
- data/platform/shared/net/RawSocket.h +74 -0
- data/platform/shared/ruby/ext/rho/rhoruby.c +37 -1
- data/platform/shared/ruby/ext/rho/rhosupport.c +74 -21
- data/platform/shared/ruby/ext/sqlite3_api/sqlite3_api_wrap.c +9 -1
- data/platform/shared/ruby/vm_eval.c +4 -3
- data/platform/shared/sync/SyncEngine.cpp +11 -12
- data/platform/shared/sync/SyncEngine.h +2 -2
- data/platform/shared/sync/SyncNotify.cpp +41 -13
- data/platform/shared/sync/SyncNotify.h +20 -3
- data/platform/shared/sync/SyncSource.cpp +21 -19
- data/platform/shared/sync/SyncThread.cpp +11 -1
- data/platform/shared/sync/SyncThread.h +3 -0
- data/platform/shared/test/test_helper.cpp +7 -0
- data/platform/win32/RhoSimulator/QtCore4.dll +0 -0
- data/platform/win32/RhoSimulator/QtGui4.dll +0 -0
- data/platform/win32/RhoSimulator/QtNetwork4.dll +0 -0
- data/platform/win32/RhoSimulator/QtWebKit4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qgif4.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qjpeg4.dll +0 -0
- data/platform/win32/RhoSimulator/rhosimulator.exe +0 -0
- data/platform/wm/RhoLib/RhoLib.vcproj +762 -14
- data/platform/wm/build/wm.rake +87 -10
- data/platform/wm/rhodes.sln +155 -72
- data/platform/wm/rhodes/MainWindow.cpp +5 -2
- data/platform/wm/rhodes/MainWindow.h +9 -1
- data/platform/wm/rhodes/RhoNativeViewManager.cpp +4 -0
- data/platform/wm/rhodes/Rhodes.cpp +60 -6
- data/platform/wm/rhodes/emulator/ExternalWebView.cpp +20 -0
- data/platform/wm/rhodes/emulator/ExternalWebView.h +23 -0
- data/platform/wm/rhodes/emulator/ExternalWebView.ui +46 -0
- data/platform/wm/rhodes/emulator/MainWindowCallback.h +18 -0
- data/platform/wm/rhodes/emulator/MainWindowProxy.cpp +268 -0
- data/platform/wm/rhodes/emulator/MainWindowProxy.h +34 -0
- data/platform/wm/rhodes/emulator/MainWindowQt.cpp +345 -0
- data/platform/wm/rhodes/emulator/MainWindowQt.h +118 -0
- data/platform/wm/rhodes/emulator/NativeToolbarQt.cpp +57 -0
- data/platform/wm/rhodes/emulator/NativeToolbarQt.h +52 -0
- data/platform/wm/rhodes/emulator/QtMainWindow.cpp +219 -0
- data/platform/wm/rhodes/emulator/QtMainWindow.h +62 -0
- data/platform/wm/rhodes/emulator/QtMainWindow.ui +122 -0
- data/platform/wm/rhodes/{RhoCryptImpl.cpp → rho/common/RhoCryptImpl.cpp} +0 -0
- data/platform/wm/rhodes/{RhoCryptImpl.h → rho/common/RhoCryptImpl.h} +0 -0
- data/platform/wm/rhodes/rho/rubyext/NativeToolbar.cpp +2 -86
- data/platform/wm/rhodes/rho/rubyext/NativeToolbarExt.cpp +87 -0
- data/platform/wm/rhodes/rho/rubyext/NativeToolbarExt.h +6 -0
- data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +60 -0
- data/platform/wm/rhodes/rhodes.vcproj +4025 -365
- data/platform/wm/rhodes/signature/Signature.cpp +29 -13
- data/platform/wm/rubylib/rubylib.vcproj +1167 -195
- data/platform/wm/shttpd/shttpd.vcproj +4 -4
- data/platform/wm/sqlite3/sqlite3.vcproj +441 -13
- data/platform/wm/syncengine/syncengine.vcproj +443 -15
- data/platform/wm/tcmalloc/tcmalloc.vcproj +0 -154
- data/platform/wm/tools/detool/LogServer.cpp +150 -0
- data/platform/wm/tools/detool/LogServer.h +23 -0
- data/platform/wm/tools/detool/detool.cpp +42 -4
- data/platform/wm/tools/detool/detool.vcproj +10 -1
- data/platform/wp7/IronRuby/Bin/Silverlight3Release/IronRuby.Libraries.dll +0 -0
- data/platform/wp7/IronRuby/Bin/Silverlight3Release/IronRuby.dll +0 -0
- data/platform/wp7/IronRuby/Bin/Silverlight3Release/Microsoft.Dynamic.dll +0 -0
- data/platform/wp7/IronRuby/Bin/Silverlight3Release/Microsoft.Scripting.Core.dll +0 -0
- data/platform/wp7/IronRuby/Bin/Silverlight3Release/Microsoft.Scripting.dll +0 -0
- data/platform/wp7/RhoAppRunner/Program.cs +20 -3
- data/platform/wp7/RhoLogServer/Program.cs +22 -0
- data/platform/wp7/RhoLogServer/Properties/AssemblyInfo.cs +36 -0
- data/platform/wp7/RhoLogServer/RhoLogServer.csproj +65 -0
- data/platform/wp7/RhoLogServer/SocketServer.cs +210 -0
- data/platform/wp7/RhoRubyExtGen/RhoAsyncHttp.cs +6 -0
- data/platform/wp7/RhoRubyLib/Initializers.Generated.cs +3 -2
- data/platform/wp7/RhoRubyLib/RhoRuby.cs +82 -0
- data/platform/wp7/RhoRubyLib/RhoRubyLib.csproj +7 -5
- data/platform/wp7/RhoRubyLib/WP_PlatformAdaptationLayer.cs +1 -1
- data/platform/wp7/RhoRubyLib/common/RhoParams.cs +1 -1
- data/platform/wp7/RhoRubyLib/common/ThreadQueue.cs +4 -1
- data/platform/wp7/RhoRubyLib/db/DBAdapter.cs +2 -2
- data/platform/wp7/RhoRubyLib/logging/IRhoLogSink.cs +1 -1
- data/platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs +30 -0
- data/platform/wp7/RhoRubyLib/logging/RhoLogConf.cs +10 -0
- data/platform/wp7/RhoRubyLib/logging/RhoLogFileSink.cs +6 -1
- data/platform/wp7/RhoRubyLib/logging/RhoLogServerSink.cs +56 -0
- data/platform/wp7/RhoRubyLib/logging/RhoLogger.cs +24 -11
- data/platform/wp7/RhoRubyLib/net/AsyncHttp.cs +57 -14
- data/platform/wp7/RhoRubyLib/net/NetRequest.cs +32 -9
- data/platform/wp7/RhoRubyLib/rubyext/RhoAsyncHttp.cs +7 -0
- data/platform/wp7/RhoRubyLib/rubyext/RhoKernelOps.cs +6 -0
- data/platform/wp7/RhoRubyLib/sync/SyncEngine.cs +20 -16
- data/platform/wp7/RhoRubyLib/sync/SyncNotify.cs +2 -2
- data/platform/wp7/RhoRubyLib/sync/SyncSource.cs +138 -40
- data/platform/wp7/WPApplication/rho/apps/app/layout.erb +3 -1
- data/platform/wp7/build/wp.rake +151 -12
- data/platform/wp7/rhodes.sln +10 -0
- data/platform/wp7/rhodes/App.xaml.cs +6 -0
- data/platform/wp7/rhodes/MainPage.xaml +3 -0
- data/platform/wp7/rhodes/MainPage.xaml.cs +19 -0
- data/platform/wp7/rhodes/Rhodes.csproj +4 -2
- data/rakefile.rb +7 -36
- data/res/build-tools/RhoAppRunner.exe +0 -0
- data/res/build-tools/RhoLogServer.exe +0 -0
- data/res/build-tools/detool.exe +0 -0
- data/res/build-tools/wp7explorer.exe +0 -0
- data/res/generators/templates/application/app/layout.erb +3 -1
- data/res/generators/templates/application/public/jqtouch/jqtouch.js +1 -1
- data/rhodes.gemspec +1 -1
- data/spec/framework_spec/app/layout.erb +1 -1
- data/spec/framework_spec/build.yml +1 -0
- data/spec/perfomance_spec/app/layout.erb +3 -0
- data/spec/phone_spec/app/Account_s/account_s.rb +4 -1
- data/spec/phone_spec/app/spec/rhom_object_spec.rb +30 -1
- data/spec/phone_spec/app/spec_runner.rb +1 -1
- data/spec/phone_spec/build.yml +4 -1
- metadata +262 -10
- data/platform/wp7/IronRuby/Languages/Ruby/Ruby/Builtins/ConsoleStream.cs +0 -107
@@ -0,0 +1,239 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2008 ZXing authors
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
package com.google.zxing.qrcode.encoder;
|
18
|
+
|
19
|
+
import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel;
|
20
|
+
import com.google.zxing.qrcode.decoder.Mode;
|
21
|
+
|
22
|
+
/**
|
23
|
+
* @author satorux@google.com (Satoru Takabayashi) - creator
|
24
|
+
* @author dswitkin@google.com (Daniel Switkin) - ported from C++
|
25
|
+
*/
|
26
|
+
public final class QRCode {
|
27
|
+
|
28
|
+
public static final int NUM_MASK_PATTERNS = 8;
|
29
|
+
|
30
|
+
private Mode mode;
|
31
|
+
private ErrorCorrectionLevel ecLevel;
|
32
|
+
private int version;
|
33
|
+
private int matrixWidth;
|
34
|
+
private int maskPattern;
|
35
|
+
private int numTotalBytes;
|
36
|
+
private int numDataBytes;
|
37
|
+
private int numECBytes;
|
38
|
+
private int numRSBlocks;
|
39
|
+
private ByteMatrix matrix;
|
40
|
+
|
41
|
+
public QRCode() {
|
42
|
+
mode = null;
|
43
|
+
ecLevel = null;
|
44
|
+
version = -1;
|
45
|
+
matrixWidth = -1;
|
46
|
+
maskPattern = -1;
|
47
|
+
numTotalBytes = -1;
|
48
|
+
numDataBytes = -1;
|
49
|
+
numECBytes = -1;
|
50
|
+
numRSBlocks = -1;
|
51
|
+
matrix = null;
|
52
|
+
}
|
53
|
+
|
54
|
+
// Mode of the QR Code.
|
55
|
+
public Mode getMode() {
|
56
|
+
return mode;
|
57
|
+
}
|
58
|
+
|
59
|
+
// Error correction level of the QR Code.
|
60
|
+
public ErrorCorrectionLevel getECLevel() {
|
61
|
+
return ecLevel;
|
62
|
+
}
|
63
|
+
|
64
|
+
// Version of the QR Code. The bigger size, the bigger version.
|
65
|
+
public int getVersion() {
|
66
|
+
return version;
|
67
|
+
}
|
68
|
+
|
69
|
+
// ByteMatrix width of the QR Code.
|
70
|
+
public int getMatrixWidth() {
|
71
|
+
return matrixWidth;
|
72
|
+
}
|
73
|
+
|
74
|
+
// Mask pattern of the QR Code.
|
75
|
+
public int getMaskPattern() {
|
76
|
+
return maskPattern;
|
77
|
+
}
|
78
|
+
|
79
|
+
// Number of total bytes in the QR Code.
|
80
|
+
public int getNumTotalBytes() {
|
81
|
+
return numTotalBytes;
|
82
|
+
}
|
83
|
+
|
84
|
+
// Number of data bytes in the QR Code.
|
85
|
+
public int getNumDataBytes() {
|
86
|
+
return numDataBytes;
|
87
|
+
}
|
88
|
+
|
89
|
+
// Number of error correction bytes in the QR Code.
|
90
|
+
public int getNumECBytes() {
|
91
|
+
return numECBytes;
|
92
|
+
}
|
93
|
+
|
94
|
+
// Number of Reedsolomon blocks in the QR Code.
|
95
|
+
public int getNumRSBlocks() {
|
96
|
+
return numRSBlocks;
|
97
|
+
}
|
98
|
+
|
99
|
+
// ByteMatrix data of the QR Code.
|
100
|
+
public ByteMatrix getMatrix() {
|
101
|
+
return matrix;
|
102
|
+
}
|
103
|
+
|
104
|
+
|
105
|
+
// Return the value of the module (cell) pointed by "x" and "y" in the matrix of the QR Code. They
|
106
|
+
// call cells in the matrix "modules". 1 represents a black cell, and 0 represents a white cell.
|
107
|
+
public int at(int x, int y) {
|
108
|
+
// The value must be zero or one.
|
109
|
+
int value = matrix.get(x, y);
|
110
|
+
if (!(value == 0 || value == 1)) {
|
111
|
+
// this is really like an assert... not sure what better exception to use?
|
112
|
+
throw new RuntimeException("Bad value");
|
113
|
+
}
|
114
|
+
return value;
|
115
|
+
}
|
116
|
+
|
117
|
+
// Checks all the member variables are set properly. Returns true on success. Otherwise, returns
|
118
|
+
// false.
|
119
|
+
public boolean isValid() {
|
120
|
+
return
|
121
|
+
// First check if all version are not uninitialized.
|
122
|
+
mode != null &&
|
123
|
+
ecLevel != null &&
|
124
|
+
version != -1 &&
|
125
|
+
matrixWidth != -1 &&
|
126
|
+
maskPattern != -1 &&
|
127
|
+
numTotalBytes != -1 &&
|
128
|
+
numDataBytes != -1 &&
|
129
|
+
numECBytes != -1 &&
|
130
|
+
numRSBlocks != -1 &&
|
131
|
+
// Then check them in other ways..
|
132
|
+
isValidMaskPattern(maskPattern) &&
|
133
|
+
numTotalBytes == numDataBytes + numECBytes &&
|
134
|
+
// ByteMatrix stuff.
|
135
|
+
matrix != null &&
|
136
|
+
matrixWidth == matrix.getWidth() &&
|
137
|
+
// See 7.3.1 of JISX0510:2004 (p.5).
|
138
|
+
matrix.getWidth() == matrix.getHeight(); // Must be square.
|
139
|
+
}
|
140
|
+
|
141
|
+
// Return debug String.
|
142
|
+
public String toString() {
|
143
|
+
StringBuffer result = new StringBuffer(200);
|
144
|
+
result.append("<<\n");
|
145
|
+
result.append(" mode: ");
|
146
|
+
result.append(mode);
|
147
|
+
result.append("\n ecLevel: ");
|
148
|
+
result.append(ecLevel);
|
149
|
+
result.append("\n version: ");
|
150
|
+
result.append(version);
|
151
|
+
result.append("\n matrixWidth: ");
|
152
|
+
result.append(matrixWidth);
|
153
|
+
result.append("\n maskPattern: ");
|
154
|
+
result.append(maskPattern);
|
155
|
+
result.append("\n numTotalBytes: ");
|
156
|
+
result.append(numTotalBytes);
|
157
|
+
result.append("\n numDataBytes: ");
|
158
|
+
result.append(numDataBytes);
|
159
|
+
result.append("\n numECBytes: ");
|
160
|
+
result.append(numECBytes);
|
161
|
+
result.append("\n numRSBlocks: ");
|
162
|
+
result.append(numRSBlocks);
|
163
|
+
if (matrix == null) {
|
164
|
+
result.append("\n matrix: null\n");
|
165
|
+
} else {
|
166
|
+
result.append("\n matrix:\n");
|
167
|
+
result.append(matrix.toString());
|
168
|
+
}
|
169
|
+
result.append(">>\n");
|
170
|
+
return result.toString();
|
171
|
+
}
|
172
|
+
|
173
|
+
public void setMode(Mode value) {
|
174
|
+
mode = value;
|
175
|
+
}
|
176
|
+
|
177
|
+
public void setECLevel(ErrorCorrectionLevel value) {
|
178
|
+
ecLevel = value;
|
179
|
+
}
|
180
|
+
|
181
|
+
public void setVersion(int value) {
|
182
|
+
version = value;
|
183
|
+
}
|
184
|
+
|
185
|
+
public void setMatrixWidth(int value) {
|
186
|
+
matrixWidth = value;
|
187
|
+
}
|
188
|
+
|
189
|
+
public void setMaskPattern(int value) {
|
190
|
+
maskPattern = value;
|
191
|
+
}
|
192
|
+
|
193
|
+
public void setNumTotalBytes(int value) {
|
194
|
+
numTotalBytes = value;
|
195
|
+
}
|
196
|
+
|
197
|
+
public void setNumDataBytes(int value) {
|
198
|
+
numDataBytes = value;
|
199
|
+
}
|
200
|
+
|
201
|
+
public void setNumECBytes(int value) {
|
202
|
+
numECBytes = value;
|
203
|
+
}
|
204
|
+
|
205
|
+
public void setNumRSBlocks(int value) {
|
206
|
+
numRSBlocks = value;
|
207
|
+
}
|
208
|
+
|
209
|
+
// This takes ownership of the 2D array.
|
210
|
+
public void setMatrix(ByteMatrix value) {
|
211
|
+
matrix = value;
|
212
|
+
}
|
213
|
+
|
214
|
+
// Check if "mask_pattern" is valid.
|
215
|
+
public static boolean isValidMaskPattern(int maskPattern) {
|
216
|
+
return maskPattern >= 0 && maskPattern < NUM_MASK_PATTERNS;
|
217
|
+
}
|
218
|
+
|
219
|
+
// Return true if the all values in the matrix are binary numbers.
|
220
|
+
//
|
221
|
+
// JAVAPORT: This is going to be super expensive and unnecessary, we should not call this in
|
222
|
+
// production. I'm leaving it because it may be useful for testing. It should be removed entirely
|
223
|
+
// if ByteMatrix is changed never to contain a -1.
|
224
|
+
/*
|
225
|
+
private static boolean EverythingIsBinary(final ByteMatrix matrix) {
|
226
|
+
for (int y = 0; y < matrix.height(); ++y) {
|
227
|
+
for (int x = 0; x < matrix.width(); ++x) {
|
228
|
+
int value = matrix.get(y, x);
|
229
|
+
if (!(value == 0 || value == 1)) {
|
230
|
+
// Found non zero/one value.
|
231
|
+
return false;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
}
|
235
|
+
return true;
|
236
|
+
}
|
237
|
+
*/
|
238
|
+
|
239
|
+
}
|
data/lib/extensions/barcode/ext/barcode/platform/android/src/com/rhomobile/barcode/Barcode.java
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
package com.rhomobile.barcode;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
import java.io.InputStream;
|
5
|
+
import java.util.Hashtable;
|
6
|
+
|
7
|
+
import android.graphics.Bitmap;
|
8
|
+
import android.graphics.BitmapFactory;
|
9
|
+
|
10
|
+
import com.google.zxing.BinaryBitmap;
|
11
|
+
import com.google.zxing.DecodeHintType;
|
12
|
+
import com.google.zxing.LuminanceSource;
|
13
|
+
import com.google.zxing.MultiFormatReader;
|
14
|
+
import com.google.zxing.Reader;
|
15
|
+
import com.google.zxing.ReaderException;
|
16
|
+
import com.google.zxing.Result;
|
17
|
+
import com.google.zxing.common.GlobalHistogramBinarizer;
|
18
|
+
import com.rhomobile.rhodes.RhodesActivity;
|
19
|
+
import com.rhomobile.rhodes.RhodesService;
|
20
|
+
import com.rhomobile.rhodes.Utils;
|
21
|
+
import com.rhomobile.rhodes.file.RhoFileApi;
|
22
|
+
|
23
|
+
|
24
|
+
public class Barcode {
|
25
|
+
|
26
|
+
private static final String TAG = "Barcode Recognizer";
|
27
|
+
|
28
|
+
public static String recognize(String filename) {
|
29
|
+
|
30
|
+
InputStream istream = RhoFileApi.open(filename);
|
31
|
+
|
32
|
+
Bitmap image = BitmapFactory.decodeStream(istream);
|
33
|
+
|
34
|
+
RhoFileApi.close(istream);
|
35
|
+
|
36
|
+
if (image != null) {
|
37
|
+
// we have image
|
38
|
+
LuminanceSource source = new RhoLuminanceSource(image);
|
39
|
+
BinaryBitmap bitmap = new BinaryBitmap(new GlobalHistogramBinarizer(source));
|
40
|
+
Result result;
|
41
|
+
try {
|
42
|
+
Reader reader = new MultiFormatReader();
|
43
|
+
Hashtable<DecodeHintType, Object> hints = new Hashtable<DecodeHintType, Object>(1);
|
44
|
+
hints.put(DecodeHintType.TRY_HARDER, Boolean.TRUE);
|
45
|
+
result = reader.decode(bitmap, hints);
|
46
|
+
} catch (ReaderException e) {
|
47
|
+
// image not decoded - not found any barcodes
|
48
|
+
Utils.platformLog(TAG, "Barcode not found in image ["+filename+"] !");
|
49
|
+
return "";
|
50
|
+
}
|
51
|
+
if (result != null) {
|
52
|
+
String resultText = result.getText();
|
53
|
+
// return recognized string !
|
54
|
+
Utils.platformLog(TAG, "Barcode successful recoginzed in image ["+filename+"], Barcode = ["+resultText+"] !");
|
55
|
+
return resultText;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
Utils.platformLog(TAG, "Unrecognized Error during process file ["+filename+"] !");
|
59
|
+
return "";
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
package com.rhomobile.barcode;
|
2
|
+
|
3
|
+
import android.graphics.Bitmap;
|
4
|
+
|
5
|
+
import com.google.zxing.LuminanceSource;
|
6
|
+
|
7
|
+
|
8
|
+
public class RhoLuminanceSource extends LuminanceSource {
|
9
|
+
|
10
|
+
private final Bitmap image;
|
11
|
+
private int[] rgbData;
|
12
|
+
|
13
|
+
public RhoLuminanceSource(Bitmap image) {
|
14
|
+
super(image.getWidth(), image.getHeight());
|
15
|
+
this.image = image;
|
16
|
+
}
|
17
|
+
|
18
|
+
// Instead of multiplying by 306, 601, 117, we multiply by 256, 512, 256, so that
|
19
|
+
// the multiplies can be implemented as shifts.
|
20
|
+
//
|
21
|
+
// Really, it's:
|
22
|
+
//
|
23
|
+
// return ((((pixel >> 16) & 0xFF) << 8) +
|
24
|
+
// (((pixel >> 8) & 0xFF) << 9) +
|
25
|
+
// (( pixel & 0xFF) << 8)) >> 10;
|
26
|
+
//
|
27
|
+
// That is, we're replacing the coefficients in the original with powers of two,
|
28
|
+
// which can be implemented as shifts, even though changing the coefficients slightly
|
29
|
+
// alters the conversion. The difference is not significant for our purposes.
|
30
|
+
public byte[] getRow(int y, byte[] row) {
|
31
|
+
if (y < 0 || y >= getHeight()) {
|
32
|
+
throw new IllegalArgumentException("Requested row is outside the image: " + y);
|
33
|
+
}
|
34
|
+
int width = getWidth();
|
35
|
+
if (row == null || row.length < width) {
|
36
|
+
row = new byte[width];
|
37
|
+
}
|
38
|
+
|
39
|
+
if (rgbData == null || rgbData.length < width) {
|
40
|
+
rgbData = new int[width];
|
41
|
+
}
|
42
|
+
|
43
|
+
image.getPixels(rgbData, 0, width, 0, y, width, 1);
|
44
|
+
for (int x = 0; x < width; x++) {
|
45
|
+
int pixel = rgbData[x];
|
46
|
+
int luminance = (((pixel & 0x00FF0000) >> 16) +
|
47
|
+
((pixel & 0x0000FF00) >> 7) +
|
48
|
+
(pixel & 0x000000FF )) >> 2;
|
49
|
+
row[x] = (byte) luminance;
|
50
|
+
}
|
51
|
+
return row;
|
52
|
+
}
|
53
|
+
|
54
|
+
public byte[] getMatrix() {
|
55
|
+
int width = getWidth();
|
56
|
+
int height = getHeight();
|
57
|
+
int area = width * height;
|
58
|
+
byte[] matrix = new byte[area];
|
59
|
+
|
60
|
+
int[] rgb = new int[area];
|
61
|
+
image.getPixels(rgb, 0, width, 0, 0, width, height);
|
62
|
+
for (int y = 0; y < height; y++) {
|
63
|
+
int offset = y * width;
|
64
|
+
for (int x = 0; x < width; x++) {
|
65
|
+
int pixel = rgb[offset + x];
|
66
|
+
int luminance = (((pixel & 0x00FF0000) >> 16) +
|
67
|
+
((pixel & 0x0000FF00) >> 7) +
|
68
|
+
(pixel & 0x000000FF )) >> 2;
|
69
|
+
matrix[offset + x] = (byte) luminance;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
return matrix;
|
73
|
+
}
|
74
|
+
|
75
|
+
}
|
@@ -8,137 +8,40 @@
|
|
8
8
|
|
9
9
|
/* Begin PBXBuildFile section */
|
10
10
|
AA747D9F0F9514B9006C5449 /* Barcode_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = AA747D9E0F9514B9006C5449 /* Barcode_Prefix.pch */; };
|
11
|
-
|
11
|
+
FA4D3F0C136AF9BD009D6E63 /* libzbar.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4D3F0B136AF9BD009D6E63 /* libzbar.a */; };
|
12
|
+
FA4D3F0F136AFA94009D6E63 /* barcode.m in Sources */ = {isa = PBXBuildFile; fileRef = FA4D3F0E136AFA94009D6E63 /* barcode.m */; };
|
13
|
+
FA4D3F44136B0789009D6E63 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4D3F43136B0789009D6E63 /* Foundation.framework */; };
|
14
|
+
FA4D3F46136B0793009D6E63 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4D3F45136B0793009D6E63 /* CoreGraphics.framework */; };
|
15
|
+
FA4D3F48136B079C009D6E63 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4D3F47136B079C009D6E63 /* UIKit.framework */; };
|
16
|
+
FA4D3F4A136B07A6009D6E63 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4D3F49136B07A6009D6E63 /* QuartzCore.framework */; };
|
17
|
+
FA4D3F4C136B07AB009D6E63 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4D3F4B136B07AB009D6E63 /* AVFoundation.framework */; };
|
18
|
+
FA4D3F4E136B07B2009D6E63 /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4D3F4D136B07B2009D6E63 /* CoreMedia.framework */; };
|
19
|
+
FA4D3F50136B07BB009D6E63 /* CoreVideo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4D3F4F136B07BB009D6E63 /* CoreVideo.framework */; };
|
20
|
+
FA4D3F52136B07CA009D6E63 /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4D3F51136B07CA009D6E63 /* libiconv.dylib */; };
|
12
21
|
FAAE06AD11EF4F02001787D8 /* ImageProvider.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06AA11EF4F02001787D8 /* ImageProvider.cpp */; };
|
13
22
|
FAAE06AE11EF4F02001787D8 /* ImageProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06AB11EF4F02001787D8 /* ImageProvider.h */; };
|
14
23
|
FAAE06AF11EF4F02001787D8 /* ImageProvider.mm in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06AC11EF4F02001787D8 /* ImageProvider.mm */; };
|
15
24
|
FAAE072811EF4F22001787D8 /* barcode_wrap.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06B411EF4F22001787D8 /* barcode_wrap.c */; };
|
16
|
-
FAAE072911EF4F22001787D8 /* rho_imageprovider.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06B611EF4F22001787D8 /* rho_imageprovider.h */; };
|
17
|
-
FAAE072A11EF4F22001787D8 /* zbar.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06B711EF4F22001787D8 /* zbar.c */; };
|
18
|
-
FAAE072B11EF4F22001787D8 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06B911EF4F22001787D8 /* config.h */; };
|
19
|
-
FAAE072C11EF4F22001787D8 /* inttypes.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06BA11EF4F22001787D8 /* inttypes.h */; };
|
20
|
-
FAAE072D11EF4F22001787D8 /* rho_bridge.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06BB11EF4F22001787D8 /* rho_bridge.c */; };
|
21
|
-
FAAE072E11EF4F22001787D8 /* Decoder.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06C011EF4F22001787D8 /* Decoder.h */; };
|
22
|
-
FAAE072F11EF4F22001787D8 /* Exception.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06C111EF4F22001787D8 /* Exception.h */; };
|
23
|
-
FAAE073011EF4F22001787D8 /* Image.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06C211EF4F22001787D8 /* Image.h */; };
|
24
|
-
FAAE073111EF4F22001787D8 /* ImageScanner.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06C311EF4F22001787D8 /* ImageScanner.h */; };
|
25
|
-
FAAE073211EF4F22001787D8 /* Processor.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06C411EF4F22001787D8 /* Processor.h */; };
|
26
|
-
FAAE073311EF4F22001787D8 /* QZBar.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06C511EF4F22001787D8 /* QZBar.h */; };
|
27
|
-
FAAE073411EF4F22001787D8 /* QZBarImage.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06C611EF4F22001787D8 /* QZBarImage.h */; };
|
28
|
-
FAAE073511EF4F22001787D8 /* Scanner.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06C711EF4F22001787D8 /* Scanner.h */; };
|
29
|
-
FAAE073611EF4F22001787D8 /* Symbol.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06C811EF4F22001787D8 /* Symbol.h */; };
|
30
|
-
FAAE073711EF4F22001787D8 /* Video.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06C911EF4F22001787D8 /* Video.h */; };
|
31
|
-
FAAE073811EF4F22001787D8 /* Window.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06CA11EF4F22001787D8 /* Window.h */; };
|
32
|
-
FAAE073911EF4F22001787D8 /* ZBarCaptureReader.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06CB11EF4F22001787D8 /* ZBarCaptureReader.h */; };
|
33
|
-
FAAE073A11EF4F22001787D8 /* zbargtk.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06CC11EF4F22001787D8 /* zbargtk.h */; };
|
34
|
-
FAAE073B11EF4F22001787D8 /* ZBarImage.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06CD11EF4F22001787D8 /* ZBarImage.h */; };
|
35
|
-
FAAE073C11EF4F22001787D8 /* ZBarImageScanner.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06CE11EF4F22001787D8 /* ZBarImageScanner.h */; };
|
36
|
-
FAAE073D11EF4F22001787D8 /* ZBarReaderController.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06CF11EF4F22001787D8 /* ZBarReaderController.h */; };
|
37
|
-
FAAE073E11EF4F22001787D8 /* ZBarReaderView.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06D011EF4F22001787D8 /* ZBarReaderView.h */; };
|
38
|
-
FAAE073F11EF4F22001787D8 /* ZBarReaderViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06D111EF4F22001787D8 /* ZBarReaderViewController.h */; };
|
39
|
-
FAAE074011EF4F22001787D8 /* ZBarSymbol.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06D211EF4F22001787D8 /* ZBarSymbol.h */; };
|
40
|
-
FAAE074111EF4F22001787D8 /* zbar.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06D311EF4F22001787D8 /* zbar.h */; };
|
41
|
-
FAAE074211EF4F22001787D8 /* config.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06D611EF4F22001787D8 /* config.c */; };
|
42
|
-
FAAE074311EF4F22001787D8 /* convert.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06D711EF4F22001787D8 /* convert.c */; };
|
43
|
-
FAAE074411EF4F22001787D8 /* debug.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06D811EF4F22001787D8 /* debug.h */; };
|
44
|
-
FAAE074511EF4F22001787D8 /* code128.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06DA11EF4F22001787D8 /* code128.c */; };
|
45
|
-
FAAE074611EF4F22001787D8 /* code128.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06DB11EF4F22001787D8 /* code128.h */; };
|
46
|
-
FAAE074711EF4F22001787D8 /* code39.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06DC11EF4F22001787D8 /* code39.c */; };
|
47
|
-
FAAE074811EF4F22001787D8 /* code39.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06DD11EF4F22001787D8 /* code39.h */; };
|
48
|
-
FAAE074911EF4F22001787D8 /* ean.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06DE11EF4F22001787D8 /* ean.c */; };
|
49
|
-
FAAE074A11EF4F22001787D8 /* ean.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06DF11EF4F22001787D8 /* ean.h */; };
|
50
|
-
FAAE074B11EF4F22001787D8 /* i25.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06E011EF4F22001787D8 /* i25.c */; };
|
51
|
-
FAAE074C11EF4F22001787D8 /* i25.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06E111EF4F22001787D8 /* i25.h */; };
|
52
|
-
FAAE075211EF4F22001787D8 /* decoder.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06E711EF4F22001787D8 /* decoder.c */; };
|
53
|
-
FAAE075311EF4F22001787D8 /* decoder.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06E811EF4F22001787D8 /* decoder.h */; };
|
54
|
-
FAAE075411EF4F22001787D8 /* error.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06E911EF4F22001787D8 /* error.c */; };
|
55
|
-
FAAE075511EF4F22001787D8 /* error.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06EA11EF4F22001787D8 /* error.h */; };
|
56
|
-
FAAE075611EF4F22001787D8 /* event.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06EB11EF4F22001787D8 /* event.h */; };
|
57
|
-
FAAE075711EF4F22001787D8 /* image.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06EC11EF4F22001787D8 /* image.c */; };
|
58
|
-
FAAE075811EF4F22001787D8 /* image.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06ED11EF4F22001787D8 /* image.h */; };
|
59
|
-
FAAE075911EF4F22001787D8 /* img_scanner.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06EE11EF4F22001787D8 /* img_scanner.c */; };
|
60
|
-
FAAE075A11EF4F22001787D8 /* img_scanner.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06EF11EF4F22001787D8 /* img_scanner.h */; };
|
61
|
-
FAAE075C11EF4F22001787D8 /* mutex.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06F111EF4F22001787D8 /* mutex.h */; };
|
62
|
-
FAAE075E11EF4F22001787D8 /* null.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE06F411EF4F22001787D8 /* null.c */; };
|
63
|
-
FAAE076411EF4F22001787D8 /* processor.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE06FA11EF4F22001787D8 /* processor.h */; };
|
64
|
-
FAAE077311EF4F22001787D8 /* refcnt.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE070A11EF4F22001787D8 /* refcnt.c */; };
|
65
|
-
FAAE077411EF4F22001787D8 /* refcnt.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE070B11EF4F22001787D8 /* refcnt.h */; };
|
66
|
-
FAAE077511EF4F22001787D8 /* scanner.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE070C11EF4F22001787D8 /* scanner.c */; };
|
67
|
-
FAAE077811EF4F22001787D8 /* symbol.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE070F11EF4F22001787D8 /* symbol.c */; };
|
68
|
-
FAAE077911EF4F22001787D8 /* symbol.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE071011EF4F22001787D8 /* symbol.h */; };
|
69
|
-
FAAE077A11EF4F22001787D8 /* thread.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE071111EF4F22001787D8 /* thread.h */; };
|
70
|
-
FAAE077B11EF4F22001787D8 /* timer.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE071211EF4F22001787D8 /* timer.h */; };
|
71
|
-
FAAE077C11EF4F22001787D8 /* unistd.h in Headers */ = {isa = PBXBuildFile; fileRef = FAAE071311EF4F22001787D8 /* unistd.h */; };
|
72
|
-
FAAE077D11EF4F22001787D8 /* null.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE071511EF4F22001787D8 /* null.c */; };
|
73
|
-
FAAE078411EF4F22001787D8 /* null.c in Sources */ = {isa = PBXBuildFile; fileRef = FAAE071D11EF4F22001787D8 /* null.c */; };
|
74
25
|
/* End PBXBuildFile section */
|
75
26
|
|
76
27
|
/* Begin PBXFileReference section */
|
77
28
|
AA747D9E0F9514B9006C5449 /* Barcode_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Barcode_Prefix.pch; sourceTree = SOURCE_ROOT; };
|
78
|
-
AACBBE490F95108600F1A2B1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
79
29
|
D2AAC07E0554694100DB518D /* libBarcode.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libBarcode.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
30
|
+
FA4D3F0B136AF9BD009D6E63 /* libzbar.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libzbar.a; path = ZBarSDK/libzbar.a; sourceTree = "<group>"; };
|
31
|
+
FA4D3F0E136AFA94009D6E63 /* barcode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = barcode.m; path = Classes/barcode.m; sourceTree = "<group>"; };
|
32
|
+
FA4D3F23136B05E8009D6E63 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
|
33
|
+
FA4D3F43136B0789009D6E63 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
34
|
+
FA4D3F45136B0793009D6E63 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
35
|
+
FA4D3F47136B079C009D6E63 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
36
|
+
FA4D3F49136B07A6009D6E63 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
|
37
|
+
FA4D3F4B136B07AB009D6E63 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
|
38
|
+
FA4D3F4D136B07B2009D6E63 /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; };
|
39
|
+
FA4D3F4F136B07BB009D6E63 /* CoreVideo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreVideo.framework; path = System/Library/Frameworks/CoreVideo.framework; sourceTree = SDKROOT; };
|
40
|
+
FA4D3F51136B07CA009D6E63 /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = usr/lib/libiconv.dylib; sourceTree = SDKROOT; };
|
80
41
|
FAAE06AA11EF4F02001787D8 /* ImageProvider.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ImageProvider.cpp; path = Classes/ImageProvider.cpp; sourceTree = "<group>"; };
|
81
42
|
FAAE06AB11EF4F02001787D8 /* ImageProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ImageProvider.h; path = Classes/ImageProvider.h; sourceTree = "<group>"; };
|
82
43
|
FAAE06AC11EF4F02001787D8 /* ImageProvider.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = ImageProvider.mm; path = Classes/ImageProvider.mm; sourceTree = "<group>"; };
|
83
44
|
FAAE06B411EF4F22001787D8 /* barcode_wrap.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = barcode_wrap.c; sourceTree = "<group>"; };
|
84
|
-
FAAE06B611EF4F22001787D8 /* rho_imageprovider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = rho_imageprovider.h; sourceTree = "<group>"; };
|
85
|
-
FAAE06B711EF4F22001787D8 /* zbar.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zbar.c; sourceTree = "<group>"; };
|
86
|
-
FAAE06B911EF4F22001787D8 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; };
|
87
|
-
FAAE06BA11EF4F22001787D8 /* inttypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = inttypes.h; sourceTree = "<group>"; };
|
88
|
-
FAAE06BB11EF4F22001787D8 /* rho_bridge.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = rho_bridge.c; sourceTree = "<group>"; };
|
89
|
-
FAAE06C011EF4F22001787D8 /* Decoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Decoder.h; sourceTree = "<group>"; };
|
90
|
-
FAAE06C111EF4F22001787D8 /* Exception.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Exception.h; sourceTree = "<group>"; };
|
91
|
-
FAAE06C211EF4F22001787D8 /* Image.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Image.h; sourceTree = "<group>"; };
|
92
|
-
FAAE06C311EF4F22001787D8 /* ImageScanner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ImageScanner.h; sourceTree = "<group>"; };
|
93
|
-
FAAE06C411EF4F22001787D8 /* Processor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Processor.h; sourceTree = "<group>"; };
|
94
|
-
FAAE06C511EF4F22001787D8 /* QZBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QZBar.h; sourceTree = "<group>"; };
|
95
|
-
FAAE06C611EF4F22001787D8 /* QZBarImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QZBarImage.h; sourceTree = "<group>"; };
|
96
|
-
FAAE06C711EF4F22001787D8 /* Scanner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Scanner.h; sourceTree = "<group>"; };
|
97
|
-
FAAE06C811EF4F22001787D8 /* Symbol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Symbol.h; sourceTree = "<group>"; };
|
98
|
-
FAAE06C911EF4F22001787D8 /* Video.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Video.h; sourceTree = "<group>"; };
|
99
|
-
FAAE06CA11EF4F22001787D8 /* Window.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Window.h; sourceTree = "<group>"; };
|
100
|
-
FAAE06CB11EF4F22001787D8 /* ZBarCaptureReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZBarCaptureReader.h; sourceTree = "<group>"; };
|
101
|
-
FAAE06CC11EF4F22001787D8 /* zbargtk.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zbargtk.h; sourceTree = "<group>"; };
|
102
|
-
FAAE06CD11EF4F22001787D8 /* ZBarImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZBarImage.h; sourceTree = "<group>"; };
|
103
|
-
FAAE06CE11EF4F22001787D8 /* ZBarImageScanner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZBarImageScanner.h; sourceTree = "<group>"; };
|
104
|
-
FAAE06CF11EF4F22001787D8 /* ZBarReaderController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZBarReaderController.h; sourceTree = "<group>"; };
|
105
|
-
FAAE06D011EF4F22001787D8 /* ZBarReaderView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZBarReaderView.h; sourceTree = "<group>"; };
|
106
|
-
FAAE06D111EF4F22001787D8 /* ZBarReaderViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZBarReaderViewController.h; sourceTree = "<group>"; };
|
107
|
-
FAAE06D211EF4F22001787D8 /* ZBarSymbol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZBarSymbol.h; sourceTree = "<group>"; };
|
108
|
-
FAAE06D311EF4F22001787D8 /* zbar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zbar.h; sourceTree = "<group>"; };
|
109
|
-
FAAE06D611EF4F22001787D8 /* config.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = config.c; sourceTree = "<group>"; };
|
110
|
-
FAAE06D711EF4F22001787D8 /* convert.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = convert.c; sourceTree = "<group>"; };
|
111
|
-
FAAE06D811EF4F22001787D8 /* debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = debug.h; sourceTree = "<group>"; };
|
112
|
-
FAAE06DA11EF4F22001787D8 /* code128.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = code128.c; sourceTree = "<group>"; };
|
113
|
-
FAAE06DB11EF4F22001787D8 /* code128.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = code128.h; sourceTree = "<group>"; };
|
114
|
-
FAAE06DC11EF4F22001787D8 /* code39.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = code39.c; sourceTree = "<group>"; };
|
115
|
-
FAAE06DD11EF4F22001787D8 /* code39.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = code39.h; sourceTree = "<group>"; };
|
116
|
-
FAAE06DE11EF4F22001787D8 /* ean.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ean.c; sourceTree = "<group>"; };
|
117
|
-
FAAE06DF11EF4F22001787D8 /* ean.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ean.h; sourceTree = "<group>"; };
|
118
|
-
FAAE06E011EF4F22001787D8 /* i25.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = i25.c; sourceTree = "<group>"; };
|
119
|
-
FAAE06E111EF4F22001787D8 /* i25.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = i25.h; sourceTree = "<group>"; };
|
120
|
-
FAAE06E711EF4F22001787D8 /* decoder.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = decoder.c; sourceTree = "<group>"; };
|
121
|
-
FAAE06E811EF4F22001787D8 /* decoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = decoder.h; sourceTree = "<group>"; };
|
122
|
-
FAAE06E911EF4F22001787D8 /* error.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = error.c; sourceTree = "<group>"; };
|
123
|
-
FAAE06EA11EF4F22001787D8 /* error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = error.h; sourceTree = "<group>"; };
|
124
|
-
FAAE06EB11EF4F22001787D8 /* event.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = event.h; sourceTree = "<group>"; };
|
125
|
-
FAAE06EC11EF4F22001787D8 /* image.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = image.c; sourceTree = "<group>"; };
|
126
|
-
FAAE06ED11EF4F22001787D8 /* image.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = image.h; sourceTree = "<group>"; };
|
127
|
-
FAAE06EE11EF4F22001787D8 /* img_scanner.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = img_scanner.c; sourceTree = "<group>"; };
|
128
|
-
FAAE06EF11EF4F22001787D8 /* img_scanner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = img_scanner.h; sourceTree = "<group>"; };
|
129
|
-
FAAE06F111EF4F22001787D8 /* mutex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mutex.h; sourceTree = "<group>"; };
|
130
|
-
FAAE06F411EF4F22001787D8 /* null.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = null.c; sourceTree = "<group>"; };
|
131
|
-
FAAE06FA11EF4F22001787D8 /* processor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = processor.h; sourceTree = "<group>"; };
|
132
|
-
FAAE070A11EF4F22001787D8 /* refcnt.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = refcnt.c; sourceTree = "<group>"; };
|
133
|
-
FAAE070B11EF4F22001787D8 /* refcnt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = refcnt.h; sourceTree = "<group>"; };
|
134
|
-
FAAE070C11EF4F22001787D8 /* scanner.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = scanner.c; sourceTree = "<group>"; };
|
135
|
-
FAAE070F11EF4F22001787D8 /* symbol.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = symbol.c; sourceTree = "<group>"; };
|
136
|
-
FAAE071011EF4F22001787D8 /* symbol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = symbol.h; sourceTree = "<group>"; };
|
137
|
-
FAAE071111EF4F22001787D8 /* thread.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = thread.h; sourceTree = "<group>"; };
|
138
|
-
FAAE071211EF4F22001787D8 /* timer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = timer.h; sourceTree = "<group>"; };
|
139
|
-
FAAE071311EF4F22001787D8 /* unistd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = unistd.h; sourceTree = "<group>"; };
|
140
|
-
FAAE071511EF4F22001787D8 /* null.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = null.c; sourceTree = "<group>"; };
|
141
|
-
FAAE071D11EF4F22001787D8 /* null.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = null.c; sourceTree = "<group>"; };
|
142
45
|
/* End PBXFileReference section */
|
143
46
|
|
144
47
|
/* Begin PBXFrameworksBuildPhase section */
|
@@ -146,7 +49,15 @@
|
|
146
49
|
isa = PBXFrameworksBuildPhase;
|
147
50
|
buildActionMask = 2147483647;
|
148
51
|
files = (
|
149
|
-
|
52
|
+
FA4D3F52136B07CA009D6E63 /* libiconv.dylib in Frameworks */,
|
53
|
+
FA4D3F50136B07BB009D6E63 /* CoreVideo.framework in Frameworks */,
|
54
|
+
FA4D3F4E136B07B2009D6E63 /* CoreMedia.framework in Frameworks */,
|
55
|
+
FA4D3F4C136B07AB009D6E63 /* AVFoundation.framework in Frameworks */,
|
56
|
+
FA4D3F4A136B07A6009D6E63 /* QuartzCore.framework in Frameworks */,
|
57
|
+
FA4D3F48136B079C009D6E63 /* UIKit.framework in Frameworks */,
|
58
|
+
FA4D3F46136B0793009D6E63 /* CoreGraphics.framework in Frameworks */,
|
59
|
+
FA4D3F44136B0789009D6E63 /* Foundation.framework in Frameworks */,
|
60
|
+
FA4D3F0C136AF9BD009D6E63 /* libzbar.a in Frameworks */,
|
150
61
|
);
|
151
62
|
runOnlyForDeploymentPostprocessing = 0;
|
152
63
|
};
|
@@ -164,6 +75,16 @@
|
|
164
75
|
0867D691FE84028FC02AAC07 /* Barcode */ = {
|
165
76
|
isa = PBXGroup;
|
166
77
|
children = (
|
78
|
+
FA4D3F51136B07CA009D6E63 /* libiconv.dylib */,
|
79
|
+
FA4D3F4F136B07BB009D6E63 /* CoreVideo.framework */,
|
80
|
+
FA4D3F4D136B07B2009D6E63 /* CoreMedia.framework */,
|
81
|
+
FA4D3F4B136B07AB009D6E63 /* AVFoundation.framework */,
|
82
|
+
FA4D3F49136B07A6009D6E63 /* QuartzCore.framework */,
|
83
|
+
FA4D3F47136B079C009D6E63 /* UIKit.framework */,
|
84
|
+
FA4D3F45136B0793009D6E63 /* CoreGraphics.framework */,
|
85
|
+
FA4D3F43136B0789009D6E63 /* Foundation.framework */,
|
86
|
+
FA4D3F23136B05E8009D6E63 /* QuartzCore.framework */,
|
87
|
+
FA4D3F0B136AF9BD009D6E63 /* libzbar.a */,
|
167
88
|
FAAE06B011EF4F09001787D8 /* ZBar */,
|
168
89
|
08FB77AEFE84172EC02AAC07 /* Classes */,
|
169
90
|
32C88DFF0371C24200C91783 /* Other Sources */,
|
@@ -176,7 +97,6 @@
|
|
176
97
|
0867D69AFE84028FC02AAC07 /* Frameworks */ = {
|
177
98
|
isa = PBXGroup;
|
178
99
|
children = (
|
179
|
-
AACBBE490F95108600F1A2B1 /* Foundation.framework */,
|
180
100
|
);
|
181
101
|
name = Frameworks;
|
182
102
|
sourceTree = "<group>";
|
@@ -184,6 +104,7 @@
|
|
184
104
|
08FB77AEFE84172EC02AAC07 /* Classes */ = {
|
185
105
|
isa = PBXGroup;
|
186
106
|
children = (
|
107
|
+
FA4D3F0E136AFA94009D6E63 /* barcode.m */,
|
187
108
|
FAAE06AA11EF4F02001787D8 /* ImageProvider.cpp */,
|
188
109
|
FAAE06AB11EF4F02001787D8 /* ImageProvider.h */,
|
189
110
|
FAAE06AC11EF4F02001787D8 /* ImageProvider.mm */,
|
@@ -211,8 +132,6 @@
|
|
211
132
|
isa = PBXGroup;
|
212
133
|
children = (
|
213
134
|
FAAE06B211EF4F22001787D8 /* ruby */,
|
214
|
-
FAAE06B511EF4F22001787D8 /* src */,
|
215
|
-
FAAE06B811EF4F22001787D8 /* zbar */,
|
216
135
|
);
|
217
136
|
name = shared;
|
218
137
|
path = ../../shared;
|
@@ -226,142 +145,6 @@
|
|
226
145
|
path = ruby;
|
227
146
|
sourceTree = "<group>";
|
228
147
|
};
|
229
|
-
FAAE06B511EF4F22001787D8 /* src */ = {
|
230
|
-
isa = PBXGroup;
|
231
|
-
children = (
|
232
|
-
FAAE06B611EF4F22001787D8 /* rho_imageprovider.h */,
|
233
|
-
FAAE06B711EF4F22001787D8 /* zbar.c */,
|
234
|
-
);
|
235
|
-
path = src;
|
236
|
-
sourceTree = "<group>";
|
237
|
-
};
|
238
|
-
FAAE06B811EF4F22001787D8 /* zbar */ = {
|
239
|
-
isa = PBXGroup;
|
240
|
-
children = (
|
241
|
-
FAAE06B911EF4F22001787D8 /* config.h */,
|
242
|
-
FAAE06BA11EF4F22001787D8 /* inttypes.h */,
|
243
|
-
FAAE06BB11EF4F22001787D8 /* rho_bridge.c */,
|
244
|
-
FAAE06BC11EF4F22001787D8 /* zbar */,
|
245
|
-
);
|
246
|
-
path = zbar;
|
247
|
-
sourceTree = "<group>";
|
248
|
-
};
|
249
|
-
FAAE06BC11EF4F22001787D8 /* zbar */ = {
|
250
|
-
isa = PBXGroup;
|
251
|
-
children = (
|
252
|
-
FAAE06BE11EF4F22001787D8 /* include */,
|
253
|
-
FAAE06D511EF4F22001787D8 /* zbar */,
|
254
|
-
);
|
255
|
-
path = zbar;
|
256
|
-
sourceTree = "<group>";
|
257
|
-
};
|
258
|
-
FAAE06BE11EF4F22001787D8 /* include */ = {
|
259
|
-
isa = PBXGroup;
|
260
|
-
children = (
|
261
|
-
FAAE06BF11EF4F22001787D8 /* zbar */,
|
262
|
-
FAAE06D311EF4F22001787D8 /* zbar.h */,
|
263
|
-
);
|
264
|
-
path = include;
|
265
|
-
sourceTree = "<group>";
|
266
|
-
};
|
267
|
-
FAAE06BF11EF4F22001787D8 /* zbar */ = {
|
268
|
-
isa = PBXGroup;
|
269
|
-
children = (
|
270
|
-
FAAE06C011EF4F22001787D8 /* Decoder.h */,
|
271
|
-
FAAE06C111EF4F22001787D8 /* Exception.h */,
|
272
|
-
FAAE06C211EF4F22001787D8 /* Image.h */,
|
273
|
-
FAAE06C311EF4F22001787D8 /* ImageScanner.h */,
|
274
|
-
FAAE06C411EF4F22001787D8 /* Processor.h */,
|
275
|
-
FAAE06C511EF4F22001787D8 /* QZBar.h */,
|
276
|
-
FAAE06C611EF4F22001787D8 /* QZBarImage.h */,
|
277
|
-
FAAE06C711EF4F22001787D8 /* Scanner.h */,
|
278
|
-
FAAE06C811EF4F22001787D8 /* Symbol.h */,
|
279
|
-
FAAE06C911EF4F22001787D8 /* Video.h */,
|
280
|
-
FAAE06CA11EF4F22001787D8 /* Window.h */,
|
281
|
-
FAAE06CB11EF4F22001787D8 /* ZBarCaptureReader.h */,
|
282
|
-
FAAE06CC11EF4F22001787D8 /* zbargtk.h */,
|
283
|
-
FAAE06CD11EF4F22001787D8 /* ZBarImage.h */,
|
284
|
-
FAAE06CE11EF4F22001787D8 /* ZBarImageScanner.h */,
|
285
|
-
FAAE06CF11EF4F22001787D8 /* ZBarReaderController.h */,
|
286
|
-
FAAE06D011EF4F22001787D8 /* ZBarReaderView.h */,
|
287
|
-
FAAE06D111EF4F22001787D8 /* ZBarReaderViewController.h */,
|
288
|
-
FAAE06D211EF4F22001787D8 /* ZBarSymbol.h */,
|
289
|
-
);
|
290
|
-
path = zbar;
|
291
|
-
sourceTree = "<group>";
|
292
|
-
};
|
293
|
-
FAAE06D511EF4F22001787D8 /* zbar */ = {
|
294
|
-
isa = PBXGroup;
|
295
|
-
children = (
|
296
|
-
FAAE06D611EF4F22001787D8 /* config.c */,
|
297
|
-
FAAE06D711EF4F22001787D8 /* convert.c */,
|
298
|
-
FAAE06D811EF4F22001787D8 /* debug.h */,
|
299
|
-
FAAE06D911EF4F22001787D8 /* decoder */,
|
300
|
-
FAAE06E711EF4F22001787D8 /* decoder.c */,
|
301
|
-
FAAE06E811EF4F22001787D8 /* decoder.h */,
|
302
|
-
FAAE06E911EF4F22001787D8 /* error.c */,
|
303
|
-
FAAE06EA11EF4F22001787D8 /* error.h */,
|
304
|
-
FAAE06EB11EF4F22001787D8 /* event.h */,
|
305
|
-
FAAE06EC11EF4F22001787D8 /* image.c */,
|
306
|
-
FAAE06ED11EF4F22001787D8 /* image.h */,
|
307
|
-
FAAE06EE11EF4F22001787D8 /* img_scanner.c */,
|
308
|
-
FAAE06EF11EF4F22001787D8 /* img_scanner.h */,
|
309
|
-
FAAE06F111EF4F22001787D8 /* mutex.h */,
|
310
|
-
FAAE06F211EF4F22001787D8 /* processor */,
|
311
|
-
FAAE06FA11EF4F22001787D8 /* processor.h */,
|
312
|
-
FAAE070A11EF4F22001787D8 /* refcnt.c */,
|
313
|
-
FAAE070B11EF4F22001787D8 /* refcnt.h */,
|
314
|
-
FAAE070C11EF4F22001787D8 /* scanner.c */,
|
315
|
-
FAAE070F11EF4F22001787D8 /* symbol.c */,
|
316
|
-
FAAE071011EF4F22001787D8 /* symbol.h */,
|
317
|
-
FAAE071111EF4F22001787D8 /* thread.h */,
|
318
|
-
FAAE071211EF4F22001787D8 /* timer.h */,
|
319
|
-
FAAE071311EF4F22001787D8 /* unistd.h */,
|
320
|
-
FAAE071411EF4F22001787D8 /* video */,
|
321
|
-
FAAE071B11EF4F22001787D8 /* window */,
|
322
|
-
);
|
323
|
-
path = zbar;
|
324
|
-
sourceTree = "<group>";
|
325
|
-
};
|
326
|
-
FAAE06D911EF4F22001787D8 /* decoder */ = {
|
327
|
-
isa = PBXGroup;
|
328
|
-
children = (
|
329
|
-
FAAE06DA11EF4F22001787D8 /* code128.c */,
|
330
|
-
FAAE06DB11EF4F22001787D8 /* code128.h */,
|
331
|
-
FAAE06DC11EF4F22001787D8 /* code39.c */,
|
332
|
-
FAAE06DD11EF4F22001787D8 /* code39.h */,
|
333
|
-
FAAE06DE11EF4F22001787D8 /* ean.c */,
|
334
|
-
FAAE06DF11EF4F22001787D8 /* ean.h */,
|
335
|
-
FAAE06E011EF4F22001787D8 /* i25.c */,
|
336
|
-
FAAE06E111EF4F22001787D8 /* i25.h */,
|
337
|
-
);
|
338
|
-
path = decoder;
|
339
|
-
sourceTree = "<group>";
|
340
|
-
};
|
341
|
-
FAAE06F211EF4F22001787D8 /* processor */ = {
|
342
|
-
isa = PBXGroup;
|
343
|
-
children = (
|
344
|
-
FAAE06F411EF4F22001787D8 /* null.c */,
|
345
|
-
);
|
346
|
-
path = processor;
|
347
|
-
sourceTree = "<group>";
|
348
|
-
};
|
349
|
-
FAAE071411EF4F22001787D8 /* video */ = {
|
350
|
-
isa = PBXGroup;
|
351
|
-
children = (
|
352
|
-
FAAE071511EF4F22001787D8 /* null.c */,
|
353
|
-
);
|
354
|
-
path = video;
|
355
|
-
sourceTree = "<group>";
|
356
|
-
};
|
357
|
-
FAAE071B11EF4F22001787D8 /* window */ = {
|
358
|
-
isa = PBXGroup;
|
359
|
-
children = (
|
360
|
-
FAAE071D11EF4F22001787D8 /* null.c */,
|
361
|
-
);
|
362
|
-
path = window;
|
363
|
-
sourceTree = "<group>";
|
364
|
-
};
|
365
148
|
/* End PBXGroup section */
|
366
149
|
|
367
150
|
/* Begin PBXHeadersBuildPhase section */
|
@@ -371,46 +154,6 @@
|
|
371
154
|
files = (
|
372
155
|
AA747D9F0F9514B9006C5449 /* Barcode_Prefix.pch in Headers */,
|
373
156
|
FAAE06AE11EF4F02001787D8 /* ImageProvider.h in Headers */,
|
374
|
-
FAAE072911EF4F22001787D8 /* rho_imageprovider.h in Headers */,
|
375
|
-
FAAE072B11EF4F22001787D8 /* config.h in Headers */,
|
376
|
-
FAAE072C11EF4F22001787D8 /* inttypes.h in Headers */,
|
377
|
-
FAAE072E11EF4F22001787D8 /* Decoder.h in Headers */,
|
378
|
-
FAAE072F11EF4F22001787D8 /* Exception.h in Headers */,
|
379
|
-
FAAE073011EF4F22001787D8 /* Image.h in Headers */,
|
380
|
-
FAAE073111EF4F22001787D8 /* ImageScanner.h in Headers */,
|
381
|
-
FAAE073211EF4F22001787D8 /* Processor.h in Headers */,
|
382
|
-
FAAE073311EF4F22001787D8 /* QZBar.h in Headers */,
|
383
|
-
FAAE073411EF4F22001787D8 /* QZBarImage.h in Headers */,
|
384
|
-
FAAE073511EF4F22001787D8 /* Scanner.h in Headers */,
|
385
|
-
FAAE073611EF4F22001787D8 /* Symbol.h in Headers */,
|
386
|
-
FAAE073711EF4F22001787D8 /* Video.h in Headers */,
|
387
|
-
FAAE073811EF4F22001787D8 /* Window.h in Headers */,
|
388
|
-
FAAE073911EF4F22001787D8 /* ZBarCaptureReader.h in Headers */,
|
389
|
-
FAAE073A11EF4F22001787D8 /* zbargtk.h in Headers */,
|
390
|
-
FAAE073B11EF4F22001787D8 /* ZBarImage.h in Headers */,
|
391
|
-
FAAE073C11EF4F22001787D8 /* ZBarImageScanner.h in Headers */,
|
392
|
-
FAAE073D11EF4F22001787D8 /* ZBarReaderController.h in Headers */,
|
393
|
-
FAAE073E11EF4F22001787D8 /* ZBarReaderView.h in Headers */,
|
394
|
-
FAAE073F11EF4F22001787D8 /* ZBarReaderViewController.h in Headers */,
|
395
|
-
FAAE074011EF4F22001787D8 /* ZBarSymbol.h in Headers */,
|
396
|
-
FAAE074111EF4F22001787D8 /* zbar.h in Headers */,
|
397
|
-
FAAE074411EF4F22001787D8 /* debug.h in Headers */,
|
398
|
-
FAAE074611EF4F22001787D8 /* code128.h in Headers */,
|
399
|
-
FAAE074811EF4F22001787D8 /* code39.h in Headers */,
|
400
|
-
FAAE074A11EF4F22001787D8 /* ean.h in Headers */,
|
401
|
-
FAAE074C11EF4F22001787D8 /* i25.h in Headers */,
|
402
|
-
FAAE075311EF4F22001787D8 /* decoder.h in Headers */,
|
403
|
-
FAAE075511EF4F22001787D8 /* error.h in Headers */,
|
404
|
-
FAAE075611EF4F22001787D8 /* event.h in Headers */,
|
405
|
-
FAAE075811EF4F22001787D8 /* image.h in Headers */,
|
406
|
-
FAAE075A11EF4F22001787D8 /* img_scanner.h in Headers */,
|
407
|
-
FAAE075C11EF4F22001787D8 /* mutex.h in Headers */,
|
408
|
-
FAAE076411EF4F22001787D8 /* processor.h in Headers */,
|
409
|
-
FAAE077411EF4F22001787D8 /* refcnt.h in Headers */,
|
410
|
-
FAAE077911EF4F22001787D8 /* symbol.h in Headers */,
|
411
|
-
FAAE077A11EF4F22001787D8 /* thread.h in Headers */,
|
412
|
-
FAAE077B11EF4F22001787D8 /* timer.h in Headers */,
|
413
|
-
FAAE077C11EF4F22001787D8 /* unistd.h in Headers */,
|
414
157
|
);
|
415
158
|
runOnlyForDeploymentPostprocessing = 0;
|
416
159
|
};
|
@@ -467,24 +210,7 @@
|
|
467
210
|
FAAE06AD11EF4F02001787D8 /* ImageProvider.cpp in Sources */,
|
468
211
|
FAAE06AF11EF4F02001787D8 /* ImageProvider.mm in Sources */,
|
469
212
|
FAAE072811EF4F22001787D8 /* barcode_wrap.c in Sources */,
|
470
|
-
|
471
|
-
FAAE072D11EF4F22001787D8 /* rho_bridge.c in Sources */,
|
472
|
-
FAAE074211EF4F22001787D8 /* config.c in Sources */,
|
473
|
-
FAAE074311EF4F22001787D8 /* convert.c in Sources */,
|
474
|
-
FAAE074511EF4F22001787D8 /* code128.c in Sources */,
|
475
|
-
FAAE074711EF4F22001787D8 /* code39.c in Sources */,
|
476
|
-
FAAE074911EF4F22001787D8 /* ean.c in Sources */,
|
477
|
-
FAAE074B11EF4F22001787D8 /* i25.c in Sources */,
|
478
|
-
FAAE075211EF4F22001787D8 /* decoder.c in Sources */,
|
479
|
-
FAAE075411EF4F22001787D8 /* error.c in Sources */,
|
480
|
-
FAAE075711EF4F22001787D8 /* image.c in Sources */,
|
481
|
-
FAAE075911EF4F22001787D8 /* img_scanner.c in Sources */,
|
482
|
-
FAAE075E11EF4F22001787D8 /* null.c in Sources */,
|
483
|
-
FAAE077311EF4F22001787D8 /* refcnt.c in Sources */,
|
484
|
-
FAAE077511EF4F22001787D8 /* scanner.c in Sources */,
|
485
|
-
FAAE077811EF4F22001787D8 /* symbol.c in Sources */,
|
486
|
-
FAAE077D11EF4F22001787D8 /* null.c in Sources */,
|
487
|
-
FAAE078411EF4F22001787D8 /* null.c in Sources */,
|
213
|
+
FA4D3F0F136AFA94009D6E63 /* barcode.m in Sources */,
|
488
214
|
);
|
489
215
|
runOnlyForDeploymentPostprocessing = 0;
|
490
216
|
};
|
@@ -498,14 +224,29 @@
|
|
498
224
|
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
499
225
|
COPY_PHASE_STRIP = NO;
|
500
226
|
DSTROOT = /tmp/Barcode.dst;
|
227
|
+
FRAMEWORK_SEARCH_PATHS = (
|
228
|
+
"$(inherited)",
|
229
|
+
"\"$(SRCROOT)\"",
|
230
|
+
);
|
501
231
|
GCC_DYNAMIC_NO_PIC = NO;
|
502
232
|
GCC_ENABLE_FIX_AND_CONTINUE = YES;
|
503
233
|
GCC_MODEL_TUNING = G5;
|
504
234
|
GCC_OPTIMIZATION_LEVEL = 0;
|
505
235
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
506
236
|
GCC_PREFIX_HEADER = Barcode_Prefix.pch;
|
237
|
+
HEADER_SEARCH_PATHS = (
|
238
|
+
../../../../../../../platform/shared/ruby/include,
|
239
|
+
../../../../../../../platform/shared,
|
240
|
+
../../../../../../../platform/shared/ruby/iphone,
|
241
|
+
ZBarSDK/Headers/ZBarSDK,
|
242
|
+
ZBarSDK/Headers/ZBarSDK/zbar,
|
243
|
+
);
|
507
244
|
INSTALL_PATH = /usr/local/lib;
|
508
245
|
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
246
|
+
LIBRARY_SEARCH_PATHS = (
|
247
|
+
"$(inherited)",
|
248
|
+
"\"$(SRCROOT)/ZBarSDK\"",
|
249
|
+
);
|
509
250
|
MACOSX_DEPLOYMENT_TARGET = 10.5;
|
510
251
|
PRODUCT_NAME = Barcode;
|
511
252
|
SDKROOT = iphoneos;
|
@@ -519,11 +260,26 @@
|
|
519
260
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
520
261
|
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
521
262
|
DSTROOT = /tmp/Barcode.dst;
|
263
|
+
FRAMEWORK_SEARCH_PATHS = (
|
264
|
+
"$(inherited)",
|
265
|
+
"\"$(SRCROOT)\"",
|
266
|
+
);
|
522
267
|
GCC_MODEL_TUNING = G5;
|
523
268
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
524
269
|
GCC_PREFIX_HEADER = Barcode_Prefix.pch;
|
270
|
+
HEADER_SEARCH_PATHS = (
|
271
|
+
../../../../../../../platform/shared/ruby/include,
|
272
|
+
../../../../../../../platform/shared,
|
273
|
+
../../../../../../../platform/shared/ruby/iphone,
|
274
|
+
ZBarSDK/Headers/ZBarSDK,
|
275
|
+
ZBarSDK/Headers/ZBarSDK/zbar,
|
276
|
+
);
|
525
277
|
INSTALL_PATH = /usr/local/lib;
|
526
278
|
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
279
|
+
LIBRARY_SEARCH_PATHS = (
|
280
|
+
"$(inherited)",
|
281
|
+
"\"$(SRCROOT)/ZBarSDK\"",
|
282
|
+
);
|
527
283
|
MACOSX_DEPLOYMENT_TARGET = 10.5;
|
528
284
|
PRODUCT_NAME = Barcode;
|
529
285
|
SDKROOT = iphoneos;
|
@@ -547,7 +303,7 @@
|
|
547
303
|
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
548
304
|
ONLY_ACTIVE_ARCH = NO;
|
549
305
|
PREBINDING = NO;
|
550
|
-
SDKROOT =
|
306
|
+
SDKROOT = iphoneos;
|
551
307
|
STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = static;
|
552
308
|
VALID_ARCHS = armv6;
|
553
309
|
};
|
@@ -568,7 +324,7 @@
|
|
568
324
|
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
569
325
|
ONLY_ACTIVE_ARCH = NO;
|
570
326
|
PREBINDING = NO;
|
571
|
-
SDKROOT =
|
327
|
+
SDKROOT = iphoneos;
|
572
328
|
STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = static;
|
573
329
|
VALID_ARCHS = armv6;
|
574
330
|
};
|