summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
AgeCommit message (Collapse)Author
2021-07-28Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray
2021-07-25Code cleanup (#466)Riku Isokoski
* Code cleanup * Remove override again
2021-07-24Dim screen before sleep (#464)Riku Isokoski
* Implement dimming
2021-07-24Merge branch 'fix_touchevent_tap' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants
into Riksu9000-fix_touchevent_tap # Conflicts: # src/displayapp/DisplayApp.cpp
2021-07-23Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray
2021-07-22Make firmware updating more foolproof (#469)Riku Isokoski
* 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
2021-07-20Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray
2021-07-14Set correct refresh times for lvgl (#488)Riku Isokoski
2021-07-14Merge branch 'develop' into fix_touchevent_tapRiku Isokoski
2021-07-13Adjust displayapp delay to compensate time spent (#482)Riku Isokoski
2021-07-12Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray
2021-07-04Improve stopwatch (#432)Riku Isokoski
* Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
2021-06-24PineTimeStyle color picker initial commitKieran Cawthray
2021-06-19Add support for BMA425 acceleration sensor. (#440)JF002
* Add support for BMA425 acceleration sensor.
2021-06-12Fix build issues since Metronome app has been merged.Jean-François Milants
2021-06-12add basic metronome app (#409)Bryton Hall
* add basic metronome app * add bpb, tap to bpm, update widgets * use event pressed for bpm tap * move case statement break to the right place * narrow bpm selection range, override touch events * fix arc knob style * re-enable sleeping in destructor
2021-06-12Changed the namespace of SystemInfo::sortById to avoid a name conflict (#360)Avamander
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants
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 regressionRiku Isokoski
2021-06-11Fix touchevent tapRiku Isokoski
2021-06-10Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants
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 Milants
executing the button handler).
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants
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-01Enable various compilation flags to reduce the binary size (#401)JF002
* 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-05-20Timer App (#355)Florian
* 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-15DisplayApp : returnApp was renamed ReturnApp() (manual fix after multiple ↵Jean-François Milants
merges).
2021-05-15Merge pull request #298 from joaquimorg/StepsAppJF002
New Steps app
2021-05-15Merge pull request #349 from Avamander/patch-2JF002
Switched to booleans for infinite while loops
2021-05-15Merge pull request #350 from Avamander/patch-3JF002
Added braces to a few if statements
2021-05-14Fixed a naming inconsistency of DisplayApp::ReturnApp and a few formatting ↵Avamander
errors
2021-05-14Added braces to a few if statementsAvamander
2021-05-14Switched to booleans for infinite while loopsAvamander
2021-05-02short vibration when enabling itpetter
2021-04-26Merge branch 'develop' ofJoaquim
https://github.com/JF002/InfiniTime into StepsApp
2021-04-24Reformatted all the files according to clang-format styleAvamander
2021-04-19New Steps appJoaquim
Settings to set the steps goal More detail in Motion app New 42px Font
2021-04-16In order to stabilize the battery reading,Joaquim
I modified the process to make 5 consecutive readings, as the process is asynchronous, there is no interference in the main process.
2021-04-11Move Task info to about menuJoaquim
fix build error in WatchFaceDigital
2021-04-100.16.0 TWI problems fixJoaquim
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 Milants
# 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
2021-04-09add more memory to displayapp taskJoaquim
2021-04-04First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants
wrist rotation + app to see the value of the 3 axis in "real time".
2021-04-04Big UI and navigation RewriteJoaquim
new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
2021-03-22replaced all unique_ptr.reset calls with std::make_uniqueNiall Cooling
2021-03-21Reverted the paddle app in displayapp.cpppanky-codes
2021-03-20Merged upstreampanky-codes
2021-03-20Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants
# Conflicts: # src/main.cpp # src/systemtask/SystemTask.h
2021-03-15Removed unused variables. Tested.panky-codes
2021-03-11Basic logic done. Need to change the timer source to get ms. Also need to ↵panky-codes
replace with paddle app in displayApp.cpp and ApplicationList.cpp later.
2021-03-07Merge branch 'develop' into recovery-firmwareJean-François Milants
# Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.h # src/systemtask/SystemTask.cpp # src/systemtask/SystemTask.h