146 Commits (0427a981e59ff5c5f188de5d34722c7f098ecf43)

Author SHA1 Message Date
RipleyTom 7bdbde7363 Add options to configure tunnel host and port
4 years ago
Romain Vimont ce225f019a Use new user-friendly adb API
4 years ago
Romain Vimont afb5a5e80f Rename adb functions to adb_exec_*
4 years ago
Romain Vimont 0426ae885c Make "adb get-serialno" interruptible
4 years ago
Romain Vimont b30c3a429f Always retrieve device serial
4 years ago
Romain Vimont de50846905 Close process on check success
4 years ago
Romain Vimont 6a27062f48 Stop connection attempts if interrupted
4 years ago
Romain Vimont c1a34881d7 Use sc_ prefix for server
4 years ago
Romain Vimont 057c7a4df4 Move str_util to str
4 years ago
Romain Vimont 979ce64dc0 Improve string util API
4 years ago
Romain Vimont 9a0bd545d5 Rename SC_INVALID_SOCKET to SC_SOCKET_NONE
4 years ago
Romain Vimont c4d008b96a Extract adb tunnel to a separate component
4 years ago
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