123 Commits

Author SHA1 Message Date
2b1b82e163 Update app/src/main/AndroidManifest.xml 2024-11-09 12:42:52 +01:00
edc5df342d Lock file maintenance 2024-11-09 01:05:09 +00:00
7d32e267c6 Update dependency com.android.tools:desugar_jdk_libs_nio to v2.1.3 2024-11-08 01:01:56 +00:00
fa8f4218be Bump version 2024-11-07 07:50:08 +01:00
f7a166c9f2 Update README.md 2024-11-07 07:37:56 +01:00
8cc871203d Update app/build.gradle 2024-11-07 07:35:19 +01:00
4449b5cf8f Lock file maintenance 2024-11-03 01:05:23 +00:00
0f1046fcd2 Update plugin com.android.library to v8.7.2 2024-11-02 01:05:24 +00:00
395fab45f4 Update plugin com.android.application to v8.7.2 2024-11-01 01:01:19 +00:00
0b44d67d61 Lock file maintenance 2024-10-27 00:05:01 +00:00
d3242a1304 Lock file maintenance 2024-10-26 00:05:11 +00:00
9a451764c2 Update plugin com.android.library to v8.7.1 2024-10-20 00:03:39 +00:00
898fe6e862 Update plugin com.android.application to v8.7.1 2024-10-19 00:04:31 +00:00
e357b60b14 Update dependency mapshaper to v0.6.101 2024-10-16 00:01:16 +00:00
cfb23ed1a0 Lock file maintenance 2024-10-13 00:07:53 +00:00
4769901955 Update plugin org.jetbrains.kotlin.plugin.serialization to v2.0.21 2024-10-13 00:04:09 +00:00
5c577ec763 Update plugin org.jetbrains.kotlin.android to v2.0.21 2024-10-12 00:04:45 +00:00
0724c9a021 Update dependency mapshaper to v0.6.100 2024-10-08 00:01:32 +00:00
d031aa4ee4 Update plugin com.android.library to v8.7.0 2024-10-06 00:05:09 +00:00
6c7a82475e Lock file maintenance 2024-10-05 00:05:51 +00:00
3bc34cef94 Update plugin com.android.application to v8.7.0 2024-10-02 00:02:46 +00:00
c0b489ae21 Update dependency jsdom to v25.0.1 2024-09-28 00:05:23 +00:00
96f5e01d5f Update dependency gradle to v8.10.2 2024-09-24 00:04:47 +00:00
8c5793a75b Update plugin com.android.library to v8.6.1 2024-09-22 00:04:51 +00:00
858162ba47 Lock file maintenance 2024-09-22 00:04:39 +00:00
191b3c3eff Update plugin com.android.application to v8.6.1 2024-09-21 00:06:11 +00:00
7ddc29275d Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.3 2024-09-20 00:02:31 +00:00
0df7bb7f2c Lock file maintenance 2024-09-14 00:04:49 +00:00
43fe9ab868 Update dependency gradle to v8.10.1 2024-09-10 00:03:46 +00:00
43f6acfab3 Update metadata/en-US/full_description.txt 2024-09-10 00:02:33 +02:00
126cbfe7b1 Lock file maintenance 2024-09-08 00:02:58 +00:00
4aad449a18 Update dependency jsdom to v25 2024-09-08 00:02:30 +00:00
ee7fbf4d5a Update plugin com.android.library to v8.6.0 2024-09-07 00:02:40 +00:00
2d48cc8dae Update dependency com.android.tools:desugar_jdk_libs_nio to v2.1.2 2024-09-05 00:02:20 +00:00
bdca9fe2a1 Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.2 2024-09-01 00:02:55 +00:00
ff83b0abe3 Update plugin com.android.application to v8.6.0 2024-09-01 00:02:42 +00:00
dbe93b6884 Update plugin org.jetbrains.kotlin.plugin.serialization to v2.0.20 2024-08-31 00:02:59 +00:00
53f2bd5a57 Update dependency jsdom to v24.1.3 2024-08-26 00:01:44 +00:00
ff0714f942 Update plugin org.jetbrains.kotlin.android to v2.0.20 2024-08-25 00:02:31 +00:00
ed067a616e Update plugin com.mikepenz.aboutlibraries.plugin to v11.2.3 2024-08-24 00:02:58 +00:00
e259d401ad Update dependency com.mikepenz:aboutlibraries to v11.2.3 2024-08-24 00:02:43 +00:00
9599933c5f Update dependency @turf/area to v7.1.0 2024-08-18 00:03:45 +00:00
00b0b6c746 Update dependency gradle to v8.10 2024-08-18 00:03:26 +00:00
adbae39d27 Update dependency @turf/turf to v7.1.0 2024-08-17 00:03:25 +00:00
8097d25a18 Update dependency mapshaper to v0.6.99 2024-08-17 00:02:52 +00:00
fed3e55572 Update plugin com.android.library to v8.5.2 2024-08-11 00:06:15 +00:00
d76057f17c Update plugin org.jetbrains.kotlin.plugin.serialization to v2.0.10 2024-08-11 00:02:46 +00:00
aab452f798 Update plugin org.jetbrains.kotlin.android to v2.0.10 2024-08-10 00:03:14 +00:00
40fd4522ad Update plugin com.android.application to v8.5.2 2024-08-10 00:03:00 +00:00
fad65f76ee Lock file maintenance 2024-08-03 00:03:27 +00:00
8ad3a26fb0 Lock file maintenance 2024-07-28 00:04:25 +00:00
1118ed9b10 Lock file maintenance 2024-07-27 00:06:06 +00:00
53db8be5f9 Update dependency jsdom to v24.1.1 2024-07-22 00:01:58 +00:00
111a587793 Lock file maintenance 2024-07-20 00:05:10 +00:00
cc5ade027a Update plugin com.android.library to v8.5.1 2024-07-14 00:04:55 +00:00
026fc7562f Update plugin com.android.application to v8.5.1 2024-07-13 00:05:59 +00:00
63a49455e7 Update dependency gradle to v8.9 2024-07-12 00:03:34 +00:00
3f59d876a1 Lock file maintenance 2024-07-06 00:05:41 +00:00
05b78ed9a9 Update plugin com.mikepenz.aboutlibraries.plugin to v11.2.2 2024-06-30 00:04:54 +00:00
7241cdd5a1 Update dependency com.mikepenz:aboutlibraries to v11.2.2 2024-06-30 00:04:40 +00:00
8c65aeb2b9 Lock file maintenance 2024-06-29 00:05:12 +00:00
4119518ff5 Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.1 2024-06-29 00:04:34 +00:00
af839915cc Release 1.0 2024-06-28 22:55:49 +02:00
9fb11df99e Lock file maintenance 2024-06-22 00:03:50 +00:00
9e18619271 Update dependency mapshaper to v0.6.98 2024-06-17 00:02:21 +00:00
755c0cd5c2 Update plugin com.android.library to v8.5.0 2024-06-16 00:03:36 +00:00
64c5f54eb8 Lock file maintenance 2024-06-16 00:03:25 +00:00
18a037421c Update dependency @turf/turf to v7 2024-06-15 00:04:48 +00:00
9660c19db7 Update plugin com.android.application to v8.5.0 2024-06-14 00:01:50 +00:00
bad189507d Update dependency @turf/area to v7 2024-06-09 07:17:18 +00:00
58ad43fffe Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.0 2024-06-08 00:03:38 +00:00
54f4bb9138 Update dependency mapshaper to v0.6.97 2024-06-06 00:01:45 +00:00
4f578b027d Lock file maintenance 2024-06-02 00:04:06 +00:00
cd4649b329 Merge pull request 'Lock file maintenance' (#87) from renovate/lock-file-maintenance into main
Reviewed-on: #87
2024-06-01 12:26:03 +02:00
2a29237e26 Merge pull request 'Update plugin org.jetbrains.kotlin.plugin.serialization to v2' (#82) from renovate/org.jetbrains.kotlin.plugin.serialization-2.x into main
Reviewed-on: #82
2024-06-01 12:25:37 +02:00
17dd26b3b0 Lock file maintenance 2024-06-01 10:15:11 +00:00
942f713a2f Update plugin org.jetbrains.kotlin.plugin.serialization to v2 2024-06-01 10:11:20 +00:00
df4e01352a Update dependency gradle to v8.8 2024-06-01 10:10:52 +00:00
e7ab816c46 Merge pull request 'Update plugin org.jetbrains.kotlin.android to v2' (#81) from renovate/org.jetbrains.kotlin.android-2.x into main
Reviewed-on: #81
2024-06-01 12:06:23 +02:00
d171437e6f Update plugin com.mikepenz.aboutlibraries.plugin to v11.2.1 2024-06-01 00:05:24 +00:00
f33711f075 Update dependency com.mikepenz:aboutlibraries to v11.2.1 2024-05-31 00:02:12 +00:00
e854b50515 Update plugin org.jetbrains.kotlin.android to v2 2024-05-26 00:04:07 +00:00
38d11574b1 Update plugin com.mikepenz.aboutlibraries.plugin to v11.2.0 2024-05-25 13:46:51 +00:00
96bb3e9d37 Update plugin com.android.library to v8.4.1 2024-05-25 13:46:41 +00:00
fb132f81a6 Update dependency com.mikepenz:aboutlibraries to v11.2.0 2024-05-25 00:05:18 +00:00
8bfc9c21eb Update plugin com.android.application to v8.4.1 2024-05-21 00:02:37 +00:00
bd7f61e1f7 Lock file maintenance 2024-05-19 00:04:59 +00:00
108c805409 Update dependency mapshaper to v0.6.96 2024-05-19 00:04:30 +00:00
3875413fa4 Merge pull request 'Lock file maintenance' (#73) from renovate/lock-file-maintenance into main
Reviewed-on: #73
2024-05-18 08:10:44 +02:00
9630608934 Update plugin com.android.library to v8.4.0 2024-05-18 00:03:30 +00:00
fcbef4b992 Update dependency mapshaper to v0.6.95 2024-05-18 00:03:16 +00:00
38397ac27b Lock file maintenance 2024-05-12 00:10:24 +00:00
785c0491b9 Update plugin org.jetbrains.kotlin.plugin.serialization to v1.9.24 2024-05-12 00:06:11 +00:00
24e547a294 Update plugin org.jetbrains.kotlin.android to v1.9.24 2024-05-11 00:05:36 +00:00
f636b0c884 Update dependency mapshaper to v0.6.93 2024-05-09 00:03:46 +00:00
86b0ad59f8 Update dependency com.google.android.material:material to v1.12.0 2024-05-05 00:05:09 +00:00
436e793200 Update plugin com.android.application to v8.4.0 2024-05-05 00:05:01 +00:00
192179e3af Update plugin com.mikepenz.aboutlibraries.plugin to v11.1.4 2024-05-04 00:04:40 +00:00
6aedb64207 Update dependency com.mikepenz:aboutlibraries to v11.1.4 2024-05-02 00:02:16 +00:00
81ef0185b9 Lock file maintenance 2024-04-27 00:04:44 +00:00
1636934e42 Lock file maintenance 2024-04-21 00:04:28 +00:00
36bd6c9a44 Merge pull request 'Update dependency mapshaper to v0.6.91' (#62) from renovate/mapshaper-0.x-lockfile into main
Reviewed-on: #62
2024-04-19 08:00:17 +02:00
e58df0291c Update dependency mapshaper to v0.6.91 2024-04-17 19:24:58 +00:00
7e87ed360c Update dependency mapshaper to v0.6.89 2024-04-14 00:02:22 +00:00
cb6ae76a67 Include license for maps 2024-04-13 11:53:10 +02:00
4d519fc9a2 Lock file maintenance 2024-04-13 00:03:46 +00:00
25abde0ba3 Minor cleaning 2024-04-13 01:21:18 +02:00
eda0bc19a0 Moved ATA 2024-04-13 01:13:52 +02:00
8e2304f5fc Merge pull request 'Update plugin com.android.application to v8.3.2' (#57) from renovate/com.android.application-8.x into main
Reviewed-on: #57
2024-04-13 01:07:43 +02:00
603e933ba3 Merge pull request 'Update gradle/wrapper-validation-action action to v3' (#59) from renovate/gradle-wrapper-validation-action-3.x into main
Reviewed-on: #59
2024-04-13 01:07:34 +02:00
9488d85378 Update gradle/wrapper-validation-action action to v3 2024-04-12 23:06:59 +00:00
a1f7b7e803 Update plugin com.android.application to v8.3.2 2024-04-12 23:06:57 +00:00
4cb1bd9cd9 Merge pull request 'Update plugin com.android.library to v8.3.2' (#58) from renovate/com.android.library-8.x into main
Reviewed-on: #58
2024-04-13 01:04:16 +02:00
69bfd0ce56 Update plugin com.android.library to v8.3.2 2024-04-12 23:02:21 +00:00
dc0371ca41 Reorganize countries geographically 2024-04-12 23:39:14 +02:00
f404f60a9a Comment out old countries 2024-04-12 22:06:40 +02:00
3041f03a89 Removed old countries 2024-04-12 20:09:36 +02:00
1dd587d252 Fix ukr and names 2024-04-12 19:41:38 +02:00
d17a2409f1 Add some script corrections 2024-04-12 17:00:02 +02:00
14b5562234 Correct some names 2024-04-12 16:54:37 +02:00
9b8142fe67 Update gradle/wrapper/gradle-wrapper.properties 2024-04-12 00:21:41 +02:00
973039d4af corrected hash 2024-04-11 23:43:27 +02:00
08a647a08b Added gradlew checksum 2024-04-11 23:41:20 +02:00
28 changed files with 2681 additions and 3779 deletions

View File

@ -32,7 +32,7 @@ jobs:
gpg -d --passphrase "${{ secrets.RELEASE_KEYSTORE_PASSWORD }}" --batch keystore.asc > app/keystore.properties gpg -d --passphrase "${{ secrets.RELEASE_KEYSTORE_PASSWORD }}" --batch keystore.asc > app/keystore.properties
gpg -d --passphrase "${{ secrets.RELEASE_KEYSTORE_PASSWORD }}" --batch key.asc > app/key.jks gpg -d --passphrase "${{ secrets.RELEASE_KEYSTORE_PASSWORD }}" --batch key.asc > app/key.jks
- uses: gradle/wrapper-validation-action@v2 - uses: gradle/wrapper-validation-action@v3
- name: create and checkout branch - name: create and checkout branch
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'

View File

@ -39,8 +39,11 @@
## 📳 Installation ## 📳 Installation
<div style="display: flex; justify-content: center; align-items: center; flex-direction: row;"> <div style="display: flex; justify-content: center; align-items: center; flex-direction: row;">
<a href="https://f-droid.org/packages/net.helcel.beans/"> <!--<a href="https://f-droid.org/packages/net.helcel.beans/">
<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" width="206"> <img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" width="206">
</a>-->
<a href="https://apt.izzysoft.de/fdroid/index/apk/net.helcel.beans">
<img width="200" height="80" alt="Izzy Download" src=".github/images/izzy.png">
</a> </a>
<a href="https://github.com/helcel-net/beans/releases/latest"> <a href="https://github.com/helcel-net/beans/releases/latest">
<img width="200" height="84" alt="APK Download" src=".github/images/apk.png"> <img width="200" height="84" alt="APK Download" src=".github/images/apk.png">
@ -68,7 +71,7 @@ Thanks to all contributors, the developers of our dependencies, and our users.
## 📝 License ## 📝 License
``` ```
Copyright (C) 2024 Helcel MYDOLI Copyright (C) 2024 Helcel & MYDOLI
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

View File

@ -1,8 +1,8 @@
plugins { plugins {
id 'com.android.application' id 'com.android.application'
id 'org.jetbrains.kotlin.android' id 'org.jetbrains.kotlin.android'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.9.23' id 'org.jetbrains.kotlin.plugin.serialization' version '2.0.21'
id 'com.mikepenz.aboutlibraries.plugin' version '11.1.3' id 'com.mikepenz.aboutlibraries.plugin' version '11.2.3'
} }
@ -14,8 +14,8 @@ android {
applicationId 'net.helcel.beans' applicationId 'net.helcel.beans'
minSdk 28 minSdk 28
targetSdk 34 targetSdk 34
versionCode 1 versionCode 2
versionName "1.0" versionName "1.0b"
} }
signingConfigs { signingConfigs {
create("release") { create("release") {
@ -77,15 +77,17 @@ android {
} }
aboutLibraries { aboutLibraries {
exclusionPatterns = [~"androidx.*", ~"com.google.android.*", ~"org.jetbrains.*"] exclusionPatterns = [~"androidx.*", ~"com.google.android.*", ~"org.jetbrains.*"]
configPath = "config"
excludeFields = ["generated"]
} }
dependencies { dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_nio:2.0.4' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_nio:2.1.3'
implementation 'androidx.preference:preference-ktx:1.2.1' implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'com.google.android.material:material:1.11.0' implementation 'com.google.android.material:material:1.12.0'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3' implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3'
implementation 'com.caverock:androidsvg-aar:1.4' implementation 'com.caverock:androidsvg-aar:1.4'
implementation 'com.github.chrisbanes:PhotoView:2.3.0' implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'com.mikepenz:aboutlibraries:11.1.3' implementation 'com.mikepenz:aboutlibraries:11.2.3'
} }

View File

@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"> xmlns:tools="http://schemas.android.com/tools"
android:versionCode="2"
android:versionName="1.0c">
<application <application
android:allowBackup="true" android:allowBackup="true"

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.1 MiB

After

Width:  |  Height:  |  Size: 6.1 MiB

View File

@ -1030,7 +1030,7 @@ GRC_AT|GRC|Attica|3853
GRC_CR|GRC|Crete|8391 GRC_CR|GRC|Crete|8391
GRC_EM|GRC|Epirusand Western Macedonia|18771 GRC_EM|GRC|Epirusand Western Macedonia|18771
GRC_MH|GRC|Macedonia and Thrace|33122 GRC_MH|GRC|Macedonia and Thrace|33122
GRC_PW|GRC|Peloponnese, Western Greeceand|29194 GRC_PW|GRC|Peloponnese, Western Greece and the Ionian|29194
GRC_TC|GRC|Thessalyand Central Greece|29744 GRC_TC|GRC|Thessalyand Central Greece|29744
GRL_KU|GRL|Kujalleq|45647 GRL_KU|GRL|Kujalleq|45647
GRL_UO|GRL|Northeast Greenland National Par|919384 GRL_UO|GRL|Northeast Greenland National Par|919384
@ -1537,8 +1537,8 @@ LAO_OU|LAO|Oudômxai|11832
LAO_PH|LAO|Phôngsali|15414 LAO_PH|LAO|Phôngsali|15414
LAO_SL|LAO|Saravan|10238 LAO_SL|LAO|Saravan|10238
LAO_SV|LAO|Savannakhét|21546 LAO_SV|LAO|Savannakhét|21546
LAO_VI|LAO|Vientiane|12590 LAO_VI|LAO|Vientiane Province|12590
LAO_VT|LAO|Vientiane[prefecture]|3639 LAO_VT|LAO|Vientiane Prefecture|3639
LAO_XA|LAO|Xaignabouri|15691 LAO_XA|LAO|Xaignabouri|15691
LAO_XS|LAO|Xaisômboun|7778 LAO_XS|LAO|Xaisômboun|7778
LAO_XE|LAO|Xékong|8414 LAO_XE|LAO|Xékong|8414
@ -1613,7 +1613,7 @@ LIE_SN|LIE|Schaan|28
LIE_SB|LIE|Schellenberg|3 LIE_SB|LIE|Schellenberg|3
LIE_TN|LIE|Triesen|26 LIE_TN|LIE|Triesen|26
LIE_TB|LIE|Triesenberg|29 LIE_TB|LIE|Triesenberg|29
LIE_VA|LIE|Valduz|17 LIE_VA|LIE|Vaduz|17
LTU_AS|LTU|Alytaus|5624 LTU_AS|LTU|Alytaus|5624
LTU_KS|LTU|Kauno|8156 LTU_KS|LTU|Kauno|8156
LTU_KP|LTU|Klaipedos|5363 LTU_KP|LTU|Klaipedos|5363
@ -1794,7 +1794,7 @@ MHL_Ujae|MHL|Ujae|3
MHL_Utirik|MHL|Utirik|14 MHL_Utirik|MHL|Utirik|14
MHL_Wotho|MHL|Wotho|6 MHL_Wotho|MHL|Wotho|6
MHL_Wotje|MHL|Wotje|15 MHL_Wotje|MHL|Wotje|15
MHL_19_1|MHL|NA|26 MHL_19_1|MHL|Rongelap|26
MTQ_FF|MTQ|Fort-de-France|189 MTQ_FF|MTQ|Fort-de-France|189
MTQ_MA|MTQ|Le Marin|393 MTQ_MA|MTQ|Le Marin|393
MTQ_TR|MTQ|Le Trinité|353 MTQ_TR|MTQ|Le Trinité|353
@ -2040,7 +2040,7 @@ NLD_OV|NLD|Overijssel|3369
NLD_UT|NLD|Utrecht|1555 NLD_UT|NLD|Utrecht|1555
NLD_ZE|NLD|Zeeland|1804 NLD_ZE|NLD|Zeeland|1804
NLD_Zeeuwsemeren|NLD|Zeeuwsemeren|477 NLD_Zeeuwsemeren|NLD|Zeeuwsemeren|477
NLD_14_1|NLD|NA|3143 NLD_14_1|NLD|Zuid-Holland|3143
NCL_IL|NCL|Îles Loyauté|1988 NCL_IL|NCL|Îles Loyauté|1988
NCL_NO|NCL|Nord|9520 NCL_NO|NCL|Nord|9520
NCL_SU|NCL|Sud|7408 NCL_SU|NCL|Sud|7408
@ -3340,7 +3340,6 @@ UGA_SR|UGA|Soroti|3401
UGA_TR|UGA|Tororo|1863 UGA_TR|UGA|Tororo|1863
UGA_WA|UGA|Wakiso|1944 UGA_WA|UGA|Wakiso|1944
UGA_YU|UGA|Yumbe|2337 UGA_YU|UGA|Yumbe|2337
UKR_?|UKR|?|136
UKR_CK|UKR|Cherkasy|20922 UKR_CK|UKR|Cherkasy|20922
UKR_CH|UKR|Chernihiv|32416 UKR_CH|UKR|Chernihiv|32416
UKR_CV|UKR|Chernivtsi|8202 UKR_CV|UKR|Chernivtsi|8202
@ -3352,7 +3351,7 @@ UKR_KK|UKR|Kharkiv|31388
UKR_KS|UKR|Kherson|25534 UKR_KS|UKR|Kherson|25534
UKR_KM|UKR|Khmel'nyts'kyy|20718 UKR_KM|UKR|Khmel'nyts'kyy|20718
UKR_KV|UKR|Kiev|28073 UKR_KV|UKR|Kiev|28073
UKR_KC|UKR|Kiev City|695 UKR_KC|UKR|Kiev City|831
UKR_KH|UKR|Kirovohrad|24713 UKR_KH|UKR|Kirovohrad|24713
UKR_LV|UKR|L'viv|21773 UKR_LV|UKR|L'viv|21773
UKR_LH|UKR|Luhans'k|27042 UKR_LH|UKR|Luhans'k|27042

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.0 MiB

After

Width:  |  Height:  |  Size: 6.0 MiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.1 MiB

After

Width:  |  Height:  |  Size: 6.1 MiB

View File

@ -5,17 +5,14 @@ import android.view.Menu
import android.view.MenuItem import android.view.MenuItem
import androidx.activity.addCallback import androidx.activity.addCallback
import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import com.google.android.material.tabs.TabLayoutMediator import com.google.android.material.tabs.TabLayoutMediator
import net.helcel.beans.R import net.helcel.beans.R
import net.helcel.beans.activity.adapter.ViewPagerAdapter import net.helcel.beans.activity.adapter.ViewPagerAdapter
import net.helcel.beans.activity.fragment.EditGroupAddFragment import net.helcel.beans.activity.fragment.EditGroupAddFragment
import net.helcel.beans.activity.fragment.EditPlaceColorFragment
import net.helcel.beans.activity.fragment.EditPlaceFragment import net.helcel.beans.activity.fragment.EditPlaceFragment
import net.helcel.beans.countries.World import net.helcel.beans.countries.World
import net.helcel.beans.databinding.ActivityEditBinding import net.helcel.beans.databinding.ActivityEditBinding
import net.helcel.beans.helper.Data import net.helcel.beans.helper.Data
import net.helcel.beans.helper.DialogCloser
import net.helcel.beans.helper.Settings import net.helcel.beans.helper.Settings
import net.helcel.beans.helper.Theme.createActionBar import net.helcel.beans.helper.Theme.createActionBar
@ -62,6 +59,7 @@ class EditActivity : AppCompatActivity() {
}, {}, false).show(supportFragmentManager, "AddColorDialogFragment") }, {}, false).show(supportFragmentManager, "AddColorDialogFragment")
} }
} }
else -> finish() else -> finish()
} }
return super.onOptionsItemSelected(item) return super.onOptionsItemSelected(item)

