aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* workflows: Disable build size comment in fork PRsRiku Isokoski2023-01-071-1/+5
| | | | | | | | Due to a security concern, comments can only be created in the context of branches in the repo. PRs from forks can't get the comment. https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#restrictions-on-repository-forks https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
* workflows: Add build size comparison workflowRiku Isokoski2023-01-072-3/+122
| | | | | | | | | | | | | | Add .github/workflows/getSize.sh to extract sizes of sections from the objfile build-firmware uses getSize.sh to output the section sizes. get-base-ref-size job added, which builds the base branch of the PR and outputs the section sizes. Caches are used to avoid unnecessary builds when the base branch hasn't been updated. leave-build-size-comment job added, which creates or updates a comment on the PR with the build size information from other jobs.
* workflows: Update workflow dependencyRiku Isokoski2023-01-071-7/+1
| | | | The workaround is no longer necessary
* docker: Make build.sh more portableRiku Isokoski2023-01-071-9/+9
|
* Fix returning to the same screenRiku Isokoski2023-01-051-2/+7
|
* Implement a return app stackRiku Isokoski2023-01-054-54/+104
| | | | | | 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.
* Add missing clang-format options from version 12Finlay Davidson2023-01-041-0/+2
|
* Update clang-{format,tidy} to 14Finlay Davidson2023-01-0417-5/+32
| | | | | Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
* Revert "prepare cmake unity build"Riku Isokoski2022-12-312-29/+0
| | | | This reverts commit 21f3bd708261ece47096961039e65d5b6f113c73.
* Revert "enable CMake unity build in build.sh"Riku Isokoski2022-12-311-1/+0
| | | | This reverts commit 35654fbd982e27383ffc15446d9ab0a8606ae29d.
* Revert "Update docker/build.sh"Riku Isokoski2022-12-311-1/+1
| | | | This reverts commit 7103f9d8063431b778df83244de5862d963e1ce8.
* Update docker/build.shDominik Nussbaumer2022-12-271-1/+1
| | | Co-authored-by: NeroBurner <pyro4hell@gmail.com>
* enable CMake unity build in build.shtnixeu2022-12-271-0/+1
|
* prepare cmake unity buildtnixeu2022-12-272-0/+29
| | | | Exclude files from unity build which currently cause compile erros because of redefinitions.
* Include algorithm and cstring for std::memcpy and std::minJean-François Milants2022-12-271-0/+2
|
* Update src/systemtask/SystemTask.cppMax Friedrich2022-12-271-4/+4
| | | Co-authored-by: JF <JF002@users.noreply.github.com>
* hopefully fixed crash on notificationminacode2022-12-271-1/+1
|
* formatminacode2022-12-271-1/+2
|
* removed magic numberminacode2022-12-271-1/+1
|
* formatminacode2022-12-271-1/+0
|
* changed to boolminacode2022-12-272-3/+8
|
* fixed a comment, set threshold to 15%minacode2022-12-272-2/+2
|
* cutout scaling hackminacode2022-12-271-5/+0
|
* added punctuationminacode2022-12-271-2/+2
|
* formatminacode2022-12-271-1/+1
|
* added message, changed UIminacode2022-12-274-8/+12
|
* add percentage rescalingminacode2022-12-271-1/+7
|
* formatminacode2022-12-271-11/+9
|
* added low battery messageminacode2022-12-274-0/+19
|
* Fix formattingtgc-dk2022-12-261-2/+1
|
* Put common code into DismissToBlack helper functionTomas Groth2022-12-262-15/+14
|
* Make it possible to dismiss new notificationsTomas Groth2022-12-262-2/+25
|
* Small fixup for cmake cleanupRiku Isokoski2022-12-261-11/+10
|
* Clean up target compile option assignmentsJonathan Vander Mey2022-12-261-51/+65
| | | | | | Removed/simplified some generator expressions that had more repeated elements than they needed to. Extracted some repeated sets of options into separate variables as well.
* Split warning flags from commonJonathan Vander Mey2022-12-261-25/+26
| | | | | Only enable the warning flags when building InfiniTime firmware, not when building third-party libraries.
* Update clang-tidy configuration and fix some warnings (#1474)Riku Isokoski2022-12-1824-150/+152
| | | | | Don't enable coding conventions from unrelated projects. Only enable generic checks.
* Optimize SettingWatchFaceRiku Isokoski2022-12-182-40/+41
|
* Optimize SettingWakeUpRiku Isokoski2022-12-182-67/+42
|
* Optimize SettingTimeFormatRiku Isokoski2022-12-182-11/+11
|
* PineTimeStyle: use "" for our includesNeroBurner2022-12-181-1/+1
| | | | Small fix to be consistent: use "" for our includes and <> for system includes or packages by others.
* fixing build.sh not returning error in build (#1460)cybuzuma2022-12-132-2/+22
| | | | | | | | | | Return the build status as return code from the `main` helper function. In the process convert the handling if the file was sourced or directly executed into an explicit if/else statement to make the intent clearer. In case of an build error the error is now reported at the build step, where the error happened. Fixes: https://github.com/InfiniTimeOrg/InfiniTime/issues/1292
* compiler warnings, #1035 and #notreported (#1481)cybuzuma2022-12-123-3/+1
|
* typo in the descriptiontom-programming2022-12-061-1/+1
| | | AMD64 and x86_64 are the same architecture - ARM64 should be specified instead
* BLE CTS: fixed signedness of timezoneuli2022-11-253-9/+9
|
* WeatherService daily min/max temperature fixes (#1455)kieranc2022-11-251-6/+8
| | | | * Min/Max function fixes * Faster way to calculate day start
* Add linear approximation and use it for improving battery percentageAlex Dolzhenkov2022-11-193-36/+51
| | | | | | | | Add linear approximation class and use it to better model the non-linear discharge curve of the battery. Changed the minimum voltage level to 3.5V and the maximum to 4.18V. For reference the maximum observed voltage is 4.21V during charging.
* Update BatteryController.h with non-linear discharge curvehassless2022-11-192-5/+36
|
* FixElements60072022-11-191-1/+1
| | | Co-authored-by: NeroBurner <pyro4hell@gmail.com>
* Clang formatElements60072022-11-191-6/+4
|
* Update SettingChimes.hElements60072022-11-191-3/+3
|