| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | docs: README.md: refine | dilluti0n | 2026-02-24 | 1 | -1/+1 | |
| | | ||||||
| * | docs: README.md: fix render issues | dilluti0n | 2026-02-24 | 1 | -6/+5 | |
| | | ||||||
| * | docs: README.md: add afterword, refine quickstart, add platform info | dilluti0n | 2026-02-24 | 1 | -26/+75 | |
| | | ||||||
| * | docs: README: fix backquote | dilluti0n | 2026-02-22 | 1 | -3/+3 | |
| | | ||||||
| * | docs: README: add & update many things | dilluti0n | 2026-02-22 | 1 | -49/+81 | |
| | | ||||||
| * | install.sh: remove make dependency | dilluti0n | 2026-02-21 | 1 | -1/+26 | |
| | | ||||||
| * | docs: change description, refine manual | dilluti0n | 2026-02-20 | 5 | -97/+84 | |
| | | ||||||
| * | docs: dpibreak.1: simplify expressions | dilluti0n | 2026-02-20 | 2 | -65/+65 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -4/+4 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -0/+1 | |
| | | ||||||
| * | Revert "docs: README: remove logo and add cute icon on title" | dilluti0n | 2026-02-17 | 1 | -1/+2 | |
| | | | | | This reverts commit 09794890506de7eb83f3d29cb4685b4b360e328c. | |||||
| * | docs: README: remove logo and add cute icon on title | dilluti0n | 2026-02-17 | 1 | -2/+1 | |
| | | ||||||
| * | docs: README: remove How to use | dilluti0n | 2026-02-17 | 1 | -15/+3 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -1/+1 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -4/+6 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -25/+25 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -28/+28 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -3/+3 | |
| | | ||||||
| * | docs: README: add install.sh method | dilluti0n | 2026-02-17 | 1 | -4/+13 | |
| | | ||||||
| * | ci: add one-liner install/uninstall script | dilluti0n | 2026-02-17 | 1 | -0/+90 | |
| | | ||||||
| * | docs: README.md: update | dilluti0n | 2026-02-16 | 1 | -8/+9 | |
| | | ||||||
| * | Print version info log after daemonize | dilluti0n | 2026-02-16 | 1 | -1/+1 | |
| | | ||||||
| * | docs: CHANGELOG: updatev0.4.3 | dilluti0n | 2026-02-16 | 1 | -2/+5 | |
| | | ||||||
| * | windows: fix regression intorduced in b68753e8 | dilluti0n | 2026-02-16 | 1 | -5/+2 | |
| | | ||||||
| * | Bump version to 0.4.3 | dilluti0n | 2026-02-16 | 3 | -6/+6 | |
| | | ||||||
| * | Log version information on startup | dilluti0n | 2026-02-16 | 1 | -0/+1 | |
| | | ||||||
| * | docs: CHANGELOG: update | dilluti0n | 2026-02-16 | 1 | -0/+2 | |
| | | ||||||
| * | log: add defensive error handling for local_time | dilluti0n | 2026-02-16 | 1 | -1/+3 | |
| | | | | | Fallback to zeroed timestamp when time()/localtime_r() fails. | |||||
| * | docs: CHANGELOG: update | dilluti0n | 2026-02-16 | 1 | -0/+3 | |
| | | ||||||
| * | log: drop chrono, use localtime_r and GetLocalTime directly | dilluti0n | 2026-02-16 | 3 | -113/+29 | |
| | | | | | 24 KiB is precious :) | |||||
| * | docs: dpibreak.1: update pid/log file path | dilluti0n | 2026-02-16 | 2 | -5/+6 | |
| | | ||||||
| * | log: print time with crate chrono | dilluti0n | 2026-02-16 | 3 | -1/+113 | |
| | | ||||||
| * | ci: release: remove publish-crates-io deps to release | dilluti0n | 2026-02-16 | 1 | -1/+1 | |
| | | ||||||
| * | ci: release: upload sha256sum.txt instead of *.sha256 | dilluti0n | 2026-02-16 | 1 | -1/+4 | |
| | | ||||||
| * | docs: CHANGELOG: fix typo | dilluti0n | 2026-02-16 | 1 | -1/+1 | |
| | | ||||||
| * | windows: fix nit build failurev0.4.2 | dilluti0n | 2026-02-16 | 1 | -3/+3 | |
| | | ||||||
| * | Bump version to 0.4.2 | dilluti0n | 2026-02-16 | 3 | -8/+14 | |
| | | ||||||
| * | docs: CHANGELOG: update | dilluti0n | 2026-02-16 | 1 | -1/+2 | |
| | | ||||||
| * | linux: add TODO on daemonize | dilluti0n | 2026-02-16 | 1 | -0/+1 | |
| | | ||||||
| * | opt: decouple set_opt() from logging | dilluti0n | 2026-02-16 | 4 | -18/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | set_opt() was logging each option as it set them, which created a tight coupling between option initialization and log output timing. This was particularly problematic for daemon mode: daemonize must happen after set_opt() (to know whether -D was passed) but before logging (so output goes to the log file, not stdout). Split into set_opt() -> InitializedOpts and InitializedOpts::log(), using a typestate pattern to enforce at compile time that log() cannot be called before set_opt(). This lets each platform's bootstrap() handle daemonization between the two steps: let initialized = opt.set_opt()?; platform::bootstrap()?; // daemonize here if needed initialized.log(); // now safe to log Also: - Move daemonize_1() into platform::bootstrap() on both platforms - Make daemonize_1() / service_main() private to their platform modules - Fix the long-standing TODO about using log_println in daemonize() | |||||
| * | linux: fix log file truncated when daemonize fails | dilluti0n | 2026-02-16 | 1 | -3/+7 | |
| | | | | | | | | | | 1. open without O_APPEND (offset = 0) and O_TRUNC (original bug) 2. dup file descripter with .try_clone() and feed it to daemonize 3. truncate file with .set_len(0) on child after daemonize.start() succed Fixes: https://github.com/dilluti0n/dpibreak/issues/17 | |||||
| * | Merge branch 'fix/pid-file-open-fail-EACCES' | dilluti0n | 2026-02-16 | 4 | -11/+28 | |
| |\ | ||||||
| | * | docs: CHANGELOG: update | dilluti0n | 2026-02-16 | 1 | -0/+4 | |
| | | | ||||||
| | * | linux: exit if not root | dilluti0n | 2026-02-16 | 2 | -2/+10 | |
| | | | ||||||
| | * | linux: repurpose bootstrap to do things before requiring cleanup | dilluti0n | 2026-02-16 | 2 | -7/+11 | |
| | | | ||||||
| | * | linux: modify PID_FILE and log path | dilluti0n | 2026-02-16 | 1 | -2/+3 | |
| |/ | | | | Fixes: https://github.com/dilluti0n/dpibreak/issues/16 | |||||
| * | docs: CHANGELOG: sync with release note | dilluti0n | 2026-02-15 | 1 | -3/+2 | |
| | | ||||||
| * | Bump version to 0.4.1v0.4.1 | dilluti0n | 2026-02-15 | 3 | -2/+11 | |
| | | ||||||
| * | Merge branch 'fix/nft-flush-startup' | dilluti0n | 2026-02-15 | 3 | -11/+42 | |
| |\ | | | | | | | | | | | | | Fixes: #13 Link: https://github.com/dilluti0n/dpibreak/issues/13 Fixes: #6 Link: https://github.com/dilluti0n/dpibreak/issues/6 | |||||
| | * | linux: add PID file locking for single instance enforcement | dilluti0n | 2026-02-15 | 1 | -6/+24 | |
| | | | | | | | | | | | Prevent multiple non-daemon dpibreak instances using flock(). Show existing PID on conflict and maintain lock until process termination. | |||||
