| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
# Conflicts:
# src/displayapp/screens/StopWatch.h
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This is needed since a new memory chip will be used in future batches of PineTimes.
|
| | |
|
| |
|
|
| |
Move displayapp/Apps.h into a header only library (to make the integration easier in InfiniSim.
|
| |
|
|
|
|
|
|
|
|
| |
This new implementation of the weather feature provides a new BLE API and a new weather service.
The API uses a single characteristic that allows companion apps to write the weather conditions (current and forecast for the next 5 days).
The SimpleWeather service exposes those data as std::optional fields.
This new implementation replaces the previous WeahterService.
The API is documented in docs/SimpleWeatherService.md.
|
| |
|
|
|
|
|
| |
A list of "user applications" is built at compile time. It contains all the info needed to create the application at runtime (ptr to a create() function) and to display the app in the application menu. All applications declare a TypeTrait with these information.
When a new app must be loaded, DisplayApp first check if this app is a System app (in which case it creates it like it did before). If it's not a System app, it looks for the app in the list of User applications and creates it if it found it.
Those changes allow to more easily add new app and to select which app must be built into the firmware.
Switch to C++20 (and fix a few issues in SpiMaster.cpp and Watchdog.cpp.
|
| | |
|
| |
|
|
| |
TimerController instance was moved to DisplayApp.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace custom FreeRTOS inactivity timers with LVGL inactivity timers.
DisplayApp: Trigger display activity on timer done.
inactivity: Add additional checks
The backlight could be turned on by RestoreBrightness() on ble connect
event.
inactivity: Trigger activity on screen switch
A notification timing out could put the watch to sleep immediately.
While this could be ideal behaviour, it was caused by delay in
processing the EnableSleeping event and pushing RestoreBrightness to
DisplayApp.
|
| |
|
|
| |
DateTimeController can provide everything we need.
|
| |
|
|
|
|
|
| |
LVGL is only a part of the main DisplayApp. Other "DisplayApps" can be
implemented without LVGL.
DummyLittleVgl isn't needed anymore and has been removed
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
In my PR updating clang-format, I forgot to also format the headers.
|
| |
|
|
|
|
| |
Each opened app (screen) is pushed on a stack, which is then popped from
when returning instead of hard coded "previous apps". Return swipe and
refresh directions are automatically determined from the app transition.
|
| |
|
|
| |
when loading app and going to running mode. Such issue could occur in case of inconsistent or corrupted settings.
|
| |
|
|
| |
from the ilesystem
|
| | |
|
| |
|
|
|
|
|
|
| |
For the simulator I need a way to get to the brightnessController object
and handle the set brightness-levels accoringly.
This is done by the constructor expecting a brightnessController object
instead of initializing one itself
|
| |
|
|
|
|
|
| |
Don't use relative imports like `../foo.h` as those depend on the
relative position of both files. Rather than that use imports relative
to the `src` directory, which explicitly is part of the include
directories.
|
| |\ |
|
| | |\
| | |
| | | |
Let LVGL control queueTimeout
|
| | | | |
|
| | | | |
|
| |\| | |
|
| | |/ |
|
| |\| |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
into Riksu9000-fix_touchevent_tap
# Conflicts:
# src/displayapp/DisplayApp.cpp
|
| | |\
| |/
|/| |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
executing the button handler).
|
| |/
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
| |
errors
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
# 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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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...
|
| |/
|
|
| |
wrist rotation + app to see the value of the 3 axis in "real time".
|