aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'JF002:develop' into set-datetime-manuallyTim2021-08-0854-533/+877
|\
| * Tile event handler : read the event data only if the event is a "value ↵Jean-François Milants2021-07-252-9/+11
| | | | | | | | changed event". LVGL sends many other event and some of them do not set the event data (global static variable) to a valid address, which may cause an invalid read. I noticed that when porting this class on RISC-V platform (BL602).
| * Fix compile warningsJonathan Vander Mey2021-07-252-0/+3
| |
| * Fix slow scrollRiku Isokoski2021-07-252-4/+1
| |
| * Fix cases where Get() isn't usedRiku Isokoski2021-07-251-2/+6
| |
| * Add new unique icons for some appsRiku Isokoski2021-07-257-49/+79
| |
| * Add task state info to SystemInfoRiku Isokoski2021-07-251-10/+32
| |
| * Code cleanup (#466)Riku Isokoski2021-07-2510-66/+42
| | | | | | | | * Code cleanup * Remove override again
| * Dim screen before sleep (#464)Riku Isokoski2021-07-244-17/+54
| | | | | | * Implement dimming
| * Merge branch 'fix_touchevent_tap' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2021-07-244-40/+33
| |\ | | | | | | | | | | | | | | | | | | into Riksu9000-fix_touchevent_tap # Conflicts: # src/displayapp/DisplayApp.cpp
| | * Merge branch 'develop' into fix_touchevent_tapRiku Isokoski2021-07-1496-1298/+4004
| | |\
| | * | Fix another regressionRiku Isokoski2021-06-111-1/+1
| | | |
| | * | Fix regressionRiku Isokoski2021-06-111-1/+3
| | | |
| | * | Fix touchevent tapRiku Isokoski2021-06-113-15/+7
| | | |
| * | | Make firmware updating more foolproof (#469)Riku Isokoski2021-07-225-17/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make firmware updating more foolproof and fix bugs * No need to manually handle overflow * Make startTime TickType_t * Don't process TouchEvents::None * Fix sleep getting re-enabled issue more directly
| * | | Multiple wakeup sources (#290)Kozova12021-07-144-49/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow multiple wakeup modes at the same time. This commit adds multiple wakeup modes support. It does so by storing them as a uint8_t bitfield enum. It changes the following functions: Since multiple modes can be on now, older version would not cut it: WakeUpMode getWakeupMode() -> std::bitset<3> getWakeUpModes() Where each bit corresponds to a WakeUpMode We still need a way to check whether a specific wakeup mode is on, so: bool isWakeUpModeOn(const WakeUpMode mode) This function was changed to work correctly with the new implementation. setWakeUpMode(WakeupMode mode, bool enable) Previously, systemtask would exit SystemTask::OnTouchEvent() if the wake up mode was None or RaiseWrist, to prevent waking up when a touch was received. However, after enabling using multiple WakeUpModes, this caused a bug where when RaiseWrist was checked with SingleTap or DoubleTap, the tap detection wouldn't work. This commit fixes that bug. Next commit will update the settings WakeUpMode select UI to reflect these changes. Signed-off-by: Kozova1 <mug66kk@gmail.com> * Updated UI to reflect multiple WakeUp sources being available. Signed-off-by: Kozova1 <mug66kk@gmail.com>
| * | | Set correct refresh times for lvgl (#488)Riku Isokoski2021-07-142-6/+7
| | |/ | |/|
| * | Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2021-07-132-2/+10
| |\ \
| | * | Adjust displayapp delay to compensate time spent (#482)Riku Isokoski2021-07-132-2/+10
| | | |
| * | | Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants2021-07-137-49/+11
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | https://github.com/Riksu9000/InfiniTime into Riksu9000-lvgl_use_system_tick # Conflicts: # src/displayapp/screens/BatteryInfo.cpp # src/displayapp/screens/BatteryInfo.h
| | * | LVGL use system tickRiku Isokoski2021-07-077-51/+11
| | | |
| * | | Merge branch 'develop' into notify-battery-levelJean-François Milants2021-07-132-36/+48
| |\ \ \ | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/displayapp/screens/BatteryInfo.cpp
| | * | | Refactor trig functions into LUT (#476)Jonathan Vander Mey2021-07-111-32/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced the use of the standard library trig functions with a LUT-based implementation instead. The standard library implementations produce more accurate results but the usage here doesn't need that. This ends up saving nearly 7kB of binary size.
| | * | | Modify status text in BatteryInfo so it fits on screen (#437)kieranc2021-07-111-4/+4
| | | | | | | | | | | | | | | * Modify status text in BatteryInfo so it fits on screen
| * | | | Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants2021-07-1117-68/+71
| |/ / / | | | | | | | | | | | | Refactor battery percent : only use uint8_t to store the battery % remaining.
| * | | Change step gauge range to 100 and calculate progress as percantage (#468)kieranc2021-07-111-3/+3
| | | |
| * | | Using littlefs (#438)joaquim.org2021-07-1110-130/+365
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | * add submodule littlefs * base fs * Save settings using littlefs * Small fixes and suggestions from PR * More small fixes from PR suggestions * Code clean up * Change SpiNorFlash functions to be private in FS
* | | Code optimizations in SettingSetDate and SettingSetTimeTim Taenny2021-07-092-13/+7
| | | | | | | | | | | | | | | Instead of calling lv_obj_align after each button click, the labels have their auto_realign property set.
* | | Code optimizations in SettingSetTimeTim Taenny2021-07-091-9/+17
| | | | | | | | | | | | | | | The positions of the labels are controlled by #define's, just like in SettingSetDate.
* | | Modified Settings menu as per suggestionTim Taenny2021-07-091-4/+4
| | | | | | | | | | | | | | | Moved "Set date" and "Set time" to the second page of the Settings menu.
* | | Code optimizations in SettingSetDateTim Taenny2021-07-091-41/+2
| | | | | | | | | | | | | | | Using static method of DateTimeController for retrieving month texts instead of implementing it in SettingSetDate again.
* | | Exposed Month and DayOfWeek texts in DateTimeControllerTim Taenny2021-07-092-9/+45
| | | | | | | | | | | | | | | Added static methods to return the text of a given month or dayOfWeek.
* | | Code optimizations in SettingSetTimeTim Taenny2021-07-091-24/+10
| | |
* | | Code optimizations in SettingSetDateTim Taenny2021-07-091-28/+12
| | |
* | | Added new menu entries to Settings pagetimaios2021-07-092-3/+17
| | |
* | | Added new screens to DisplayApp.cpptimaios2021-07-091-0/+10
| | |
* | | Added new screens to the list of applicationstimaios2021-07-091-1/+3
| | |
* | | Include new screens in CMakeLists.txttimaios2021-07-091-0/+2
| | |
* | | Added new screen: SettingSetDatetimaios2021-07-092-0/+317
| | |
* | | Added new screen: SettingSetTimetimaios2021-07-092-0/+212
|/ /
* | Improve stopwatch (#432)Riku Isokoski2021-07-043-115/+90
| | | | | | | | | | | | | | * Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
* | Whitespace and brace fixes (#456)Avamander2021-07-042-17/+15
| | | | | | | | | | * Brace style and whitespace fixes * Additional whitespace fixes
* | clang-formatRiku Isokoski2021-07-041-6/+7
| |
* | Condense firmware validation codeRiku Isokoski2021-07-042-28/+10
| |
* | Improve paddle gameRiku Isokoski2021-07-032-126/+50
| |
* | Inititialize members in class declarationJonathan Vander Mey2021-07-022-22/+12
| | | | | | | | Also added initializers for previously unintialized members.
* | Move local-only function into anonymous namespaceJonathan Vander Mey2021-07-021-4/+3
| |
* | Make MusicService UUID objects static constexprJonathan Vander Mey2021-07-022-22/+31
| |
* | Eliminate reinterpret_castingJonathan Vander Mey2021-07-021-26/+26
| |
* | and metronome icon (#439)Bryton Hall2021-07-024-7/+19
| | | | | | * add drum icon for metronome app