Compare commits

..

9 Commits

Author SHA1 Message Date
de64a4d806 __small__ optimization 2025-01-08 12:24:06 +06:00
409ca3770f fix parser 2025-01-08 12:22:29 +06:00
08ef7281e5 start 2.7.1 2025-01-08 12:17:21 +06:00
c28bf17335 Merge pull request #138 from InsanusMokrassar/2.7.0
2.7.0
2024-12-30 08:53:12 +06:00
bd590c3e3e update gradle wrapper version 2024-12-30 08:51:18 +06:00
9c11c0c7fc add support of wasm 2024-12-30 08:49:41 +06:00
79375f21e3 update dependencies 2024-12-30 08:35:20 +06:00
0b4dc1b328 start 2.7.0 2024-12-30 08:33:27 +06:00
4afebd8b7e Merge pull request #131 from InsanusMokrassar/2.6.1
2.6.1
2024-11-06 08:50:36 +06:00
6 changed files with 30 additions and 9 deletions

View File

@@ -1,5 +1,16 @@
# Changelog
## 2.7.1
* Fixes in parser and checker
## 2.7.0
* `Version`:
* `Kotlin`: `2.1.0`
* `Coroutines`: `1.10.1`
* Add WASM support (solution of [#137](https://github.com/InsanusMokrassar/krontab/issues/137))
## 2.6.1
* Fixes in parsing of string parts

View File

@@ -8,6 +8,7 @@
![Android](https://img.shields.io/badge/Android-green?style=for-the-badge&logo=android&logoColor=white)
![Js](https://img.shields.io/badge/JavaScript-323330?style=for-the-badge&logo=javascript&logoColor=F7DF1E)
![Linux x64](https://img.shields.io/badge/Linux%20x64-white?style=for-the-badge&logo=linux&logoColor=black)
![WASM](https://img.shields.io/badge/WASM-654FF0?style=for-the-badge&logo=webassembly&logoColor=white)
[![KDocs](https://img.shields.io/badge/KDocs-323330?style=for-the-badge&logo=Kotlin&logoColor=7F52FF)](https://insanusmokrassar.github.io/krontab/)
[![Tutorials](https://img.shields.io/badge/Tutorials-0288D1?style=for-the-badge&logo=mkdocs&logoColor=white)](https://docs.inmo.dev/krontab/index.html)

View File

@@ -62,6 +62,11 @@ kotlin {
linuxX64()
mingwX64()
linuxArm64()
wasm {
browser()
nodejs()
d8()
}
sourceSets {
@@ -85,6 +90,7 @@ kotlin {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
implementation kotlin('test')
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$kotlin_coroutines_version"
}
}

View File

@@ -9,11 +9,11 @@ android.useAndroidX=true
android.enableJetifier=false
kotlin_version=2.0.21
kotlin_coroutines_version=1.9.0
kotlin_version=2.1.0
kotlin_coroutines_version=1.10.1
kotlin_serialization_version=1.7.3
dokka_version=1.9.20
dokka_version=2.0.0
klockVersion=5.4.0
@@ -36,5 +36,5 @@ androidx_work_version=2.10.0
## Common
version=2.6.1
android_code_version=45
version=2.7.1
android_code_version=47

View File

@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip

View File

@@ -43,7 +43,9 @@ private fun <T> createSimpleScheduler(from: String, dataRange: IntRange, dataCon
* 1.
* * "\\d" -> 2
* * "\\*" -> 4
* * "F" -> 7
* * "f" -> 7
* * "L" -> 7
* * "l" -> 7
* * "/" -> 6
* 2.
@@ -55,6 +57,7 @@ private fun <T> createSimpleScheduler(from: String, dataRange: IntRange, dataCon
* * "o" -> 10
* * "w" -> 10
* 3.
* * "L" -> 7
* * "l" -> 7
* * "\\d" -> 8
* 4.
@@ -78,8 +81,8 @@ private val checkIncomingPartTransitionsMap = listOf(
listOf( // 0
Regex("\\d") to 1,
Regex("\\*") to 3,
Regex("f") to 6,
Regex("l") to 6,
Regex("[Ff]") to 6,
Regex("[Ll]") to 6,
Regex("/") to 5,
),
listOf( // 1
@@ -92,7 +95,7 @@ private val checkIncomingPartTransitionsMap = listOf(
Regex("w") to 9,
),
listOf( // 2
Regex("l") to 6,
Regex("[Ll]") to 6,
Regex("\\d") to 7,
),
listOf( // 3