Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | Set time in settings | ConfuSomu | 2021-05-01 | |
| | | | | | | | | Implement menu option that allows setting the current time. | |||
| * | Implement preliminary settings app | ConfuSomu | 2021-05-01 | |
|/ | ||||
* | Add delta to app_btnpress arguments | ConfuSomu | 2021-04-28 | |
| | | | | This allows add to implement double clicking, for instance. | |||
* | Move check for button time since press to function | ConfuSomu | 2021-04-25 | |
| | | | | | This allows later updating the code to have the check work correctly when start time > current time. | |||
* | Test API methods with main_clock app | ConfuSomu | 2021-04-25 | |
| | | | | | Also commit settings.json updates made by VSCode. This commit was done to have a clean working tree. | |||
* | Fix character ghosting in main_clock | ConfuSomu | 2021-04-25 | |
| | ||||
* | Fix race condition on HOME press while rendering | ConfuSomu | 2021-04-22 | |
| | | | | | | | | | This existed because waiting for the app to finish rendering was done in a blocking manner, meaning that the rendering state would never end. This would block the microcontroller in a loop. This was fixed by rewriting the part related to app switching to correctly do the switching while the app is not rendering. | |||
* | Move global variables to struct | ConfuSomu | 2021-04-22 | |
| | ||||
* | Ignore home button press when in Api popup | ConfuSomu | 2021-04-22 | |
| | | | | | | | This avoids quitting the app when an Api popup is displayed, causing problems. The variable resposable for this has been renamed to better reflect its use. | |||
* | Remove heap allocations from home_menu | ConfuSomu | 2021-04-14 | |
| | | | | | This allows to "debloat" the space for others apps, which are not always loaded in memory, unlike home_menu. | |||
* | Add spaces to avoid displaying leftover characters | ConfuSomu | 2021-04-14 | |
| | ||||
* | Check for invalid app_id when app is init | ConfuSomu | 2021-04-14 | |
| | ||||
* | Use const char* as arg for Api::display_write_string | ConfuSomu | 2021-04-14 | |
| | ||||
* | Update comments in CMakeLists.txt with findings | ConfuSomu | 2021-04-08 | |
| | | | | This should probably be moved to a textfile in a doc directory. | |||
* | Fix accessing invalid day of week from array | ConfuSomu | 2021-04-08 | |
| | ||||
* | WFI in rendering loop when sleeping | ConfuSomu | 2021-04-08 | |
| | ||||
* | Update default datetime to more recent values | ConfuSomu | 2021-04-08 | |
| | ||||
* | Remove button testing from home_menu app | ConfuSomu | 2021-04-08 | |
| | ||||
* | Rewrite app_init to check for malloc/new failures | ConfuSomu | 2021-04-08 | |
| | ||||
* | Add fixme in pico-watch.c | ConfuSomu | 2021-04-01 | |
| | ||||
* | Increase heap size | ConfuSomu | 2021-04-01 | |
| | | | | | This should help remedy malloc (and new) failures. This is (naturaly) not a replacement for checking if malloc/new has failed! | |||
* | Fix possible race condition when switching app | ConfuSomu | 2021-03-28 | |
| | ||||
* | Enable malloc debugging | ConfuSomu | 2021-03-28 | |
| | | | | This might help in debugging problems related to memory and malloc-ing. | |||
* | Merge branch 'api-class' | ConfuSomu | 2021-03-28 | |
|\ | | | | | | | Add a few new API features. | |||
| * | Implement API method for setting current datetimeapi-class | ConfuSomu | 2021-03-28 | |
| | | ||||
| * | Implement API method for choosing between strings | ConfuSomu | 2021-03-28 | |
| | | | | | | | | This allows creating a menu with more ease. | |||
| * | Implement API method for popup for | ConfuSomu | 2021-03-16 | |
| | | | | | | | | choosing number | |||
| * | Implement API method to ask user for yes/no choice | ConfuSomu | 2021-03-16 | |
| | | ||||
| * | Move display of popup in API to generic function | ConfuSomu | 2021-03-16 | |
| | | | | | | | | | | | | | | | | This allows implementing different popup types with more ease. This new function made me notice that the application's heap (and maybe stack) usage is high. When testing the updated gui_popup_text method, I noticed that sometimes, the std::string cannot be allocated. There are more details in the updated api header file. | |||
| * | Dump display backbuffer only once | ConfuSomu | 2021-03-04 | |
| | | | | | | | | | | This reduces display flickering and might help in having a longer battery life. | |||
| * | Fix footer and header background drawing | ConfuSomu | 2021-03-04 | |
|/ | ||||
* | Enter shallow sleep when there are no interactions | ConfuSomu | 2021-03-02 | |
| | | | | Current app stops getting refreshed and display is turned off. | |||
* | Use bool in bgrefresh | ConfuSomu | 2021-03-01 | |
| | ||||
* | Merge branch 'api-class' | ConfuSomu | 2021-03-01 | |
|\ | ||||
| * | Fix race condition when refresh interval is small | ConfuSomu | 2021-03-01 | |
| | | | | | | | | Possible fix | |||
| * | Implement API to set/get render interval | ConfuSomu | 2021-03-01 | |
| | | ||||
| * | Implement API method for setting performance | ConfuSomu | 2021-03-01 | |
| | | | | | | | | | | This is to lower power consumption by having the apps set the lowest performance they need. | |||
| * | Use header and footer methods in apps | ConfuSomu | 2021-03-01 | |
| | | ||||
| * | Implement API method for display header text | ConfuSomu | 2021-03-01 | |
| | | ||||
| * | Implement API method for displaying footer text | ConfuSomu | 2021-03-01 | |
| | | ||||
| * | Remove popup tests from home_menu | ConfuSomu | 2021-03-01 | |
| | | ||||
| * | Wait for button press then hide popup | ConfuSomu | 2021-03-01 | |
| | | ||||
| * | Implement method in API for drawing a popup | ConfuSomu | 2021-03-01 | |
| | | | | | | | | I had to modify the OLED library to correctly work with newlines. | |||
| * | Expose features from the OLED library in the API | ConfuSomu | 2021-02-28 | |
| | | ||||
| * | Refactor API function names | ConfuSomu | 2021-02-27 | |
| | | ||||
| * | Implement getDatetime function in API | ConfuSomu | 2021-02-27 | |
| | | ||||
| * | Remove unnecessary includes | ConfuSomu | 2021-02-27 | |
| | | ||||
| * | Init selected_app in home_menu to a default value | ConfuSomu | 2021-02-27 | |
| | | | | | | | | | | When the value references an out of bounds memory address, line 47 in same file may cause hardfault/segmentation fault. | |||
| * | Use an Api class for abstraction | ConfuSomu | 2021-02-27 | |
|/ | | | | | | | | | | | It is currently very basic as functions will be added to it when the time comes. The idea is to have a method to, for example, show notifications (and store them in a list with metadata) to the user or also to easily show a message box overlaying the current display. Private class members will permit encapsulations of variables related to these features and limit the privilage that each app has on the device. | |||
* | Use dynamic allocation of app variables/data | ConfuSomu | 2021-02-20 | |
| | | | | | | | Stop using APPS_DATA. Dynamic allocation allows to avoid having memory used by unloaded apps, thus giving more memory to running apps. Make sure to correctly deallocate with `delete` to avoid memory leaks! Exceptions to allocate memory will have to be handled... |