libc/rand: remove no-longer-needed LINTED comment
The calculation happens in unsigned integer mode, which is guaranteed to
wrap around on overflow. As long as RAND_MAX fits in 'int', the cast to
'int' is not necessary, but it doesn't hurt either.
bswap16: remove no-longer-needed LINTED comment
Lint computes the integer constraints for the expression and thus knows
that it fits in uint16_t. Since the default LINTFLAGS contain only a
single -a, lint wouldn't detect an accidental overflow at this point, it
would need a second -a flag.
sysutils/fastfetch: update to 2.61.0
# changes
2.61.0
Changes:
* Support for Windows 7 and 8 has been removed.
* Windows 8.1 is now the oldest version supported by fastfetch.
* The GPU module on WSL no longer relies on `DXCore`.
* The `directx-headers` dependency is no longer required.
* Fastfetch on Linux is now pure C; a C++ compiler is no longer required.
* GPU type detection is now slightly less accurate, but detection speed should be slightly faster.
* The GPU module on Windows now uses `DXCore` for more accurate GPU type detection (requires Windows 10 or later).
* This feature is built only when `DXCore` headers are available, which requires installing `mingw-w64-<msystem>-x86_64-directx-headers` on MSYS2.
Features:
* Adds a `brightness` option for color display configuration (#2238, Colors)
* Adds support for detecting Bluetooth keyboards on Linux (#2220, Keyboard)
[66 lines not shown]
textproc/treemd: update to 0.5.10
[0.5.10] - 2026-04-16
Added
Toggle hidden files and directories in file picker - Press h in the file picker to toggle visibility of dot-prefixed files and directories (e.g. .obsidian/, .notes.md); rebindable via the keybindings config (#52) — thanks to @ktaka-ccmp for the original directory-toggle implementation, extended in follow-up to cover hidden files as well
Fixed
Content height u16 truncation - Changed content_height from u16 to usize to prevent silent overflow on documents with >65535 rendered lines; scroll clamped at ratatui's u16 boundary
Terminal restoration when stdin is piped - disable_raw_mode now fully restores the original termios saved during enable_raw_mode, instead of only re-setting ICANON/ECHO/ISIG (which left IEXTEN, ICRNL, OPOST, etc. cleared by cfmakeraw)
Table cell edit index using unreliable string search - calculate_current_table_index now uses the heading's byte offset from the document structure instead of content.find(), which could match the wrong occurrence in documents with repeated section text
Panic on stdin read during terminal warning - Replaced stdin().read().unwrap() with non-panicking variant
Silent config parse failure - Malformed config.toml now prints a warning instead of silently falling back to defaults
Changed
Upgraded all dependencies to latest - Major: resvg 0.44 → 0.47. Minor: clap/clap_complete 4.5 → 4.6, indextree 4.7 → 4.8, indexmap 2.13 → 2.14, tempfile 3.26 → 3.27, toml 1.0 → 1.1, notify 8.0 → 8.2. Plus refreshed transitive deps (image, uuid, wayland-*, wasm-bindgen, zerocopy, etc.)
Extracted current_section_content() helper - Deduplicated 9 instances of the section-content-extraction pattern across app.rs (-70 lines)
[3 lines not shown]