1185 Commits (ed84e18b1ae3e51d368f8c7bc88ba4db088e6855)

Author SHA1 Message Date
Romain Vimont 6edf50d447 Remove fprintf() in tests
4 years ago
Romain Vimont 4b018be789 Add --print-fps to enable FPS counter on start
4 years ago
Romain Vimont fa93c8a91b Move FPS counter start/stop logs
4 years ago
Romain Vimont 03705b828b Use sc_prefix for fps counter
4 years ago
Romain Vimont 85edba20e7 Enforce deadline reached on timeout
4 years ago
Romain Vimont 2a872c3865 Fix fps_counter tick type
4 years ago
Romain Vimont ccbe370cc5 Add --no-cleanup option
4 years ago
Romain Vimont bb991f829c Fix order of options
4 years ago
Romain Vimont ca9e1a0514 Add compilation flag for USB features
4 years ago
Romain Vimont cc27771dd1 Add compilation flag for V4L2 feature
4 years ago
Romain Vimont d0ab8c0e7b Fix double adb tunnel closing
4 years ago
Romain Vimont 5c62f3419d Rename buffer util functions with sc_ prefix
4 years ago
Romain Vimont 044acc2259 Rename HEADER_SIZE to SC_PACKET_HEADER_SIZE
4 years ago
Romain Vimont 6fc388f369 Remove unused BUFSIZE
4 years ago
Romain Vimont 1c02b58412 Remove sc_demuxer_parse()
4 years ago
Romain Vimont 67068e4e3d Pass key frame flag from the device
4 years ago
Romain Vimont e3c2398aa2 Store packet flags in PTS most significant bits
4 years ago
Romain Vimont 29c163959c Indent ifdef for clarity
4 years ago
Romain Vimont 4a95c08d56 Improve error message for unsupported usb hotplug
4 years ago
Romain Vimont 7848a387c8 Do not duplicate relative mouse mode state
4 years ago
Romain Vimont 43ae418752 Fix USB device leak on connection error
4 years ago
Romain Vimont 8d583d36e2 Move prebuilt-deps/ to app/
4 years ago
Romain Vimont f86df817f9 Print libusb version on --version
4 years ago
Romain Vimont 9a546ef1af Print both compiled and linked versions of libs
4 years ago
Romain Vimont 9477594f80 Move version handling to a separate file
4 years ago
Romain Vimont 29828aa330 Log device opening errors during listing
4 years ago
Romain Vimont 582161607e Add option to select USB or TCP/IP devices
4 years ago
Romain Vimont 146f65d7b2 Introduce adb device selector
4 years ago
Romain Vimont 5ed13ef477 Execute adb start-server
4 years ago
Romain Vimont 9c545e8c29 Remove sc_adb_get_serialno()
4 years ago
Romain Vimont 0a619dc9ef Allow selecting a device from IP without port
4 years ago
Romain Vimont 4692d13179 Expose simple API to select a single adb device
4 years ago
Romain Vimont 02d46b2262 Expose function to test if a serial is TCP/IP
4 years ago
Romain Vimont 4389de1c23 Add adb devices parser
4 years ago
Romain Vimont 85ff70fc95 Refactor device configuration
4 years ago
Romain Vimont 700503df6c List and select USB devices separately
4 years ago
Romain Vimont 61969aeb80 Expose simple API to select a single USB device
4 years ago
Romain Vimont b88c4aa75e Add move-function for sc_usb_device
4 years ago
Romain Vimont 8c50342fb2 Move SC_PRIsizet to compat.h
4 years ago
Romain Vimont 0eadf95a3e Rename function to destroy a list of USB devices
4 years ago
Romain Vimont 6df2205cf3 Add generic LOG() macro with level parameter
4 years ago
Romain Vimont 61b6324ee9 Remove LOGC()
4 years ago
Romain Vimont f20137d2ac Improve USB device open log
4 years ago
Romain Vimont b60809a4da Inline USB device opening
4 years ago
Romain Vimont b0e04aa327 Remove log_libusb_error()
4 years ago
Romain Vimont 137d2c9791 Remove confusing sc_str_truncate()
4 years ago
Romain Vimont 6d41c53b61 Fix adb connect parsing
4 years ago
Romain Vimont 8d540e83c7 Fix adb get-serialno parsing
4 years ago
Romain Vimont 2ea12f73db Fix adb getprop parsing
4 years ago
Romain Vimont 5d6bd8f9cd Fix adb device ip parsing
4 years ago
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 5e2bfccab4 Expose adb executable path publicly
4 years ago
Romain Vimont ba30ca5c1e Rename adb_command to adb_executable
4 years ago
Romain Vimont 028e7afe32 Assert non-NULL serial
4 years ago
Romain Vimont 6ca9825c0f Assert "adb disconnect" is called with an argument
4 years ago
Romain Vimont f807131c0a Remove useless undef
4 years ago
Romain Vimont 21106bd70a Remove screensaver log
4 years ago
Romain Vimont bd3c93ae3d Remove platform-tools installation suggestion
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 c460243ce2 Simplify demuxer
4 years ago
Romain Vimont 7dec225ceb Rename stream to sc_demuxer
4 years ago
Romain Vimont 4ee62abe1d Use sc_ prefix for recorder
4 years ago
Romain Vimont 0080d0b0ff Use sc_ prefix for decoder
4 years ago
CennoxX 0bf7e4ddc4 Add missing spaces in help
4 years ago
Romain Vimont f02f2135cd Fix include for standard library header
4 years ago
Romain Vimont 9b4360b6b8 Add warning in function documentation
4 years ago
Romain Vimont c8d0f5cdeb Fix sc_str_truncate() documentation
4 years ago
Romain Vimont 22d9f0faf4 Fix comment typo
4 years ago
Romain Vimont 64a09513ae Bump version to 1.22
4 years ago
Romain Vimont 38cdcdda50 Improve prebuilt system
4 years ago
Romain Vimont b8d7f36ba3 Fix SC_EXIT_CODE_NONE value
4 years ago
Romain Vimont 80bec70852 Add helper to log Windows system errors
4 years ago
Romain Vimont 5508c635cb Enable mouse focus clickthrough in OTG mode
4 years ago
Romain Vimont ea68a003a2 Make HID keyboard and mouse optional in OTG mode
4 years ago
Romain Vimont 91418c79ab Add OTG mode
4 years ago
Romain Vimont 36aaf70279 Move input event helpers
4 years ago
Romain Vimont 1a03206e36 Detect USB device disconnection
4 years ago
Romain Vimont 37987b822e Make acksync optional for AOA initialization
4 years ago
Romain Vimont 8fc9dca8cb Make serial optional to find USB devices
4 years ago
Romain Vimont 1c17f57c10 Find a list of devices instead of a single one
4 years ago
Romain Vimont d8b37fe189 Wrap libusb_device
4 years ago
Romain Vimont 0ee9e2ff51 Expose function to find a USB device
4 years ago
Romain Vimont 1ab3692f3d Add util function to read USB descriptor string
4 years ago
Romain Vimont bbef426a4b Split USB initialization and connection
4 years ago
Romain Vimont 2114f48185 Find device with USB context
4 years ago
Romain Vimont b779eca8d3 Remove libusb_device field
4 years ago
Romain Vimont adda47b0f7 Move sc_usb out of sc_aoa
4 years ago
Romain Vimont 48e3ff284f Make serial mandatory for sc_usb
4 years ago
Romain Vimont 1d6f9952ee Extract USB handling from AOA
4 years ago
Romain Vimont d48d191262 Rename HAVE_AOA_HID to HAVE_USB
4 years ago
Romain Vimont 2762f5d183 Move AOA/HID code to usb/
4 years ago
Romain Vimont c996a6d462 Fix socket close race condition
4 years ago
Romain Vimont 8ea6fb1f0f Print version on stdout
4 years ago
Romain Vimont b546c33eff Do not print scrcpy version twice on --version
4 years ago
Romain Vimont 4817cadd09 Fix code style
4 years ago
Romain Vimont 02b5e87802 Slightly reduce lock usage
4 years ago
Romain Vimont 8e4d3beb01 Fix return value on adb commands error
4 years ago