81 Commits (34e19dcc57f35d8f152b1f5b0988800581af15df)

Author SHA1 Message Date
Romain Vimont 37124e1452 Avoid unused function warning
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 682a691173 Use timers with microsecond precision
4 years ago
Romain Vimont 0c0f62e4ab Use static maps to convert input events
4 years ago
Romain Vimont b7e631791c Add util function to remove trailing '\r'
4 years ago
Romain Vimont b52f87a892 Add util function to locate a column in a string
4 years ago
Romain Vimont f801d8b312 Expose flags for process execution
4 years ago
Romain Vimont b90c89766b Set CLOEXEC flag on sockets
4 years ago
Romain Vimont 904f0ae61e Check process success locally for adb commands
4 years ago
Romain Vimont 3653fb6b15 Add OutOfMemory log helper
4 years ago
Romain Vimont 5d17bcf1bc Wait SET_CLIPBOARD ack before Ctrl+v via HID
4 years ago
Romain Vimont aba1fc03c3 Add acksync helper to wait for acks
4 years ago
RipleyTom 52e5181c84 Add function to parse IPv4 addresses
4 years ago
Romain Vimont ea454e9cee Add interruptible function to read from pipe
4 years ago
Romain Vimont cb65531533 Simplify sc_str_truncate()
4 years ago
Romain Vimont 9619ade706 Generalize string trunctation util function
4 years ago
Romain Vimont f2781a8b6d Expose util function to truncate first line
4 years ago
Romain Vimont de50846905 Close process on check success
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 0d45c29d13 Move IPV4_LOCALHOST to net.h
4 years ago
Romain Vimont 40340509d9 Add interruptor utilities
4 years ago
Romain Vimont e0896142db Introduce interruptor tool
4 years ago
Romain Vimont 0bfa75a48b Split socket creation and connect/listen
4 years ago
Romain Vimont 03de9224fc Introduce process observer
4 years ago
Romain Vimont aa011832c1 Improve process API
4 years ago
Romain Vimont 7e93abcf6d Factorize common impl of process_execute()
4 years ago
Romain Vimont e80e6631e4 Remove duplicate function declaration
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 38332f683c Add util function to get terminal size
4 years ago
Romain Vimont 9ec3406568 Add line wrapper
4 years ago
Romain Vimont 6dba1922c1 Add string buffer util
4 years ago
Romain Vimont 48fcfa96ab Add missing include "common.h"
4 years ago
Romain Vimont e4d5c1ce36 Move scrcpy option structs to options.h
4 years ago
Romain Vimont ac23bec144 Expose socket interruption
4 years ago
Romain Vimont e5ea13770b Add socket wrapper
4 years ago
Romain Vimont 3eac212af1 Use net_send() from net_send_all()
4 years ago
Romain Vimont 3adff37c2d Use sc_ prefix for sockets
4 years ago
Romain Vimont eb6afe7669 Move net_init() and net_cleanup() upwards
4 years ago
Romain Vimont 0681480809 Add read_pipe_all()
4 years ago
Romain Vimont eaf4afaad9 Add command execution with redirection
4 years ago
Romain Vimont 7229e3cce0 Extract util function to build a local file path
4 years ago
Romain Vimont 07d75eb336 Simplify net_send_all()
4 years ago
Romain Vimont 1d1c9f36f4 Retrieve correct error messages on Windows
4 years ago
Romain Vimont 6f03022646 Fix net_send_all()
5 years ago
Romain Vimont 4c4d02295c Add buffering debugging tools
5 years ago
Romain Vimont 32e692d5d2 Replace delay by deadline in timedwait()
5 years ago