500 Commits (f3fba3c4b968f4242fc0f5d092daa63ffa9b8f5e)

Author SHA1 Message Date
Romain Vimont e443518ed9 Print adb command on error
7 years ago
Romain Vimont eeb8e8420f Use size_t for command length
7 years ago
Sebastian Krzyszkowiak b941854c73 Disable X11 compositor bypass
7 years ago
Sebastian Krzyszkowiak 068253a3a2 Fix mouse focus clickthrough
7 years ago
Gerdal ffa8c66979 Fix link error on Windows Subsystem for Linux
7 years ago
Romain Vimont e2ef39fae5 Fix overflow in test
7 years ago
Romain Vimont 50dac2eaee Log "new texture" at INFO level
7 years ago
Romain Vimont a7b3901c31 Add more consts
7 years ago
Romain Vimont f7efafd846 Explicitly pass control flag to input manager
7 years ago
Romain Vimont 6baed8a06f Do not init SDL video subsystem if no display
7 years ago
Romain Vimont 8595862005 Use explicit output parameter for skipped frame
7 years ago
Romain Vimont 9ef345fdd0 Make owned serial a pointer-to-non-const
7 years ago
Romain Vimont dfed1b250e Replace SDL types by C99 standard types
7 years ago
Romain Vimont 8655ba7197 Add option to mirror in read-only
7 years ago
Romain Vimont 163cd36ccc Rename -n/--no-window to -N/--no-display
7 years ago
Romain Vimont db6644f1f9 Add missing no_window initialization
7 years ago
Romain Vimont 36191b7eec Avoid unnecessary call if display is disabled
7 years ago
Romain Vimont 33ccb1368f Extract event processing out of event_loop()
7 years ago
Romain Vimont aeda583a2c Update code style
7 years ago
Romain Vimont b2fe005498 Replace uint64_t by Uint64 for consistency
7 years ago
Romain Vimont 89812e4eee Implement the --no-window flag
7 years ago
CapsLock 421a1141e2 Add a new option: -n/--no-window
7 years ago
Romain Vimont e6e011baaf Add stream layer
7 years ago
Romain Vimont e7b7b083aa Store the recording request in a local bool
7 years ago
Romain Vimont 8aeb5c0e3c Fix cleanup order
7 years ago
Romain Vimont bcd4090d51 Fix recording with old decoding/encoding API
7 years ago
Romain Vimont 84270e2d18 Rename "stop" to "interrupt"
7 years ago
Romain Vimont fff87095d9 Rename "frames" to "video_buffer"
7 years ago
Romain Vimont aacb09a3d6 Remove unused mutex field in decoder
7 years ago
Romain Vimont 7d10ec2b5a Add shortcut to expand/collapse notification panel
7 years ago
Romain Vimont 1c1fe5ec53 Use "always on top" only for SDL >= 2.0.5
7 years ago
Romain Vimont 751600a7f9 Move all compat ifdefs definitions to compat.h
7 years ago
Romain Vimont f5f4e6b1c5 Allocate extradata with av_malloc()
7 years ago
Romain Vimont 6c40dbd27d Regroup Windows-ifdefs in command.h
7 years ago
Romain Vimont 477c0a2cab Create process with wide chars on Windows
7 years ago
Romain Vimont c0b65b14df Merge branch 'master' into dev
7 years ago
Romain Vimont b23cacfc1a Add recording logs
7 years ago
Romain Vimont 0ed2373952 Support recording to MKV
7 years ago
Romain Vimont 1aaad6ba35 Rescale packet timestamp to container time base
7 years ago
Romain Vimont c8f0805b89 Write header file with correct extradata
7 years ago
Romain Vimont ee3cba57a8 Forward FFmpeg logs
7 years ago
Romain Vimont c11905b860 Add log verbose macro
7 years ago
Romain Vimont 1a5ba59504 Fix memory leak on close
7 years ago
Yu-Chen Lin eca82e09c3 app: add always_on_top
7 years ago
Yu-Chen Lin 4d30fa93ba tests: fix test_control_event_serialize
7 years ago
Romain Vimont 7764a836f1 Fix incorrect comment
7 years ago
Romain Vimont d71e036f3a Do not disable screensaver
7 years ago
Yu-Chen Lin c5ec1a194c input_manager: don't ignore double click event when clicking inside device
7 years ago
Romain Vimont 39c5e71605 Make the server unlink itself
7 years ago
Romain Vimont fefb9816a9 Handle mouse events outside device screen
7 years ago
Romain Vimont 7830859c21 Merge branch 'master' into dev
7 years ago
Romain Vimont a7fe9ad779 Ignore mouse events outside device screen
7 years ago
Romain Vimont 1e22ebcac2 Always use non-empty arguments
7 years ago
Romain Vimont 2876463d39 Fix read_packet() return value on error or EOF
7 years ago
Romain Vimont 6dc6ec05d5 Configure version at meson project level
7 years ago
Pierre Gordon a17f1116ce Bump version to 1.5
7 years ago
Romain Vimont 22ff03f2f7 Do not queue invalid PTS
7 years ago
Romain Vimont 60afb46c8d Store queue of PTS for pending frames
7 years ago
Romain Vimont 345f8858d3 Send frame meta only if recording is enabled
7 years ago
Romain Vimont 22bf0c19d6 Rename --output-file to --record
7 years ago
Romain Vimont 70579dc709 Wrap receiver state into separate struct
7 years ago
Romain Vimont e562837c0b Avoid partial header reads
7 years ago
Romain Vimont ebe998cf78 Move buffer reader functions to buffer_util.h
7 years ago
Romain Vimont b98eb7d0fa Support AVStream.codec for old FFmpeg versions
7 years ago
yuchenlin e361b49b4a recorder: use av_oformat_next to support older FFmpeg
7 years ago
Romain Vimont d0e090e1f9 Reenable custom SDL signal handlers
7 years ago
Romain Vimont 475912a39c Do not transmit MediaCodec flags
7 years ago
Romain Vimont 27e8a9a79d Assign PTS to the right frame
7 years ago
Romain Vimont 61db575861 Decode and push frame before recording
7 years ago
Romain Vimont 2cd99e7205 Only set valid PTS/DTS
7 years ago
Romain Vimont 27686e9361 Add recorder
7 years ago
Ivan Gorinov d706c5df39 Enable video output file, with pts set by server
7 years ago
Romain Vimont cb3cf801c8 Extract bit operations to buffer_util.h
7 years ago
Romain Vimont 9160d465ec Add feature test macro to declare kill()
7 years ago
Romain Vimont 5c739874a4 Fix memory leak on error
7 years ago
Romain Vimont d061c30965 Replace Ctrl by Meta for volume shortcuts on MacOS
7 years ago
Romain Vimont 5bf1261364 Refactor to support Meta in shortcuts
7 years ago
yuchenlin 96056e3213 input_manager: fix potential memory leak on text
7 years ago
Romain Vimont 0b92b93358 Capture Alt and Meta keys
7 years ago
Romain Vimont c20245630e Factorize Windows command building
7 years ago
Romain Vimont 8875955921 Support paths containing spaces on Windows
7 years ago
Romain Vimont ff4430b2a3 Declare fun(void) functions with no parameters
7 years ago
Romain Vimont 24d107d017 Bump version to 1.4
7 years ago
Romain Vimont 411aa4fcfd Handle alpha and space chars as raw events
7 years ago
yuchenlin 140b1ef6a5 prevent closing console right after process error in windows
7 years ago
Romain Vimont eca99d5af7 Fix header guard name
7 years ago
yuchenlin 27bed948d4 Use specific error for missing binary on Windows
7 years ago
Philipp Sandhaus af9808cf02 Add option to start in fullscreen
7 years ago
Romain Vimont 55d33ddd5f Do not handle system-specific values in command.c
7 years ago
yuchenlin 6d2d803003 Notify adb missing
7 years ago
Romain Vimont 89e0203682 Add missing include for lock_util.h
7 years ago
Romain Vimont 536b31829a Separate multi-words filenames by '_'
7 years ago
Romain Vimont 6581f9feb9 Make request_queue functions static
7 years ago
Romain Vimont 359685b1db Simplify SDL_assert() calls
7 years ago
Romain Vimont 4527be4cde Add missing include config.h
7 years ago
npes87184 66f45f9dae Support drag&drop a file to transfer it to device
7 years ago
npes87184 aa97eed24b installer -> file_handler
7 years ago
Romain Vimont 2daeb1fd5f Reset current installer process
7 years ago
Grief cde0b3d248 Return non-zero value on connection loss
7 years ago
Romain Vimont 6fa209fa82 Remove AINPUT_SOURCE_ANY value
7 years ago
Romain Vimont b37c0f6cd6 Replace Uint32 by int to fix warnings in tinyxpm
7 years ago
npes87184 a3ab92226d Destroy mutex if strdup failed
7 years ago
npes87184 f8ef4f1cf7 remove redundant semicolon
7 years ago
Romain Vimont 7e42358a7b Bump version to 1.3
7 years ago
Romain Vimont caa9e30004 Add crop feature
7 years ago
Romain Vimont 8793c104ee Increase "adb forward" connection attempts
7 years ago
Romain Vimont fca806e095 Do not call deprecated av_register_all()
7 years ago
Romain Vimont 49b2e63d13 Forward repeated volume events
8 years ago
Romain Vimont c12c64ed41 Send separate DOWN/UP key events
8 years ago
Romain Vimont 2f66acd75d Improve English comment
8 years ago
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