View File

@ -12,7 +12,6 @@ import net.helcel.beans.countries.GeoLocImporter
import net.helcel.beans.databinding.ActivityMainBinding import net.helcel.beans.databinding.ActivityMainBinding
import net.helcel.beans.helper.Data import net.helcel.beans.helper.Data
import net.helcel.beans.helper.Settings import net.helcel.beans.helper.Settings
import net.helcel.beans.helper.Theme.colorWrapper
import net.helcel.beans.svg.CSSWrapper import net.helcel.beans.svg.CSSWrapper
import net.helcel.beans.svg.SVGWrapper import net.helcel.beans.svg.SVGWrapper

View File

@ -5,9 +5,10 @@ enum class Country(
override val area: Int override val area: Int
) : GeoLoc { ) : GeoLoc {
ATA("Antarctica", 14000000), ATA("Antarctica", 14000000),
HKG("Hong Kong", 1104),
MAC("Macao", 32), // HKG("Hong Kong", 1104),
ANT("Netherlands Antilles", 800), // MAC("Macao", 32),
// ANT("Netherlands Antilles", 800),
AFG("Afghanistan", 645487), AFG("Afghanistan", 645487),
XAD("Akrotiri and Dhekelia", 234), XAD("Akrotiri and Dhekelia", 234),
ALA("Åland", 1483), ALA("Åland", 1483),

View File

@ -6,7 +6,6 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
EEE( EEE(
"Europe", setOf( "Europe", setOf(
XAD,
ALA,// Åland Islands: an autonomous region of Finland, but not a member of the EU or UN ALA,// Åland Islands: an autonomous region of Finland, but not a member of the EU or UN
ALB, ALB,
AND, AND,
@ -16,7 +15,6 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
BIH, BIH,
BGR, BGR,
HRV, HRV,
CYP,
CZE, CZE,
DNK, DNK,
EST, EST,
@ -26,6 +24,7 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
DEU, DEU,
GIB, // Gibraltar: a British overseas territory located at the southern tip of the Iberian Peninsula GIB, // Gibraltar: a British overseas territory located at the southern tip of the Iberian Peninsula
GRC, GRC,
GRL,
GGY, // Guernsey: a British Crown dependency in the English Channel GGY, // Guernsey: a British Crown dependency in the English Channel
HUN, HUN,
ISL, ISL,
@ -33,7 +32,6 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
IMN, // Isle of Man: a British Crown dependency located in the Irish Sea IMN, // Isle of Man: a British Crown dependency located in the Irish Sea
ITA, ITA,
JEY, // Jersey: a British Crown dependency located in the English Channel JEY, // Jersey: a British Crown dependency located in the English Channel
KAZ,
XKO, XKO,
LVA, LVA,
LIE, LIE,
@ -65,6 +63,7 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
), ),
ABB( ABB(
"Asia", setOf( "Asia", setOf(
XAD,
AFG, AFG,
ARM, ARM,
AZE, AZE,
@ -77,8 +76,9 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
CCK, // Cocos (Keeling) Islands: an Australian external territory in the Indian Ocean CCK, // Cocos (Keeling) Islands: an Australian external territory in the Indian Ocean
CHN, CHN,
CXR, // Christmas Island: an Australian external territory in the Indian Ocean CXR, // Christmas Island: an Australian external territory in the Indian Ocean
CYP,
GEO, GEO,
HKG, //HKG,
IND, IND,
IDN, IDN,
IRN, IRN,
@ -86,11 +86,12 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
ISR, ISR,
JPN, JPN,
JOR, JOR,
KAZ,
KWT, KWT,
KGZ, KGZ,
LAO, LAO,
LBN, LBN,
MAC, //MAC,
MYS, MYS,
MDV, MDV,
MNG, MNG,
@ -127,6 +128,7 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
BDI, BDI,
BEN, BEN,
BWA, BWA,
BVT, // Bouvet Island: an uninhabited territory of Norway in the South Atlantic
BFA, BFA,
BDI, BDI,
CPV, CPV,
@ -148,6 +150,7 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
GHA, GHA,
GIN, GIN,
GNB, GNB,
HMD, // Heard Island and McDonald Islands: an uninhabited Australian external territory in the southern Indian Ocean
KEN, KEN,
LSO, LSO,
LBR, LBR,
@ -206,7 +209,6 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
DMA, DMA,
DOM, DOM,
SLV, SLV,
GRL,
GRD, GRD,
GLP, GLP,
GTM, GTM,
@ -216,7 +218,7 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
MTQ, MTQ,
MEX, MEX,
MSR, MSR,
ANT, //ANT,
CUW, CUW,
NIC, NIC,
PAN, PAN,
@ -248,6 +250,7 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
GUY, GUY,
PRY, PRY,
PER, PER,
SGS, // South Georgia and the South Sandwich Islands: a British overseas territory in the southern Atlantic Ocean
SUR, SUR,
URY, URY,
VEN, VEN,
@ -284,11 +287,8 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
), ),
XXX( XXX(
"Others", setOf( "Other", setOf(
ATA, // Antarctica: not in any other region
BVT, // Bouvet Island: an uninhabited territory of Norway in the South Atlantic
HMD, // Heard Island and McDonald Islands: an uninhabited Australian external territory in the southern Indian Ocean
SGS, // South Georgia and the South Sandwich Islands: a British overseas territory in the southern Atlantic Ocean
) )
), ),

View File

@ -6,7 +6,8 @@ enum class World(override val fullName: String, override val children: Set<GeoLo
WWW( WWW(
"World", setOf( "World", setOf(
EEE, ABB, FFF, NNN, SRR, UUU, XXX EEE, ABB, FFF, NNN, SRR, UUU, Country.ATA,
) )
); );

View File

@ -1,13 +1,15 @@
package net.helcel.beans.svg package net.helcel.beans.svg
import android.content.Context import android.content.Context
import android.content.SharedPreferences
import androidx.preference.PreferenceManager import androidx.preference.PreferenceManager
import com.caverock.androidsvg.SVG import com.caverock.androidsvg.SVG
import net.helcel.beans.R import net.helcel.beans.R
class SVGWrapper(ctx: Context) { class SVGWrapper(ctx: Context) {
val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(ctx) private val sharedPreferences: SharedPreferences =
PreferenceManager.getDefaultSharedPreferences(ctx)
private val svgFile = when (sharedPreferences.getString( private val svgFile = when (sharedPreferences.getString(
ctx.getString(R.string.key_projection), ctx.getString(R.string.key_projection),
ctx.getString(R.string.mercator) ctx.getString(R.string.mercator)

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="app_name">Beans</string> <string name="app_name">Beans</string>
<string name="app_version">1.0</string> <string name="app_version">1.0a</string>
<string name="action_settings">Settings</string> <string name="action_settings">Settings</string>
<string name="action_stat">Stats</string> <string name="action_stat">Stats</string>
<string name="action_edit">Edit</string> <string name="action_edit">Edit</string>

View File

@ -1,6 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins { plugins {
id 'com.android.application' version '8.3.1' apply false id 'com.android.application' version '8.7.2' apply false
id 'com.android.library' version '8.3.1' apply false id 'com.android.library' version '8.7.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.23' apply false id 'org.jetbrains.kotlin.android' version '2.0.21' apply false
} }

View File

@ -0,0 +1,21 @@
{
"uniqueId": "org.gadm:data",
"developers": [
{
"organisationUrl": "https://gadm.org/index.html",
"name": "GADM"
}
],
"artifactVersion": "4.1",
"description": "GADM provides maps and spatial data for all countries and their sub-divisions.",
"scm": {
"connection": "scm:git@github.com:mikepenz/MaterialDrawer.git",
"url": "https://github.com/mikepenz/MaterialDrawer",
"developerConnection": "scm:git@github.com:mikepenz/MaterialDrawer.git"
},
"name": "GADM maps and data",
"website": "https://gadm.org/index.html",
"licenses": [
"0151ac7b561a385c536ad4c94532e60b"
]
}

View File

@ -0,0 +1,6 @@
{
"content": "<b>The data are freely available for academic use and other non-commercial use. Redistribution or commercial use is not allowed without prior permission.</b>\n\nUsing the data to create maps for publishing of academic research articles is allowed. Thus you can use the maps you made with GADM data for figures in articles published by PLoS, Springer Nature, Elsevier, MDPI, etc. You are allowed (but not required) to publish these articles (and the maps they contain) under an open license such as CC-BY as is the case with PLoS journals and may be the case with other open access articles. <b>Data for the following countries is covered by a a different license</b> <b>Austria</b>: Creative Commons Attribution-ShareAlike 2.0 (source: Government of Ausria)",
"hash": "0151ac7b561a385c536ad4c94532e60b",
"url": "https://gadm.org/license.html",
"name": "GADM license"
}

View File

@ -63,8 +63,8 @@ const formatStr = (str)=> str.replace(/(?<!\b\w\u00E0-\u00FC)\B[A-Z\u00C0-\u00DC
return ', '; return ', ';
} else { } else {
return ' ' + match; return ' ' + match;
}}).replace("ofthe "," of the ").replace("dela ", " de la ").replace("delos ", " de los ").replace("áD","á D") }}).replace("ofthe "," of the ").replace("dela ", " de la ").replace("delos ", " de los ").replace("áD","á D").replace("eÁ","e Á")
.replace("Côted'","Côte d'").replace("leof ","le of ").replace("dde ","d de ").replace("iode ","io de ").replace("àde ","à de ") .replace("ed'","e d'").replace("leof ","le of ").replace("dde ","d de ").replace("iode ","io de ").replace("àde ","à de ")
.replace("yof ","y of ").replace("Andrésy ","Andrés y") .replace("yof ","y of ").replace("Andrésy ","Andrés y")
.replace("aand ","a and ").replace("iand ", "i and ").replace("tsand ","ts and ").replace("onand ","on and ").replace("reand ", "re and ") .replace("aand ","a and ").replace("iand ", "i and ").replace("tsand ","ts and ").replace("onand ","on and ").replace("reand ", "re and ")
.replace("odel ","o del ").replace("adel ", "a del ").replace("ndel ","n del ").replace("zdel ","z del ").replace("falde ", "fal de ").replace("casdel ","cas del ") .replace("odel ","o del ").replace("adel ", "a del ").replace("ndel ","n del ").replace("zdel ","z del ").replace("falde ", "fal de ").replace("casdel ","cas del ")
@ -76,6 +76,11 @@ const formatStr = (str)=> str.replace(/(?<!\b\w\u00E0-\u00FC)\B[A-Z\u00C0-\u00DC
.replace("Valledel ","Valle del ").replace("Valde ","Val de ").replace("Îlesdu ","Îles du ") .replace("Valledel ","Valle del ").replace("Valde ","Val de ").replace("Îlesdu ","Îles du ")
.replace("sÉ","s É").replace("áO","á O").replace("N C Tof ","NCT of ").replace("N A","NA") .replace("sÉ","s É").replace("áO","á O").replace("N C Tof ","NCT of ").replace("N A","NA")
.replace("Nortede ", "Norte de ") .replace("Nortede ", "Norte de ")
.replace("Pinardel ", "Pinar del ")
.replace("Greeceand", "Greece and the Ionian")
.replace("Vientiane", "Vientiane Province")
.replace("Vientiane Province[prefecture]", "Vientiane Prefecture")
.replace("Valduz", "Vaduz")
.trim() .trim()
const parse0 = (country) => { const parse0 = (country) => {

Binary file not shown.

View File

@ -1,6 +1,7 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip distributionSha256Sum=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

7
gradlew vendored
View File

@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
# SPDX-License-Identifier: Apache-2.0
#
############################################################################## ##############################################################################
# #
@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop. # Darwin, MinGW, and NonStop.
# #
# (3) This script is generated from the Groovy template # (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project. # within the Gradle project.
# #
# You can find Gradle at https://github.com/gradle/gradle/. # You can find Gradle at https://github.com/gradle/gradle/.
@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034 # shellcheck disable=SC2034
APP_BASE_NAME=${0##*/} APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum MAX_FD=maximum

2
gradlew.bat vendored
View File

@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and @rem See the License for the specific language governing permissions and
@rem limitations under the License. @rem limitations under the License.
@rem @rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off @if "%DEBUG%"=="" @echo off
@rem ########################################################################## @rem ##########################################################################

View File

@ -2,10 +2,10 @@ Beans is a scratchmap of the world for Android.
Keep track of your discovery of the world on a colorful visual map. Keep track of your discovery of the world on a colorful visual map.
Color a map of places based on custom labels * Color a map of places based on custom labels
Country/State based coloring * Country/State based coloring
Single/Multi color modes * Single/Multi color modes
Different map projections available * Different map projections available
Small & Fast * Small & Fast
Statistics (WIP) * Statistics (WIP)
100% Free and Open Source software, with no proprietary dependencies * 100% Free and Open Source software, with no proprietary dependencies

View File

@ -1,8 +1,8 @@
{ {
"dependencies": { "dependencies": {
"@turf/area": "^6.5.0", "@turf/area": "^7.0.0",
"@turf/turf": "^6.5.0", "@turf/turf": "^7.0.0",
"jsdom": "^24.0.0", "jsdom": "^25.0.0",
"mapshaper": "^0.6.79" "mapshaper": "^0.6.79"
}, },
"type": "module" "type": "module"

6000
yarn.lock

File diff suppressed because it is too large Load Diff