0
0
mirror of https://github.com/markusfisch/BinaryEye.git synced 2024-09-20 12:02:17 +02:00
Commit Graph

730 Commits

Author SHA1 Message Date
Markus Fisch
210cdfc171 Get the Context only once and put in a val
Instead of (silently) invoking getters multiple times.
2021-08-10 10:41:25 +02:00
Markus Fisch
3ec8c4b5d7 Write exported barcode file on IO dispatcher 2021-08-10 10:40:45 +02:00
Markus Fisch
d99f0ca039 Update changelogs for F-Droid 2021-07-29 21:51:30 +02:00
Markus Fisch
4a9e700d20 Advance version number to 1.44.1 2021-07-29 21:50:06 +02:00
Markus Fisch
40e339ce89 Use a matrix to map from frame to view
Because it's more elegant and less code.

However, this solution requires more calculations than before
because `Matrix.mapPoints()` carries out a matrix vector
multiplication which consists of more calculations than what
was required before.

But even mobile CPUs are fast enough that this won't make any
difference.

Also, this solution avoids allocating Point and List objects in
the hot path. Also not too important because ZXing still
allocates a lot of objects but that's okay too.
2021-07-29 10:35:33 +02:00
Markus Fisch
9d476b3491 Include all language resources in App Bundles
So the in-app language setting works for App Bundles too.

Normally, Google Play delivers only the language resource of
the device to minimise download size.

Another solution would have been to use the PlayCore API to
download language resources on demand, but it makes much more
sense to simply include the ~60 kb than adding fragile code
and dependencies.
2021-07-29 10:29:43 +02:00
Markus Fisch
22b58265a5 Clean up code
According to Android Studio recommendations.
2021-07-15 16:33:20 +02:00
Markus Fisch
bd4576b7ac Update tools version 2021-07-15 14:05:24 +02:00
Elaborendum
a57f6d1904
Update Spanish translation 2021-07-15 09:24:42 +02:00
Markus Fisch
842b38c986 Update tools and Kotlin version 2021-06-29 21:46:50 +02:00
Markus Fisch
b1fae727a9 Calculate ratio for mapping on initialization
Because the ratio is fixed for the mapping.
2021-06-20 18:01:12 +02:00
Markus Fisch
db24f608d5 Update changelogs for F-Droid 2021-06-06 14:31:07 +02:00
gnuhead-chieb
9f49a00bae
Update Japanese translation
* Update app Japanese translation
* Add Japanese store description
2021-06-06 14:29:38 +02:00
Markus Fisch
947bbf3031 Advance version number to 1.44.0 2021-06-05 14:49:33 +02:00
Gaz
b3b57a7ba8
Update Traditional Chinese Translation 2021-06-04 15:29:00 +02:00
solokot
1627f3ead9
Update Russian language 2021-06-03 13:53:53 +02:00
Heimen Stoffels
4343f5da82
Update Dutch translation 2021-06-02 22:18:41 +02:00
Markus Fisch
67395a067d Add a setting to choose barcode formats to scan
This setting isn't available before Honeycomb because there is
no MultiSelectListPreference before.
2021-06-02 19:05:55 +02:00
Markus Fisch
0de571f3c1 Ask before removing network suggestions
To avoid unintentional removal.
2021-06-02 19:02:38 +02:00
Markus Fisch
d83cd77a87 Update changelogs for F-Droid 2021-06-02 19:02:38 +02:00
Heimen Stoffels
5ca7aff5df
Updated Dutch translation 2021-06-02 18:58:19 +02:00
solokot
e4cc516a9b
Updated & improved Russian language 2021-06-02 18:57:52 +02:00
Markus Fisch
f160cf0953 Advance version number to 1.43.0 2021-06-01 22:04:17 +02:00
Markus Fisch
ef5b5aa34a Add a preference to remove network suggestions
Because as it turns out, WiFi network suggestions cannot be removed
by the user. Which is pretty silly in my opinion. But anyway, now a
user can remove all the networks added by Binary Eye.
2021-06-01 21:57:20 +02:00
Gaz
536ee5bc3d
Update Traditional Chinese Translation 2021-05-25 12:03:51 +02:00
solokot
0becada572
Update Russian language 2021-05-25 11:55:34 +02:00
Markus Fisch
0c773d6f05 Update changelogs for F-Droid 2021-05-24 22:19:23 +02:00
Markus Fisch
f2df364840 Advance version number to 1.42.0 2021-05-24 22:18:26 +02:00
Markus Fisch
5740b43568 Add a setting to pick a default search engine
To open unknown data with.
2021-05-24 22:12:13 +02:00
Gaz
b384b99b01
Update zh-TW(Traditional Chinese) Translation 2021-05-23 12:21:27 +02:00
Heimen Stoffels
6affa4ce25
Update Dutch translation 2021-05-18 18:40:05 +02:00
Markus Fisch
455d329fff Remove resolveActivity() for opening content
Because on Android 11+ resolveActivity() can no longer be used
to query if there's an app that can handle the intent for privacy
reasons.
2021-05-07 22:15:38 +02:00
Markus Fisch
792be87283 Advance version number to 1.41.1 2021-05-06 23:01:49 +02:00
Markus Fisch
381e10bddc Ignore exceptions in MultiFormatReader.decode()
Usually it's bad practice to blindly catch *all* exceptions
because this can hide problems we want to know about.

