659 Commits (08fc6694e1adf98014d3fdfa3d4cfd886618aba0)

Author SHA1 Message Date
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
senta2006 7aed5d5b60 Fix typos
6 years ago
Romain Vimont 1d97d7213d Add option --max-fps
6 years ago
Romain Vimont 1b78a77962 Fix error message
6 years ago
Romain Vimont 59073223aa Update manpage for --window-borderless option
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
Romain Vimont b6e2f8ae00 Update manpage for --window-{x,y} options
6 years ago
Diego Fernando Díaz A ce5635f28c Add option to specify the initial window position
6 years ago
Romain Vimont 771bd8404d Do not write invalid packet duration
6 years ago
Yu-Chen Lin b963a3b9d5 Check client and server mismatch
6 years ago
Romain Vimont aa0f77c898 Accept resize shortcuts on maximized window
6 years ago
Romain Vimont 35c05bb3ce Fix rotation while the window is maximized
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 b08a98324d Fix segfault on empty file recorded
6 years ago
Romain Vimont c916af0984 Add --prefer-text option
6 years ago
Romain Vimont ff061b4f30 Deprecate short options for advanced features
6 years ago
Romain Vimont 157c60feb4 Fix indentation
6 years ago
Romain Vimont 2d90e1befd Fix include recorder.h
6 years ago
Romain Vimont 0e301ddf19 Factorize scrcpy options and command-line args
6 years ago
Romain Vimont c42ff75b74 Pass screen to mouse event converters
6 years ago
Romain Vimont b0db1178d1 Move event conversion to input_manager
6 years ago
Romain Vimont 8d601d3210 Rename "input_manager" variables to "im"
6 years ago
Romain Vimont 683f7ca848 Document how to attach a debugger to the server
6 years ago
Romain Vimont 120f08ee96 Fix manpage option parameter format
6 years ago
Romain Vimont 0415672a75 Merge branch 'master' into dev
6 years ago