46 Commits

Author SHA1 Message Date
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
18 changed files with 2652 additions and 3596 deletions

View File

@ -68,7 +68,7 @@ Thanks to all contributors, the developers of our dependencies, and our users.
## 📝 License
```
Copyright (C) 2024 Helcel MYDOLI
Copyright (C) 2024 Helcel & MYDOLI
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

View File

@ -1,8 +1,8 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.9.23'
id 'com.mikepenz.aboutlibraries.plugin' version '11.1.3'
id 'org.jetbrains.kotlin.plugin.serialization' version '2.0.0'
id 'com.mikepenz.aboutlibraries.plugin' version '11.2.1'
}
@ -77,15 +77,16 @@ android {
}
aboutLibraries {
exclusionPatterns = [~"androidx.*", ~"com.google.android.*", ~"org.jetbrains.*"]
configPath = "config"
}
dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_nio:2.0.4'
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'com.google.android.material:material:1.11.0'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3'
implementation 'com.google.android.material:material:1.12.0'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.0'
implementation 'com.caverock:androidsvg-aar:1.4'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'com.mikepenz:aboutlibraries:11.1.3'
implementation 'com.mikepenz:aboutlibraries:11.2.1'
}

View File

@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<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="1"
android:versionName="1.0a">
<application
android:allowBackup="true"

View File

@ -5,17 +5,14 @@ import android.view.Menu
import android.view.MenuItem
import androidx.activity.addCallback
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import com.google.android.material.tabs.TabLayoutMediator
import net.helcel.beans.R
import net.helcel.beans.activity.adapter.ViewPagerAdapter
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.countries.World
import net.helcel.beans.databinding.ActivityEditBinding
import net.helcel.beans.helper.Data
import net.helcel.beans.helper.DialogCloser
import net.helcel.beans.helper.Settings
import net.helcel.beans.helper.Theme.createActionBar
@ -62,6 +59,7 @@ class EditActivity : AppCompatActivity() {
}, {}, false).show(supportFragmentManager, "AddColorDialogFragment")
}
}
else -> finish()
}
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.helper.Data
import net.helcel.beans.helper.Settings
import net.helcel.beans.helper.Theme.colorWrapper
import net.helcel.beans.svg.CSSWrapper
import net.helcel.beans.svg.SVGWrapper

View File

@ -287,8 +287,8 @@ enum class Group(override val fullName: String, override val children: Set<GeoLo
),
XXX(
"Antarctica", setOf(
ATA, // Antarctica: not in any other region
"Other", setOf(
)
),

View File

@ -6,7 +6,8 @@ enum class World(override val fullName: String, override val children: Set<GeoLo
WWW(
"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
import android.content.Context
import android.content.SharedPreferences
import androidx.preference.PreferenceManager
import com.caverock.androidsvg.SVG
import net.helcel.beans.R
class SVGWrapper(ctx: Context) {
val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(ctx)
private val sharedPreferences: SharedPreferences =
PreferenceManager.getDefaultSharedPreferences(ctx)
private val svgFile = when (sharedPreferences.getString(
ctx.getString(R.string.key_projection),
ctx.getString(R.string.mercator)

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<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_stat">Stats</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.
plugins {
id 'com.android.application' version '8.3.2' apply false
id 'com.android.library' version '8.3.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.23' apply false
id 'com.android.application' version '8.4.2' apply false
id 'com.android.library' version '8.4.2' apply false
id 'org.jetbrains.kotlin.android' version '2.0.0' 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

@ -1,8 +1,8 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionSha256Sum=a4b4158601f8636cdeeab09bd76afb640030bb5b144aafe261a5e8af027dc612
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionSha256Sum=544c35d6bd849ae8a5ed0bcea39ba677dc40f49df7d1835561582da2009b961d

2
gradlew vendored
View File

@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (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.
#
# You can find Gradle at https://github.com/gradle/gradle/.

View File

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

6166
yarn.lock

File diff suppressed because it is too large Load Diff