455 Commits (3259c60b22598379e86fb4e20352f95f3282d0af)

Author SHA1 Message Date
Romain Vimont 1380f6e00f Fix help for --record-format
6 years ago
Romain Vimont 17d53be3ef Fix mouse events conversion
6 years ago
Romain Vimont f6c8460ebb Rename window size functions for clarity
6 years ago
Romain Vimont 6220456def Merge mouse and touch events
6 years ago
Romain Vimont 30168f0428 Ignore duplicate mouse events
6 years ago
Romain Vimont b5a2d99bc2 Send touch events from the client
6 years ago
Romain Vimont 77f876e29c Add "inject touch" control message
6 years ago
Romain Vimont 810ff80ba7 Add buffer_write64be()
6 years ago
Romain Vimont 1f8ba1ca79 Include config.h everywhere
6 years ago
Louis Kruger 129dabcfa4 Include config.h to fix HIDPI support
6 years ago
Yu-Chen Lin 795d103032 input_manager.c: Correct log
6 years ago
Ta-da 513d1ac96d
Fix option "record-format" related short opt
6 years ago
Romain Vimont ffdbf5990b Rename event converter functions
6 years ago
Romain Vimont 9463850c24 Rename "convert.h" to "event_converter.h"
6 years ago
Romain Vimont a9c8fa305d Fix segfault on recording with old FFmpeg
6 years ago
Romain Vimont 8507fea271 Record a packet with its duration
6 years ago
Arne Schwabe c05056343b Fix building on OS X (missing NULL in queue.h)
6 years ago
Romain Vimont b0184f2869 Initialize queue "last" field
6 years ago
Romain Vimont e2ac996183 Use Cmd instead of Ctrl on macOS when possible
6 years ago
Romain Vimont 5e4ccfd832 Use generic FIFO queue for recording
6 years ago
Romain Vimont 53b6ee2cf4 Add generic intrusive FIFO queue
6 years ago
Romain Vimont 26213f1031 Fix cbuf documentation
6 years ago
Romain Vimont 96b5067cbf Remove unnecessary backslash in cbuf
6 years ago
Romain Vimont 6abb4902c6 Log recording failure
6 years ago
Romain Vimont d4ed8b6f26 Log scrcpy version and URL on start
6 years ago
Romain Vimont 35d9185f6c Record asynchronously
6 years ago
Romain Vimont 63af7fbafe Reduce latency by 1 frame
6 years ago
Romain Vimont a90ccbdf3b Add option to change the push target
6 years ago
Romain Vimont ca970e8aa6 Merge branch 'master' into dev
6 years ago
Romain Vimont 3c55d0c69b Fix double-free on error
7 years ago
Romain Vimont 4961256123 Close decoder on stream ended
7 years ago
beango1 8e65c10720 Add option --window-title
7 years ago
Romain Vimont 056e47e752 Replace "cannot" by "could not"
7 years ago
Romain Vimont 91ecb4f218 Close socket on error
7 years ago
Romain Vimont bfb3f0842f Prevent to turn screen off if no control
7 years ago
Romain Vimont b91ecf5225 Fix --serial help
7 years ago
zzndb bcd0a876f7 Fix a spell mistake
7 years ago
Romain Vimont 2755bfc255 Improve portable builds
7 years ago
Romain Vimont 3b17ff7c86 Add functions to convert wide char to UTF-8
7 years ago
Romain Vimont 4eb6b26c93 Extract "scrcpy-server.jar" string
7 years ago
Romain Vimont eb34098add Simplify portable build configuration
7 years ago
Romain Vimont b777760bca Simplify scrcpy-server path configuration
7 years ago
Romain Vimont 72bdfbc7a6 Never return 0 for stream protocol
7 years ago
Romain Vimont 5d11339259 Inline lock_util functions
7 years ago
Romain Vimont e2a272bf99 Improve framerate counting
7 years ago
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 3aa5426cad Add unit tests for control events serialization
7 years ago
Romain Vimont 63207d9cd5 Fix wrong comment in unit test
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 6edb1294f0 Add missing return 0 in unit test
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 0fbab42f8c Format meson.build for readability
7 years ago
Romain Vimont 08f506b24f Replace SDL_bool by bool in tests
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