From c1df162b95e07928afbd4830798cc1408af1ac67 Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Wed, 22 Jan 2014 19:37:33 +0000 Subject: [PATCH] Add apache-rat check for copyright headers, and fix a bunch of files without them (mostly actionscript, jruby) --- .../core/src/com/google/zxing/Binarizer.as | 16 ++++++++++ .../com/google/zxing/ResultMetadataType.as | 16 ++++++++++ .../core/src/com/google/zxing/aztec/Point.as | 17 ++++++++++- .../src/com/google/zxing/client/testClass.as | 16 ++++++++++ .../src/com/google/zxing/common/BitSource.as | 16 ++++++++++ .../zxing/common/flexdatatypes/ArrayList.as | 16 ++++++++++ .../zxing/common/flexdatatypes/Enumeration.as | 16 ++++++++++ .../zxing/common/flexdatatypes/HashTable.as | 16 ++++++++++ .../flexdatatypes/IllegalArgumentException.as | 16 ++++++++++ .../common/flexdatatypes/StringBuilder.as | 16 ++++++++++ .../zxing/common/flexdatatypes/Utils.as | 16 ++++++++++ .../google/zxing/datamatrix/decoder/ECB.as | 16 ++++++++++ .../zxing/datamatrix/decoder/ECBlocks.as | 16 ++++++++++ .../detector/ResultPointsAndTransitions.as | 16 ++++++++++ .../ResultPointsAndTransitionsComparator.as | 16 ++++++++++ .../qrcode/detector/ModuleSizeComparator.as | 16 ++++++++++ .../zxing/qrcode/decoder/DataMask000.as | 16 ++++++++++ .../zxing/qrcode/decoder/DataMask001.as | 16 ++++++++++ .../zxing/qrcode/decoder/DataMask010.as | 16 ++++++++++ .../zxing/qrcode/decoder/DataMask011.as | 16 ++++++++++ .../zxing/qrcode/decoder/DataMask100.as | 16 ++++++++++ .../zxing/qrcode/decoder/DataMask101.as | 16 ++++++++++ .../zxing/qrcode/decoder/DataMask110.as | 16 ++++++++++ .../zxing/qrcode/decoder/DataMask111.as | 16 ++++++++++ .../zxing/qrcode/decoder/DataMaskBase.as | 16 ++++++++++ .../com/google/zxing/qrcode/decoder/ECB.as | 16 ++++++++++ .../google/zxing/qrcode/decoder/ECBlocks.as | 16 ++++++++++ .../zxing/qrcode/detector/AlignmentPattern.as | 16 ++++++++++ .../qrcode/detector/AlignmentPatternFinder.as | 16 ++++++++++ .../zxing/qrcode/detector/CenterComparator.as | 16 ++++++++++ .../detector/ClosestToAverageComparator.as | 16 ++++++++++ .../google/zxing/qrcode/detector/Detector.as | 16 ++++++++++ .../zxing/qrcode/detector/FinderPattern.as | 16 ++++++++++ .../qrcode/detector/FinderPatternFinder.as | 16 ++++++++++ .../qrcode/detector/FinderPatternInfo.as | 16 ++++++++++ .../detector/FurthestFromAverageComparator.as | 16 ++++++++++ .../google/zxing/qrcode/encoder/BitVector.as | 16 ++++++++++ .../google/zxing/qrcode/encoder/BlockPair.as | 16 ++++++++++ .../google/zxing/qrcode/encoder/MaskUtil.as | 16 ++++++++++ .../google/zxing/qrcode/encoder/MatrixUtil.as | 16 ++++++++++ .../com/google/zxing/qrcode/encoder/QRCode.as | 16 ++++++++++ android/res/layout/app_picker_list_item.xml | 15 ++++++++++ android/res/layout/history_list_item.xml | 14 +++++++++ android/res/values/arrays.xml | 15 ++++++++++ android/res/values/dimens.xml | 15 ++++++++++ jruby/lib/zxing.rb | 14 +++++++++ jruby/lib/zxing/decodable.rb | 14 +++++++++ jruby/test/test_helper.rb | 14 +++++++++ jruby/test/zxing/decodable_test.rb | 14 +++++++++ jruby/test/zxing_test.rb | 14 +++++++++ pom.xml | 29 +++++++++++++++++++ .../src/main/webapp/WEB-INF/appengine-web.xml | 15 ++++++++++ .../src/main/webapp/WEB-INF/web.xml | 15 ++++++++++ 53 files changed, 844 insertions(+), 1 deletion(-) diff --git a/actionscript/core/src/com/google/zxing/Binarizer.as b/actionscript/core/src/com/google/zxing/Binarizer.as index 2c59dbc01..16cd40d4e 100644 --- a/actionscript/core/src/com/google/zxing/Binarizer.as +++ b/actionscript/core/src/com/google/zxing/Binarizer.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing { /** diff --git a/actionscript/core/src/com/google/zxing/ResultMetadataType.as b/actionscript/core/src/com/google/zxing/ResultMetadataType.as index 751a5286d..f54fe07bf 100644 --- a/actionscript/core/src/com/google/zxing/ResultMetadataType.as +++ b/actionscript/core/src/com/google/zxing/ResultMetadataType.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing { import com.google.zxing.common.flexdatatypes.IllegalArgumentException; diff --git a/actionscript/core/src/com/google/zxing/aztec/Point.as b/actionscript/core/src/com/google/zxing/aztec/Point.as index 7ed37fd6e..9d8a6ab03 100644 --- a/actionscript/core/src/com/google/zxing/aztec/Point.as +++ b/actionscript/core/src/com/google/zxing/aztec/Point.as @@ -1,4 +1,19 @@ -// ActionScript file +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.aztec { import com.google.zxing.ResultPoint; diff --git a/actionscript/core/src/com/google/zxing/client/testClass.as b/actionscript/core/src/com/google/zxing/client/testClass.as index e5292d365..637f6458f 100644 --- a/actionscript/core/src/com/google/zxing/client/testClass.as +++ b/actionscript/core/src/com/google/zxing/client/testClass.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.client { import com.google.zxing.BarcodeFormat; diff --git a/actionscript/core/src/com/google/zxing/common/BitSource.as b/actionscript/core/src/com/google/zxing/common/BitSource.as index 02c4581f3..13533d7ea 100644 --- a/actionscript/core/src/com/google/zxing/common/BitSource.as +++ b/actionscript/core/src/com/google/zxing/common/BitSource.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.common { /// A class which wraps a 2D array of bytes. The default usage is signed. If you want to use it as a diff --git a/actionscript/core/src/com/google/zxing/common/flexdatatypes/ArrayList.as b/actionscript/core/src/com/google/zxing/common/flexdatatypes/ArrayList.as index 81d0394a3..0d4bb6da4 100644 --- a/actionscript/core/src/com/google/zxing/common/flexdatatypes/ArrayList.as +++ b/actionscript/core/src/com/google/zxing/common/flexdatatypes/ArrayList.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.common.flexdatatypes { // these comparators should reside in the classes but that didn's work for some reason. diff --git a/actionscript/core/src/com/google/zxing/common/flexdatatypes/Enumeration.as b/actionscript/core/src/com/google/zxing/common/flexdatatypes/Enumeration.as index a468df899..3744e8af3 100644 --- a/actionscript/core/src/com/google/zxing/common/flexdatatypes/Enumeration.as +++ b/actionscript/core/src/com/google/zxing/common/flexdatatypes/Enumeration.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.common.flexdatatypes { public class Enumeration diff --git a/actionscript/core/src/com/google/zxing/common/flexdatatypes/HashTable.as b/actionscript/core/src/com/google/zxing/common/flexdatatypes/HashTable.as index bccaa5035..4e95b23be 100644 --- a/actionscript/core/src/com/google/zxing/common/flexdatatypes/HashTable.as +++ b/actionscript/core/src/com/google/zxing/common/flexdatatypes/HashTable.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.common.flexdatatypes { public class HashTable diff --git a/actionscript/core/src/com/google/zxing/common/flexdatatypes/IllegalArgumentException.as b/actionscript/core/src/com/google/zxing/common/flexdatatypes/IllegalArgumentException.as index 750527983..b86c12d8f 100644 --- a/actionscript/core/src/com/google/zxing/common/flexdatatypes/IllegalArgumentException.as +++ b/actionscript/core/src/com/google/zxing/common/flexdatatypes/IllegalArgumentException.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.common.flexdatatypes { public class IllegalArgumentException extends Error diff --git a/actionscript/core/src/com/google/zxing/common/flexdatatypes/StringBuilder.as b/actionscript/core/src/com/google/zxing/common/flexdatatypes/StringBuilder.as index 74baa05a3..c6c03ba49 100644 --- a/actionscript/core/src/com/google/zxing/common/flexdatatypes/StringBuilder.as +++ b/actionscript/core/src/com/google/zxing/common/flexdatatypes/StringBuilder.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.common.flexdatatypes { import com.google.zxing.ReaderException; diff --git a/actionscript/core/src/com/google/zxing/common/flexdatatypes/Utils.as b/actionscript/core/src/com/google/zxing/common/flexdatatypes/Utils.as index e27604b62..fc84a9dd3 100644 --- a/actionscript/core/src/com/google/zxing/common/flexdatatypes/Utils.as +++ b/actionscript/core/src/com/google/zxing/common/flexdatatypes/Utils.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.common.flexdatatypes { public class Utils diff --git a/actionscript/core/src/com/google/zxing/datamatrix/decoder/ECB.as b/actionscript/core/src/com/google/zxing/datamatrix/decoder/ECB.as index 8af31034a..663f1c826 100644 --- a/actionscript/core/src/com/google/zxing/datamatrix/decoder/ECB.as +++ b/actionscript/core/src/com/google/zxing/datamatrix/decoder/ECB.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.datamatrix.decoder { /** diff --git a/actionscript/core/src/com/google/zxing/datamatrix/decoder/ECBlocks.as b/actionscript/core/src/com/google/zxing/datamatrix/decoder/ECBlocks.as index e4bafea96..018c6911c 100644 --- a/actionscript/core/src/com/google/zxing/datamatrix/decoder/ECBlocks.as +++ b/actionscript/core/src/com/google/zxing/datamatrix/decoder/ECBlocks.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.datamatrix.decoder { /** diff --git a/actionscript/core/src/com/google/zxing/datamatrix/detector/ResultPointsAndTransitions.as b/actionscript/core/src/com/google/zxing/datamatrix/detector/ResultPointsAndTransitions.as index b2775c731..55aedad0b 100644 --- a/actionscript/core/src/com/google/zxing/datamatrix/detector/ResultPointsAndTransitions.as +++ b/actionscript/core/src/com/google/zxing/datamatrix/detector/ResultPointsAndTransitions.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.datamatrix.detector { import com.google.zxing.ResultPoint; diff --git a/actionscript/core/src/com/google/zxing/datamatrix/detector/ResultPointsAndTransitionsComparator.as b/actionscript/core/src/com/google/zxing/datamatrix/detector/ResultPointsAndTransitionsComparator.as index 45c854dbb..caa593684 100644 --- a/actionscript/core/src/com/google/zxing/datamatrix/detector/ResultPointsAndTransitionsComparator.as +++ b/actionscript/core/src/com/google/zxing/datamatrix/detector/ResultPointsAndTransitionsComparator.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.datamatrix.detector { import com.google.zxing.common.Comparator; diff --git a/actionscript/core/src/com/google/zxing/multi/qrcode/detector/ModuleSizeComparator.as b/actionscript/core/src/com/google/zxing/multi/qrcode/detector/ModuleSizeComparator.as index 26d39fbd0..a5a8573d2 100644 --- a/actionscript/core/src/com/google/zxing/multi/qrcode/detector/ModuleSizeComparator.as +++ b/actionscript/core/src/com/google/zxing/multi/qrcode/detector/ModuleSizeComparator.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.multi.qrcode.detector { import com.google.zxing.common.Comparator; diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask000.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask000.as index 31a2f9349..d64fb97c0 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask000.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask000.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { import com.google.zxing.qrcode.decoder.DataMaskBase; diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask001.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask001.as index 39e9e8cc5..52a6b69bb 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask001.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask001.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { import com.google.zxing.qrcode.decoder.DataMask; diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask010.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask010.as index f257e5942..411ef7f82 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask010.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask010.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { import com.google.zxing.qrcode.decoder.DataMaskBase; diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask011.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask011.as index efb5ca3d5..00b656a9a 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask011.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask011.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { import com.google.zxing.qrcode.decoder.DataMaskBase; diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask100.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask100.as index fd2ef67a2..fb000ffcf 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask100.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask100.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { import com.google.zxing.qrcode.decoder.DataMaskBase; diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask101.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask101.as index fdcdc3c26..bfafe7f12 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask101.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask101.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { import com.google.zxing.qrcode.decoder.DataMaskBase; diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask110.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask110.as index 9a74ec7a8..44f458e9d 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask110.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask110.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { import com.google.zxing.qrcode.decoder.DataMaskBase; diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask111.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask111.as index 873536f59..2cdd0ed79 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask111.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMask111.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { import com.google.zxing.qrcode.decoder.DataMaskBase; diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMaskBase.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMaskBase.as index 0e8e14f16..d7cea6fd7 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMaskBase.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/DataMaskBase.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { import com.google.zxing.common.BitMatrix; diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/ECB.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/ECB.as index 1c3d8728a..8f0727aa4 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/ECB.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/ECB.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { /** diff --git a/actionscript/core/src/com/google/zxing/qrcode/decoder/ECBlocks.as b/actionscript/core/src/com/google/zxing/qrcode/decoder/ECBlocks.as index 99918f5f2..295b90f11 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/decoder/ECBlocks.as +++ b/actionscript/core/src/com/google/zxing/qrcode/decoder/ECBlocks.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.decoder { public class ECBlocks diff --git a/actionscript/core/src/com/google/zxing/qrcode/detector/AlignmentPattern.as b/actionscript/core/src/com/google/zxing/qrcode/detector/AlignmentPattern.as index 01df1ccef..058778ecd 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/detector/AlignmentPattern.as +++ b/actionscript/core/src/com/google/zxing/qrcode/detector/AlignmentPattern.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.detector { import com.google.zxing.ResultPoint; diff --git a/actionscript/core/src/com/google/zxing/qrcode/detector/AlignmentPatternFinder.as b/actionscript/core/src/com/google/zxing/qrcode/detector/AlignmentPatternFinder.as index 664a0fe37..4ac668fda 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/detector/AlignmentPatternFinder.as +++ b/actionscript/core/src/com/google/zxing/qrcode/detector/AlignmentPatternFinder.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.detector { import com.google.zxing.ResultPointCallback; diff --git a/actionscript/core/src/com/google/zxing/qrcode/detector/CenterComparator.as b/actionscript/core/src/com/google/zxing/qrcode/detector/CenterComparator.as index e8ae28567..5d81bf15c 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/detector/CenterComparator.as +++ b/actionscript/core/src/com/google/zxing/qrcode/detector/CenterComparator.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.detector { import com.google.zxing.common.Comparator; diff --git a/actionscript/core/src/com/google/zxing/qrcode/detector/ClosestToAverageComparator.as b/actionscript/core/src/com/google/zxing/qrcode/detector/ClosestToAverageComparator.as index 515c6aa6a..f6f7e0a17 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/detector/ClosestToAverageComparator.as +++ b/actionscript/core/src/com/google/zxing/qrcode/detector/ClosestToAverageComparator.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.detector { import com.google.zxing.common.Comparator; diff --git a/actionscript/core/src/com/google/zxing/qrcode/detector/Detector.as b/actionscript/core/src/com/google/zxing/qrcode/detector/Detector.as index ceffa3ac4..eb17cfd1c 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/detector/Detector.as +++ b/actionscript/core/src/com/google/zxing/qrcode/detector/Detector.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.detector { import com.google.zxing.ResultPointCallback; diff --git a/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPattern.as b/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPattern.as index 6783f0a00..9c79b5f98 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPattern.as +++ b/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPattern.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.detector { import com.google.zxing.ResultPoint; diff --git a/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPatternFinder.as b/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPatternFinder.as index 81a632299..68103a7ec 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPatternFinder.as +++ b/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPatternFinder.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.detector { import com.google.zxing.DecodeHintType; diff --git a/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPatternInfo.as b/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPatternInfo.as index 171c7cc54..6265fb231 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPatternInfo.as +++ b/actionscript/core/src/com/google/zxing/qrcode/detector/FinderPatternInfo.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.detector { public class FinderPatternInfo diff --git a/actionscript/core/src/com/google/zxing/qrcode/detector/FurthestFromAverageComparator.as b/actionscript/core/src/com/google/zxing/qrcode/detector/FurthestFromAverageComparator.as index 56b8aac89..ceb803505 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/detector/FurthestFromAverageComparator.as +++ b/actionscript/core/src/com/google/zxing/qrcode/detector/FurthestFromAverageComparator.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.detector { import com.google.zxing.common.Comparator; diff --git a/actionscript/core/src/com/google/zxing/qrcode/encoder/BitVector.as b/actionscript/core/src/com/google/zxing/qrcode/encoder/BitVector.as index dfa20ecec..99c1bd703 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/encoder/BitVector.as +++ b/actionscript/core/src/com/google/zxing/qrcode/encoder/BitVector.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.encoder { public class BitVector diff --git a/actionscript/core/src/com/google/zxing/qrcode/encoder/BlockPair.as b/actionscript/core/src/com/google/zxing/qrcode/encoder/BlockPair.as index 79f72b33f..91eda77a8 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/encoder/BlockPair.as +++ b/actionscript/core/src/com/google/zxing/qrcode/encoder/BlockPair.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.encoder { public class BlockPair diff --git a/actionscript/core/src/com/google/zxing/qrcode/encoder/MaskUtil.as b/actionscript/core/src/com/google/zxing/qrcode/encoder/MaskUtil.as index d65d76295..7e5cd473f 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/encoder/MaskUtil.as +++ b/actionscript/core/src/com/google/zxing/qrcode/encoder/MaskUtil.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.encoder { // todo : check array datastructures diff --git a/actionscript/core/src/com/google/zxing/qrcode/encoder/MatrixUtil.as b/actionscript/core/src/com/google/zxing/qrcode/encoder/MatrixUtil.as index 6d971fd1a..ec2f4dcdb 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/encoder/MatrixUtil.as +++ b/actionscript/core/src/com/google/zxing/qrcode/encoder/MatrixUtil.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.encoder { diff --git a/actionscript/core/src/com/google/zxing/qrcode/encoder/QRCode.as b/actionscript/core/src/com/google/zxing/qrcode/encoder/QRCode.as index 892c168c2..b8ed9be90 100644 --- a/actionscript/core/src/com/google/zxing/qrcode/encoder/QRCode.as +++ b/actionscript/core/src/com/google/zxing/qrcode/encoder/QRCode.as @@ -1,3 +1,19 @@ +/* + * Copyright 2013 ZXing authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.zxing.qrcode.encoder { public class QRCode diff --git a/android/res/layout/app_picker_list_item.xml b/android/res/layout/app_picker_list_item.xml index 3b7927cbe..efcc33f7b 100644 --- a/android/res/layout/app_picker_list_item.xml +++ b/android/res/layout/app_picker_list_item.xml @@ -1,4 +1,19 @@ + + + - diff --git a/android/res/values/dimens.xml b/android/res/values/dimens.xml index e03100921..3ac3025ab 100644 --- a/android/res/values/dimens.xml +++ b/android/res/values/dimens.xml @@ -1,4 +1,19 @@ + 8dip 4dip diff --git a/jruby/lib/zxing.rb b/jruby/lib/zxing.rb index 09a6a19e3..95f6cc566 100644 --- a/jruby/lib/zxing.rb +++ b/jruby/lib/zxing.rb @@ -1,3 +1,17 @@ +# Copyright 2013 ZXing authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + raise "ZXing requires JRuby" unless defined?(JRuby) require File.expand_path( File.dirname(__FILE__) + '/core.jar' ) # ZXing core classes diff --git a/jruby/lib/zxing/decodable.rb b/jruby/lib/zxing/decodable.rb index 97f643710..09f19383a 100644 --- a/jruby/lib/zxing/decodable.rb +++ b/jruby/lib/zxing/decodable.rb @@ -1,3 +1,17 @@ +# Copyright 2013 ZXing authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + require File.expand_path( File.dirname(__FILE__) + '/../zxing') module Decodable diff --git a/jruby/test/test_helper.rb b/jruby/test/test_helper.rb index e590e0b79..bf226718b 100644 --- a/jruby/test/test_helper.rb +++ b/jruby/test/test_helper.rb @@ -1,3 +1,17 @@ +# Copyright 2013 ZXing authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + $LOAD_PATH.unshift File.expand_path( File.dirname(__FILE__) + '/../lib') $LOAD_PATH.unshift File.expand_path( File.dirname(__FILE__) ) diff --git a/jruby/test/zxing/decodable_test.rb b/jruby/test/zxing/decodable_test.rb index 1770d5471..1120e3f7d 100755 --- a/jruby/test/zxing/decodable_test.rb +++ b/jruby/test/zxing/decodable_test.rb @@ -1,4 +1,18 @@ #!/usr/bin/env jruby --headless -rubygems +# +# Copyright 2013 ZXing authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. require File.expand_path( File.dirname(__FILE__) + '/../test_helper') require 'zxing/decodable' diff --git a/jruby/test/zxing_test.rb b/jruby/test/zxing_test.rb index bb65133ce..3fa446167 100755 --- a/jruby/test/zxing_test.rb +++ b/jruby/test/zxing_test.rb @@ -1,5 +1,19 @@ #!/usr/bin/env jruby --headless -rubygems +# Copyright 2013 ZXing authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + require File.expand_path( File.dirname(__FILE__) + '/test_helper') require 'zxing' diff --git a/pom.xml b/pom.xml index ebcaa34f6..8616908d5 100644 --- a/pom.xml +++ b/pom.xml @@ -270,6 +270,35 @@ maven-jxr-plugin 2.4 + + org.apache.rat + apache-rat-plugin + 0.10 + + + **/.* + **/.settings/** + **/*.iml + **/*.md + **/*.textile + **/*.txt + **/*.html + **/*.js + **/*.css + **/*.properties + **/*.cfg + **/*.config + **/*.yaml + **/gen/** + **/resources/** + **/target/** + **/dependency-reduced-pom.xml + private/** + CHANGES + false + + + diff --git a/zxing.appspot.com/src/main/webapp/WEB-INF/appengine-web.xml b/zxing.appspot.com/src/main/webapp/WEB-INF/appengine-web.xml index f6c7a2cd0..36f8bfe30 100644 --- a/zxing.appspot.com/src/main/webapp/WEB-INF/appengine-web.xml +++ b/zxing.appspot.com/src/main/webapp/WEB-INF/appengine-web.xml @@ -1,4 +1,19 @@ + zxing-hrd 9 diff --git a/zxing.appspot.com/src/main/webapp/WEB-INF/web.xml b/zxing.appspot.com/src/main/webapp/WEB-INF/web.xml index dbfd97a10..ddeba7216 100644 --- a/zxing.appspot.com/src/main/webapp/WEB-INF/web.xml +++ b/zxing.appspot.com/src/main/webapp/WEB-INF/web.xml @@ -1,4 +1,19 @@ +