aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* notification: Initialise messageFinlay Davidson2023-03-161-1/+1
| | | | | | Prevents reading uninitialised memory if notification gets cut off due to being more than 100 chars. The last character is assumed to be \0, but it is actually uninitialised.
* WatchFaceAnalog: Simplify date update checkRiku Isokoski2023-03-152-15/+5
|
* raisewake: Change names in line with the style guideFinlay Davidson2023-03-093-9/+9
|
* motioncontroller: Fix clang-tidy warningsFinlay Davidson2023-03-092-15/+12
| | | | Also move one-line functions to header.
* shakewake: Switch to more generic timekeepingFinlay Davidson2023-03-092-7/+10
| | | | Could be used for other motion-based algorithms in the future.
* shakewake: Simplify return codeFinlay Davidson2023-03-091-5/+1
|
* shakewake: Switch to more generic last* varsFinlay Davidson2023-03-092-11/+16
| | | | | These could be used for other motion-based algorithms in the future. Also fix includes.
* shakewake: Fix names according to style guideFinlay Davidson2023-03-094-17/+17
|
* PTS: Fix double tap behaviour on settings screen (#1669)kieranc2023-03-041-2/+2
| | | | Fixes #1467 "Double tapping PineTimeStyle steps style button sends watch to sleep" Double tap is disabled on the color settings screen by checking if the Rnd button is visible, but this didn't work for the options screen as the Rnd button isn't visible. I've changed it to check if the Close button is visible instead, which is used on both settings screens, and resolves the bug. I also changed the button used to disable the long press behaviour which was an as-yet-undiscovered bug which would have allowed the long press action to be used when the options screen was visible.
* Add low battery indicator to StatusIcons, digital and analog watchfacesRiku Isokoski2023-03-027-1/+21
| | | | Define deepOrange color in InfiniTimeTheme
* Revert "added low battery message"Riku Isokoski2023-03-025-31/+1
| | | | This reverts PR https://github.com/InfiniTimeOrg/InfiniTime/pull/1352
* LVGL / FS : Initialize the LVGL FS driver in LittleVgl (instead of FS).Jean-François Milants2023-02-265-67/+62
| | | | | | Previously, the LVGL driver for the filesystem was initialized in the class FS. However, since 6f942e2, the order of the initializations was incorrect : the driver was initialized (FS::LVGLFileSystemInit()) before LVGL (LittleVgl.Init()), which means that the driver registration was probably dropped when LVGL was initialized. The LVGL driver is now initialized in LittleVgl.Init(), which seems to make much more sense, since all LVGL drivers are initialized there. This way, we ensure that the initialization of the drivers is consistent.
* infineat: Create colors at compile time.Riku Isokoski2023-02-262-49/+119
| | | | lv_color_hex can't be evaluated at compile time, but LV_COLOR_MAKE can.
* warnings: Treat warnings as errorRiku Isokoski2023-02-261-1/+1
| | | | | This way warnings will be taken seriously, and will cause PR checks to fail when they throw warnings.
* Apps: Remove Weather from app enumRiku Isokoski2023-02-261-1/+0
| | | | Weather app is not fully implemented and is causing a warning
* QCBOR: Update to v1.0Riku Isokoski2023-02-261-0/+0
| | | | Fixes a compiler warning
* DateTimeController: Fix integer overflowRiku Isokoski2023-02-261-1/+1
|
* motion: Disable Motion appRiku Isokoski2023-02-254-6/+7
| | | | | This is a debugging app, not useful for most people. Also remove the app icon.
* screens: Add notes about using C++20 featuresRiku Isokoski2023-02-252-0/+2
|
* date: Remove date libRiku Isokoski2023-02-2513-90/+43
| | | | DateTimeController can provide everything we need.
* DateTimeController: Use std::tm for storing dateRiku Isokoski2023-02-252-31/+22
|
* DateTimeController: Remove SetTime tick parameterRiku Isokoski2023-02-258-24/+9
| | | | | | The systick doesn't need to be updated when setting time. Also removed unused nrf_rtc.h includes.
* SystemTask: Move lcd to DisplayAppRiku Isokoski2023-02-254-8/+3
| | | | SystemTask should never write to the lcd
* LittleVgl: Instantiate in DisplayAppRiku Isokoski2023-02-258-64/+5
| | | | | | | LVGL is only a part of the main DisplayApp. Other "DisplayApps" can be implemented without LVGL. DummyLittleVgl isn't needed anymore and has been removed
* watchdog: Replace WatchdogView with const WatchdogRiku Isokoski2023-02-258-26/+12
|
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-2572-156/+99
|
* screens: Remove explicit Screen constructorsRiku Isokoski2023-02-2533-44/+32
| | | | | This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
* screens: Remove displayapp parameter from screenRiku Isokoski2023-02-2530-29/+44
| | | | | | | | The DisplayApp class isn't used in the Screen base class and most screens, so requiring it is pointless. In this commit, DisplayApp pointers were added to screens which use it and the explicit Screen constructor was removed in those screens.
* SystemTask: Move MotorController to DisplayAppRiku Isokoski2023-02-259-27/+25
| | | | | Vibrations should be associated with something happening on the UI. Therefore SystemTask should not be controlling the motor.
* displayapp: Make Ble references constRiku Isokoski2023-02-2430-42/+42
|
* displayapp: Make Cst816S references constRiku Isokoski2023-02-246-8/+8
|
* displayapp: Make Battery class references constRiku Isokoski2023-02-2430-41/+41
|
* TouchHandler: Do not store touch panel referenceRiku Isokoski2023-02-245-22/+17
|
* touchhandler: Remove LVGL dependencyRiku Isokoski2023-02-247-51/+39
| | | | Move LVGL specific code to the LittleVgl class
* libs: Disable clang-format and -tidyRiku Isokoski2023-02-232-0/+2
|
* LittleVgl: Remove unused Cst816S referenceRiku Isokoski2023-02-234-8/+4
|
* TimerController: Use chrono for durationsRiku Isokoski2023-02-233-14/+17
|
* WatchfaceAnalog: add ble icon (#1430)Itai Nelken2023-02-212-0/+15
|
* clang-format: Always break template declarationsRiku Isokoski2023-02-164-8/+16
| | | | | I find this format easier to read, because the definitions are at the expected indentation, making it easier to find what I'm looking for.
* SettingSteps: Update UIRiku Isokoski2023-02-121-5/+13
| | | | Bigger buttons, use new color.
* SettingSteps: Improve goal settingRiku Isokoski2023-02-121-14/+18
| | | | | | Long pressing will change the value by 1000, whereas clicks will change it by 500. This allows setting more precise values, while also making it easier to set any value.
* Steps: Update UIRiku Isokoski2023-02-011-5/+7
|
* stopwatch: Update UIRiku Isokoski2023-02-013-52/+91
| | | | | | The time used to be yellow while paused. Changing it to white made the paused state less distinct. Blinking the time while paused makes the state distinct again.
* Merge branch 'aleexxzeero-proper-mcuboot-app-size' into developJean-François Milants2023-01-291-4/+4
|\
| * #1463 Updated CMakeLists.txt for building images with expected alignmentAlex Dolzhenkov2022-12-291-4/+4
| |
* | SettingChimes: Use CheckboxListRiku Isokoski2023-01-292-66/+48
| |
* | SettingBluetooth: Use CheckboxListRiku Isokoski2023-01-292-79/+42
| |
* | LittleVgl: Small cleanupRiku Isokoski2023-01-292-10/+6
| |
* | theme: Replace LV_DPX with a constexpr variantRiku Isokoski2023-01-291-0/+13
| |
* | theme: Cleanup unused stylesRiku Isokoski2023-01-291-40/+6
| | | | | | | | | | Condensed paddings with pad_all No visual changes