1
0
Fork 0
Commit graph

2283 commits

Author SHA1 Message Date
14092ef883 justfile: add app: Calculator 2025-01-02 11:55:15 +00:00
17abbdd079 README: illustrate some Trax.im tweaks with screen-shots 2025-01-02 11:55:15 +00:00
6c59dd0d1c step-count (Analog, Digital, Terminal) grey-out when zero 2025-01-02 11:55:15 +00:00
5d15a0df3c Motion: change icon from 'M' to 'XYZ' 2025-01-02 11:55:15 +00:00
0745ebd82c Calculator: move 160 bytes from RAM to flash
Making the 'button matrix' arrays 'const' saves 160 bytes of non-stack
RAM, which in this context is a lot, and makes it fit (for me) in a
real-device build along with my choice of other apps.
2025-01-02 11:55:15 +00:00
JustScott
68384fc34e Add a new Calculator App
InfiniTime PR #375 "Calculator App"

Co-authored-by: Raupinger <fgrauper@gmail.com>
Co-authored-by: Florian <florian@florian-thinkpad.local>
Updated to 1.14 by: JustScott
2025-01-02 11:55:15 +00:00
bf786dac8e add a 'justfile' for building 2025-01-02 11:55:15 +00:00
a8a99bc462 docker: allow passing arguments to build 2025-01-02 11:55:15 +00:00
ab9eaef3fc heart rate indicator: change '0' to '...' (Analog, Digital, Terminal) 2025-01-02 11:55:15 +00:00
4262e61ee7 tweak heart & step icon positions (Analog, Digital) 2025-01-02 11:55:15 +00:00
904749654a Analog: include heart and step info 2025-01-02 11:55:15 +00:00
c78e210f3c date format is now a build-time choice, not tied to 12/24h setting 2025-01-02 11:55:15 +00:00
7d74749b45 remove empty screen after settings menu simplified 2025-01-02 11:55:15 +00:00
be9392e698 update source code URL to mine at lab.trax.im 2025-01-02 11:55:15 +00:00
bbc0cf5930 allow passing OWNER_TEXT variables into cmake 2025-01-02 11:55:15 +00:00
88877074e8 Analog, Digital: a lighter shade of pink 2025-01-02 11:55:15 +00:00
e82dc2659e Analog: include the month 2025-01-02 11:55:15 +00:00
a60341bfa0 Settings menu: simplify 2025-01-02 11:55:15 +00:00
e313c1f6b9 spelling: 'Analogue' 2025-01-02 11:55:15 +00:00
628bbad683 Analog, Digital: lower case day/month names 2025-01-02 11:55:15 +00:00
b572e2ec91 Terminal: tweak text, colour, lower case; refactor source 2025-01-02 11:55:15 +00:00
118d23cd4c MonthShortToStringLow(): new, counterpart to existing functions 2025-01-02 11:55:15 +00:00
225ba57a45 lower case 'am'/'pm' (watch faces Digital, Terminal) 2025-01-02 11:55:15 +00:00
63493078ef show owner name (on Analog, Digital, Terminal) 2025-01-02 11:55:15 +00:00
Jean-François Milants
2105a7b63d Set version to 1.15.0 2024-12-03 20:11:08 +01:00
Lionel Elie Mamane
79ee886904 spelling 2024-11-25 08:55:37 +01:00
Lionel Elie Mamane
b1d70ae2ed remove unused include 2024-11-25 08:55:37 +01:00
xz-dev
a77a3dcb8b cmake: fix python path with use multi-version python 2024-11-17 23:36:22 +00:00
mark9064
8aefa3b9a6 Ignore old GoToRunning messages 2024-11-17 15:35:15 +01:00
febrezo
6c7eb6630e Fix git hash calculation with Docker build
Fix error when compiling the Pinetime using the Docker image.
If done with Docker, the container does not trust the /sources
folder, leading to a blank response of the command that grabs
the git commit `git rev-parse --short HEAD`.

```
fatal: detected dubious ownership in repository at '/sources'
To add an exception for this directory, call:

        git config --global --add safe.directory /sources
PROJECT_GIT_COMMIT_HASH_SUCCESS? 128

BUILD CONFIGURATION
-------------------
    * Mode : Release
    * Version : 1.3.0
    * Toolchain : /opt/gcc-arm-none-eabi-10.3-2021.10
    * GitRef(S) :
    * NRF52 SDK : /opt/nRF5_SDK_15.3.0_59ac345
    * Target device : PINETIME
    * Build DFU (using adafruit-nrfutil) : Enabled
    * Build resources : Enabled
```

