885 Commits (68eaee5bb086383e601ac64e9ff0aa65830599e3)

Author SHA1 Message Date
Romain Vimont 1b072a24c4 Add packet sink trait
5 years ago
Romain Vimont 08f1fd46c8 Add container_of() macro
5 years ago
Romain Vimont 2ddf760c09 Make video_buffer more generic
5 years ago
Romain Vimont 5d9e96dc4e Remove compat with old FFmpeg codec params API
5 years ago
Romain Vimont de9b79ec2d Remove compat with old FFmpeg decoding API
5 years ago
Romain Vimont 55806e7d31 Remove option --render-expired-frames
5 years ago
Romain Vimont 21b590b766 Write trailer from recorder thread
5 years ago
brunoais b4ee9f27ce Add mouse shortcut to expand settings panel
5 years ago
brunoais 6fa63cf6f8 Add keyboard shortcut to expand settings panel
5 years ago
brunoais 50eecdab28 Add control message to expand settings panel
5 years ago
brunoais 9576283907 Count repeated identical key events
5 years ago
brunoais 66c581851f Rename control message type to COLLAPSE_PANELS
5 years ago
Frank Leon Rose aaf7875d92 Ensure get_server_path() retval is freeable
5 years ago
brunoais b9c3f65fd8 Provide actions for the extra mouse buttons
5 years ago
Romain Vimont d0739911a3 Forward DOWN and UP separately for right-click
5 years ago
Andrea Gelmini 498ad23e98 Fix typos
5 years ago
Romain Vimont 964b6d2243 Forward DOWN and UP separately for middle-click
5 years ago
Romain Vimont 8cc057c8f1 Prevent forwarding only "mouse released" events
5 years ago
Romain Vimont edee69d637 Fix options alphabetical order
5 years ago
Romain Vimont 8ef4c044fa Do not forward SDL_DROPFILE event
5 years ago
Romain Vimont c23c38f99d Move resizing workaround to screen.c
5 years ago
Romain Vimont 65c4f487b3 Set initial fullscreen from screen.c
5 years ago
Romain Vimont c6d7f5ee96 Make screen_show_window() static
5 years ago
Romain Vimont 28f6cbaea6 Destroy screen once stream is finished
5 years ago
Romain Vimont 08fc6694e1 Do not destroy uninitialized screen
5 years ago
Romain Vimont d0983db592 Make internal recorder function static
5 years ago
Romain Vimont fb7870500a Remove unused field from input_manager
5 years ago
Romain Vimont 33006561c7 Remove useless forward declaration from stream.h
5 years ago
Romain Vimont a09733d175 Remove useless includes from decoder.c
5 years ago
Romain Vimont 07a85b7c94 Fix typo in command-line help
5 years ago
Romain Vimont 6231f683af Fix compilation error for old decoding API
5 years ago
Romain Vimont 9826c5c4a4 Remove HiDPI compilation flag
5 years ago
Yu-Chen Lin 1d615a0d51 Support power off on close
5 years ago
Romain Vimont eb7e1070cf Release frame data as soon as possible
5 years ago
Romain Vimont 386f017ba9 Factorize frame swap
5 years ago
Romain Vimont cc48b24324 Simplify screen initialization
5 years ago
Romain Vimont 597c54f049 Group screen parameters into a struct
5 years ago
Romain Vimont 955da3b578 Remove screen static initializer
5 years ago
Romain Vimont cb9c42bdcb Use a callback to notify frame skip
5 years ago
Romain Vimont fb9f9848bd Use a callback to notify a new frame
5 years ago
Romain Vimont c50b958ee4 Initialize screen before starting the stream
5 years ago
Romain Vimont 441d3fb119 Make video buffer more generic
5 years ago
Romain Vimont cb197ee3a2 Move fps counter out of video buffer
5 years ago
yangfl 1863ca7ad1 Remove unnecessary escape characters in manpage
5 years ago
Romain Vimont b16b65a715 Simplify default values
5 years ago
Romain Vimont a3aa5ac95e Insert numerical values statically in usage string
5 years ago
Romain Vimont 0207e3df33 Remove unused no_window field
5 years ago
Romain Vimont 9cd1a7380d Enable NDEBUG via Meson built-in option
5 years ago
Romain Vimont 24b637b972 Handle im-related events from input_manager.c
5 years ago
Romain Vimont 76a3d9805b Inline window events handling
5 years ago
Romain Vimont 50b4a730e3 Handle screen-related events from screen.c
5 years ago
Romain Vimont ea2369f568 Reference video buffer from screen
5 years ago
Romain Vimont 0538e9645b Improve error handling in screen initialization
5 years ago
Romain Vimont 626094ad13 Handle window events only once visible
5 years ago
Romain Vimont a566635c43 Log mipmaps error only if mipmaps are enabled
5 years ago
Romain Vimont 862948b132 Make use_opengl local
5 years ago
Romain Vimont c0c4ba7009 Add intermediate frame in video buffer
5 years ago
Romain Vimont c53bd4d8b6 Assert non-recursive usage of mutexes
5 years ago
Romain Vimont 54f5c42d7b Add mutex assertions
5 years ago
Romain Vimont 21d206f360 Expose mutex assertions
5 years ago
Romain Vimont d2689fc168 Expose thread id
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 c0dde0fade Provide strdup() compat
5 years ago
Romain Vimont ace438e52a Remove unused port_range field
5 years ago
Romain Vimont 8e83f3e8af Remove unused custom event
5 years ago
Romain Vimont 97b001e7c0 Fix undefined left shift
5 years ago
Romain Vimont d8e9ad20b0 Improve file handler error message
5 years ago
Romain Vimont b566700bfd Kill process with SIGKILL signal
5 years ago
Romain Vimont 7afd149f4b Fix file_handler process race condition
5 years ago
Romain Vimont 6a50231698 Expose a single process_wait()
5 years ago
Romain Vimont b8edcf52b0 Simplify process_wait()
5 years ago
Romain Vimont 94eff0a4bb Fix size_t incorrectly assigned to int
5 years ago
Romain Vimont 8dbb1676b7 Factorize meson compiler variable initialization
5 years ago
Romain Vimont ab912c23e7 Define feature test macros in common.h
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 037be4af21 Fix compat missing include
5 years ago
Romain Vimont 1e215199dc Remove unused struct port_range
5 years ago
Romain Vimont d580ee30f1 Separate process wait and close
5 years ago
Romain Vimont 821c175730 Rename process_simple_wait to process_wait
5 years ago
Romain Vimont cc6f5020d8 Move conditional src files in meson.build
5 years ago
Romain Vimont 4bd9da4c93 Split command into process and adb
5 years ago
Romain Vimont aa8b571389 Increase display id range
5 years ago
Romain Vimont ed130e05d5 Fix possibly uninitialized value
5 years ago
Romain Vimont 10b749e27d Kill the server only after a small delay
5 years ago
Romain Vimont 05e8c1a3c5 Call CloseHandle() after wait on Windows
5 years ago
Romain Vimont 83910d3b9c Initialize server struct dynamically
5 years ago
Romain Vimont a46733906a Replace noconsole binary by a wrapper script
5 years ago
Romain Vimont a5f4f58295 Remove duplicate include
5 years ago
Romain Vimont 904d470579 Pause on error from a wrapper script
5 years ago
Romain Vimont d60ac65b32 Merge branch 'master' into dev
5 years ago
jianzhang4 d6078cf202 Fix build errors for macOS
5 years ago
Romain Vimont 868e762d71 Fix size_t format specifier for Windows
5 years ago
Romain Vimont 576814bcec Document --encoder option
5 years ago
Tzah Mazuz 76c2c6e69d Adding new option --encoder
5 years ago
Romain Vimont d5f059c7cb Add option to force legacy method for pasting
5 years ago
Romain Vimont adc547fa6e Add an option to forward all clicks
5 years ago
Romain Vimont ad5f567f07 Remove spurious space
5 years ago
Romain Vimont d50ecf40b6 Fix options order
5 years ago
Brinan Sjostrom 56d237f152 Fix "press Enter key" message
5 years ago
Romain Vimont acc65f8c9d Remove unused field
5 years ago
Romain Vimont a65ebceac1 Add missing mutex unlock on error
5 years ago
Romain Vimont bd9f656933 Fix feature test macro
5 years ago
Romain Vimont c243fd4c3f Fix more log format warning
5 years ago
Romain Vimont d02789ce21 List available shortcut keys on error
5 years ago
Romain Vimont 6cc22e1c5b Reference --shortcut-mod from shortcuts list
5 years ago
Romain Vimont 198346d148 Add pinch-to-zoom simulation
5 years ago
Romain Vimont 976761956f Fix uninitialized repeat count in key events
5 years ago
xeropresence 84f1d9e375 Add --no-key-repeat cli option
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 7ad47dfaab Swap paste shortcuts
5 years ago
Romain Vimont 56a115b5c5 Add shortcuts for COPY and CUT
5 years ago
Romain Vimont 8f64a5984b Change "resize to fit" shortcut to MOD+w
5 years ago
Romain Vimont bccd12bf5c Remove "get clipboard" call
5 years ago
Romain Vimont 20d3925099 Set computer clipboard only if necessary
5 years ago
Romain Vimont 7683be8159 Synchronize clipboard on Ctrl+v
5 years ago
Romain Vimont d4ca85d6a8 Forward Shift to the device
5 years ago
Romain Vimont e6e528f228 Forward Ctrl to the device
5 years ago
Romain Vimont a5f8b577c5 Ignore text events for shortcuts
5 years ago
Romain Vimont e4bb7c1d1f Accept Super as shortcut modifier
5 years ago
Romain Vimont 1b76d9fd78 Customize shortcut modifier
5 years ago
Romain Vimont 63cb93d7d7 Use Ctrl for all shortcuts
5 years ago
Romain Vimont 9d9dd1f143 Make expression order consistent
6 years ago
Romain Vimont 199c74f62f Declare main() with argc/argv params in tests
6 years ago
Romain Vimont deea29f52a Send touch event without pressure on button up
6 years ago
Romain Vimont e8a565f9ea Fix touch events HiDPI-scaling
6 years ago
xeropresence 3c1ed5d86c Handle repeating keycodes
6 years ago
Romain Vimont 0ba74fbd9a Make scrcpy.h independant of other headers
6 years ago
Romain Vimont 29e5af76d4 Remove fprintf() call in tests
6 years ago
Ivan Keliukh dc7b60e619 Add option for disabling screensaver
6 years ago
Romain Vimont 1e4ee547b5 Make message buffer static
6 years ago
Romain Vimont 488d22d4e2 Increase clipboard size from 4k to 256k
6 years ago
Romain Vimont 00d292b2f5 Fix receiver on partial device messages
6 years ago
Romain Vimont 245999aec4 Serialize text size on 4 bytes
6 years ago
Romain Vimont d91c5dcfd5 Rename MSG_SERIALIZED_MAX_SIZE to MSG_MAX_SIZE
6 years ago
Romain Vimont d202d7b205 Add unit test for big clipboard device message
6 years ago
Romain Vimont 08c0c64af6 Rename test names from "event" to "msg"
6 years ago
Romain Vimont 8f314c74b0 Reorganize message size constants
6 years ago
Romain Vimont 6e1069a822 Configure log level for application only
6 years ago
Romain Vimont c4323df976 Fix incorrect log return value
6 years ago
Romain Vimont e4efd75766 Avoid repetition for some shortcuts
6 years ago
Romain Vimont 0e4a6f462b Mention stay awake limitation
6 years ago
Romain Vimont dcde578a50 Reactivate "turn device screen on" feature
6 years ago
Romain Vimont 2ca8318b9d Improve manpage formatting
6 years ago
Romain Vimont fc1dec0270 Paste on "set clipboard" if possible
6 years ago
Romain Vimont 274b591d18 Fix union typo
6 years ago
Romain Vimont 8f46e18426 Add --force-adb-forward
6 years ago
Romain Vimont ee3882f8be Fix typo in manpage
6 years ago
Romain Vimont a3ef461d73 Add cli option to set the verbosity level
6 years ago
Romain Vimont 3df63c579d Configure server verbosity from the client
6 years ago
Romain Vimont 56bff2f718 Avoid compiler warning
6 years ago
Tzah Mazuz 080a4ee365 Add --codec-options
6 years ago
Romain Vimont ac4c8b4a3f Increase LOD bias for mipmapping
6 years ago
Romain Vimont fae3f9eeab Remove warning when renderer is not OpenGL
6 years ago
Romain Vimont f5aeecbc62 Reset window size on initialization
6 years ago
Romain Vimont e40532a376 Manually position and scale the content
6 years ago
Romain Vimont d860ad48e6 Extract optimal window size detection
6 years ago
Romain Vimont ec047b501e Disable "resize to fit" in maximized state
6 years ago
Romain Vimont 4c2e10fd74 Workaround maximized+fullscreen on Windows
6 years ago
Romain Vimont 6b1da2fcff Simplify size changes in fullscreen or maximized
6 years ago
Romain Vimont 2608b1dc62 Factorize window resize
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 828327365a Reorder options in alphabetical order
6 years ago
Romain Vimont 4668638ee1 Handle "show touches" on the device-side
6 years ago
Romain Vimont a14840a515 Fix typo in comments
6 years ago
Romain Vimont 8581d6850b Stabilize auto-resize
6 years ago
Romain Vimont 92cb3a6661 Improve resizing workaround
6 years ago
Romain Vimont 3c9ae99dda Move rotation coordinates to screen
6 years ago
Romain Vimont 44f720e4a4 Log new size on auto-resize request
6 years ago
Romain Vimont 14ead499fd Fix touch coordinates on rotated display
6 years ago
Romain Vimont 11a61b2cb3 Add option --no-mipmaps
6 years ago
Romain Vimont bea7658807 Enable trilinear filtering for OpenGL
6 years ago
Romain Vimont 8a9b20b27e Add --render-driver command-line option
6 years ago
Romain Vimont 270d0bf639 Rename max length constant for text injection
6 years ago
Romain Vimont 95fa1a69e4 Workaround compiler warning
6 years ago
Romain Vimont ea46d3ab68 Add missing include string.h
6 years ago
Romain Vimont 7eb16ce364 Fix log format warning
6 years ago
Romain Vimont ab52b36895 Reorder options in alphabetical order
6 years ago
Romain Vimont 9f4735ede3 Fix double click on rotated display
6 years ago
Romain Vimont 6295c1a110 Remap event positions on rotated display
6 years ago
Romain Vimont f3fba3c4b9 Store rotated content size
6 years ago
Romain Vimont a8fd4aec9a Remove --fullscreen validation
6 years ago
Romain Vimont cbde7b964a Improve documentation for consistency
6 years ago
Romain Vimont 28c71c528f Add --rotation command-line option
6 years ago
Romain Vimont d48b375a1d Add shortcuts to rotate display
6 years ago
Romain Vimont fd63e7eb5a Format shortcut documentation
6 years ago
Romain Vimont 54ccccd883 Replace SDL_Atomic by stdatomic from C11
6 years ago
Romain Vimont 94e1696869 Do not warn on terminating the server
6 years ago
Romain Vimont a346bb80f4 Do not block on accept() if server died
6 years ago
Romain Vimont d421741a83 Wait server from a separate thread
6 years ago
Romain Vimont 64d5edce92 Refactor server_start() error handling
6 years ago
e_vigurskiy 4150eedcdf Add display id parameter
6 years ago
Romain Vimont e050cfdcd6 Fix static_assert() parameters
6 years ago
Romain Vimont dc7c677728 Accept negative window position
6 years ago
Romain Vimont 902b99174d Fix server debugger for Android >= 9
6 years ago
Jaafar Biyadi cd69eb4a4f Handle NumPad events when NumLock is disabled
6 years ago
yangfl d3281f4b67 Show a friendly hint for adb installation
6 years ago
George Stamoulis 1982bc439b Add option to lock video orientation
6 years ago
Romain Vimont c0f428eb05 Merge branch 'master' into dev
6 years ago
Romain Vimont 4794ca8ae7 Use linear filtering
6 years ago
Romain Vimont 0fb22c3e98 Happy new year 2020!
6 years ago
Romain Vimont dc7fcf3c7a Accept port range
6 years ago
Romain Vimont 2a3a9d4ea9 Add util function to parse a list of integers
6 years ago
Romain Vimont ca0031cbde Refactor server tunnel initialization
6 years ago
Romain Vimont d1a9a76cc6 Reorder functions
6 years ago
Romain Vimont a8ceaf5284 Fix include order
6 years ago
Romain Vimont 83d48267a7 Accept --max-fps before Android 10
6 years ago
Romain Vimont db6252e52b Simplify net.c
6 years ago
Yu-Chen Lin f9786e5034 Get env in windows correctly
6 years ago
Yu-Chen Lin 78a320a763 Fix utf-8 char path in windows
6 years ago
Romain Vimont 7d5845196e Fix memory leak on portable builds
6 years ago
Romain Vimont 6965d051ae Limit bitrate range to 31 bits integer
6 years ago
Romain Vimont e4cebc8d4c Do not build tests in release mode
6 years ago
Romain Vimont ba1b36758e Define SDL_MAIN_HANDLED in all tests
6 years ago
Romain Vimont ad92a192b5 Fix meson.build codestyle
6 years ago
Romain Vimont 242e57d69b Merge branch 'master' into dev
6 years ago
Romain Vimont 024c2f7e6b Configure log priority early
6 years ago
Romain Vimont 1eae139b6e Add missing consts
6 years ago
Romain Vimont 419c869c9c Use ARRAY_LEN() macro in tests
6 years ago
Romain Vimont 929bf48c7e Add tests for command-line parsing
6 years ago
Romain Vimont d950383b72 Move command-line parsing to a separate file
6 years ago
Romain Vimont 61274a7cdb Factorize integer argument parsing
6 years ago
Romain Vimont 64bcac9157 Refuse to push a non-regular file server
6 years ago
Romain Vimont 3259c60b22 Fix test compilation on mingw
6 years ago
Romain Vimont eb0f339271 Add shortcut to rotate screen
6 years ago
Yu-Chen Lin fbc86a616c Correct coding style
6 years ago
Yu-Chen Lin b2bf25c52c Add test_buffer_util
6 years ago
Yu-Chen Lin 5eeaed09ae Add test_strquote
6 years ago
Romain Vimont 3100533e56 Fix "natural scrolling"
6 years ago
Romain Vimont 86fcd89d80 Fix max size default value
6 years ago
Romain Vimont 15a206b7fc Assert return value of mutex functions
6 years ago
Romain Vimont d0f5a7fd9f Remove unused includes
6 years ago
Romain Vimont 510caff0cd Replace SDL_assert() by assert()
6 years ago
Romain Vimont b5ebb234dd Replace BUILD_DEBUG by NDEBUG
6 years ago
Romain Vimont 73e8ec1b35 Remove path argument from cmd_execute()
6 years ago
Romain Vimont 8dc11a0286 Fix warnings on Windows
6 years ago
Romain Vimont 06104a701b Fix windows build
6 years ago
yangfl 8bc056b9c6 Fix manpage format
6 years ago
Romain Vimont 31d9d56117 Fix warnings
6 years ago
Romain Vimont dfd0707a29 Move utilities to util/
6 years ago
Romain Vimont 83ace84280 Restore the .jar extension on the device side
6 years ago
Romain Vimont c9d886f38b Use the existing constants for device server path
6 years ago
Romain Vimont c2116082ab Remove deprecated options from help and manpage
6 years ago
Romain Vimont 3599fcaae5 Fix help for --window-width and --window-height
6 years ago
Romain Vimont 18f2e33a8b Fix noconsole.exe
6 years ago