Document release a1029 features, new NeoUI plugins, and CLI utilities

This commit is contained in:
Luxferre committed 2026-10-29 22:15:32 +02:00
1 parent 35d90fb6f7
commit 1ef9064169
5 files changed
+145 -26

No files matched your search

+5
View File
@@ -381,6 +381,11 @@ g++ -O2 -std=c++17 myapp.cpp \
- `void drawToast(msg, softbarH = 26)`
- `void clearBg()` / `void present()`
- `bool checkReloadTheme()` / `void reloadTheme()`
- `void bindAsActiveContext()`: binds the `NeoWindow` instance as the active C FFI (`neoui_*`) context so C++ plugins can mix `NeoWindow` and `neoui_draw_*` / `neoui_poll_event` / `neoui_input_*` helpers seamlessly.
- **Shared C++20 TCP/TLS/HTTP and MIME helpers (`src/dwm-plugins/net_tls.h`)**:
- `bananarchy::NetStream`: non-blocking TCP + OpenSSL (`libssl` / `libcrypto`) stream wrapper supporting plain TCP (`connectTcp`), implicit TLS (`connectTls`), and opportunistic `STARTTLS` upgrade (`upgradeToTls`), line and chunk reading (`readLine`, `readAll`, `pollAvailableLines`), and raw socket descriptor access (`fd()`) for `poll()`.
- `bananarchy::httpGet(url, &bodyOut, timeoutMs, userAgent)`: lightweight HTTP/HTTPS `GET` client with redirect following and chunked transfer decoding (used by `gps.so` for OpenStreetMap PNG tiles, Nominatim geocoding, and OSRM routing).
- `bananarchy::md5Hex(data)`, `bananarchy::randomHexToken(numBytes)`, `bananarchy::base64Encode(data)`, `bananarchy::base64Decode(in)`, `bananarchy::decodeQuotedPrintable(in)`, `bananarchy::decodeMimeHeader(in)`, and `bananarchy::stripHtmlTags(in)`.
- **Shared text, multi-tap, and image helpers in `libneoui.so`**:
- `std::string formatMultiTapBar(prefix, table, activeIdx, makeUpper, maxItems = 7, maxChars = 21)`: formats a scrolling candidate bar window centered around `activeIdx` so long symbol sequences (such as the 33-character `1` key table) never overflow the `240px` viewport.
- `std::string tailFitPangoText(layout, text, maxWidthPx)`: returns the UTF-8 suffix of `text` that fits within `maxWidthPx`.