Mystic -- the Halloween version. Haunted!

root 58b15cbe59 Additional notes on broken user records. 4 anos atrás
ansi 7cd51522e4 ansi-to-src takes wildcards. 4 anos atrás
hh 73f1efc423 I See U 4 anos atrás
notes 967cb941e2 Storing ANSI in notes directory. 4 anos atrás
.gitignore f47cec4328 Trying to keep git status cleaned up. 4 anos atrás
.gitmodules d9fa0e92f7 Added googletest, zf_log README.md to fix. 4 anos atrás
CMakeLists.txt 481d4700ca How about log WARN? 4 anos atrás
README.md bae1290bc1 Update git merge notes. 4 anos atrás
TODO.md bb9a193fa7 Directions on setting this up. 4 anos atrás
ansi-color.c 391202b7c6 Example ANSI color file from 4 anos atrás
ansi-to-src.cpp 7cd51522e4 ansi-to-src takes wildcards. 4 anos atrás
build_images.sh e445a6b909 Updated: Add extra debug in debug build. Fix dbuild. 4 anos atrás
charman.cpp d5bf27ace9 Fixed issue #4 with tangler. 4 anos atrás
charman.h 5f226410a7 Ok, there's lots of changes here. 4 anos atrás
git_pull.sh ac33debc06 Updated so it git clones what is needed. 4 anos atrás
hharry.cpp 58b15cbe59 Additional notes on broken user records. 4 anos atrás
images.cpp 7cd51522e4 ansi-to-src takes wildcards. 4 anos atrás
input-int.cpp b302c0b7ef No more using namespace std; 4 anos atrás
lastseen.cpp 3117f087c2 Updated: use vector constructor init. 4 anos atrás
lastseen.h 707cc53ccb Updated LastSeen to use vector. 4 anos atrás
logs_utils.cpp 98c59dcca7 Fixed issue with charman, inserting at end of string. 4 anos atrás
logs_utils.h 98c59dcca7 Fixed issue with charman, inserting at end of string. 4 anos atrás
mystic.py a9e00446bb Sample "mystic" to test with. 4 anos atrás
render.cpp 84749657e7 This fixes horrible ^CS ^CR bug, sometimes fail. 4 anos atrás
render.h c93c05f06d Render is now a class. Need tests. 4 anos atrás
rsync_list.txt b453b5da1f I'm including my update script. 4 anos atrás
show 930ebe20ff Ansi file to .c/.cpp. show ansi file in linux console 4 anos atrás
show_bat_issue.sh 7cd51522e4 ansi-to-src takes wildcards. 4 anos atrás
show_icu_issue.sh 7cd51522e4 ansi-to-src takes wildcards. 4 anos atrás
show_owl_issue.sh 7cd51522e4 ansi-to-src takes wildcards. 4 anos atrás
show_skull_issue.sh 7cd51522e4 ansi-to-src takes wildcards. 4 anos atrás
terminal.cpp d623dd872e Show which one is hitting the empty history. 4 anos atrás
terminal.h cb35264b57 Updated terminal class / copy operator= 4 anos atrás
test-lastseen.cpp 8754ee287b Overhauled. Use TRIGGER for the trigger. 4 anos atrás
test-mangle.cpp c2a7c18ba9 Added USER and NICK into harry_timeout_event 4 anos atrás
test-render.cpp 8754ee287b Overhauled. Use TRIGGER for the trigger. 4 anos atrás
test-terminal.cpp 84749657e7 This fixes horrible ^CS ^CR bug, sometimes fail. 4 anos atrás
test-utils.cpp b0fdb32f76 Cleaned up warnings. Fixed utils test. 4 anos atrás
try-re.c fdb6107df3 Fixed clang warnings. 4 anos atrás
update_example b453b5da1f I'm including my update script. 4 anos atrás
utils.cpp b0fdb32f76 Cleaned up warnings. Fixed utils test. 4 anos atrás
utils.h b0fdb32f76 Cleaned up warnings. Fixed utils test. 4 anos atrás
wordplay.cpp 6d4cadf597 Added user/nick phrases in ANSI_CLS. 4 anos atrás
wordplay.h 28491069cc Working mangle, wrangle! 4 anos atrás

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