aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* WeatherService daily min/max temperature fixes (#1455)kieranc2022-11-251-6/+8
| | | | * Min/Max function fixes * Faster way to calculate day start
* Add linear approximation and use it for improving battery percentageAlex Dolzhenkov2022-11-193-36/+51
| | | | | | | | Add linear approximation class and use it to better model the non-linear discharge curve of the battery. Changed the minimum voltage level to 3.5V and the maximum to 4.18V. For reference the maximum observed voltage is 4.21V during charging.
* Update BatteryController.h with non-linear discharge curvehassless2022-11-192-5/+36
|
* add CTS local time characteristic and use it to provide UTC in ↵uli2022-11-116-53/+158
| | | | DateTimeController
* Checkbox list now receives a function pointer to call when the setting has ↵Jean-François Milants2022-10-111-8/+5
| | | | changed. This allow to remove the dependency between CheckBoxList (UI component) with SettingController.
* Edit all occurences of "watchface" to "watch face"mashuptwice2022-10-101-3/+3
|
* Merge branch 'pts-options' of github.com:kieranc/InfiniTime into ↵Jean-François Milants2022-10-021-0/+12
|\ | | | | | | | | | | | | kieranc-pts-options # Conflicts: # src/components/settings/Settings.h
| * CleanupKieran Cawthray2022-09-061-2/+1
| |
| * Implement persistent settingsKieran Cawthray2022-09-061-1/+14
| |
* | motorController: Fix infinite vibration on RunForDuration(0)Galdor Takacs2022-10-021-1/+1
| |
* | Merge branch 'watchface-casio-digital-G7710' of ↵Jean-François Milants2022-09-271-8/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | github.com:ITCactus/InfiniTime into ITCactus-watchface-casio-digital-G7710 # Conflicts: # src/components/settings/Settings.h # src/displayapp/screens/CheckboxList.cpp # src/displayapp/screens/CheckboxList.h # src/displayapp/screens/Clock.cpp # src/displayapp/screens/Clock.h # src/displayapp/screens/settings/SettingWatchFace.cpp
| * | Apply clang-format to Settings.hAutoformatter2022-06-301-1/+0
| | |
| * | post rebase fixesITCactus2022-06-301-4/+5
| | |
| * | [new watchface] watchface inspired by G7710, with day of year and week ↵ITCactus2022-06-301-1/+11
| | | | | | | | | | | | number info
* | | Merge pull request #1024 from dmlls/infineat-prJF2022-09-273-1/+42
|\ \ \ | | | | | | | | Infineat Watchface + support for external resources.
| * \ \ Merge branch 'develop' into infineat-external-resourcesJean-François Milants2022-09-115-76/+118
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | # Conflicts: # src/displayapp/screens/Symbols.h # src/displayapp/screens/settings/SettingWatchFace.cpp # src/displayapp/screens/settings/SettingWatchFace.h
| * | | Make function DayOfWeekShortToStringLow constDiego Miguel2022-06-112-2/+2
| | | |
| * | | Bump settings version (#1)Diego Miguel2022-06-111-1/+1
| | | |
| * | | Implement SettingWatchFace listDiego Miguel2022-06-111-0/+9
| | | |
| * | | Fixes in side cover togglingDiego Miguel2022-06-111-4/+6
| | | |
| * | | Add lowercase days of the weekDiego Miguel2022-06-112-0/+6
| | | |
| * | | Add Infineat settings to settings controllerDiego Miguel2022-06-111-0/+24
| | | |
* | | | AlarmController: add const to SecondsToAlarm() functionReinhold Gschweicher2022-09-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The function `SecondsToAlarm()` doesn't change anything in the `AlarmController` object. Mark the function `const` to show this property.
* | | | Update src/components/settings/Settings.hAkseli2022-09-171-1/+1
| | | | | | | | | | | | Co-authored-by: NeroBurner <pyro4hell@gmail.com>
* | | | add pink colorAkseli Lahtinen2022-09-171-2/+3
| |/ / |/| |
* | | Add sleep mode which disables notifications, touch- and motion wakeup (#1261)Riku Isokoski2022-08-211-2/+2
| |/ |/|
* | Dismiss notifications by swiping rightSimon Willshire2022-06-282-61/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new interface `NotificationManager::Dismiss(id)` to delete a notification with the specified `id`. The animate the notification dismiss the `RightAnim` transition to a black screen is used. After the dismiss the new message is swiped in from below or above. If we dismiss the oldest message (when we are at 5/5, or 3/3), then the new message after a dismiss should appear to come from below. Otherwise (when we are at 2/3) the new message after a dismiss should appear to come from above. Rework the index code to show the index of the currently viewed notification. Instead of calculating the index relative to the oldest `id` introduce a new interface `NotificationManager::IndexOf(id)`. This is done because the `id` of the notifications in the buffer aren't continuous anymore (as some messages could have been dismissed). Rework notification ring buffer to have a beginIdx and a size internally to make the dismissal of notifications easier. Fixes: https://github.com/InfiniTimeOrg/InfiniTime/issues/176 Co-authored-by: Simon Willshire <me@simonwillshire.com> Co-authored-by: Reinhold Gschweicher <pyro4hell@gmail.com>
* | Remove backup brightness feature (#1180)Riku Isokoski2022-06-182-13/+1
|/ | | This feature is not needed and is probably more likely to cause issues. It's better to just use brightnessController.Set(settingsController.GetBrightness());
* Switch to freertos timers (#1095)Michele Bini2022-06-064-34/+31
| | | | | | | | | | | * Use FreeRTOS timer for AlarmController * Use FreeRTOS timer for MotorController * Remove app_timer component from compilation as we now solely use FreeROTS timer * Simplify variable and text names for AlarmController and MotorController timers * Call ScheduleAlarm directly from StopAlerting, for recurring timers Co-authored-by: Riku Isokoski <riksu9000@gmail.com> Co-authored-by: NeroBurner <pyro4hell@gmail.com>
* Fix various typosluz paz2022-06-052-7/+7
| | | | Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
* Apply clang-format to all C++ filesFinlay Davidson2022-06-0516-86/+121
|
* Replace C-style casts with static_castFinlay Davidson2022-06-051-8/+10
|
* Fix assertion failure in TimerControllerLudovic J2022-05-271-1/+1
| | | 0 is not valid for xTimerPeriodInTicks, changing it to 1 to pass the assertion
* Replace app_timer with FreeRTOS timersRiku Isokoski2022-04-252-61/+27
|
* Make functions const againRiku Isokoski2022-04-252-2/+2
|
* Update track progress in MusicService. Fix #127Riku Isokoski2022-04-252-2/+14
|
* Merge branch 'develop' into remove-nm-referenceMax Friedrich2022-04-1916-49/+137
|\
| * Merge pull request #1009 from ↵Riku Isokoski2022-04-181-1/+2
| |\ | | | | | | | | | | | | NeroBurner/AlarmController_allow_less_precice_system_time AlarmController: allow loss of precision for alarmTime cast
| | * AlarmController: allow loss of precision for alarmTime castReinhold Gschweicher2022-03-291-1/+2
| | | | | | | | | | | | | | | Allow a loss of precision if the system clock has a lower resolution than nanoseconds. This is the case for web assembly.
| * | Replace airplane mode with a bluetooth toggleRiku Isokoski2022-04-021-1/+1
| |/
| * New changes according to the review : Priority 0 for display, 1 for system, ↵Jean-François Milants2022-03-211-0/+1
| | | | | | | | timer and ble host, and 2 for ble LL
| * Music app : when title/track name are truncated, add an ellipsis at the end ↵Jean-François Milants2022-03-211-5/+13
| | | | | | | | of the strings.
| * Add missing space in if expression.Jean-François Milants2022-03-211-1/+1
| |
| * Limit the size of the track and album name received by MusicService. This ↵Jean-François Milants2022-03-211-0/+7
| | | | | | | | should work around this bug : https://github.com/InfiniTimeOrg/InfiniTime/issues/825 and prevent heap over-allocation.
| * DateTimeController: make possible functions constReinhold Gschweicher2022-03-142-4/+4
| | | | | | | | | | MonthShortToString and DayOfWeekShortToString don't change the underlying object. Those are just getters and can be declared `const`.
| * Add missing nrf_log.h includes shadowed by SystemMonitor.hReinhold Gschweicher2022-03-085-0/+5
| | | | | | | | | | | | Some components were missing a `nrf_log.h` include. This missing include was accidentally provided by the SystemMonitor.h header, which was included by Systemtask.h
| * Settings: more specific read and write modeReinhold Gschweicher2022-03-031-2/+2
| | | | | | | | | | | | | | | | | | For each filesystem interaction be more specific if we want to read from the file or write to it. Doing a non-creating read on the loading of the settings file, otherwise an empty file could be created, and when reading that empty file for the initial settings I would expect an error (or random data) when reading.
| * Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants2022-02-205-46/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | into evergreen22-airplane-mode Apply a few changes that were requested in the PR during the review. # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
| * Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants2022-02-205-36/+92
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into evergreen22-airplane-mode # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
| | * Add airplane mode featureJames A. Jerkins2021-12-235-36/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements 'Airplane mode' feature to disable and enable bluetooth/ble Adds airplaneMode as a non-persisted setting Adds a setting menu for switching airplane mode on and off Displays an airplane symbol on the Digital watch face and the PineTimeStyle watch face when airplane mode is enabled Always enables bluetooth/ble on boot (disable airplane mode) Alphabetizes the settings menu options Style cleanups Closes #632