Commit Graph
4 Commits
Author SHA1 Message Date
retoor 3de0edd36a chore: add __pycache__ to .gitignore and remove tracked pyc file
The __pycache__ directory was being tracked by git, causing compiled Python bytecode files like env.cpython-312.pyc to appear in the repository. This change adds __pycache__ to .gitignore and removes the existing pyc file from version control.
2024-12-02 14:10:58 +00:00
retoor a5fb2b9c3c chore: add books directory to gitignore and commit crossbeam fingerprint artifacts
Add 'books' to .gitignore to exclude it from version control, and include generated Rust build fingerprint files for crossbeam-deque, crossbeam-epoch, crossbeam-utils, either, and rayon dependencies under 12bitfloat_rust/risspam/target/release/.fingerprint/
2024-12-01 21:03:07 +00:00
retoor 9ed1c43bc0 feat: add conditional display flags and file_exists helper to isspam.c
Introduce four boolean flags (show_capitalized, show_sentences, show_words, show_numbers) that control whether their respective analysis results are printed via sld(), replacing the previously commented-out calls. Add a file_exists() utility function that checks if a given path points to an existing readable file. Also append "publish" to .gitignore.
2024-11-29 05:45:06 +00:00
retoor bbe721b620 feat: add initial project structure with spam detection tool and supporting libraries
Add the complete source tree for the isspam spam detection utility, including the main C implementation (isspam.c), custom memory allocator (rmalloc.h), string builder (rstr.h), dynamic string list (rstring_list.h), build configuration (Makefile, .clang-format), CI workflow (.gitea/workflows/build.yaml), and sample test data (spam/examole_spam3.txt, not_spam/correct1.txt). The core logic defines a list of forbidden words and provides functions for tokenizing input, removing preserved characters, and checking content against the spam keyword set.
2024-11-28 17:39:34 +00:00