340 Commits (2a8a3e6ed5f019bdb296dd2fdfa3a2d486b0bc15)

Author SHA1 Message Date
Romain Vimont 1846d2f078 Prevent killing unexpected process
8 years ago
Romain Vimont 1a0139321b Fix missing installer initialization
8 years ago
Romain Vimont f705a73149 Use a meson option to crossbuild for Windows
8 years ago
Romain Vimont 8106bb8215 Bump version to 1.2
8 years ago
Romain Vimont a63dd47f2d Make CreateProcess() flags depend on "noconsole"
8 years ago
Romain Vimont aedc2c2da9 Also build "noconsole" binary for Windows
8 years ago
Romain Vimont 106b87a4d2 Add cross-compilation scripts for Windows
8 years ago
Romain Vimont 6274cc3767 Document APK drag & drop
8 years ago
Romain Vimont 9c6f9b24f9 Quote apk path on Windows
8 years ago
Adonis Najimi e2a2973990 Drag and drop to install apk files from computer
8 years ago
Romain Vimont 41419a2e77 Fix net_send_all() warning
8 years ago
Romain Vimont e3d0a59c80 Fix proc_show_touches warning
8 years ago
Romain Vimont bb3a7f05ac Release controller lock while processing events
8 years ago
Romain Vimont ec02823045 Fix leak on server start error
8 years ago
Romain Vimont 435a7fe314 Add missing includes
8 years ago
Romain Vimont 78da66f126 Merge branch 'master' into dev
8 years ago
Romain Vimont 9aa88b6fc3 Map numpad ENTER key
8 years ago
Romain Vimont 0871bca9c7 Avoid pointer arithmetic on "void *"
8 years ago
Romain Vimont b2b5404883 Use const pointers when possible
8 years ago
Romain Vimont 1bddb80b5f Change volume shortcuts
8 years ago
Romain Vimont 71f50fb697 Merge branch 'master' into dev
8 years ago
Romain Vimont 82efff34e8 Factorize texture creation
8 years ago
Romain Vimont 860006e082 Forward double-click events
8 years ago
Romain Vimont 57eaf05289 Improve startup time when show_touches is enabled
8 years ago
Romain Vimont dd2a5c1ecf Disable "show touches" once window is closed
8 years ago
Romain Vimont 66ec252893 Add an option to enable "show touches"
8 years ago
Romain Vimont b13d25b9f4 Group scrcpy options into a struct
8 years ago
Romain Vimont b449c09442 Merge branch 'master' into dev
8 years ago
Romain Vimont 35298bb0c6 Process the last video frame
8 years ago
Romain Vimont 73c332e3e4 Unref last packet on exit
8 years ago
Romain Vimont 29b5c5b8f4 Merge branch 'arich/addShake' into dev (#85)
8 years ago
Romain Vimont 88ee6bc928 Swap MENU and APP_SWITCH shortcuts
8 years ago
Romain Vimont 35e9a64c34 Rename "shake" to "menu"
8 years ago
Andy Rich 301c52b603 Add support for CTRL+S to send hardware "shake" to device w/readme
8 years ago
Romain Vimont f00c6c5b13 Disable custom SDL signal handlers
8 years ago
Romain Vimont 3b3803da0d Remove useless blocks in switch/case
8 years ago
Romain Vimont f5cf6c1b2c Include source root directory
8 years ago
Romain Vimont c65cb36d3b Increase the number of connection attempts
8 years ago
Romain Vimont 821ec9843c Fix win32 build
8 years ago
Romain Vimont f16bd88802 Remove useless cast
8 years ago
Romain Vimont f3e8834a3c Fix warning message
8 years ago
Romain Vimont 080df5eb5d Fix switch/case code style
8 years ago
Romain Vimont d744837f13 Bump version to 1.1
8 years ago
Romain Vimont f7bc0bd5b5 Merge branch 'dev' into release
8 years ago
Romain Vimont 8a3c6a3ae7 Remove useless argument
8 years ago
Romain Vimont 0b1e59186f Workaround continuous resizing on Windows/MacOS
8 years ago
Romain Vimont e69f6f710d Disable stdout/stderr buffering on Windows
8 years ago
Romain Vimont b858204786 Remove black borders on double-click
8 years ago
Romain Vimont 1038bad385 Make it work over tcpip
8 years ago
Romain Vimont 2b3ed5bcdb Store serial in server instance
8 years ago
Romain Vimont 9e328ef98b Always use the best render scale quality available
8 years ago
Romain Vimont f9a63ec272 Reverse horizontal scrolling behavior
8 years ago
Romain Vimont c87d94ee27 Map middle-click to HOME
8 years ago
Romain Vimont 675704c71c Map right-click to BACK if screen is on
8 years ago
Romain Vimont 9396ea6d42 Fix text input event segfault
8 years ago
Romain Vimont f9562f537a Unref the packet on error
8 years ago
Romain Vimont a34fbd23e9 Do not leak the packet data
8 years ago
Romain Vimont c2ac6fe7bd Upgrade version to 1.0
8 years ago
Romain Vimont e2a7abcd53 Implement clipboard paste
8 years ago
Romain Vimont e4d64e8752 Initialize struct field by field
8 years ago
Romain Vimont fffeedffda Expose High DPI support configuration flag
8 years ago
Romain Vimont 82b4acee73 Do not fail on EAGAIN
8 years ago
Romain Vimont ab780ce26d Avoid useless variables initialization
8 years ago
Romain Vimont 84ad6633a6 Move the new avcodec implementation before the old
8 years ago
Romain Vimont 1b0cea61a5 Do not use return code for thread run function
8 years ago
Romain Vimont 42f6341a14 Revert "Enable high dpi support"
8 years ago
Romain Vimont acd2dc3183 Shutdown sockets before closing
8 years ago
Romain Vimont db396f2138 Fix scroll wheel mouse position
8 years ago
Romain Vimont e6feb991db Fix comment typo
8 years ago
Romain Vimont e3f5d3b49b Double the default bitrate
8 years ago
Romain Vimont 38b56f552e Enable high dpi support
8 years ago
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
Romain Vimont 28c5cc030b Move server-related code to server.c
8 years ago
Romain Vimont 6c578b5caa Move screen-related code to screen.c
8 years ago
Romain Vimont 14c58546a7 Add missing include guards
8 years ago
Romain Vimont ffae15e36a Rename control to controller
8 years ago
Romain Vimont 7b7fd77134 Add missing static
8 years ago
Romain Vimont f39de46a39 Add delay before stopping server
8 years ago
Romain Vimont cb1428223f Log user request to quit
8 years ago
Romain Vimont 7fe11033cb Include dependencies version
8 years ago
Romain Vimont 9f6464acff Expose application version
8 years ago
Romain Vimont 8d30d40b79 Make SKIP_FRAMES a compilation flag
8 years ago
Romain Vimont 53ff1aa410 Use meson to configure default values
8 years ago
Romain Vimont cb7e29180f Change the window icon color in debug mode
8 years ago
Romain Vimont 71c2bfdd22 Parse XPM without SDL_image
8 years ago
Romain Vimont f22d4decca Enable mouse focus clickthrough only if available
8 years ago
Romain Vimont 52c89c7afb Add window icon
8 years ago
Romain Vimont 5eb91a4ca7 Fix scrcpy() return value
8 years ago
Romain Vimont 69a359c7f4 Refactor actions calls
8 years ago
Romain Vimont d73dee9833 fixup! Handle all shortcuts in the same function
8 years ago
Romain Vimont 0a70e24e80 Add new shortcuts description in help
8 years ago
Romain Vimont a139509f11 Turn screen on on right-click
8 years ago
Romain Vimont deba69d022 Handle all shortcuts in the same function
8 years ago
Romain Vimont 7f6a565401 Extract shortcut actions to separate functions
8 years ago
Romain Vimont f8ad007a28 Move switch fullscreen logs
8 years ago
Romain Vimont 6fe7b84629 Add shortcuts for physical keys
8 years ago
Romain Vimont 1faf6cfd9d Rename the server scrcpy-server.jar
8 years ago
Romain Vimont 2172c53b7b Force the server target filename
8 years ago
Romain Vimont ca44585f96 Do not send simple mouse move events
8 years ago
Romain Vimont 79b28eb68f Enable mouse focus clickthrough
8 years ago
Romain Vimont 6b546a87ab Add bit-rate command-line option
8 years ago
Romain Vimont 7fe7bbf58c Check empty string before strtol()
8 years ago
Romain Vimont 3bc63708b4 Remove useless newlines in SDL_Log*
8 years ago
Romain Vimont 2683fa20ed Add debug log for shortcuts
8 years ago
Romain Vimont 274e1ac9ec Fix rotation bug in fullscreen mode on X11
8 years ago
Romain Vimont 35a111d56e Add --help
8 years ago
Romain Vimont ee93f3f23a Rename maximum_size to max_size
8 years ago
Romain Vimont 213b721ff9 Use long command-line options
8 years ago
Romain Vimont 60b2f2ca64 Indent switch blocks content
8 years ago
Romain Vimont 628f88ab89 Use ADB environment variable
8 years ago
Romain Vimont b67907e24e Convert server to an Android project
8 years ago
Romain Vimont 89f6a3cfe7 Handle resized video stream
8 years ago
Romain Vimont 879941355d Swap position/point names
8 years ago
Romain Vimont 2aa15db210 Add shortcut to resize to ratio 1:1
8 years ago
Romain Vimont ab2c3de9f5 Capture all Ctrl events
8 years ago
Romain Vimont 2c35220618 Rename screen -> scrcpy -> main
8 years ago
Romain Vimont 8984c1a7c4 Scale mouse events
8 years ago
Romain Vimont d7b00a9bab Move server-related functions to server.c
8 years ago
Romain Vimont 7d67696b7e Extract server-related functions
8 years ago
Romain Vimont 52af91f6b0 Add unit tests for control event serialization
8 years ago
Romain Vimont 90c69d2c79 Use pointers-to-const where relevant
8 years ago
Romain Vimont 53cd59605a Ignore keycodes generating unwanted events
8 years ago
Romain Vimont 66b7a99db6 Fix includes windows-specific source
8 years ago
Romain Vimont f75c404a26 Add tests for strutil
8 years ago
Romain Vimont cabb102a04 Implement keyboard/mouse control
8 years ago
Romain Vimont 95591d2938 Move platform specific to sys/
8 years ago
Romain Vimont a919944372 Use _exit() instead of exit() in child process
8 years ago
Romain Vimont 07b3918129 Do not call SDL_Quit()
8 years ago
Romain Vimont a005df7b37 Always destroy in reverse order
8 years ago
Romain Vimont de106747b6 Improve main() error handling
8 years ago
Romain Vimont bb8afa9324 Fix comment about data sent over the socket
8 years ago
Romain Vimont d972a88c1a Optimize includes
8 years ago
Romain Vimont d5b349f670 Do not inline lockutil functions
8 years ago
Romain Vimont a9b276aa67 Remove useless forward declarations
8 years ago
Romain Vimont b9c9466d65 Handle condition variable failure
8 years ago
Romain Vimont c4266e487b Rename (un)lock_mutex to mutex_(un)lock
8 years ago
Romain Vimont ad667bfa20 Fix function signature
8 years ago
Romain Vimont 37d88b8a6a Use SDL_bool return type instead of int
8 years ago
Romain Vimont 2b44052f80 Destroy condition variable on frames destruction
8 years ago
Romain Vimont 39fd6ce518 Send device name on the socket
8 years ago
Romain Vimont 54d9148a36 Initial commit
8 years ago