Mystic -- the Halloween version. Haunted!

Steve Thielemann b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
hh 73f1efc423 I See U %!s(int64=4) %!d(string=hai) anos
.gitignore f47cec4328 Trying to keep git status cleaned up. %!s(int64=4) %!d(string=hai) anos
.gitmodules d9fa0e92f7 Added googletest, zf_log README.md to fix. %!s(int64=4) %!d(string=hai) anos
CMakeLists.txt b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
README.md bae1290bc1 Update git merge notes. %!s(int64=4) %!d(string=hai) anos
TODO.md bb9a193fa7 Directions on setting this up. %!s(int64=4) %!d(string=hai) anos
ansi-color.c 391202b7c6 Example ANSI color file from %!s(int64=4) %!d(string=hai) anos
ansi-to-src.cpp bcdf438f40 Make the char * output a const char * output. %!s(int64=4) %!d(string=hai) anos
bat.ans 93429d4162 Merge of bugz-ansi. %!s(int64=4) %!d(string=hai) anos
build_images.sh 27d2b1f0fe We now tail the Mystic log files for the node. %!s(int64=4) %!d(string=hai) anos
charman.cpp b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
charman.h 5f226410a7 Ok, there's lots of changes here. %!s(int64=4) %!d(string=hai) anos
clang.md a6db75cee1 Added clang notes. %!s(int64=4) %!d(string=hai) anos
ghead.ans 93429d4162 Merge of bugz-ansi. %!s(int64=4) %!d(string=hai) anos
ghost.ans 756c36a132 Updated Beanzilla's ghost.ans %!s(int64=4) %!d(string=hai) anos
hharry.cpp b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
icu.ans bbbaa2b560 Added icu to images.h Cleaned up images.cpp (DRY) %!s(int64=4) %!d(string=hai) anos
images.cpp b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
input-int.cpp bd6f59beb9 Regex in c++. %!s(int64=4) %!d(string=hai) anos
lastseen.cpp 5b83c281c0 Updated using C++ objects. Tests next to do. %!s(int64=4) %!d(string=hai) anos
lastseen.h 5b83c281c0 Updated using C++ objects. Tests next to do. %!s(int64=4) %!d(string=hai) anos
logs_utils.cpp 98c59dcca7 Fixed issue with charman, inserting at end of string. %!s(int64=4) %!d(string=hai) anos
logs_utils.h 98c59dcca7 Fixed issue with charman, inserting at end of string. %!s(int64=4) %!d(string=hai) anos
mystic.py a9e00446bb Sample "mystic" to test with. %!s(int64=4) %!d(string=hai) anos
panther.ans 93429d4162 Merge of bugz-ansi. %!s(int64=4) %!d(string=hai) anos
render.cpp b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
render.h bc540d5cef Harry level > 2, mangles intro. %!s(int64=4) %!d(string=hai) anos
rsync_list.txt b453b5da1f I'm including my update script. %!s(int64=4) %!d(string=hai) anos
show 930ebe20ff Ansi file to .c/.cpp. show ansi file in linux console %!s(int64=4) %!d(string=hai) anos
show_bat_issue.sh 93429d4162 Merge of bugz-ansi. %!s(int64=4) %!d(string=hai) anos
show_icu_issue.sh bbbaa2b560 Added icu to images.h Cleaned up images.cpp (DRY) %!s(int64=4) %!d(string=hai) anos
show_skull_issue.sh 93429d4162 Merge of bugz-ansi. %!s(int64=4) %!d(string=hai) anos
skull-blink.ans 93429d4162 Merge of bugz-ansi. %!s(int64=4) %!d(string=hai) anos
skull.ans 93429d4162 Merge of bugz-ansi. %!s(int64=4) %!d(string=hai) anos
terminal.cpp b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
terminal.h d5e670bc96 Ok, harry looks at node number passed -SL0 %!s(int64=4) %!d(string=hai) anos
test-lastseen.cpp 7dd34da986 Working tests for (some of) utils. %!s(int64=4) %!d(string=hai) anos
test-mangle.cpp 96249f7f68 Test mangle/tangle insert at end of string. %!s(int64=4) %!d(string=hai) anos
test-render.cpp 092f3783f2 hharry.cfg level=4 back calling console_char() %!s(int64=4) %!d(string=hai) anos
test-utils.cpp b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
try-re.c fdb6107df3 Fixed clang warnings. %!s(int64=4) %!d(string=hai) anos
update_example b453b5da1f I'm including my update script. %!s(int64=4) %!d(string=hai) anos
utils.cpp b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
utils.h b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
wolf.ans 93429d4162 Merge of bugz-ansi. %!s(int64=4) %!d(string=hai) anos
wordplay.cpp b0fdb32f76 Cleaned up warnings. Fixed utils test. %!s(int64=4) %!d(string=hai) anos
wordplay.h 28491069cc Working mangle, wrangle! %!s(int64=4) %!d(string=hai) anos

README.md

# To Use:

# git submodule update --init

Do this instead. Avoid submodule hell.

git clone https://github.com/wonder-mice/zf_log.git
git clone https://github.com/google/googletest.git

sudo apt install cmake

cmake .
make

Also:

  • codium clang-format extension
  • codium c/c++ advanced lint

    apt install clang-format clang cppcheck

Build a "release" build

cmake -DCMAKE_BUILD_TYPE=Release .
make

To switch back to "debug" build

cmake -DCMAKE_BUILD_TYPE=Debug .
make

Branches

git checkout -b new-branch

or, a longer way to type that:

git branch new-branch
git checkout new-branch

git commit 

And your changes go into the new-branch

Pushing your new branch

git push -u origin new-branch

If you recall using git push -u when you first setup the git repo. Well, it's that all over again, but with a new branch.

Returning to reality

git checkout master

Pulling files from one branch into another

git checkout master
git checkout bugz-ansi -- ghost.ans ghead.ans bat.ans utils.h utils.cpp

This would pull files from bugz-ansi branch into the master branch.

Merging back into master

git checkout master
git merge cplusplus