428 Commits (ce5635f28cec04f20dc3ef1c205e1740ac115c74)

Author SHA1 Message Date
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
Romain Vimont a41dd6c79f Make owned filename a pointer-to-non-const
7 years ago
Romain Vimont c3779d8513 Make owned serial a pointer-to-non-const
7 years ago
Romain Vimont b3bd5f1b80 Remove useless casts to (void *)
7 years ago
Romain Vimont 3133d5d1c7 Continue on icon loading failure
7 years ago
Romain Vimont 2dc1a59471 Check surface returned for icon
7 years ago
Romain Vimont e443518ed9 Print adb command on error
7 years ago
Romain Vimont eeb8e8420f Use size_t for command length
7 years ago
Sebastian Krzyszkowiak b941854c73 Disable X11 compositor bypass
7 years ago
Sebastian Krzyszkowiak 068253a3a2 Fix mouse focus clickthrough
7 years ago
Gerdal ffa8c66979 Fix link error on Windows Subsystem for Linux
7 years ago
Romain Vimont e2ef39fae5 Fix overflow in test
7 years ago
Romain Vimont 50dac2eaee Log "new texture" at INFO level
7 years ago
Romain Vimont a7b3901c31 Add more consts
7 years ago
Romain Vimont f7efafd846 Explicitly pass control flag to input manager
7 years ago
Romain Vimont 6baed8a06f Do not init SDL video subsystem if no display
7 years ago
Romain Vimont 8595862005 Use explicit output parameter for skipped frame
7 years ago
Romain Vimont 9ef345fdd0 Make owned serial a pointer-to-non-const
7 years ago
Romain Vimont dfed1b250e Replace SDL types by C99 standard types
7 years ago
Romain Vimont 8655ba7197 Add option to mirror in read-only
7 years ago
Romain Vimont 163cd36ccc Rename -n/--no-window to -N/--no-display
7 years ago
Romain Vimont db6644f1f9 Add missing no_window initialization
7 years ago
Romain Vimont 36191b7eec Avoid unnecessary call if display is disabled
7 years ago
Romain Vimont 33ccb1368f Extract event processing out of event_loop()
7 years ago
Romain Vimont aeda583a2c Update code style
7 years ago
Romain Vimont b2fe005498 Replace uint64_t by Uint64 for consistency
7 years ago
Romain Vimont 89812e4eee Implement the --no-window flag
7 years ago
CapsLock 421a1141e2 Add a new option: -n/--no-window
7 years ago