Commit Graph
61 Commits
Author SHA1 Message Date
Avamander 1ba99d2427 Made the pre-commit hook fail explicitly when the executable doesn't exist 2021-07-24 15:55:52 +02:00
Avamander 10ef3a749e Added autodetection for clang-format version 2021-07-24 15:55:52 +02:00
Avamander a1a6eae43f Added a pre-commit hook that should simplify commiting pre-formatted code 2021-07-24 15:55:52 +02:00
Avamander ab59b9b830 Whitespace and brace fixes (#456)
* Brace style and whitespace fixes

* Additional whitespace fixes
2021-07-04 20:06:50 +02:00
Avamander d1842a3686 Disabled a few more unnecessary warnings, sorted a bit 2021-07-02 16:29:25 +02:00
Avamander dea4beba13 Disabled new Clang-Tidy checks that are too noisy 2021-07-02 16:29:25 +02:00
Avamander 69894853ac Improved CLion configuration 2021-07-02 16:29:09 +02:00
Avamander bdb5965f1a static_cast cleanup 2021-07-02 16:27:41 +02:00
Avamander 2f479e5fc7 Fixed a bunch of format specifiers 2021-07-02 16:27:16 +02:00
Avamander 572be3e857 Removed an illogical comparison from SystemInfo and St7789 driver (#449)
* Removed an illogical comparison
2021-06-22 20:31:31 +02:00
Avamander 314a8ebba0 Changed the namespace of SystemInfo::sortById to avoid a name conflict (#360) 2021-06-12 11:18:19 +02:00
Avamander 8568b5f31b Updated license header year 2021-05-17 02:16:50 +03:00
Avamander f6f28a95f6 Used a macro for UUID generation, switched from C-style casts to reinterpret_cast, renamed callback 2021-05-17 02:08:12 +03:00
Avamander 3214f98ac6 Improved clang-tidy configuration for less noise 2021-05-14 13:01:05 +03:00
Avamander d29d513244 Fixed a naming inconsistency of DisplayApp::ReturnApp and a few formatting errors 2021-05-14 12:46:51 +03:00
Avamander e54163b7c2 Added braces to a few if statements 2021-05-14 12:43:29 +03:00
Avamander 33f965f326 Switched to booleans for infinite while loops 2021-05-14 12:40:46 +03:00
Avamander 6989854519 Changed access modified indentation 2021-04-24 12:00:45 +03:00
Avamander 40d45d923b Reformatted all the files according to clang-format style 2021-04-24 11:39:53 +03:00
Avamander b4c402d252 Added Python virtual environment to .gitignore 2021-04-18 19:02:38 +03:00
Avamander a9e79468d0 Re-enabled use-after-move warning 2021-01-31 00:05:23 +02:00
Avamander 187fe5d7b8 Enabled clang-format in Clion 2021-01-31 00:01:22 +02:00
Avamander 10767d5e0a Added clang-tidy configuration 2021-01-30 23:55:35 +02:00
Avamander 9be9ddca45 Improve CLion's formatting rules 2021-01-30 23:50:40 +02:00
Avamander f907fcbe61 Added Clang Format rules 2021-01-30 23:46:12 +02:00
Avamander 4371b7fecc Update CMakeLists.txt 2021-01-30 19:11:07 +02:00
Avamander f692754841 Create .gitattributes 2021-01-30 18:52:14 +02:00
Avamander 04fd4a7d03 Create .gitconfig 2021-01-30 18:48:06 +02:00
Avamander d6557c93f2 Create CONTRIBUTING.md 2021-01-30 18:15:38 +02:00
Avamander 74f094d4e9 Create FUNDING.yml
Added a link to the LiberaPay donation page
2021-01-17 20:53:04 +02:00
Avamander 4b0a852053 Made sure to use right data type for a negative number 2020-10-15 22:52:53 +03:00
Avamander 174e5ccfe4 Removed weird parentheses from constexpr 2020-10-15 22:51:43 +03:00
Avamander 128a2ea226 Changed #define to constexpr in Music.cpp 2020-10-15 22:50:28 +03:00
Avamander 6f45c0f669 Unified MusicStatus enum constant capitalization with others 2020-10-15 22:45:53 +03:00
Avamander d4531d7bf3 Reordered the functions in Music.cpp correctly 2020-10-15 22:16:08 +03:00
Avamander 82126edf88 Added lv_img_set_src_arr that does better type checking when drawing images from arrays 2020-10-15 22:16:08 +03:00
Avamander 2b9906184b Refactored and improved the Music watchapp 2020-10-15 22:16:08 +03:00
Avamander fd110dabe8 Reformatted InfiniPaint again 2020-10-09 11:36:16 +03:00
Avamander 1c645b776a Improved code formatting rules 2020-10-09 11:36:16 +03:00
Avamander 189c5a83b2 Made sure to unsuppress the diagnostic check after the infinite loop declaration 2020-10-09 11:36:16 +03:00
Avamander f68c7b65b3 Minor formatting, diagnostic and documentation changes 2020-10-09 11:36:16 +03:00
Avamander cc3a9f3c79 Removed an incomplete message() call from CMakeLists.txt 2020-10-04 18:46:34 +03:00
Avamander aba3d65e3a Merge remote-tracking branch 'origin-origin/patch-3'
# Conflicts:
#	src/systemtask/SystemTask.cpp
2020-10-04 16:23:13 +03:00
Avamander 77f4d5448b Fixed a small warning with Screen's constructor 2020-10-04 15:14:09 +03:00
Avamander 9b7ba7b5b8 Fixed a typo in SystemTask 2020-10-04 15:13:01 +03:00
Avamander 1d96758acd Minor #include improvements 2020-10-04 15:11:21 +03:00
Avamander e85d1ffc62 Replaced NULL with nullptr 2020-10-04 15:09:17 +03:00
Avamander 13da1e38f0 Switched from NULL to nullptr 2020-10-04 14:53:11 +03:00
Avamander 03bb433e04 Added a code style configuration to the repository 2020-10-03 18:53:00 +03:00
Avamander d5717c7ee8 Added the nRF52 SVD file for ease-of-use to the repository 2020-10-02 23:11:27 +03:00
Avamander 6c86d1d9d7 Fixed all the includes that were broken due to the renames 2020-10-02 22:16:48 +03:00
Avamander 4daab26926 Renamed displayapp/Screens to displayapp/screens 2020-10-02 21:49:55 +03:00
Avamander e3fb2f0b89 Renamed DisplayApp/ to displayapp/ 2020-10-02 21:46:41 +03:00
Avamander 30c261028e Renamed Logging/ to logging/ 2020-10-02 21:45:51 +03:00
Avamander e25c4edbcf Renamed SystemTask/ to systemtask/ 2020-10-02 21:45:21 +03:00
Avamander 40a643d203 Renamed Components/ to components/ 2020-10-02 21:44:27 +03:00
Avamander 455d8319e4 Reformatted the CMakeLists for consistency 2020-10-02 21:43:30 +03:00
Avamander 9348f9936d Renamed documentation folder for consistency 2020-10-02 21:40:25 +03:00
Avamander f1719b3b92 Added a few more folders to gitignore before they end up in the repository 2020-09-27 14:15:00 +03:00
Avamander fd8c69deda Added a few more folders to gitignore before they end up in the repository 2020-08-31 23:45:56 +03:00
Avamander d2bc0ed47d Fixed a few typos 2020-08-30 04:45:55 +03:00