169 Commits (b60809a4da23f52c1efaebc2813d3a45d97a8ca5)

Author SHA1 Message Date
Romain Vimont 5b3ae2cb2f Store actual serial in sc_server
4 years ago
Romain Vimont 08f16a9dde Simplify switch to TCPIP function
4 years ago
Romain Vimont 386cf7d7ac Build adb argv statically
4 years ago
Romain Vimont f807131c0a Remove useless undef
4 years ago
Romain Vimont 9e3902f30c Use sc_ prefix for adb
4 years ago
Romain Vimont 7810ca61b0 Move ADB code to adb/
4 years ago
Romain Vimont c996a6d462 Fix socket close race condition
4 years ago
Romain Vimont 15bf27afdd Make auto-downsize on error optional
4 years ago
Romain Vimont 1c71bd16be Use constant string for known booleans
4 years ago
Romain Vimont feb250a973 Fix typos reported by codespell
4 years ago
Romain Vimont 3ada5c51bc Rename scrcpy threads
4 years ago
Romain Vimont ddb9396743 Interrupt and close sockets on server stop
4 years ago
Romain Vimont cabcbc2b15 Do not create control socket if no control
4 years ago
Romain Vimont 19858e6aeb Add --tcpip feature
4 years ago
Romain Vimont 3b310f8317 Extract interruptible sleep for server
4 years ago
Romain Vimont e3d4aa8c5d Use flags for adb commands
4 years ago
Romain Vimont 8ed3328055 Use unsigned for connection attempts count
4 years ago
Romain Vimont 3653fb6b15 Add OutOfMemory log helper
4 years ago
Romain Vimont 7b29f5fd2d Do not pass default values to the server
4 years ago
Romain Vimont 04e5537f8c Pass server parameters as key=value pairs
4 years ago
Romain Vimont 2eb881c5f1 Allocate and format server command args
4 years ago
Romain Vimont 5434ea543c Remove local "serial" variable
4 years ago
Romain Vimont 6abff46c9f Add option to disable clipboard autosync
4 years ago
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