169 Commits (b60809a4da23f52c1efaebc2813d3a45d97a8ca5)

Author SHA1 Message Date
Romain Vimont 4c4381de4c Use sc_ prefix for size, position and point
4 years ago
Romain Vimont ac23bec144 Expose socket interruption
4 years ago
Romain Vimont 3adff37c2d Use sc_ prefix for sockets
4 years ago
Romain Vimont 156d958e77 Move common instruction out of ifdef
4 years ago
Romain Vimont 7229e3cce0 Extract util function to build a local file path
4 years ago
Romain Vimont 4d6dd9d281 Compute scrcpy directory manually
4 years ago
Romain Vimont f78608ab29 Fix type for assignment
5 years ago
Romain Vimont daf90d33d5 Fix code style
5 years ago
Romain Vimont 32e692d5d2 Replace delay by deadline in timedwait()
5 years ago
Romain Vimont ec871dd3f5 Wrap tick API
5 years ago
Marti Raudsepp 937fa704a6 Add --verbosity=verbose log level
5 years ago
Romain Vimont 4c31911df2 Pass serial within struct server_params
5 years ago
Romain Vimont 6adc97198b Provide device info directly on server connection
5 years ago
Romain Vimont 1e64f0f931 Use ARRAY_LEN() macro
5 years ago
Romain Vimont 1b9dcce23c Fix double-free on error
5 years ago
Frank Leon Rose aaf7875d92 Ensure get_server_path() retval is freeable
5 years ago
Yu-Chen Lin 1d615a0d51 Support power off on close
5 years ago
Romain Vimont f6320c7e31 Wrap SDL thread functions into scrcpy-specific API
5 years ago
Romain Vimont 30e619d37f Replace SDL_strdup() by strdup()
5 years ago
Romain Vimont ace438e52a Remove unused port_range field
5 years ago
Romain Vimont 7afd149f4b Fix file_handler process race condition
5 years ago
Romain Vimont 6a50231698 Expose a single process_wait()
5 years ago
Romain Vimont b8edcf52b0 Simplify process_wait()
5 years ago
Romain Vimont 59feb2a15c Group common includes into common.h
5 years ago
Romain Vimont d580ee30f1 Separate process wait and close
5 years ago
Romain Vimont 821c175730 Rename process_simple_wait to process_wait
5 years ago
Romain Vimont 4bd9da4c93 Split command into process and adb
5 years ago
Romain Vimont aa8b571389 Increase display id range
5 years ago
Romain Vimont 10b749e27d Kill the server only after a small delay
5 years ago
Romain Vimont 83910d3b9c Initialize server struct dynamically
5 years ago
Tzah Mazuz 76c2c6e69d Adding new option --encoder
5 years ago
Romain Vimont c243fd4c3f Fix more log format warning
5 years ago
Romain Vimont 0ba74fbd9a Make scrcpy.h independant of other headers
6 years ago
Romain Vimont 8f46e18426 Add --force-adb-forward
6 years ago
Romain Vimont a3ef461d73 Add cli option to set the verbosity level
6 years ago
Romain Vimont 3df63c579d Configure server verbosity from the client
6 years ago
Romain Vimont 56bff2f718 Avoid compiler warning
6 years ago
Tzah Mazuz 080a4ee365 Add --codec-options
6 years ago
Romain Vimont c77024314d Add an option to keep the device awake
6 years ago
Romain Vimont 4668638ee1 Handle "show touches" on the device-side
6 years ago
Romain Vimont 7eb16ce364 Fix log format warning
6 years ago
Romain Vimont 54ccccd883 Replace SDL_Atomic by stdatomic from C11
6 years ago
Romain Vimont 94e1696869 Do not warn on terminating the server
6 years ago
Romain Vimont a346bb80f4 Do not block on accept() if server died
6 years ago
Romain Vimont d421741a83 Wait server from a separate thread
6 years ago
Romain Vimont 64d5edce92 Refactor server_start() error handling
6 years ago
e_vigurskiy 4150eedcdf Add display id parameter
6 years ago
Romain Vimont 902b99174d Fix server debugger for Android >= 9
6 years ago
George Stamoulis 1982bc439b Add option to lock video orientation
6 years ago
Romain Vimont dc7fcf3c7a Accept port range
6 years ago
Romain Vimont ca0031cbde Refactor server tunnel initialization
6 years ago
Romain Vimont d1a9a76cc6 Reorder functions
6 years ago
Yu-Chen Lin f9786e5034 Get env in windows correctly
6 years ago
Romain Vimont 7d5845196e Fix memory leak on portable builds
6 years ago
Romain Vimont 64bcac9157 Refuse to push a non-regular file server
6 years ago
Romain Vimont 510caff0cd Replace SDL_assert() by assert()
6 years ago
Romain Vimont dfd0707a29 Move utilities to util/
6 years ago
Romain Vimont 83ace84280 Restore the .jar extension on the device side
6 years ago
Romain Vimont c9d886f38b Use the existing constants for device server path
6 years ago
senta2006 7aed5d5b60 Fix typos
6 years ago
Romain Vimont 1d97d7213d Add option --max-fps
6 years ago
Yu-Chen Lin b963a3b9d5 Check client and server mismatch
6 years ago
Romain Vimont 683f7ca848 Document how to attach a debugger to the server
6 years ago
Romain Vimont 3da95b52bd Rename scrcpy-server.jar to scrcpy-server
6 years ago
Romain Vimont 63af7fbafe Reduce latency by 1 frame
6 years ago
Romain Vimont 056e47e752 Replace "cannot" by "could not"
7 years ago
Romain Vimont 91ecb4f218 Close socket on error
7 years ago
zzndb bcd0a876f7 Fix a spell mistake
7 years ago
Romain Vimont 2755bfc255 Improve portable builds
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 acc4dcd520 Disable server controller if --no-control
7 years ago
Romain Vimont ca767ba364 Group server params in a struct
7 years ago
Romain Vimont ec71a3f66a Use two sockets for video and control
7 years ago
Romain Vimont 47f1003200 Close server socket before killing process
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 b3bd5f1b80 Remove useless casts to (void *)
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 aeda583a2c Update code style
7 years ago
Romain Vimont 39c5e71605 Make the server unlink itself
7 years ago
Romain Vimont 1e22ebcac2 Always use non-empty arguments
7 years ago
Romain Vimont 345f8858d3 Send frame meta only if recording is enabled
7 years ago
Romain Vimont caa9e30004 Add crop feature
7 years ago
Romain Vimont 8793c104ee Increase "adb forward" connection attempts
7 years ago
Romain Vimont ec02823045 Fix leak on server start error
8 years ago
Romain Vimont 435a7fe314 Add missing includes
8 years ago
Romain Vimont f00c6c5b13 Disable custom SDL signal handlers
8 years ago
Romain Vimont c65cb36d3b Increase the number of connection attempts
8 years ago
Romain Vimont 1038bad385 Make it work over tcpip
8 years ago
Romain Vimont 2b3ed5bcdb Store serial in server instance
8 years ago
Romain Vimont acd2dc3183 Shutdown sockets before closing
8 years ago
Romain Vimont e6feb991db Fix comment typo
8 years ago
Romain Vimont c78ad6377c Terminate the server on stop
8 years ago
Romain Vimont 221a7d0826 Clean up the server from temporary folder
8 years ago
Romain Vimont 487cb10cf0 Rename ScrCpyServer to Server
8 years ago
Romain Vimont 089378926b Rename SCRCPY_SERVER_JAR to SCRCPY_SERVER_PATH
8 years ago