~whynothugo/clipmon

ed0d771a — Hugo Osvaldo Barrera 5 months ago main
Update README
505486aa — Hugo Osvaldo Barrera 5 months ago
Update README
e35348dc — Hugo Osvaldo Barrera 5 months ago
Add workaround for bug if Firefox's clipboard
9caf34a1 — Hugo Osvaldo Barrera 7 months ago
Add scaffold for triggering notification.
7e74d312 — Hugo Osvaldo Barrera 7 months ago
Drop bogus TODO marker
f3ac2b9f — Hugo Osvaldo Barrera 7 months ago
Apply some clippy suggestions
900a77c6 — Hugo Osvaldo Barrera 7 months ago
Minor cleanups
49a5e0a1 — Hugo Osvaldo Barrera 7 months ago
Read from pipes without blocking
22ffa6aa — Hugo Osvaldo Barrera 7 months ago
Drop TODO marker (doesn't make sense)
8afc627e — Hugo Osvaldo Barrera 7 months ago
Drop os_pipe in favour of libc

The latter makes it very simple to create non-blocking pipes. We don't
care about non-unix environments anyway.
127419f7 — Hugo Osvaldo Barrera 7 months ago
Support partially read selection data

We currently assume that non-empty data implies that we've finished
copying.

Drop this assumption in favour of an explicitly flag. This has little
impact on its own, but allows doing partial reads in future (which is
required in order to avoid doing blocking reads).
a4947ded — Hugo Osvaldo Barrera 7 months ago
Drop verbose definition in favour of Default
a1dfc654 — Hugo Osvaldo Barrera 7 months ago
Drop an unnecessary RefCell

This indirection isn't needed after all.
86895d1d — Hugo Osvaldo Barrera 7 months ago
Replace `unwrap` with `expect`

Mostly to get clearer error messages. Also replace some usages of
`match` that could simply be `unwrap` or `expect`.
37bd336f — Hugo Osvaldo Barrera 7 months ago
Add a note on the current architecture
3a5d94f6 — Hugo Osvaldo Barrera 8 months ago
More logging improvements
9bbf8be5 — Hugo Osvaldo Barrera 8 months ago
Simplify handling selection freed event

And me sure we always mark is as free (rather than possibly keeping
stale data).
e50b2fa6 — Hugo Osvaldo Barrera 8 months ago
Drop some superfluous logging

Using `WAYLAND_DEBUG=1` yields much cleaner results -- it requires
understanding the protocol well, but is far more precise than my ad-hoc
wording.
86251b9a — Hugo Osvaldo Barrera 8 months ago
Drop a lot of repetitive pattern matching
8a609b07 — Hugo Osvaldo Barrera 8 months ago
Use an enum to represent selection states

This makes it impossible to represent invalid states (e.g.: having a
client id AND data at the same time). Also improves readability.
Next