Commit Graph

2119 Commits

Author SHA1 Message Date
Milo Ivir
cc141b5fe2 chore(l10n): update Croatian translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/hr/
Via: Weblate
2025-07-13 22:26:45 +05:30
Quentin PAGÈS
9ef8842c2c chore(l10n): update Occitan translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/oc/
Via: Weblate
2025-07-13 22:26:45 +05:30
Quentin PAGÈS
31904a4b07 chore(l10n): update Occitan translations
Currently translated at 10.0% (5 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/oc/
Via: Weblate
2025-07-13 22:26:45 +05:30
Quentin PAGÈS
01e8776581 feat(l10n): add Occitan translations
Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/oc/
Via: Weblate
2025-07-13 22:26:45 +05:30
Naveen Singh
df7815fcd8 docs: add entry about default alarm sound availability (#239) 2025-07-13 22:03:33 +05:30
dependabot[bot]
5520edad3f chore(deps): bump com.android.application from 8.11.0 to 8.11.1 (#238)
Bumps com.android.application from 8.11.0 to 8.11.1.

---
updated-dependencies:
- dependency-name: com.android.application
  dependency-version: 8.11.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-13 21:36:02 +05:30
dependabot[bot]
3e62df8667 chore(deps): bump org.fossify:commons from 4.2.0 to 4.3.0 (#237)
Bumps [org.fossify:commons](https://github.com/FossifyOrg/commons) from 4.2.0 to 4.3.0.
- [Commits](https://github.com/FossifyOrg/commons/compare/4.2.0...4.3.0)

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

See: https://github.com/FossifyOrg/Clock/issues/144
2025-07-13 21:34:27 +05:30
dependabot[bot]
863800233d chore(deps): bump org.jetbrains.kotlinx:kotlinx-serialization-json (#228)
Bumps [org.jetbrains.kotlinx:kotlinx-serialization-json](https://github.com/Kotlin/kotlinx.serialization) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Kotlin/kotlinx.serialization/compare/v1.8.1...v1.9.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-08 12:53:56 +05:30
dependabot[bot]
233d22688c chore(deps): bump com.google.devtools.ksp (#230)
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from 2.1.21-2.0.2 to 2.2.0-2.0.2.
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/2.1.21-2.0.2...2.2.0-2.0.2)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-version: 2.2.0-2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-08 12:24:34 +05:30
dependabot[bot]
910a0f09d4 chore(deps): bump com.android.application from 8.10.1 to 8.11.0 (#229)
* chore(deps): bump com.android.application from 8.10.1 to 8.11.0

Bumps com.android.application from 8.10.1 to 8.11.0.

---
updated-dependencies:
- dependency-name: com.android.application
  dependency-version: 8.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): update gradle wrapper

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-07-07 20:11:24 +05:30
dependabot[bot]
250dd40168 chore(deps): bump org.fossify:commons from 4.1.0 to 4.2.0 (#233)
Bumps org.fossify:commons from 4.1.0 to 4.2.0.

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-04 21:19:12 +05:30
Naveen Singh
cc2a5ec124 chore: ignore extra translations and update detekt rules
* chore: ignore extra translations in lint

Extra translations are removed automatically by Weblate

* chore: update detekt rules

More compose-friendly

* chore: update lint baselines
2025-07-03 21:16:18 +05:30
dependabot[bot]
4d1f035614 chore(deps): bump org.fossify:commons from 4.0.0 to 4.1.0 (#227)
Bumps [org.fossify:commons](https://github.com/FossifyOrg/commons) from 4.0.0 to 4.1.0.
- [Commits](https://github.com/FossifyOrg/commons/compare/4.0.0...4.1.0)

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-01 17:26:01 +05:30
fossifybot[bot]
67cc242ab9 chore: update lint baselines (#231)
Co-authored-by: fossifybot[bot] <212866877+fossifybot[bot]@users.noreply.github.com>
2025-07-01 10:05:53 +05:30
dependabot[bot]
b8b154e9f4 chore(deps): bump org.fossify:commons from 3.0.5 to 4.0.0 (#222)
* chore(deps): bump org.fossify:commons from 3.0.5 to 4.0.0

Bumps [org.fossify:commons](https://github.com/FossifyOrg/commons) from 3.0.5 to 4.0.0.
- [Commits](https://github.com/FossifyOrg/commons/compare/3.0.5...4.0.0)

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(i18n): generate locale config automatically

One can be maintained in-app if missing translations become a problem.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-06-25 15:45:30 +05:30
dependabot[bot]
76ae158026 chore(deps): bump kotlin from 2.1.21 to 2.2.0 (#224)
Bumps `kotlin` from 2.1.21 to 2.2.0.

Updates `org.jetbrains.kotlin.android` from 2.1.21 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.2.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.1.21...v2.2.0)

Updates `org.jetbrains.kotlin.plugin.serialization` from 2.1.21 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.2.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.1.21...v2.2.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.android
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin.plugin.serialization
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-24 16:34:14 +05:30
Naveen Singh
66f877a3d7 chore: update lint rules and baselines (#225) 2025-06-24 16:06:08 +05:30
dependabot[bot]
7bcf173d72 chore(deps): bump room from 2.7.1 to 2.7.2 (#221)
Bumps `room` from 2.7.1 to 2.7.2.

Updates `androidx.room:room-runtime` from 2.7.1 to 2.7.2

Updates `androidx.room:room-ktx` from 2.7.1 to 2.7.2

Updates `androidx.room:room-compiler` from 2.7.1 to 2.7.2

---
updated-dependencies:
- dependency-name: androidx.room:room-runtime
  dependency-version: 2.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.room:room-ktx
  dependency-version: 2.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.room:room-compiler
  dependency-version: 2.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-23 17:04:43 +05:30
fossifybot[bot]
02a77a2f8d chore(release): v1.2.2 (5) (#212)
Co-authored-by: fossifybot[bot] <212866877+fossifybot[bot]@users.noreply.github.com>
1.2.2
2025-06-22 11:47:43 +05:30
Naveen Singh
0a67fc2208 docs: update changelog (#220) 2025-06-21 20:41:21 +05:30
Naveen Singh
1095a516e4 fix: use proper constraints to prevent RTL issues (#219)
See: https://github.com/FossifyOrg/Clock/issues/206
2025-06-21 20:39:16 +05:30
Naveen Singh
7f3dbda671 fix: scale down AM/PM in clock fragment (#218)
* fix: scale down AM/PM in clock fragment

* fix: add a tiny bottom margin in stopwatch landscape layout
2025-06-21 20:21:03 +05:30
Naveen Singh
870f5dec48 fix: add landscape layout for stopwatch (#217)
* fix: add landscape layout for stopwatch

* docs: add comment about optimization

* docs: changelog

* fix: add some padding between lap items

* fix: hide laps list when empty
2025-06-21 19:13:36 +05:30
AND
ece3154e57 chore(l10n): update Macedonian translations
Currently translated at 2.0% (1 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/mk/
Via: Weblate
2025-06-21 16:24:20 +05:30
Naveen Singh
26d7b02cea chore(l10n): update Portuguese (Brazil) translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/pt_BR/
Via: Weblate
2025-06-21 16:24:20 +05:30
elid
17e73f82c1 chore(l10n): update Hebrew translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/he/
Via: Weblate
2025-06-21 16:24:20 +05:30
Igor Sorocean
0d92fa50dc chore(l10n): update Romanian translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/ro/
Via: Weblate
2025-06-21 16:24:20 +05:30
Oasis Tri
9ccca0e70a chore(l10n): update French translations
Currently translated at 100.0% (2 of 2 strings)

Translation: Fossify/Clock metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/clock-metadata/fr/
Via: Weblate
2025-06-21 16:24:20 +05:30
Petri Hämäläinen
788114dc8e chore(l10n): update Finnish translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/fi/
Via: Weblate
2025-06-21 16:24:20 +05:30
Naveen Singh
32a5e57767 chore(deps): remove stetho library (#216)
* chore(deps): remove stetho library

* chore(deps): remove androidx.work dependency
2025-06-21 15:46:34 +05:30
Naveen Singh
efa1f54803 fix: use fixed-width digits for stopwatch and timer (#215)
* fix: use fixed-width digits for stopwatch and timer

* fix: use fixed-width digits everywhere

* fix: limit max lines to 1

Switch to AutofitTextView if this becomes a problem.

* fix: restore padding

* fix: use autofit text view for stopwatch

See: https://github.com/FossifyOrg/Clock/issues/11

* docs: update changelog
2025-06-21 14:36:59 +05:30
Naveen Singh
e683ac4c4c chore: update bottom navigation icons (#214)
* refactor: cleanup live lap management and move work to background

dafa9e0ad8 worked but this is simpler.

* chore: update bottom navigation icons

* chore: replace `LAP` text button with image button

* docs: update changelog

* style: add names to call arguments
2025-06-20 21:24:22 +05:30
Naveen Singh
dafa9e0ad8 perf: optimize stopwatch updates (#213)
* fix: bump stopwatch update interval to 100ms

The UI does not need to update 50 times a second.

* perf: optimize stopwatch updates

- Added a static id for live lap for cleaner logic
- Added `updateLiveLap` method to the stopwatch adapter. This is responsible for updating the live lap and maintaining its position in the list

* refactor: move Lap.kt to extensions package
2025-06-20 19:40:03 +05:30
Naveen Singh
3563c3d4d2 fix: rework how time is calculated in stopwatch (#211)
* fix: rework how time is calculated in stopwatch

- Removed the tick logic to calculate time directly using `SystemClock.elapsedRealtime()`
- Simplified live lap management

See: https://github.com/FossifyOrg/Clock/issues/207

* fix: add `isActive` check
2025-06-20 10:01:19 +05:30
dependabot[bot]
2d6484bcc2 chore(deps): bump fastlane from 2.227.2 to 2.228.0 (#208)
Bumps [fastlane](https://github.com/fastlane/fastlane) from 2.227.2 to 2.228.0.
- [Release notes](https://github.com/fastlane/fastlane/releases)
- [Changelog](https://github.com/fastlane/fastlane/blob/master/CHANGELOG.latest.md)
- [Commits](https://github.com/fastlane/fastlane/compare/fastlane/2.227.2...fastlane/2.228.0)

---
updated-dependencies:
- dependency-name: fastlane
  dependency-version: 2.228.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-17 09:32:39 +05:30
dependabot[bot]
ab88592652 chore(deps): bump com.google.devtools.ksp (#209)
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from 2.1.21-2.0.1 to 2.1.21-2.0.2.
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/2.1.21-2.0.1...2.1.21-2.0.2)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-version: 2.1.21-2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-17 09:32:27 +05:30
dependabot[bot]
3fab160efa chore(deps): bump org.fossify:commons from 3.0.3 to 3.0.5 (#210)
Bumps [org.fossify:commons](https://github.com/FossifyOrg/commons) from 3.0.3 to 3.0.5.
- [Commits](https://github.com/FossifyOrg/commons/compare/3.0.3...3.0.5)

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 3.0.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-17 09:32:04 +05:30
Naveen Singh
b03b2ff246 ci: add fastlane metadata validation and update release trigger
* ci: auto trigger release pull requests when on changelog update

* chore: add code owners

* ci: add fastlane metadata validation
2025-06-09 14:48:40 +05:30
dependabot[bot]
0dfa9c757d chore(deps): bump org.fossify:commons from 2.0.1 to 3.0.3 (#199)
Bumps org.fossify:commons from 2.0.1 to 3.0.3.

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 3.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-07 15:18:23 +05:30
Naveen Singh
8a409ce7fd ci: update release workflows 2025-06-06 20:43:16 +05:30
Oasis Tri
96cbcd9e9c chore(l10n): update French translations
Currently translated at 100.0% (2 of 2 strings)

Translation: Fossify/Clock metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/clock-metadata/fr/
Via: Weblate
2025-06-06 18:46:57 +05:30
Frosted
1f26e9a20a chore(l10n): update Turkish translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/tr/
Via: Weblate
2025-06-06 18:46:57 +05:30
elid
96c09e274f chore(l10n): update Hebrew translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/he/
Via: Weblate
2025-06-06 18:46:57 +05:30
P.O
52bdf8d1c1 chore(l10n): update Swedish translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/sv/
Via: Weblate
2025-06-06 18:46:57 +05:30
Flavio F. M
ecfd7ee13d chore(l10n): update Portuguese (Brazil) translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/pt_BR/
Via: Weblate
2025-06-06 18:46:57 +05:30
LaKato
d0d10787a3 chore(l10n): update Esperanto translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/eo/
Via: Weblate
2025-06-06 18:46:57 +05:30
Yurt Page
77087359b6 chore(l10n): update Russian translations
Currently translated at 100.0% (2 of 2 strings)

Translation: Fossify/Clock metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/clock-metadata/ru/
Via: Weblate
2025-06-06 18:46:57 +05:30
elid
54eb5d9857 chore(l10n): update Hebrew translations
Currently translated at 100.0% (50 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/he/
Via: Weblate
2025-06-06 18:46:57 +05:30
P.O
729a3839ac chore(l10n): update Swedish translations
Currently translated at 98.0% (49 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/sv/
Via: Weblate
2025-06-06 18:46:57 +05:30
LordTenebrous
2c4868a9ef chore(l10n): update Spanish translations
Currently translated at 96.0% (48 of 50 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/es/
Via: Weblate
2025-06-06 18:46:57 +05:30