diff --git a/CHANGELOG.md b/CHANGELOG.md index fe4c9391..ca9c6372 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## [1.9] - July 25, 2016 +* Scale camera preview when the view size isn't full screen. Thanks to @xolan for this pull request PR #219 +* Fix inverted camera in devices with differently oriented back and forward facing cameras. Thanks to @thadcodes for PR #191 +* Add ability switch view finder view to square. Thanks to @squeeish for PR #163 + ## [1.8.4] - Dec 30, 2015 * Improve performance by opening camera and handling preview frames in a separate HandlerThread (#1, #99) * Do not automatically stopCamera after a result is found #115 diff --git a/README.md b/README.md index 816a6e74..ad0f3923 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,11 @@ Android library projects that provides easy to use and extensible Barcode Scanne Screenshots =========== -![Portrait](https://raw.github.com/dm77/barcodescanner/master/screenshots/portrait_small.png) +![Demo App](https://raw.github.com/dm77/barcodescanner/master/screenshots/main_activity.png) -![Landscape](https://raw.github.com/dm77/barcodescanner/master/screenshots/landscape_small.png) +![Scanner](https://raw.github.com/dm77/barcodescanner/master/screenshots/scanner.png) + +![Scan Results](https://raw.github.com/dm77/barcodescanner/master/screenshots/scan_results.png) Minor BREAKING CHANGE in 1.8.4 @@ -25,7 +27,7 @@ Installation Add the following dependency to your build.gradle file. -`compile 'me.dm7.barcodescanner:zxing:1.8.4'` +`compile 'me.dm7.barcodescanner:zxing:1.9'` Simple Usage ------------ @@ -126,7 +128,7 @@ Installation Add the following dependency to your build.gradle file. -`compile 'me.dm7.barcodescanner:zbar:1.8.4'` +`compile 'me.dm7.barcodescanner:zbar:1.9'` Simple Usage ------------ diff --git a/build.gradle b/build.gradle index 04de5dc1..33cd9fe3 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { allprojects { group = 'me.dm7.barcodescanner' - version = '1.8.4' + version = '1.9' repositories { mavenCentral() diff --git a/screenshots/landscape.png b/screenshots/landscape.png deleted file mode 100644 index 5ed6f4a7..00000000 Binary files a/screenshots/landscape.png and /dev/null differ diff --git a/screenshots/landscape_small.png b/screenshots/landscape_small.png deleted file mode 100644 index 7b52ee58..00000000 Binary files a/screenshots/landscape_small.png and /dev/null differ diff --git a/screenshots/main_activity.png b/screenshots/main_activity.png new file mode 100644 index 00000000..433380f9 Binary files /dev/null and b/screenshots/main_activity.png differ diff --git a/screenshots/portrait.png b/screenshots/portrait.png deleted file mode 100644 index 3406dbbe..00000000 Binary files a/screenshots/portrait.png and /dev/null differ diff --git a/screenshots/portrait_small.png b/screenshots/portrait_small.png deleted file mode 100644 index 73e311ea..00000000 Binary files a/screenshots/portrait_small.png and /dev/null differ diff --git a/screenshots/scan_results.png b/screenshots/scan_results.png new file mode 100644 index 00000000..b451e1a4 Binary files /dev/null and b/screenshots/scan_results.png differ diff --git a/screenshots/scanner.png b/screenshots/scanner.png new file mode 100644 index 00000000..e1b88102 Binary files /dev/null and b/screenshots/scanner.png differ diff --git a/zbar-sample/build.gradle b/zbar-sample/build.gradle index 9d4caeda..40d12237 100644 --- a/zbar-sample/build.gradle +++ b/zbar-sample/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' dependencies { //compile project(":zbar") - compile 'me.dm7.barcodescanner:zbar:1.8.4' + compile 'me.dm7.barcodescanner:zbar:1.9' compile supportLibraryDependency compile 'com.android.support:appcompat-v7:24.1.1' compile 'com.android.support:design:24.1.1' diff --git a/zbar/build.gradle b/zbar/build.gradle index efbef07e..6026bf2b 100644 --- a/zbar/build.gradle +++ b/zbar/build.gradle @@ -10,6 +10,6 @@ ext { dependencies { //compile project(":core") - compile 'me.dm7.barcodescanner:core:1.8.4' + compile 'me.dm7.barcodescanner:core:1.9' compile fileTree(dir: 'libs', include: '*.jar') } diff --git a/zxing-sample/build.gradle b/zxing-sample/build.gradle index 9780cb27..be6345f0 100644 --- a/zxing-sample/build.gradle +++ b/zxing-sample/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' dependencies { //compile project(":zxing") - compile 'me.dm7.barcodescanner:zxing:1.8.4' + compile 'me.dm7.barcodescanner:zxing:1.9' compile supportLibraryDependency compile 'com.android.support:appcompat-v7:24.1.1' compile 'com.android.support:design:24.1.1' diff --git a/zxing/build.gradle b/zxing/build.gradle index 8c84e7cd..f2a61f94 100644 --- a/zxing/build.gradle +++ b/zxing/build.gradle @@ -10,6 +10,6 @@ ext { dependencies { //compile project(":core") - compile 'me.dm7.barcodescanner:core:1.8.4' + compile 'me.dm7.barcodescanner:core:1.9' compile 'com.google.zxing:core:3.2.1' }