• v0.1.2 41c7fc5356

    ben released this 2026-11-14 11:00:05 +00:00 | 15 commits to main since this release

    Windows becomes a platform this project supports, rather than one it happens to build for.

    Two things were broken, not just untidy

    Save, Save As and Export Project did nothing on Windows. All three asked zenity for a path — on every platform — and Windows has no zenity: no dialog, no file, no message. Every picker goes through the system dialog there now, and a cancelled save says so instead of leaving the status line unchanged.

    The app wrote its settings into whatever folder it was started from. The data folder was spelled XDG_DATA_HOME or $HOME/.local/share in five places. Windows has neither, so the path came out relative: settings, presets, palettes, saved shape sets, the recent list and the crash log all landed next to the program. src/paths.rs decides once — %APPDATA%\opendither on Windows, ~/Library/Application Support/opendither on macOS, $XDG_DATA_HOME/opendither on Linux — and the answer is always absolute. opendither --diagnose prints the folder this run uses.

    The rest

    • Text layers and ASCII mode draw on Windows. Both carried their own copy of a list of Linux font folders; families now come from the font's own name table, out of %WINDIR%\Fonts and the per-user font folder.
    • An export suggests the Pictures folder and the project's own name, instead of the working directory (often Program Files) and the project's internal media/<uuid>.png. A typed name gets the extension its filter declares, so a project saved as look is look.opendither and the picker finds it next time.
    • Recent Files keeps pictures, not only projects.
    • A project named CON, NUL, LPT9 or COM1.txt still saves — Windows keeps those names for devices, so the suggested name gets a digit.
    • opendither --help | head no longer writes a crash log about the broken pipe.
    • opendither.exe --audit > audit.log writes the file instead of printing to the terminal and leaving it empty.

    Downloads

    openDither-0.1.2-windows-x86_64.zip windowed .exe (GUI subsystem), no DLLs beside it — +crt-static, same flags as 0.1.1
    openDither-0.1.2-linux-x86_64.tar.gz needs no glibc newer than 2.28

    SHA256SUMS covers both archives. Both binaries are built from this tag.

    What was checked

    On Linux, against the release build: cargo test 236, --audit 558/558 (1 skipped), --controls 62/62, --uitest 89/89, --selftest 456 renders / 0 failures, cargo fmt --check clean. For the Windows build: it links statically, reports GUI subsystem, carries no zenity/kdialog strings and only imports system DLLs. The Windows file flows were clicked through by hand on this branch on a real Windows machine before it was merged.

    Not checked: macOS — the code paths exist (paths.rs, dialogs.rs, text.rs) but nobody has built or run them yet, and there is no macOS binary in this release.

    Windows will warn the first time the .exe runs ("Windows protected your PC"), because it is not code-signed; the checksums below are how you verify it is the file built here. A certificate is the only thing that removes that warning.

    Downloads
  • v0.1.1 b386b3a3c4

    ben released this 2026-11-13 22:01:05 +00:00 | 28 commits to main since this release

    Second build of the first day. Two fixes, both reported from a Windows machine.

    No more console window. The .exe was a console program, so double-clicking opened a black window beside the app. It is a windowed program now; started from a terminal it borrows that terminal's console, so --audit, --help and friends still print.

    File dialogs exist on Windows. "Open image…" did nothing, because every picker shelled out to zenity/kdialog and Windows has neither. Windows now uses its own file dialog for pictures, several pictures, projects, presets, shape packs, folders and every save.

    Both binaries are built from this tag:

    openDither-0.1.1-windows-x86_64.zip windowed .exe, no DLLs beside it, verified under Wine (--audit 543/543, --uitest 86/86, --selftest 456)
    openDither-0.1.1-linux-x86_64.tar.gz needs no glibc newer than 2.28

    SHA256SUMS covers both.

    Windows will warn on first start ("Windows protected your PC") because the binary is not code-signed — More info → Run anyway. A certificate is the only thing that changes that warning.

    Downloads