summaryrefslogtreecommitdiff
path: root/src/displayapp
AgeCommit message (Collapse)AuthorFilesLines
2021-06-12Clock : initialize the actual clockface in initialization list instead of in ↵Jean-François Milants1-19/+12
the core of the ctro().
2021-06-12Merge pull request #425 from Raupinger/remove-watch-tapJF0022-20/+23
Remove tap to switch Watchfaces
2021-06-12Changed the namespace of SystemInfo::sortById to avoid a name conflict (#360)Avamander3-3/+4
2021-06-12Fix scrollbar (#382)Riku Isokoski1-1/+1
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-11Fix another regressionRiku Isokoski1-1/+1
2021-06-11Fix regressionRiku Isokoski1-1/+3
2021-06-11Fix touchevent tapRiku Isokoski3-15/+7
2021-06-11replace ScreenList with a single screen in Clock. This removes the tap to ↵Florian2-20/+23
switch feature
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-09Update BatteryIcon.cpphassless1-4/+4
Improvement to the mapping of battery percentage to the battery icon to be displayed.
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-04Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray4-122/+122
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-26Keep button visible, but disabledRiku Isokoski1-3/+9
2021-05-26improve ui and optimize codeRiku Isokoski1-18/+17
2021-05-21Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray13-24/+269
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-19Move GPL license headerKieran Cawthray1-16/+15
2021-05-19Remove newline modificationsKieran Cawthray3-3/+3
2021-05-19Tidying/formatting fixesKieran Cawthray1-13/+23
2021-05-18Fix it again..Kieran Cawthray3-3/+27
2021-05-18Revert "Reset"Kieran Cawthray22-76/+591
This reverts commit 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d.
2021-05-18PineTimeStyleKieran Cawthray3-0/+1638
2021-05-18ResetKieran Cawthray22-591/+76
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-16NotificationItem now also redefines the start of the timeoutFlorian Kraupa2-8/+16
2021-05-16cleaned up the code and reduced the size of the diff by removing things like ↵Florian Kraupa3-16/+11
additional whitespaces
2021-05-16only activate the timeout on call notification previews after they have been ↵Florian Kraupa2-13/+30
interacted with
2021-05-16implemented continuous vibration pattern for incoming callsFlorian Kraupa4-15/+38
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