119 Commits (8ace3d17817196afdc5e440aa7ac296d996cb349)

Author SHA1 Message Date
Romain Vimont c78ad6377c Terminate the server on stop
8 years ago
Romain Vimont 221a7d0826 Clean up the server from temporary folder
8 years ago
Romain Vimont 08d32e3bae Clean up useless const-casts
8 years ago
Romain Vimont 487cb10cf0 Rename ScrCpyServer to Server
8 years ago
Romain Vimont 089378926b Rename SCRCPY_SERVER_JAR to SCRCPY_SERVER_PATH
8 years ago
Romain Vimont 60f3185185 Reuse server address
8 years ago
Romain Vimont 6db22ef339 Log socket errors
8 years ago
Romain Vimont ad6209f6ff Terminate the device process gracefully
8 years ago
Romain Vimont a791c272bc Send and recv all data when necessary
8 years ago
Romain Vimont d646f95a31 Avoid division by 0
8 years ago
Romain Vimont 27b9159b07 Cleanup old code comment
8 years ago
Romain Vimont cf59d49d25 Detect failure of device information read
8 years ago
Romain Vimont 9b056f5091 Replace SDL_net by custom implementation
8 years ago
Romain Vimont bf41e5479b Improve decoder stopped event
8 years ago
Romain Vimont 518d6d5dcd Prevent new window opening with CreateProcess()
8 years ago
Romain Vimont e8cad790a4 Reword Ctrl+x description
8 years ago
Romain Vimont 5ebf31d483 Remove useless screen render on initialization
8 years ago
Romain Vimont d977202224 Add Ctrl+i shortcut to enable/disable FPS counter
8 years ago
Romain Vimont 000ced9ba8 Refactor screencontrol to inputmanager
8 years ago
Romain Vimont 42882702d7 Expose skip_frames as a build option
8 years ago
Romain Vimont 38e6682875 Add FPS counter
8 years ago
Romain Vimont c6c17af840 Do not print usage on command error
8 years ago
Romain Vimont 8697659890 Expose device serial as an optional argument
8 years ago
Romain Vimont 23d92a95b6 Extract argument parsing to specific functions
8 years ago
Romain Vimont 111068d733 Use SDL_bool return to indicate success
8 years ago
Romain Vimont d3c76c004e Sort parameters by letter
8 years ago
Romain Vimont 0efa9305eb Require Meson 0.37
8 years ago
Romain Vimont c2127d0819 Replace meson subprojects by subdir
8 years ago
Romain Vimont ff94462d8a Refactor build system
8 years ago
Romain Vimont 396df8a9d8 Provide config.h.in for old meson versions
8 years ago
Romain Vimont 3ed80a1fac Define macros wrappers for logs
8 years ago
Romain Vimont d45ef1a295 Do not use too recent set_quoted()
8 years ago
Romain Vimont ad41bacb48 Fix "terminate process" on Windows
8 years ago
Romain Vimont 6fe65d9f5c Log with category APPLICATION
8 years ago
Romain Vimont 4dbc450d01 Enable debug logs only for debug builds
8 years ago
Romain Vimont 0fce4f95b9 Properly clean up on exit
8 years ago
Romain Vimont eb09fefd43 Timeout the server socket connection
8 years ago
Romain Vimont 90a46b4c45 Improve startup time
8 years ago
Romain Vimont 523097eadf Provide decoder_init()
8 years ago
Romain Vimont 4662198261 Do not release TCP sockets while still in use
8 years ago
Romain Vimont fe21d9dfb5 Move frame updating to screen.c
8 years ago
Romain Vimont 7458d8271e Kill the server immediately on close
8 years ago
Romain Vimont 2fdc368c41 Do not try to decode video when EOF is reached
8 years ago
Romain Vimont a8aa3d39b7 Send "screen on" command only on mouse down
8 years ago
Romain Vimont 127e56780a Fix deadlock on exit if SKIP_FRAMES disabled
8 years ago
Romain Vimont 629c296207 Move frame swapping logic to frame.c
8 years ago
Romain Vimont 0d7f050389 Unlock mutex on screen update failure
8 years ago
Romain Vimont e8dfb723af Move control-related code to screencontrol.c
8 years ago
Romain Vimont e1749a0c09 Remove the "adb reverse" tunnel immediately
8 years ago
Romain Vimont 3b06e7d500 Move device-related code to device.c
8 years ago