summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-06-12Clock : initialize the actual clockface in initialization list instead of in ↵Jean-François Milants
the core of the ctro().
2021-06-12Merge pull request #425 from Raupinger/remove-watch-tapJF002
Remove tap to switch Watchfaces
2021-06-12Merge pull request #359 from Avamander/patch-2JF002
Used a macro for UUID generation, switched from C-style casts to reinterpret_cast, renamed callback
2021-06-12Changed the namespace of SystemInfo::sortById to avoid a name conflict (#360)Avamander
2021-06-12Fix scrollbar (#382)Riku Isokoski
2021-06-12Fix fallthrough on case statement (#403)Jonathan Vander Mey
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 another regressionRiku Isokoski
2021-06-11Fix regressionRiku Isokoski
2021-06-11Fix touchevent tapRiku Isokoski
2021-06-10replace ScreenList with a single screen in Clock. This removes the tap to ↵Florian
switch feature
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-09Update BatteryIcon.cpphassless
Improvement to the mapping of battery percentage to the battery icon to be displayed.
2021-06-06Fix build for recovery firmware.Jean-François Milants
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-04Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray
2021-06-01Add the maximum memory used by LVGL in SystemInfo app. This will help the ↵JF002
developers to size the memory buffer allocated to lvgl. (#408)
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-06-01Remove debug defines (DEBUG & DEBUG_NRF_USER) from the build. These debug ↵JF002
can be useful for debugging purposes but not in production (release). (#400) This reduces the size of the binary by about 6KB! This also removes filepath that were embedded into the binary (.bin) file.
2021-06-01Navigation app: reduce memory usage (#362)JF002
* 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 Isokoski
2021-05-26improve ui and optimize codeRiku Isokoski
2021-05-21Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray
2021-05-21Fix recovery DisplayApp.Jean-François Milants
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-20removed an empty assignment that caused a compiler warning (#372)Florian
2021-05-19Move GPL license headerKieran Cawthray
2021-05-19Remove newline modificationsKieran Cawthray
2021-05-19Tidying/formatting fixesKieran Cawthray
2021-05-18Fix it again..Kieran Cawthray
2021-05-18Revert "Reset"Kieran Cawthray
This reverts commit 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d.
2021-05-18PineTimeStyleKieran Cawthray
2021-05-18ResetKieran Cawthray
2021-05-17Fix wrong initialization of 'pinPowerPresent' pin that would prevent the ↵Jean-François Milants
touchpanel from working correctly when the device boots while connected to the charger.
2021-05-16Updated license header yearAvamander
2021-05-16Used a macro for UUID generation, switched from C-style casts to ↵Avamander
reinterpret_cast, renamed callback
2021-05-16Emit event on power-present toggle (#320)David Ventura
* Emit event on power-present toggle * clang-format on changes * also update battery status on any event * update comments; remove double battery update * Fix formatting * Vibrate shortly on charging event * debounce charge event
2021-05-16Merge pull request #347 from jedi2light/feature-show-git-commit-hash-shortJF002
Feature: Store and show git short ref on PineTime alongside other firmware information
2021-05-15NotificationItem now also redefines the start of the timeoutFlorian Kraupa
2021-05-15cleaned up the code and reduced the size of the diff by removing things like ↵Florian Kraupa
additional whitespaces
2021-05-15only activate the timeout on call notification previews after they have been ↵Florian Kraupa
interacted with
2021-05-15implemented continuous vibration pattern for incoming callsFlorian Kraupa
2021-05-15better handling of long notification titlesFlorian Kraupa
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