134 Commits (0d45c29d13be15764a3e58e47d5e55f07b4e5dee)

Author SHA1 Message Date
Romain Vimont 0d45c29d13 Move IPV4_LOCALHOST to net.h
4 years ago
Romain Vimont 37c840a4c8 Interrupt on process terminated
4 years ago
Romain Vimont f488cbd7e7 Make server interruptible
4 years ago
Romain Vimont 0426708544 Run the server from a dedicated thread
4 years ago
Romain Vimont 5b9c88693e Wait using a condition variable in server
4 years ago
Romain Vimont a54dc8212f Reorder server functions
4 years ago
Romain Vimont 882e4cff5f Copy server params
4 years ago
Romain Vimont 0bfa75a48b Split socket creation and connect/listen
4 years ago
Romain Vimont ed19901db1 Set video and control sockets only on success
4 years ago
Romain Vimont e69356c550 Initialize tunnel_enabled flag internally
4 years ago
Romain Vimont 03de9224fc Introduce process observer
4 years ago
Romain Vimont aa011832c1 Improve process API
4 years ago
Romain Vimont fcc04f967b Improve file API
4 years ago
Romain Vimont d4c262301f Move functions from process to file
4 years ago
Romain Vimont 676fa73d2c Wrap device name and size in a struct
4 years ago
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