Markus Fisch
fa568686b6
Advance version number to 1.56.2
2022-11-09 20:34:08 +01:00
Markus Fisch
304357b43c
Update to latest ZXing C++ wrapper
...
To fix generating text output of 1D barcodes.
2022-11-09 18:27:06 +01:00
Markus Fisch
1e76b14038
Advance version number to 1.56.1
2022-11-08 20:33:08 +01:00
Markus Fisch
d0777350a2
Allow pinching to size in device pixels
...
To allow small codes to be small on screen.
This makes it easier to use a generated barcode in place of a small
printed barcode. There are scanners out there that expect a barcode
to be of a certain (small) size.
2022-11-08 20:28:41 +01:00
Markus Fisch
c7c1e74240
Update to latest ZXing C++ wrapper
...
To fix handling of tab characters.
2022-11-08 20:27:23 +01:00
Markus Fisch
c793e1399b
Fix view/frame transformation matrix
...
The view offset needs to be translated first - not last, where the
matrix is no longer in view space.
2022-11-08 20:27:23 +01:00
zmni
c550a6ff51
Update indonesian translation
2022-11-08 20:27:00 +01:00
solokot
05b0f719e0
Updated Russian translation
2022-11-07 18:22:34 +01:00
Markus Fisch
4326df5069
Advance version number to 1.56.0
2022-11-03 19:05:06 +01:00
Markus Fisch
ba24287f04
Update to latest ZXing C++ wrapper
...
To fix getting UTF-8 strings from the JVM.
2022-11-03 19:00:49 +01:00
Markus Fisch
bd8f1b17dd
Remove double action item for forward/next
2022-11-02 21:57:32 +01:00
Markus Fisch
2c21aeb83a
Set FAB background to @null
...
To silence this warning:
> I/FloatingActionButton: Setting a custom background is not supported.
Details:
https://github.com/material-components/material-components-android/issues/283
2022-11-03 12:30:05 +01:00
Markus Fisch
9ccff808bc
Replace properties with functions in Barcode
...
We should only prefer read-only properties over of functions if the
underlying algorithm…
* does not throw
* is cheap to calculate (or cached on the first run)
* returns the same result over invocations if the object state
hasn't changed
See:
https://kotlinlang.org/docs/coding-conventions.html#functions-vs-properties
But `ZXing.encodeAs*` may throw and may also not be that cheap to
calculate. So functions are a better fit here.
Also, because these functions will always return the same result,
it makes sense to cache their outputs.
2022-11-02 21:49:08 +01:00
Markus Fisch
32e936dd71
Optimize new drawables with avocado
2022-11-02 21:06:17 +01:00
Markus Fisch
58eebacd4f
Use forward arrow for FAB in picking activity
...
Hopefully this makes it more clear that you have to tap on the
FAB to actually read the found barcode.
2022-11-02 21:06:17 +01:00
Markus Fisch
75b945e842
Remove unused forceCompat preference
...
Obsolete since we use the ZXing C++ fork.
2022-11-02 21:06:17 +01:00
Markus Fisch
a9ea77f74f
Add an action item to lock/unlock free rotation
...
When scanning a barcode from an image.
Free rotation may not always be desirable.
2022-11-02 21:06:17 +01:00
Markus Fisch
3df658165b
Support setting fore and background colors
...
When creating AZTEC, DATA MATRIX or QR Codes.
2022-11-02 21:06:17 +01:00
Markus Fisch
40a6a77b8d
Advance version number to 1.55.0
2022-10-30 14:21:01 +01:00
Markus Fisch
301a33a176
Update to latest ZXing C++ wrapper
2022-10-30 14:17:18 +01:00
Giovanni
8d6623786c
Update an Italian string
2022-10-27 22:59:07 +02:00
Markus Fisch
a225eab6f2
Make recreated barcode interactive
...
This way the barcode can easily be exported, too.
Also live update the data views and clean up the DecodeFragment.
2022-10-26 21:45:06 +02:00
Markus Fisch
9f2efeb001
Advance version number to 1.54.1
2022-10-25 22:51:11 +02:00
Markus Fisch
105c81d409
Treat GS1 and ISO15434 content types as text
...
And use the HRI formatted text ZxingCpp provides.
2022-10-25 22:05:29 +02:00
Markus Fisch
4e1eb28ca4
Enable auto rotate by default
...
With ZXingCpp this is hardly noticeable. So enable it for new users.
2022-10-24 22:07:00 +02:00
Markus Fisch
b72ed746bf
Go back to VIBRATOR_SERVICE for Android 4
...
Use the deprecated `VIBRATOR_SERVICE` on all versions to fix a
`VerifyError` on Android 4.
For reasons beyond my interests, compiling with `VIBRATOR_MANAGER_SERVICE`
leads to a very cryptic `java.lang.VerifyError: r0/b` on Android 4.
Even though this symbol is never actually used under SDK 31.
This is probably a Proguard/R8 issue, but I don't want to waste more
time just to get rid of the deprecation warning. So let's use the old
`VIBRATOR_SERVICE` and wait for Google to fix their stuff.
2022-10-24 21:57:00 +02:00
solokot
1aaee3c85a
Update Russian translation
2022-10-24 20:49:37 +02:00
Oğuz Ersen
eb0218e733
Update Turkish translation
2022-10-23 20:42:01 +02:00
Giovanni
bef7365f28
Update Italian translation
2022-10-22 21:25:50 +02:00
Markus Fisch
c72b6a2e5f
Advance version number to 1.54.0
2022-10-21 23:39:30 +02:00
Markus Fisch
a7e358852c
Complete search engines for fa locale
2022-10-21 23:33:34 +02:00
Markus Fisch
7cf8cbe6d8
Recreate barcode on result fragment
...
It's sometimes very helpful to easily recover read barcodes.
2022-10-21 23:31:30 +02:00
Markus Fisch
e379e55570
Use new Html.fromHtml() on Nougat+
2022-10-21 22:41:53 +02:00
Markus Fisch
a55795a7b6
Use new getParcelable() method on Tiramisu+
2022-10-21 22:40:34 +02:00
Markus Fisch
83c0cd0293
Only use EXTRA_IS_SENSITIVE on Tiramisu+
...
And clean up that Pyramid of Death.
2022-10-21 21:23:30 +02:00
Markus Fisch
d138148cb8
Refactor string extension functions
...
And put them where they belong instead of having a dump file.
According to the Kotlin Coding Conventions we should avoid creating
files just to hold extensions.
2022-10-21 21:14:52 +02:00
Markus Fisch
c3c08879e0
Move ellipsize() from Toast to Data
...
Because it's used in more than one place now.
2022-10-21 17:25:17 +02:00
Markus Fisch
d0f02faca7
Add german domains for search engines
...
To open the .de domains for Google, ebay, Amazon, etc.
2022-10-21 19:33:01 +02:00
Markus Fisch
c9db3514d1
Add ebay, Amazon and barcodelookup.com
...
To the list of search engines.
2022-10-21 19:31:35 +02:00
Markus Fisch
f2a0e1a392
Add changelogs for F-Droid
2022-10-20 21:39:40 +02:00
Markus Fisch
f4de041407
Advance version number to 1.53.1
2022-10-20 09:38:36 +02:00
Markus Fisch
73ba2914e8
Fix proguard configuration for ZXing C++
2022-10-20 09:37:45 +02:00
Markus Fisch
2907c8c49c
Advance version number to 1.53.0
2022-10-19 22:27:21 +02:00
Markus Fisch
f28f956a8d
Only generate barcode output when required
2022-10-19 21:45:15 +02:00
Markus Fisch
972eb6a0b0
Update to latest ZXing C++ wrapper
2022-10-19 21:43:48 +02:00
Markus Fisch
08bb3f2127
Replace RelativeLayout with LinearLayout
...
In decoding fragment.
All children were layed out linearly anyway and it's simpler
and more clear this way.
2022-10-19 19:54:33 +02:00
Markus Fisch
b28e939f58
Refactor resolveFormat() and make it an extension
2022-10-19 13:04:48 +02:00
solokot
2edb8112b7
Update Russian translation
2022-10-19 13:04:06 +02:00
Markus Fisch
cf5a6dc8b8
Hide setting a custom locale from API 33 on
...
Android 13 allows to set per-app language preferences, so this
setting is no longer required from there on.
See:
https://developer.android.com/guide/topics/resources/app-languages
2022-10-15 18:43:40 +02:00
Markus Fisch
3ec6f18fe0
Hide sensitive content from clipboard
...
At the moment, this affects just the WiFi password.
See:
https://developer.android.com/about/versions/13/behavior-changes-all#copy-sensitive-content
2022-10-15 18:38:14 +02:00