From ed4cb2f8b943c560f92d6f6ff45021e8d8647126 Mon Sep 17 00:00:00 2001 From: dvorakmortonxd Date: Thu, 3 Sep 2026 13:05:01 +0200 Subject: [PATCH] removed uneccessary slop --- CLAUDE.md | 75 ------------------------------------------------------ error.log | 0 error.txt | 2 -- sprechen | Bin 35640 -> 0 bytes 4 files changed, 77 deletions(-) delete mode 100644 CLAUDE.md delete mode 100644 error.log delete mode 100644 error.txt delete mode 100755 sprechen diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 456db2c..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,75 +0,0 @@ -# CLAUDE.md - -This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. - -## Development Commands - -- **Build**: Compile the GTK application using the Makefile: - ```sh - make - ``` - Or manually with gcc: - ```sh - gcc -o sprechen sprechen.c `pkg-config --cflags --libs gtk4` - ``` - -- **Run**: Execute the built binary: - ```sh - make run - ``` - or - ```sh - ./sprechen - ``` - -- **Clean**: Remove compiled binaries: - ```sh - make clean - ``` - or - ```sh - rm -f sprechen - ``` - -- **Format**: If using clang-format, run: - ```sh - clang-format -i *.c *.h - ``` - -- **Lint**: Use `clang-tidy` or `cppcheck` for static analysis: - ```sh - clang-tidy sprechen.c -- `pkg-config --cflags gtk4` - ``` - or - ```sh - cppcheck --enable=all sprechen.c - ``` - -- **Test**: Currently no test framework is integrated. To add unit tests, consider using a lightweight framework like `check` or `cmocka`. Tests can be compiled and run similarly. - -## Project Structure - -- **Root**: Contains the CLAUDE.md, README.md, .gitignore, LICENSE, Makefile, and source files. -- **Source**: The main application resides in a single C file (`sprechen.c`) that uses GTK 4 for the graphical interface. -- **Build Artifacts**: Compiled binaries are placed in the project root by default; consider using a `build/` directory for out-of-source builds. -- **Dependencies**: Requires GTK 4 development libraries. On macOS, install via Homebrew: `brew install gtk4`. On Linux, use your package manager (e.g., `sudo apt install libgtk-4-dev`). - -## Architecture Overview - -The application is a simple GUI program written in C using GTK 4. It features: -- A main window with a title "Sprechen.c". -- A vertical box layout containing a centered label with welcome text. -- Custom CSS styling for a gradient background and styled label box. -- The GTK application lifecycle is managed via `GtkApplication`, with activation callback setting up the UI. - -Future extensions may include: -- Additional widgets for language lessons (buttons, text entry, progress bars). -- Separation of UI code into multiple files (e.g., `ui.c`, `ui.h`). -- Lesson data structures and loading from external files (JSON or plain text). -- Internationalization support using gettext. - -## Notes - -- Ensure GTK 4 is installed and accessible via pkg-config. -- The code adheres to GTK 4 conventions and uses CSS for styling. -- When modifying the UI, consider keeping the CSS in a separate file for maintainability, though currently it is embedded for simplicity. diff --git a/error.log b/error.log deleted file mode 100644 index e69de29..0000000 diff --git a/error.txt b/error.txt deleted file mode 100644 index 5264cf8..0000000 --- a/error.txt +++ /dev/null @@ -1,2 +0,0 @@ -Entering activate -After gtk_window_present diff --git a/sprechen b/sprechen deleted file mode 100755 index 213c8acafce075123ac0bf06f63e54114516754a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 35640 zcmeHQZEPIH8J@dyz6>NLp$Vj5ZxVqLYM;*^3C2Km`EU|Glmy36i$YfGyS?+;ce|&% zJ=^C%dtgx!AT(A}1m(}UNF_l;La0JcrL+-ts;EDpPy|vcRZdG)gFsZGP4B1zecs)@ z^WI+CBB)S*yc4}Q&->2IyYDSC*XxY{NheG$wgbxyG?o9dY9D9F72 zx|Z6V*+HE_BHe+up-$v&VE@W;#>@_6DkiVL2kUKrgH9(&cl%rF_ydPllI2LoOlx|) zqF49#y~}KW_c%^ScPF=RvdeN-AJz1ztm!es(yRU5y4?2H?>Hgd>%%FsG8%_xAhNt; zYu{FR``$hK?a>I^egtwWdGY{^Bt%04M3&=*YZ(5mzrUicmBMy=M-z(y8p{gug?V<@ z?R)O**>QV$j^sUYL8sK^@J8`CLu1)Hg~(HUG|G7d+~Mf?2_Zr-6E{~wrlGH+{0BnJ z!AS1*K`51dQeEn^J5DNhr?Za=ajV}-D7;I=_uUti20;;VL6)4#=6!21=K7{|D3(x1yeshJ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