But since ZXing has some errors (like all software) and I don't
want this app to break in the hands of my users, which won't
see the stack trace anyway, it's better to just catch all
exceptions that may happen in MultiFormatReader.decode().
2021-05-06 17:19:49 +02:00
Markus Fisch
220d1b9d4c Remove useless context argument
The argument is never used except for calling the function again.
A leftover from an earlier implementation.
2021-05-06 17:10:00 +02:00
Markus Fisch
020cd2c192 Update tools and gradle version
And migrate from jcenter() back to mavenCentral().
2021-05-05 20:50:50 +02:00
Oymate
e8766a0fd1
Update Bengali translation 2021-05-02 13:31:28 +02:00
yzqzss
69c6d1324e
Update Simplified Chinese (Zh-rCN) 2021-05-01 19:50:13 +02:00
Markus Fisch
2dd0c48225 Format comments like sentences
Makes reading multiline comments easier.
2021-04-27 19:59:21 +02:00
Markus Fisch
faa536274b Update build tools 2021-04-27 19:58:31 +02:00
Markus Fisch
0a944f9fb8 Add latest changelog for F-Droid 2021-04-13 19:47:59 +02:00
Markus Fisch
a31982646a Advance version number to 1.41.0 2021-04-10 14:19:54 +02:00
Markus Fisch
4320ee8fcc Crop by default for new installations
To increase performance on bad devices.
2021-04-10 14:13:29 +02:00
Markus Fisch
d890bf28fa Fix creating Locale from resource format
Locale() requires the country part as secondary argument and
can't use the resource format "lang-country" directly.
2021-04-09 10:23:45 +02:00
Markus Fisch
6347bd568c Fix XMl of Bengali language 2021-04-07 12:15:03 +02:00
Oymate
9de11e2ae8
Add Bangla translation 2021-04-07 11:12:15 +02:00
Ryota Hasegawa
57c381e310
Add missing Japanese locale 2021-03-25 09:28:20 +01:00
Balázs Úr
a11650eaa5
Update Hungarian language pack
* Update Hungarian translation
* Add Hungarian app description
2021-03-24 09:34:14 +01:00
solokot
e85b006e40
Update Russian app description 2021-03-20 19:59:29 +01:00
Oymate
a6c25be316
Add translation for Bangla
* Create title.txt
* Create summary.txt
* Create short_description.txt
* Create full_description.txt
2021-03-20 17:44:48 +01:00