If the `git config --global --add safe.directory /sources` is
added to the Dockerfile, the problem is solved and the hash is
added correctly.
2024-11-17 15:22:22 +01:00
Dom Rodriguez
4dd0d60eeb ci: Normalise slash-containing github.head_ref values
This fixes CI on #2121.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2024-11-17 15:13:38 +01:00
Jozef Mlich
a2ced5659d Update Amazfish details in README.md
The openrepos contain obsolete version (description on the openrepos page says that). New SailfishOS version is in chum repo. Additionally, there is Ubuntu Touch and Flatpak version.
2024-11-17 00:10:20 +00:00
Lionel Elie Mamane
5ea9c5537e Weather: fix min and max temperature being switched 2024-11-16 23:53:33 +00:00
FintasticMan
f7c87a700d weather: Switch to std::optional for Forecast days
Also only iterate over the number of days actually in use, rather than
MaxNbForecastDays.
2024-11-04 21:22:38 +01:00
FintasticMan
e247bd7019 Switch to simpler temperature interface 2024-11-04 21:22:38 +01:00
FintasticMan
29ad09f4ef weather: Refactor temperature type for type safety
There is now a Temperature struct in the weather service, which holds
the internal representation. There is also a temperature struct in the
Applications namespace, which holds the temperature in either Celsius or
Fahrenheit.
2024-11-04 21:22:38 +01:00
Samuel Dorsaz
afeded0126 Update Date&Time settings label for "Date & Time" 2024-11-04 21:20:44 +01:00
mark9064
57b6db8b2a Remove OnTouchEvent 2024-10-27 19:51:01 +01:00
mark9064
0076962588 Unify touch panel handling 2024-10-27 19:51:01 +01:00
mark9064
e6ee548536 Process touch events only when awake 2024-10-27 19:51:01 +01:00
mark9064
1808634f0e Clear ongoing taps when going to sleep 2024-10-27 19:51:01 +01:00
Lionel Elie Mamane
cfaad261dc SimpleWeatherService #include <array>
not <vector> as that is what is actually used.
Fixes build failure
InfiniTime/src/components/ble/SimpleWeatherService.h:86:18: error: field ‘location’ has incomplete type ‘Pinetime::Controllers::SimpleWeatherService::Location’ {aka ‘std::array<char, 33>’
2024-10-27 18:27:03 +01:00
FintasticMan
f1651c8000 datetime: Set the default year to the year during compile 2024-10-27 17:01:07 +01:00
mark9064
8a2ee437f5 Restrict hardware reactivation when not sleeping 2024-10-27 16:56:47 +01:00
mark9064
06b721a71f Improve sleep time calculation docs 2024-10-27 16:56:47 +01:00
mark9064
771008495e Replace rounded div macro 2024-10-27 16:56:47 +01:00
mark9064
f032847ae1 Refactor into defined states 2024-10-27 16:56:47 +01:00
mark9064
97ba39988b 8hz idle 2024-10-27 16:56:47 +01:00
liamcharger
879bdccd92
README: Header redesign (#2032)
* Reformat README.md

* Update README.md

* Add files via upload

* Add files via upload

* Add new README.md header image

* Remove unnecessary <br> tag

* Scale watchface logo down; add downloads badge

* Remove unnecessary <br> tag

* Add <br> tag to maintain spacing consistency

* Remove incorrect link

* Add watchface logo with dark logo

* Replace logo image with dark version

* Add files via upload

* Add header image

* Fix row spacing in header image

* Remove unnecessary <br> tag

* Add corner radius to header image

* Add files via upload

* Update image background

* Add reference to InfiniTimeExplorer

* Remove unnecessary image

* Remove unnecessary image

* Remove unnecessary images

* Rename watchface_collage_no_shadow.png to watchface_collage.png

* Update header image URL

* Remove unnecessary <br> tag

* SPI transaction hooks

* Remove task to notify

* Refactor display WriteToRam

* Use functional abstraction for hooks

* Refactor lambdas

* Avoid storing lambda

* Rename to pre-transaction hook

* Use FreeRTOS delay instead of spinning the CPU

* Apply display driver datasheet delays

* Move includes back

* Include task header (Fixes sim)

* Make chime vibrate twice

* Remove commit from main

* README: improve wording

* Add bootloader to DeviceInformationService.cpp

* Add bootloader to DeviceInformationService.h

* Revert "Add bootloader to DeviceInformationService.h"

This reverts commit f3f0fd568d96dea1ebd30529b4b8b6d5f4d5444b.

* Revert "Add bootloader to DeviceInformationService.cpp"

This reverts commit 35570edafab1b061442ae89b01a2ced8b9a812bd.

* Delete doc/logo/watchface_collage.png

* Add files via upload

* Delete doc/logo/watchface_collage.png

* Add files via upload

* Replace collage with correct image

---------

Co-authored-by: mark9064 <30447455+mark9064@users.noreply.github.com>
2024-10-23 19:00:48 +02:00
NeroBurner
8598142c27
Remove unused submodule QCBOR (#2138)
The submodule isn't used anymore. Remove the submodule reference
completely.
2024-10-09 20:26:08 +02:00