252 Commits (aaf3869a544d6700032f0a834e047737f18fb145)

Author SHA1 Message Date
Romain Vimont 626094ad13 Handle window events only once visible
5 years ago
Romain Vimont f6320c7e31 Wrap SDL thread functions into scrcpy-specific API
5 years ago
Romain Vimont 30e619d37f Replace SDL_strdup() by strdup()
5 years ago
Romain Vimont 59feb2a15c Group common includes into common.h
5 years ago
Romain Vimont 6385b8c162 Move common structs to coords.h
5 years ago
Romain Vimont 4bd9da4c93 Split command into process and adb
5 years ago
Romain Vimont ed130e05d5 Fix possibly uninitialized value
5 years ago
Romain Vimont 83910d3b9c Initialize server struct dynamically
5 years ago
Tzah Mazuz 76c2c6e69d Adding new option --encoder
5 years ago
Romain Vimont ad5f567f07 Remove spurious space
5 years ago
xeropresence 65d06a3663 Pass full options struct to static functions
5 years ago
Romain Vimont 74079ea5e4 Copy the options used in input manager init
5 years ago
Romain Vimont 1b76d9fd78 Customize shortcut modifier
5 years ago
xeropresence 3c1ed5d86c Handle repeating keycodes
6 years ago
Romain Vimont 0ba74fbd9a Make scrcpy.h independant of other headers
6 years ago
Ivan Keliukh dc7b60e619 Add option for disabling screensaver
6 years ago
Romain Vimont 8f46e18426 Add --force-adb-forward
6 years ago
Romain Vimont a3ef461d73 Add cli option to set the verbosity level
6 years ago
Tzah Mazuz 080a4ee365 Add --codec-options
6 years ago
Romain Vimont e40532a376 Manually position and scale the content
6 years ago
Romain Vimont a85848a541 Fix Windows Ctrl Handler declaration
6 years ago
Romain Vimont 28abd98f7f Properly handle Ctrl+C on Windows
6 years ago
Romain Vimont ead7ee4a03 Revert "Improve resizing workaround"
6 years ago
Romain Vimont c77024314d Add an option to keep the device awake
6 years ago
Romain Vimont 4668638ee1 Handle "show touches" on the device-side
6 years ago
Romain Vimont 92cb3a6661 Improve resizing workaround
6 years ago
Romain Vimont 11a61b2cb3 Add option --no-mipmaps
6 years ago
Romain Vimont 8a9b20b27e Add --render-driver command-line option
6 years ago
Romain Vimont 28c71c528f Add --rotation command-line option
6 years ago
e_vigurskiy 4150eedcdf Add display id parameter
6 years ago
George Stamoulis 1982bc439b Add option to lock video orientation
6 years ago
Romain Vimont 4794ca8ae7 Use linear filtering
6 years ago
Romain Vimont dc7fcf3c7a Accept port range
6 years ago
Romain Vimont 8dc11a0286 Fix warnings on Windows
6 years ago
Romain Vimont 31d9d56117 Fix warnings
6 years ago
Romain Vimont dfd0707a29 Move utilities to util/
6 years ago
Romain Vimont 1d97d7213d Add option --max-fps
6 years ago
Diego Fernando Díaz A 59bc5bc1f5 Add option to disable window decoration
6 years ago
Romain Vimont 9fd7a80a89 Add option to specify the initial window size
6 years ago
Diego Fernando Díaz A ce5635f28c Add option to specify the initial window position
6 years ago
Romain Vimont f6f2868868 Handle window events from screen.c
6 years ago
Romain Vimont 6996cbf5d3 Log device disconnection
6 years ago
Romain Vimont c916af0984 Add --prefer-text option
6 years ago
Romain Vimont b5a2d99bc2 Send touch events from the client
6 years ago
Romain Vimont 1f8ba1ca79 Include config.h everywhere
6 years ago
Romain Vimont 63af7fbafe Reduce latency by 1 frame
6 years ago
Romain Vimont a90ccbdf3b Add option to change the push target
6 years ago
beango1 8e65c10720 Add option --window-title
7 years ago
Romain Vimont 056e47e752 Replace "cannot" by "could not"
7 years ago
Romain Vimont e2a272bf99 Improve framerate counting
7 years ago
Romain Vimont eda44b6068 Fix controller cleanup
7 years ago
Romain Vimont ebccb9f6cc Add runtime option to render expired frames
7 years ago
Romain Vimont 8e66b33000 Add option to turn device screen off
7 years ago
Romain Vimont acc4dcd520 Disable server controller if --no-control
7 years ago
Romain Vimont ca767ba364 Group server params in a struct
7 years ago
Romain Vimont c8a6783494 Use positive options names internally
7 years ago
Romain Vimont 9712cb8123 Do not minimize on focus loss
7 years ago
Yu-Chen Lin 2a8a3e6ed5 Correct return value type in handle_event
7 years ago
Romain Vimont ec71a3f66a Use two sockets for video and control
7 years ago
Romain Vimont bfb86ca2c2 Simplify cleanup
7 years ago
Romain Vimont 5a431cdf9b Make server_connect_to() return a bool
7 years ago
Romain Vimont d2504f974c Fix indentation
7 years ago
Sebastian Krzyszkowiak b941854c73 Disable X11 compositor bypass
7 years ago
Sebastian Krzyszkowiak 068253a3a2 Fix mouse focus clickthrough
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 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 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 89812e4eee Implement the --no-window flag
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 fff87095d9 Rename "frames" to "video_buffer"
7 years ago
Romain Vimont 0ed2373952 Support recording to MKV
7 years ago
Romain Vimont ee3cba57a8 Forward FFmpeg logs
7 years ago
Yu-Chen Lin eca82e09c3 app: add always_on_top
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 d0e090e1f9 Reenable custom SDL signal handlers
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
Philipp Sandhaus af9808cf02 Add option to start in fullscreen
7 years ago
Romain Vimont 536b31829a Separate multi-words filenames by '_'
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
Grief cde0b3d248 Return non-zero value on connection loss
7 years ago
Romain Vimont caa9e30004 Add crop feature
7 years ago
Adonis Najimi e2a2973990 Drag and drop to install apk files from computer
8 years ago
Romain Vimont e3d0a59c80 Fix proc_show_touches warning
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 f00c6c5b13 Disable custom SDL signal handlers
8 years ago
Romain Vimont 080df5eb5d Fix switch/case code style
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 2b3ed5bcdb Store serial in server instance
8 years ago
Romain Vimont ad6209f6ff Terminate the device process gracefully
8 years ago
Romain Vimont 9b056f5091 Replace SDL_net by custom implementation
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 38e6682875 Add FPS counter
8 years ago
Romain Vimont 3ed80a1fac Define macros wrappers for logs
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 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 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 8d30d40b79 Make SKIP_FRAMES a compilation flag
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 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 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 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 ee93f3f23a Rename maximum_size to max_size
8 years ago
Romain Vimont 60b2f2ca64 Indent switch blocks content
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 de106747b6 Improve main() error handling
8 years ago