Commit Graph

1997 Commits

Author SHA1 Message Date
Naveen Singh
7da5877800 chore(l10n): update Bulgarian translations
Currently translated at 67.3% (64 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/bg/
Via: Weblate
2025-07-04 16:37:31 +05:30
Salif Mehmed
1d9a6bfd06 chore(l10n): update Bulgarian translations
Currently translated at 67.3% (64 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/bg/
Via: Weblate
2025-07-04 16:37:31 +05:30
Alexander Gabilondo
f81e4f21e8 chore(l10n): update Basque translations
Currently translated at 4.2% (4 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/eu/
Via: Weblate
2025-07-04 16:37:31 +05:30
Agnieszka C
9f06fc5f5f feat: use system locale for number formatting instead of setting (#64) (#106)
* feat: use system locale for number formatting instead of setting (#64)

* Fixed formatting
2025-07-04 16:24:05 +05:30
Gropinou
0a215ff1c9 fix: replace misleading microsecond strings with millisecond (#108) 2025-07-04 09:14:25 +05:30
Naveen Singh
1f458a1f1a 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:08 +05:30
fossifybot[bot]
9c3c3bba1a chore: update lint baselines (#104)
Co-authored-by: fossifybot[bot] <212866877+fossifybot[bot]@users.noreply.github.com>
2025-07-01 10:05:26 +05:30
Ismail Choudhury
4fa02677b1 chore(l10n): update English (United Kingdom) translations
Currently translated at 2.1% (2 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/en_GB/
Via: Weblate
2025-06-30 19:42:46 +05:30
Bora Atıcı
41c36dd5bb chore(l10n): update Turkish translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/tr/
Via: Weblate
2025-06-30 19:42:46 +05:30
Naveen Singh
29643a9030 style: reformat code and optimize imports (#103) 2025-06-30 19:38:35 +05:30
Naveen Singh
c5631f5975 fix: add proguard rules for EvalEx (#102)
See: https://github.com/ezylang/EvalEx/issues/338
2025-06-30 16:29:08 +05:30
Naveen Singh
ad78dbc70b fix: only show plus/minus button for supported units (#101)
* fix: only show plus/minus button for supported units

Also enabled converter layout animation.

* style: format code
2025-06-30 15:41:49 +05:30
Tomasz Świstak
3786f8311e feat: use bigdecimal instead of double (#96)
* feat: use bigdecimal instead of double

* chore: add changelog entry

* chore: revert comment about percentage handling

I've removed it mistakenly

* fix: detekt issues

* fix: detekt issue

* Update app/src/main/kotlin/org/fossify/math/helpers/converters/LengthConverter.kt

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

* refactor: use common MathContext everywhere

* fix: revert old way of handling square roots

* refactor: simplify sqrt management

* feat: add evalex license (depends on commons update)

---------

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
2025-06-29 10:22:56 +05:30
Naveen Singh
3498b1e4f5 chore(deps): bump org.fossify:commons to 4.1.0 (#100) 2025-06-29 10:14:30 +05:30
dependabot[bot]
a998f21191 chore(deps): bump org.fossify:commons from 3.0.5 to 4.0.0 (#93)
* 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:21 +05:30
Naveen Singh
41679375d6 chore: update lint rules and baselines (#95) 2025-06-24 16:01:41 +05:30
dependabot[bot]
794d622b33 chore(deps): bump room from 2.7.1 to 2.7.2 (#92)
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:05:14 +05:30
Naveen Singh
3fe17c7b54 fix: add btnPlusMinus to getButtonIds() (#91)
* fix: add btnPlusMinus to `getButtonIds()`

Forgot to add it after commiting https://github.com/FossifyOrg/Calculator/pull/49#discussion_r2117247270

* style: format code
2025-06-19 19:49:34 +05:30
Hbabou Sami
b6f518c5a3 feat: implement negative temperature conversion (#44)
* Add conditional visibility for +/- button in unit converter

* Add negative number toggle for converter

* Add +/- button for temperature converter only

* Improve temperature conversion handling

- Fixed crash when deleting negative values
- Added support for entering negative sign first
- Implemented temperature limits validation during input:
  * Block negative values for Kelvin and Rankine (minimum 0)
  * Enforce absolute zero limits:
    - Celsius: minimum -273.15
    - Fahrenheit: minimum -459.67
- Added validation during digit entry to avoid going below absolute 0 and also after sign toggle

* Update app/src/main/kotlin/org/fossify/math/activities/UnitConverterActivity.kt

* Update app/src/main/kotlin/org/fossify/math/activities/UnitConverterActivity.kt

* Update app/src/main/kotlin/org/fossify/math/activities/UnitConverterActivity.kt

* Update app/src/main/kotlin/org/fossify/math/views/ConverterView.kt

* Update app/src/main/kotlin/org/fossify/math/views/ConverterView.kt

* Update app/src/main/kotlin/org/fossify/math/views/ConverterView.kt

* Update app/src/main/kotlin/org/fossify/math/views/ConverterView.kt

* fix: add missing import statements

* docs: update changelog

---------

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-06-19 19:29:11 +05:30
fossifybot[bot]
90353eb2ad chore(release): v1.0.5 (6) (#86)
Co-authored-by: fossifybot[bot] <212866877+fossifybot[bot]@users.noreply.github.com>
1.0.5
2025-06-17 17:01:56 +05:30
Naveen Singh
506aeb9db9 chore(l10n): update Portuguese (Brazil) translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/pt_BR/
Via: Weblate
2025-06-17 16:25:43 +05:30
elid
3d6f0fe275 chore(l10n): update Arabic translations
Currently translated at 34.7% (33 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/ar/
Via: Weblate
2025-06-17 16:25:43 +05:30
dependabot[bot]
2a753abebd chore(deps): bump org.fossify:commons from 3.0.3 to 3.0.5 (#88)
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 16:04:54 +05:30
dependabot[bot]
ba1a03e488 chore(deps): bump fastlane from 2.227.2 to 2.228.0 (#87)
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-16 17:14:56 +05:30
Naveen Singh
91b6bcf6a7 fix: mark app as beta (#85)
* chore: mark app as beta

* docs: update changelog
2025-06-13 10:31:15 +05:30
Naveen Singh
d21de9f45f chore(deps): bump org.fossify:commons to 3.0.3 (#84)
* chore(deps): bump org.fossify:commons to 3.0.3

* fix: update menu item title
2025-06-12 18:31:59 +05:30
dependabot[bot]
1229fe30d7 chore(deps): bump com.google.devtools.ksp (#83)
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-12 16:42:34 +05:30
Naveen Singh
3b35b74a14 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:34 +05:30
Naveen Singh
e66d05196f ci: update release workflows 2025-06-06 20:43:07 +05:30
Hosted Weblate
66b17f86f4 chore(l10n): update translation files via Remove blank strings
Translation files for Fossify/Calculator were updated
by the "Remove blank strings" hook.

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/
Via: Weblate
2025-06-06 18:41:33 +05:30
elid
6dc392d924 chore(l10n): update Hebrew translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/he/
Via: Weblate
2025-06-06 18:41:33 +05:30
elid
196683bcc4 chore(l10n): update Arabic translations
Currently translated at 34.7% (33 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/ar/
Via: Weblate
2025-06-06 18:41:33 +05:30
elid
abbd93d9e7 chore(l10n): update Hebrew translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/he/
Via: Weblate
2025-06-06 18:41:33 +05:30
Naveen Singh
6e1d0ecbe2 chore(release): v1.0.4 (5) (#76) 1.0.4 2025-05-31 17:30:39 +05:30
Naveen Singh
26c2898ff1 ci: update branch name to main (#75)
* ci: update branch name to main
2025-05-31 15:49:15 +05:30
abdelbasset jabrane
97b1451334 chore(l10n): update Arabic translations
Currently translated at 31.5% (30 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/ar/
Via: Weblate
2025-05-31 14:00:15 +05:30
LaKato
ae8d3d5a61 chore(l10n): update Esperanto translations
Currently translated at 50.0% (1 of 2 strings)

Translation: Fossify/Calculator metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator-metadata/eo/
Via: Weblate
2025-05-31 14:00:15 +05:30
Flavio F. M
b68663958e chore(l10n): update Portuguese (Brazil) translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/pt_BR/
Via: Weblate
2025-05-31 14:00:15 +05:30
Fjuro
b24f0b12c0 chore(l10n): update Czech translations
Currently translated at 100.0% (2 of 2 strings)

Translation: Fossify/Calculator metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator-metadata/cs/
Via: Weblate
2025-05-31 14:00:15 +05:30
Bora Atıcı
213c270cb0 chore(l10n): update Turkish translations
Currently translated at 50.0% (1 of 2 strings)

Translation: Fossify/Calculator metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator-metadata/tr/
Via: Weblate
2025-05-31 14:00:15 +05:30
Yurt Page
3863b70a8e chore(l10n): update Russian translations
Currently translated at 50.0% (1 of 2 strings)

Translation: Fossify/Calculator metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator-metadata/ru/
Via: Weblate
2025-05-31 14:00:15 +05:30
Максим Горпиніч
8171954812 chore(l10n): update Ukrainian translations
Currently translated at 100.0% (2 of 2 strings)

Translation: Fossify/Calculator metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator-metadata/uk/
Via: Weblate
2025-05-31 14:00:15 +05:30
elid
922db8d537 chore(l10n): update Hebrew translations
Currently translated at 100.0% (2 of 2 strings)

Translation: Fossify/Calculator metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator-metadata/he/
Via: Weblate
2025-05-31 14:00:15 +05:30
Feliks-WR
a997f22e45 feat(l10n): add Urdu translations
Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/ur/
Via: Weblate
2025-05-31 14:00:15 +05:30
Do you know my name?
d83c2a1592 chore(l10n): update Ukrainian translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/uk/
Via: Weblate
2025-05-31 14:00:15 +05:30
elid
1f969eb183 chore(l10n): update Hebrew translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/he/
Via: Weblate
2025-05-31 14:00:15 +05:30
dependabot[bot]
dfec570d30 chore(deps): bump org.jetbrains.kotlin.android from 1.9.25 to 2.1.21 (#74)
* chore(deps): bump org.jetbrains.kotlin.android from 1.9.25 to 2.1.21

Bumps [org.jetbrains.kotlin.android](https://github.com/JetBrains/kotlin) from 1.9.25 to 2.1.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.25...v2.1.21)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.android
  dependency-version: 2.1.21
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* chore(deps): add compose compiler gradle plugin

---------

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-05-29 20:29:51 +05:30
dependabot[bot]
b63a6117a0 chore(deps): bump com.android.application from 8.10.0 to 8.10.1 (#73)
Bumps com.android.application from 8.10.0 to 8.10.1.

---
updated-dependencies:
- dependency-name: com.android.application
  dependency-version: 8.10.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-05-29 19:02:00 +05:30
dependabot[bot]
9b72006cbc chore(deps): bump room from 2.6.1 to 2.7.1 (#54)
Bumps `room` from 2.6.1 to 2.7.1.

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

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

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

---
updated-dependencies:
- dependency-name: androidx.room:room-runtime
  dependency-version: 2.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.room:room-ktx
  dependency-version: 2.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.room:room-compiler
  dependency-version: 2.7.1
  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-05-29 18:59:59 +05:30
dependabot[bot]
11ff3884d2 chore(deps): bump com.google.devtools.ksp (#65)
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from 1.9.25-1.0.20 to 2.1.21-2.0.1.
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/1.9.25-1.0.20...2.1.21-2.0.1)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-version: 2.1.21-2.0.1
  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-05-29 18:50:55 +05:30