summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-01-07workflow: echo build diffs for viewing without the commentRiku Isokoski1-0/+8
2023-01-07workflows: Disable build size comment in fork PRsRiku Isokoski1-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/
2023-01-07workflows: Add build size comparison workflowRiku Isokoski2-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.
2023-01-07workflows: Update workflow dependencyRiku Isokoski1-7/+1
The workaround is no longer necessary
2023-01-07docker: Make build.sh more portableRiku Isokoski1-9/+9
2023-01-05Fix returning to the same screenRiku Isokoski1-2/+7
2023-01-05Implement a return app stackRiku Isokoski4-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.
2023-01-04Add missing clang-format options from version 12Finlay Davidson1-0/+2
2023-01-04Update clang-{format,tidy} to 14Finlay Davidson17-5/+32
Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
2022-12-31Revert "prepare cmake unity build"Riku Isokoski2-29/+0
This reverts commit 21f3bd708261ece47096961039e65d5b6f113c73.
2022-12-31Revert "enable CMake unity build in build.sh"Riku Isokoski1-1/+0
This reverts commit 35654fbd982e27383ffc15446d9ab0a8606ae29d.
2022-12-31Revert "Update docker/build.sh"Riku Isokoski1-1/+1
This reverts commit 7103f9d8063431b778df83244de5862d963e1ce8.
2022-12-27Update docker/build.shDominik Nussbaumer1-1/+1
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
2022-12-27enable CMake unity build in build.shtnixeu1-0/+1
2022-12-27prepare cmake unity buildtnixeu2-0/+29
Exclude files from unity build which currently cause compile erros because of redefinitions.
2022-12-27Include algorithm and cstring for std::memcpy and std::minJean-François Milants1-0/+2
2022-12-27Update src/systemtask/SystemTask.cppMax Friedrich1-4/+4
Co-authored-by: JF <JF002@users.noreply.github.com>
2022-12-27hopefully fixed crash on notificationminacode1-1/+1
2022-12-27formatminacode1-1/+2
2022-12-27removed magic numberminacode1-1/+1
2022-12-27formatminacode1-1/+0
2022-12-27changed to boolminacode2-3/+8
2022-12-27fixed a comment, set threshold to 15%minacode2-2/+2
2022-12-27cutout scaling hackminacode1-5/+0
2022-12-27added punctuationminacode1-2/+2
2022-12-27formatminacode1-1/+1
2022-12-27added message, changed UIminacode4-8/+12
2022-12-27add percentage rescalingminacode1-1/+7
2022-12-27formatminacode1-11/+9
2022-12-27added low battery messageminacode4-0/+19
2022-12-26Fix formattingtgc-dk1-2/+1
2022-12-26Put common code into DismissToBlack helper functionTomas Groth2-15/+14
2022-12-26Make it possible to dismiss new notificationsTomas Groth2-2/+25
2022-12-26Small fixup for cmake cleanupRiku Isokoski1-11/+10
2022-12-26Clean up target compile option assignmentsJonathan Vander Mey1-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.
2022-12-26Split warning flags from commonJonathan Vander Mey1-25/+26
Only enable the warning flags when building InfiniTime firmware, not when building third-party libraries.
2022-12-18Update clang-tidy configuration and fix some warnings (#1474)Riku Isokoski24-150/+152
Don't enable coding conventions from unrelated projects. Only enable generic checks.
2022-12-18Optimize SettingWatchFaceRiku Isokoski2-40/+41
2022-12-18Optimize SettingWakeUpRiku Isokoski2-67/+42
2022-12-18Optimize SettingTimeFormatRiku Isokoski2-11/+11
2022-12-18PineTimeStyle: use "" for our includesNeroBurner1-1/+1
Small fix to be consistent: use "" for our includes and <> for system includes or packages by others.
2022-12-13fixing build.sh not returning error in build (#1460)cybuzuma2-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
2022-12-12compiler warnings, #1035 and #notreported (#1481)cybuzuma3-3/+1
2022-12-06typo in the descriptiontom-programming1-1/+1
AMD64 and x86_64 are the same architecture - ARM64 should be specified instead
2022-11-25BLE CTS: fixed signedness of timezoneuli3-9/+9
2022-11-25WeatherService daily min/max temperature fixes (#1455)kieranc1-6/+8
* Min/Max function fixes * Faster way to calculate day start
2022-11-19Add linear approximation and use it for improving battery percentageAlex Dolzhenkov3-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.
2022-11-19Update BatteryController.h with non-linear discharge curvehassless2-5/+36
2022-11-19FixElements60071-1/+1
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
2022-11-19Clang formatElements60071-6/+4