<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lan-mouse/lan-mouse-gtk/src/client_row.rs, branch main</title>
<subtitle>a fork</subtitle>
<id>https://git.nsrddyn.com/lan-mouse/atom/lan-mouse-gtk/src/client_row.rs?h=main</id>
<link rel='self' href='https://git.nsrddyn.com/lan-mouse/atom/lan-mouse-gtk/src/client_row.rs?h=main'/>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/'/>
<updated>2026-06-14T20:59:26Z</updated>
<entry>
<title>use proper css styling for the font colors</title>
<updated>2026-06-14T20:59:26Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinand.schober@fau.de</email>
</author>
<published>2026-06-14T17:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=d68df354097b2ad2f1be9a9ac9ac3dcbf6fa10b0'/>
<id>urn:sha1:d68df354097b2ad2f1be9a9ac9ac3dcbf6fa10b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: cargo fmt for peer-version code</title>
<updated>2026-06-14T20:59:26Z</updated>
<author>
<name>Jon Kinney</name>
<email>jonkinney@gmail.com</email>
</author>
<published>2026-05-06T19:41:21Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=c2f6e172bba692294cdb5c870d8aafdeec49f3b5'/>
<id>urn:sha1:c2f6e172bba692294cdb5c870d8aafdeec49f3b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ui(client_row): sentence-case "Peer version" and "Ours" labels</title>
<updated>2026-06-14T20:59:26Z</updated>
<author>
<name>Jon Kinney</name>
<email>jonkinney@gmail.com</email>
</author>
<published>2026-05-04T21:22:45Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=62b22e1764f2aeabde299fbc7568eb255e908d89'/>
<id>urn:sha1:62b22e1764f2aeabde299fbc7568eb255e908d89</id>
<content type='text'>
These are user-visible labels in the version-status subtitle, so
sentence-case reads better than the lowercase first-pass. "matched"
stays lowercase since it's a status descriptor, not a label.

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat: peer version exchange with soft-warn UI indicator</title>
<updated>2026-06-14T20:59:26Z</updated>
<author>
<name>Jon Kinney</name>
<email>jonkinney@gmail.com</email>
</author>
<published>2026-05-04T18:50:40Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=72c86c0d8352684fc2d005522d4c5b496be0158b'/>
<id>urn:sha1:72c86c0d8352684fc2d005522d4c5b496be0158b</id>
<content type='text'>
Adds a one-shot Hello message to the lan-mouse wire protocol so each
peer can display the other end's build commit hash and warn on
version mismatch. Soft-warn only — mismatched versions never refuse
traffic.

Wire change (lan-mouse-proto)
* `ProtoEvent::Hello { commit: [u8; 8] }` carries the 8-byte ASCII
  short commit from shadow_rs's `SHORT_COMMIT`. Encoded/decoded
  alongside the existing event variants.
* `EventType::Hello` is appended to the enum so existing IDs are
  untouched. Old peers receive the event, hit `InvalidEventId`, and
  silently skip it via the forward-compat handler in
  `connect.rs::receive_loop` — the connection is unaffected.

Daemon
* Connect side sends one Hello immediately after the DTLS handshake
  authenticates and before the ping_pong loop starts. Best-effort,
  fire-and-forget — `log::debug!` on send error.
* Listen side mirrors the peer's Hello with its own (same shape as
  the existing Ping → Pong reply), so the peer's connect-side
  receive_loop populates `ClientState::peer_commit` for that
  handle.
* The disconnect path clears `peer_commit` so a stale hash isn't
  shown after the connection drops.

IPC
* `ClientState::peer_commit: Option&lt;[u8; 8]&gt;`. `None` means the
  peer hasn't sent Hello yet — either fresh connection or older
  build that predates the event.

GTK
* `ClientObject` exposes `peer-commit` as an `Option&lt;String&gt;`
  property; `peer_commit_to_string` converts the wire `[u8; 8]` to
  the displayable hex.
* `lan_mouse_gtk::run` now takes the local commit and stashes it in
  a `OnceLock` so per-row UI can compare against each peer's hash.
* `ClientRow::refresh_version_status` re-renders the collapsed
  subtitle with Pango markup whenever the property changes:
   - matched → green   "peer version: &lt;hex&gt; · matched"
   - mismatch → orange "peer version: &lt;hex&gt; · ours: &lt;hex&gt;"
   - unknown → orange  "peer version: unknown · ours: &lt;hex&gt;"
* Window invokes `refresh_version_status` from
  `update_client_state` after writing the new property, and
  `bind` calls it once on row construction so the initial
  subtitle isn't blank.

Known limitation: state-change broadcasts from the network side
(set_alive / set_active_addr / set_peer_commit) don't currently
trigger a `FrontendEvent::State` directly; the UI picks up the
latest values on the next user-driven broadcast. Same pre-existing
behavior as the alive/active_addr fields.

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add rustfmt.toml for explicit styling (#348)</title>
<updated>2025-11-02T10:52:01Z</updated>
<author>
<name>NeoTheFox</name>
<email>soniczerops@gmail.com</email>
</author>
<published>2025-11-02T10:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=3f13714d8a68e5600cf2c82977f6ce358d60ba42'/>
<id>urn:sha1:3f13714d8a68e5600cf2c82977f6ce358d60ba42</id>
<content type='text'>
* Propose an explicit .rustfnt.toml
Use 2024 style, 4 spaces for tabs and epand the default width a tad

* Auto-format the existing code with new rules</content>
</entry>
<entry>
<title>Gtk frontend rework (#276)</title>
<updated>2025-03-15T00:21:53Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2025-03-15T00:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=50a778452e6f6895f63c6b41706fd23656be1107'/>
<id>urn:sha1:50a778452e6f6895f63c6b41706fd23656be1107</id>
<content type='text'>
client configuration now applies immediately instead of after enabling / disabling clients.
Also fixes a potential feedback loop when changing settings.</content>
</entry>
<entry>
<title>extract frontend crate (#186)</title>
<updated>2024-09-04T15:29:29Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2024-09-04T15:29:29Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=be677d4c8167b4f6cfdc56082dd698f596c59a59'/>
<id>urn:sha1:be677d4c8167b4f6cfdc56082dd698f596c59a59</id>
<content type='text'>
</content>
</entry>
</feed>
