337 Commits (d104d3bda91b018c25bf0fdcf1733bc90cc894cd)

Author SHA1 Message Date
Romain Vimont d104d3bda9 Add cond_wait_timeout()
7 years ago
Romain Vimont eda44b6068 Fix controller cleanup
7 years ago
Romain Vimont ebccb9f6cc Add runtime option to render expired frames
7 years ago
Romain Vimont a143b8b07a Indent command-line options
7 years ago
Romain Vimont 8e66b33000 Add option to turn device screen off
7 years ago
Romain Vimont 7f07b13446 Indent command-line options
7 years ago
Romain Vimont acc4dcd520 Disable server controller if --no-control
7 years ago
Romain Vimont ca767ba364 Group server params in a struct
7 years ago
Romain Vimont c8a6783494 Use positive options names internally
7 years ago
Romain Vimont 5b56900e2b Rename unused field
7 years ago
Romain Vimont 8c8649cfcd Remove "turn device screen on" feature
7 years ago
Romain Vimont 41225c3e41 Improve key processing readability
7 years ago
Romain Vimont 296047d82a Use net_close() to close sockets
7 years ago
Romain Vimont 12a3bb25d3 Implement device screen off while mirroring
7 years ago
Romain Vimont 3ee9560ece Fix comment style
7 years ago
Yu-Chen Lin a56045dd80 Prevent socket leak on error
7 years ago
Yu-Chen Lin fcf225049d Use consistent variable names
7 years ago
Romain Vimont 6537c2ef01 Add clipboard logs
7 years ago
Romain Vimont 9712cb8123 Do not minimize on focus loss
7 years ago
Romain Vimont 28980bbc90 Rename "event" to "message"
7 years ago
Yu-Chen Lin 2a8a3e6ed5 Correct return value type in handle_event
7 years ago
Romain Vimont c13a24389c Implement computer-to-device clipboard copy
7 years ago
Romain Vimont 63c078ee6c Implement device-to-computer clipboard copy
7 years ago
Romain Vimont 6112095e75 Add device event receiver
7 years ago
Romain Vimont f9d2d99166 Add GET_CLIPBOARD device event
7 years ago
Romain Vimont ec71a3f66a Use two sockets for video and control
7 years ago
Romain Vimont 69360c7407 Extract control event string serialization
7 years ago
Romain Vimont 6ec2ddd2d1 Truncate UTF-8 properly
7 years ago
Romain Vimont 0a7fe7ad57 Add helpers to truncate UTF-8 at code points
7 years ago
Romain Vimont 63909fd10d Merge commands with other control events
7 years ago
Romain Vimont 3b4366e5bf Stop stream immediately on quit
7 years ago
Romain Vimont 47f1003200 Close server socket before killing process
7 years ago
Romain Vimont bfb86ca2c2 Simplify cleanup
7 years ago
Romain Vimont 0dee9b04b2 Use net_recv() to read only one byte
7 years ago
Romain Vimont 8fc58bde75 Simplify server_connect_to()
7 years ago
Romain Vimont 5a431cdf9b Make server_connect_to() return a bool
7 years ago
Romain Vimont 073181b294 Use cbuf for file handler request queue
7 years ago
Romain Vimont 241a3dcba5 Use cbuf for control event queue
7 years ago
Romain Vimont b38292cd69 Add generic circular buffer
7 years ago
Romain Vimont 7475550ae8 Add buffer_read16be()
7 years ago
Romain Vimont 7fc8793d5b Make buffer util functions accept const buffers
7 years ago
Romain Vimont bf5e54b2e9 Make control_event_serialize() return size_t
7 years ago
Romain Vimont 507b0bcccf Fix memory leak on error
7 years ago
Romain Vimont e1afd9f8b0 Fix event ownership comment
7 years ago
Romain Vimont b08dada6c1 Prefix control event constants by namespace
7 years ago
Romain Vimont 999c964689 Make macro expansion-safe
7 years ago
Romain Vimont befe455e44 Remove unused includes
7 years ago
Romain Vimont d2504f974c Fix indentation
7 years ago
Romain Vimont 3bc1c51b91 Always use SDL_malloc() and SDL_free()
7 years ago
Romain Vimont 5d473efeb5 Bind Home key to MOVE_HOME
7 years ago