Recent commits to testcode.git (main) https://git.dlma.com/testcode.git/tree/main Recent commits feed provided by GitList. Add Makefile tabs to .editorconfig https://git.dlma.com/testcode.git/commit/d12d1fae75174bccca497d2d34648698d3fc3de4 david.blume@gmail.com (dblume) Tue, 22 Apr 2025 23:03:18 -0700 d12d1fae75174bccca497d2d34648698d3fc3de4 Use universal-ctags; add .editorconfig See https://editorconfig.org/ https://git.dlma.com/testcode.git/commit/945cf1e2076828f52d92a9dc08361657dc681a68 dblume@roku.com (dblume) Tue, 22 Apr 2025 13:08:53 -0700 945cf1e2076828f52d92a9dc08361657dc681a68 Sneak in a little RAII duration reporting The chrono stuff is not intuitive. Leave a little note to myself here. https://git.dlma.com/testcode.git/commit/bb756ccfa41141d674c1c53c702be1e06adb2c7a david.blume@gmail.com (dblume) Sat, 01 Mar 2025 14:13:57 -0800 bb756ccfa41141d674c1c53c702be1e06adb2c7a Add SeparateDefinitionBlocks to .clang-format Also run clang-format on all the files. https://git.dlma.com/testcode.git/commit/e120db9bb2d44681ee48917763a852bc245abab5 david.blume@gmail.com (dblume) Tue, 21 Jan 2025 13:07:32 -0800 e120db9bb2d44681ee48917763a852bc245abab5 Use grep instead of awk to choose files to format. Grep with -P and '\K' is shorter. And the awk previously published did not support filenames with consecutive spaces. The correct awk would've used FPAT to allow double-quote escaping delimiters and would've been longer: awk '/^[MTARC].+\.([hc](pp)?)"?$/ {print $2}' FPAT='[^ ]*|"[^"]+"' https://git.dlma.com/testcode.git/commit/0ebd7028f06b8a2eed37ebae75248f3434bfff6a david.blume@gmail.com (dblume) Sun, 22 Dec 2024 14:47:05 -0800 0ebd7028f06b8a2eed37ebae75248f3434bfff6a Distinguish "git clang-format" from "clang-format" Mention that "git clang-format" only formats your staged changes, but it's often more useful to just clang-format the whole staged files. This is especially so when there's a merge pipeline that'll run clang-format on the whole file itself. https://git.dlma.com/testcode.git/commit/c610364b083be709c529edb20488ef1509ce98c6 david.blume@gmail.com (dblume) Sun, 22 Dec 2024 12:29:20 -0800 c610364b083be709c529edb20488ef1509ce98c6 Rename lifetime.h to lifetime.hpp cscope and ctags scripts rely on hpp https://git.dlma.com/testcode.git/commit/569205dfb85735d8a18f2f39dc0aea619d06ac1d david.blume@gmail.com (dblume) Mon, 16 Sep 2024 14:41:05 -0700 569205dfb85735d8a18f2f39dc0aea619d06ac1d Add a lifetime object to test scopes https://git.dlma.com/testcode.git/commit/43a7d0daa9fa7d49278e84c3141b5f89851adbe8 david.blume@gmail.com (dblume) Fri, 13 Sep 2024 20:15:11 -0700 43a7d0daa9fa7d49278e84c3141b5f89851adbe8 Prefer pipx install clang-format to https://apt.llvm.org/llvm.sh This way: wget https://apt.llvm.org/llvm.sh chmod +x llvm.sh sudo ./llvm.sh 17 sudo apt install clang-format-17 Requires you to specify binary clang-format-17 sometimes. https://git.dlma.com/testcode.git/commit/1f815c96bbf0add64ed9c0993cf8bc1c067c15cd dblume@roku.com (dblume) Thu, 21 Mar 2024 08:57:40 -0700 1f815c96bbf0add64ed9c0993cf8bc1c067c15cd Add copilot_serialization https://git.dlma.com/testcode.git/commit/c5d00129558ad3ed732f26e0c35cb9d415db19a4 dblume@roku.com (dblume) Tue, 14 Nov 2023 14:54:08 -0800 c5d00129558ad3ed732f26e0c35cb9d415db19a4