summaryrefslogtreecommitdiff
path: root/src/displayapp
AgeCommit message (Collapse)AuthorFilesLines
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants4-3/+12
initialized in main() into Start()/Init() functions to avoid Static Initialization Order Fiasco (https://en.cppreference.com/w/cpp/language/siof). See https://github.com/JF002/InfiniTime/pull/415#issuecomment-859004238.
2021-06-10Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants4-14/+22
code is running from an IRQ before calling xQueueSendFromISR or xQueueSend)
2021-06-10Fix stack corruption when exiting an app (the app was destroyed while it was ↵Jean-François Milants2-1/+10
executing the button handler).
2021-06-06Fix build for recovery firmware.Jean-François Milants2-3/+6
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants6-26/+42
variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
2021-06-01Add the maximum memory used by LVGL in SystemInfo app. This will help the ↵JF0021-1/+3
developers to size the memory buffer allocated to lvgl. (#408)
2021-06-01Enable various compilation flags to reduce the binary size (#401)JF0021-1/+1
* Add the following compilation flags: * -fno-exceptions and -fno-non-call-exceptions : disable exception handling * -fno-rtti : disable run time type information (needed by dynamic_cast, for example) These flags reduce the binary size by about 100KB! Also, -fstack-usage generate debug info (not in final binary) to allow tools like Puncover to do a stack analysis. * Remove unused CMake variables in CMake_nRF5x.cmake (duplicated in src/CMakeLists.txt). Replace -O0 by -Og in DEBUG builds. This generates a smaller binary (small enough for the internal memory) that is debugger friendly.
2021-06-01Navigation app: reduce memory usage (#362)JF0022-120/+118
* Navigation app: - Renaming and reformatting according to coding conventions - declare iconMap as constexpr and use char* instead of std::string This reduces the flash usage from 424644B to 419344B (-5300B)!
2021-05-21Fix recovery DisplayApp.Jean-François Milants2-4/+7
2021-05-20Timer App (#355)Florian10-19/+262
* built timer app * Style improvements * making sure buttons stay hidden when the app is reopened and reappear after the timer runs out * more sensible calculations of time deltas. eliminated that mysterious scaling factor * changing the timer icon
2021-05-20removed an empty assignment that caused a compiler warning (#372)Florian1-1/+0
2021-05-16Merge pull request #347 from jedi2light/feature-show-git-commit-hash-shortJF0023-0/+16
Feature: Store and show git short ref on PineTime alongside other firmware information
2021-05-16better handling of long notification titlesFlorian Kraupa1-0/+10
2021-05-15DisplayApp : returnApp was renamed ReturnApp() (manual fix after multiple ↵Jean-François Milants1-1/+1
merges).
2021-05-15Merge pull request #298 from joaquimorg/StepsAppJF00211-19/+528
New Steps app
2021-05-15Merge pull request #349 from Avamander/patch-2JF0022-2/+2
Switched to booleans for infinite while loops
2021-05-15Merge pull request #350 from Avamander/patch-3JF0022-4/+7
Added braces to a few if statements
2021-05-14Fixed a naming inconsistency of DisplayApp::ReturnApp and a few formatting ↵Avamander2-19/+19
errors
2021-05-14Added braces to a few if statementsAvamander2-4/+7
2021-05-14Switched to booleans for infinite while loopsAvamander2-2/+2
2021-05-14git: show git short ref hash on SystemInfo(first screen) and ↵Stoian Minaiev3-0/+16
FirmwareValidation screen alongside other information
2021-05-10SystemInfo app screenStoian Minaiev1-3/+3
First screen. Let the build date and build time string be centered as well as the others
2021-05-03Fix a possible double free in StopWatch::Refresh.Martin Ashby1-1/+2
The lv_obj_del is called on btnStopLap when transitioning to the initial state, however the variable isn't then set to null. A subsequent call to Refresh would attempt to delete the already freed object. This could be triggered by stopping the stop watch, then pressing the physical button on the watch. Fixes https://github.com/JF002/InfiniTime/issues/315
2021-05-02Merge pull request #314 from eivindm/improved_heartbeat_in_watchfaceJF0021-10/+7
Improve design of heartbeat data in digital watchface
2021-05-02Show heartbeat icon in watchface in gray if data is missingEivind Mork1-10/+7
2021-05-02Merge pull request #301 from petterhs/vibJF0026-1/+16
Short vibration when enabling it in quick settings menu
2021-05-02short vibration when enabling itpetter6-1/+16
2021-05-02Merge pull request #275 from panos/navigation-textJF0021-1/+1
Changed text in Navigation
2021-04-30Fix typo in src/displayapp/fonts/README.mdKozova11-3/+3
Signed-off-by: Kozova1 <mug66kk@gmail.com>
2021-04-26Merge branch 'develop' ofJoaquim80-2628/+2642
https://github.com/JF002/InfiniTime into StepsApp
2021-04-24Changed access modified indentationAvamander40-80/+80
2021-04-24Reformatted all the files according to clang-format styleAvamander83-2642/+2657
2021-04-20Fix formatting issue on the lap counter in Stopwatch (display lap counter on ↵Jean-François Milants1-2/+2
2 characters).
2021-04-20Fix button size and default step goalJoaquim1-11/+7
2021-04-19Fix formatting issue on the lap counter in Stopwatch.Jean-François Milants1-2/+2
2021-04-19New Steps appJoaquim11-15/+529
Settings to set the steps goal More detail in Motion app New 42px Font
2021-04-18Fix a display glitch when an OTA is initiated while an app (other than ↵Jean-François Milants1-0/+6
Clock) was open and while the device was in sleep mode.
2021-04-18Fix display consistency with the HR measurement when measurements are ↵Jean-François Milants1-4/+10
already running when the app is open.
2021-04-18Merge pull request #285 from Peetz0r/fix-stopwatch-formattingJF0022-9/+9
Fix stopwatch formatting
2021-04-18Merge pull request #269 from petterhs/musicBtnThemeJF0021-11/+26
Apply theme to Music buttons
2021-04-17Stopwatch: improve variable namingPeetz0r2-7/+7
msec => hundredths
2021-04-17Stopwatch: improve number formattingPeetz0r1-4/+4
2021-04-17Changed text in NavigationPanagiotis Vasilopoulos1-1/+1
2021-04-16In order to stabilize the battery reading,Joaquim2-6/+11
I modified the process to make 5 consecutive readings, as the process is asynchronous, there is no interference in the main process.
2021-04-16fix style formatting in 2048 gamepetter1-2/+7
2021-04-15Change animation direction in menusJoaquim José Almeida Pereira2-2/+2
2021-04-14apply button theme to Music UIpetter1-11/+26
2021-04-11Move Task info to about menuJoaquim8-157/+58
fix build error in WatchFaceDigital
2021-04-100.16.0 TWI problems fixJoaquim7-15/+124
More memory for freertos heap and timer stack Fix warning in watchface Fix number of bytes read by cst816 Debug app to show freertos tasks Increased the number of bytes of the twi write buffer
2021-04-09Merge branch 'develop' into motion-sensorJean-François Milants471-10365/+58280
# Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/DisplayApp.h # src/displayapp/lv_pinetime_theme.c # src/displayapp/screens/ApplicationList.cpp # src/drivers/TwiMaster.cpp # src/systemtask/SystemTask.h