Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Move app manager functions to a namespace | ConfuSomu | 2021-08-05 |
| | | | | This helps with compartmentalisation and organisation. | ||
* | Clean up app_manager and correctly clear the OLED | ConfuSomu | 2021-08-01 |
| | | | | when switching app. | ||
* | Transition app_settings to BaseApp class | ConfuSomu | 2021-08-01 |
| | | | | | This change allows app_settings to be used under the new app architecture. | ||
* | Move function documentation to header file | ConfuSomu | 2021-08-01 |
| | |||
* | Move bgrefresh of each app to app_manager function | ConfuSomu | 2021-08-01 |
| | |||
* | Implement virtual getter for app attributes | ConfuSomu | 2021-08-01 |
| | | | | | This is done to allow each app to be able to set their own app attributes without having them be overshadowed by BaseApp's defaults. | ||
* | Implement an app_manager that supports BaseApp | ConfuSomu | 2021-07-25 |
| | | | | | | | | | and create classes for home_menu and main_clock apps. This commit has a lot of changes as multiple parts of the project had to be changed to support running apps that are based on the BaseApp class. It could not have been done in multiple commits as the progam would not be able to build and thus I would not be able to test the changes. | ||
* | Remove BaseApp ptr from open_apps after deleting it | ConfuSomu | 2021-06-25 |
| | |||
* | Move functions related to app lifecycle managment | ConfuSomu | 2021-06-25 |
| | | | | They have been moved to a new file, to provide better encapulation. | ||
* | Use an abstract class for apps | ConfuSomu | 2021-06-20 |
| | | | | | | | | It is derived by each app. This allows finally allocating space for an app's variable when it is opened. On the other hand, currently, destruction of apps is not fully implemented. This commit is also done to save a snapshot of something that works. | ||
* | Merge branch 'app-settings' | ConfuSomu | 2021-06-20 |
|\ | |||
| * | Remove uneeded return statementapp-settings | ConfuSomu | 2021-05-29 |
| | | | | | | | | | | It is uneeded because of falling to the next case present in switch statements. | ||
| * | Fix incorrect default value when setting day | ConfuSomu | 2021-05-29 |
| | | | | | | | | Did a small oversight where I wrote "month" instead of "day". | ||
| * | Use pragma once in main.hpp | ConfuSomu | 2021-05-27 |
| | | | | | | | | | | #pragma once will be used in every header file from now on. Changes will be made for the other header files. | ||
| * | Use NUM_CHOICES to avoid having magic number | ConfuSomu | 2021-05-27 |
| | | |||
| * | Add time format setting | ConfuSomu | 2021-05-27 |
| | | | | | | | | Set between 24 hour and 12 hour format. | ||
| * | Implement display settings | ConfuSomu | 2021-05-06 |
| | | |||
| * | Add user_settings global struct | ConfuSomu | 2021-05-06 |
| | | |||
| * | Add cancel option to date/time setting menu | ConfuSomu | 2021-05-06 |
| | | | | | | | | | | This allows to not save the settings, to avoid time drift, when just looking at them. | ||
| * | Fix incorrect month displayed | ConfuSomu | 2021-05-01 |
| | | |||
| * | Display last selected option when showing choices | ConfuSomu | 2021-05-01 |
| | | | | | | | | | | Avoid displaying the first option again when something else has been selected. | ||
| * | Decrease button sensitivity | ConfuSomu | 2021-05-01 |
| | | | | | | | | | | The buttons were very sensitive when moving around in the menus. This change seems to remedy this problem. | ||
| * | Clean up unneeded settings from menu | ConfuSomu | 2021-05-01 |
| | | |||
| * | Set date in settings | ConfuSomu | 2021-05-01 |
| | | |||
| * | 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. |