299 Commits (6b9f39773396c17124fd7411c0b38a4b7d96fa28)

Author SHA1 Message Date
Romain Vimont 73e722784d Remove useless exception declaration
6 years ago
Romain Vimont e1cd75792c Simplify rotation watcher call
6 years ago
Romain Vimont e2d5f0e7fc Send scroll events as a touchscreen
6 years ago
Romain Vimont 74ece9b45b Simplify ScreenEncoder more
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 dbb0df607c Move constants to ServiceManager
6 years ago
Romain Vimont 2f74ec2518 Add a clean up process on the device
6 years ago
Romain Vimont 8c6799297b Implement access to settings without Context
6 years ago
Romain Vimont 62c0c1321f Apply workarounds only on error
6 years ago
Romain Vimont 9babe26805 Bump version to 1.13
6 years ago
Tzah Mazuz 125c5561e8 Use MediaFormat constant for MIME type
6 years ago
Romain Vimont 94a7f1a0f8 Disable input events when necessary
6 years ago
Romain Vimont eb8f7a1f28 Require Meson 0.48 to get rid of warnings
6 years ago
Romain Vimont 270d0bf639 Rename max length constant for text injection
6 years ago
Romain Vimont 927d655ff6 Simplify ScreenEncoder
6 years ago
Romain Vimont ee2894779a Remove unused lockedVideoOrientation field
6 years ago
Kostiantyn Luzan c1ebea26e6 Register rotation watcher on selected display
6 years ago
Romain Vimont f07d21f050 Suppress DiscouragedPrivateApi lint warning
6 years ago
Romain Vimont bea1c11f8e Do not log success on failure
6 years ago
e_vigurskiy 4150eedcdf Add display id parameter
6 years ago
Romain Vimont 5031b2c8ff Remove MagicNumber checkstyle
6 years ago
Romain Vimont 4adf5fde6d Log device details on server start
6 years ago
Romain Vimont 3504c0016b Add tests for control message length
6 years ago
Romain Vimont 89d1602185 Fix expected message length for touch events
6 years ago
Romain Vimont 566ba766af Remove unused constant
6 years ago
Tzah Mazuz a0af402d96 Fix the printed versions (were opposite)
6 years ago
Romain Vimont ae2d094362 Handle locked video orientation from ScreenInfo
6 years ago
Romain Vimont c5f5d1e456 Rename "rotation" to "device rotation"
6 years ago
Romain Vimont 63286424bb Compute all screen info from ScreenInfo
6 years ago
Romain Vimont da18c9cdab Remove useles import
6 years ago
George Stamoulis 1982bc439b Add option to lock video orientation
6 years ago
Romain Vimont ef56cc6ff7 Retrieve screen info once
6 years ago
Romain Vimont 96bd2c974d Do not report workarounds errors
6 years ago
Romain Vimont 83d48267a7 Accept --max-fps before Android 10
6 years ago
Romain Vimont 4687a0ebac Bump version to 1.12.1
6 years ago
Romain Vimont a0f8e7fd9f Bump version to 1.12
6 years ago
Romain Vimont e0b117de13 Fix checkstyle warning
6 years ago
Romain Vimont eb0f339271 Add shortcut to rotate screen
6 years ago
Romain Vimont bdd05b4a16 Refactor wrappers for Android SDK classes
6 years ago
Romain Vimont 525d6d4a75 Try new methods before legacy ones
6 years ago
Romain Vimont 8a694a9785 Suggest workaround for error 0xfffffc0e
6 years ago
Romain Vimont 26529d377f Use virtual device id to avoid NPE
6 years ago
Romain Vimont 6abb8fd0cd Reformat Java code
6 years ago
Romain Vimont 2b845680b0 Initialize Application object to avoid NPE
6 years ago
Romain Vimont ebdc2ee8b5 Rename variable for consistency
6 years ago
Romain Vimont 83ace84280 Restore the .jar extension on the device side
6 years ago
yangfl 7d7f3daff2 Fix aidl option in build_without_gradle.sh
6 years ago
Romain Vimont 2aa65015bc Bump version to 1.11
6 years ago
act262 90293240cc Fix meizu 16th NPE
6 years ago
Romain Vimont 213c468c20 Move workarounds to a separate class
6 years ago
Romain Vimont 601b0fecdd Extract DEBUG flag in build_without_gradle.sh
6 years ago
Romain Vimont 7fd800d583 Generate VERSION_NAME in build_without_gradle.sh
6 years ago
Romain Vimont 1d97d7213d Add option --max-fps
6 years ago
Romain Vimont fb976816f9 Do not expose frame rate in ScreenEncoder
6 years ago
Yu-Chen Lin b963a3b9d5 Check client and server mismatch
6 years ago
olbb e282100d0b Call Looper.prepareMainLooper() to avoid exception
6 years ago
Romain Vimont 3da95b52bd Rename scrcpy-server.jar to scrcpy-server
6 years ago
Romain Vimont c72f677435 Merge branch 'master' into dev
6 years ago
Romain Vimont d841718956 Add a script to build the server without gradle
6 years ago
Romain Vimont f9938dbf88 Inject button state for touch/mouse events
6 years ago
Romain Vimont c33a147fd0 Fix "turn screen off" on Android Q
6 years ago
Romain Vimont 8b33c6c108 Adapt copy-paste methods for Android 10
6 years ago
Romain Vimont 5b7a0cd8e9 Extract String literal to static constant
6 years ago
Romain Vimont bab9361948 Do not crash on control error
6 years ago
Romain Vimont 6220456def Merge mouse and touch events
6 years ago
Romain Vimont 7e1d52c119 Rename "touch pointer" to "pointer"
6 years ago
Romain Vimont 280d5b718c Use common pointers for mouse and touch
6 years ago
Romain Vimont f765aae352 Inject touch events on the server
6 years ago
Romain Vimont 77f876e29c Add "inject touch" control message
6 years ago
Romain Vimont d90549d1e6 Rename "pointer" to "mouse pointer"
6 years ago
Romain Vimont 7d1932b907 Fix gradle warnings in tests
6 years ago
Romain Vimont 6e38e0cbfe Rename variable names "event" to "msg"
6 years ago
Romain Vimont 7040e8abc4 Fix control message reader test
6 years ago
Romain Vimont 20b3f101a4 Print gradle output on compiling
6 years ago
toddsierens 27eacc3c11
Update WindowManager.java
6 years ago
Romain Vimont c28619e4e8 Bump version to 1.10
6 years ago
Romain Vimont 6b3d9e3eab Add unit test for device message serialization
6 years ago
Romain Vimont 056e47e752 Replace "cannot" by "could not"
7 years ago
Romain Vimont 439b009a79 Fix expected parameters count in error message
7 years ago
Romain Vimont 4940746bcb Remove useless else
7 years ago
Romain Vimont fe758e6e15 Improve comment
7 years ago
Arne Schwabe b769083a5b Use getPhysicalDisplayToken on Anroid Q+ instead of getBuiltInDisplay
7 years ago
Romain Vimont 259d3aee93 Bump version to 1.9
7 years ago
Romain Vimont 90859f1dcf Upgrade tarketSdkVersion to 29
7 years ago
Romain Vimont 1afe9ce2ee Fix deprecation warning in Java unit test
7 years ago
Romain Vimont 273cec8a92 Fix typo in test name
7 years ago
Romain Vimont 8604f16b30 Truncate device name at UTF-8 code point boundary
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 e572d81fa2 Rename function to "power on"
7 years ago
Romain Vimont 0792998cc2 Remove unused import
7 years ago
Romain Vimont 12a3bb25d3 Implement device screen off while mirroring
7 years ago
Romain Vimont 6537c2ef01 Add clipboard logs
7 years ago
Romain Vimont ad55a9addc Prefix server logs
7 years ago
Romain Vimont 28980bbc90 Rename "event" to "message"
7 years ago
Yu-Chen Lin c2cef8d501 server/meson.build: Prevent using input field for directory
7 years ago
Romain Vimont c13a24389c Implement computer-to-device clipboard copy
7 years ago
Romain Vimont 2322069656 Extract control event String parsing
7 years ago
Romain Vimont 61f5f96b42 Fix control event String parsing
7 years ago
Romain Vimont 63c078ee6c Implement device-to-computer clipboard copy
7 years ago
Romain Vimont 3149e2cf4a Add device event sender
7 years ago
Romain Vimont f9d2d99166 Add GET_CLIPBOARD device event
7 years ago
Romain Vimont ec71a3f66a Use two sockets for video and control
7 years ago
Romain Vimont 0a7fe7ad57 Add helpers to truncate UTF-8 at code points
7 years ago
Romain Vimont 3aa5426cad Add unit tests for control events serialization
7 years ago
Romain Vimont ad4c061cd2 Use custom class Point
7 years ago
Romain Vimont 63909fd10d Merge commands with other control events
7 years ago
Romain Vimont 7ed976967f Fix checkstyle warning
7 years ago
Romain Vimont 3068457b90 Log characters failed to be injected
7 years ago
Yu-Chen Lin 1630f923ef Return success count in injectText
7 years ago
Romain Vimont c8338b2918 Recover if expand/collapse panels is not available
7 years ago
Romain Vimont 2837c6eaab Add method to log error without throwable
7 years ago
Romain Vimont 01664777c8 Merge branch 'master' into dev
7 years ago
Romain Vimont f11b0ec204 Fix server checkstyle errors
7 years ago
Romain Vimont 3eda38e5fc Do not call codec.stop() on exception
7 years ago
Romain Vimont 1323e3c43e Bump version to 1.8
7 years ago
Romain Vimont b8ff35efe6 Remove empty line
7 years ago
Romain Vimont 7fad611dfb Merge branch 'dev'
7 years ago
Yu-Chen Lin c456e38264 server/meson.build: support relative path for prebuilt_server
7 years ago
Romain Vimont 7d10ec2b5a Add shortcut to expand/collapse notification panel
7 years ago
Romain Vimont b7472a545e Bump version to 1.7
7 years ago
Romain Vimont b35733edb6 Fix expected mouse event sizes
7 years ago
Romain Vimont 446c682374 Bump version to 1.6
7 years ago
Romain Vimont 1fdde490fd Mirror "secure" content
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 1e22ebcac2 Always use non-empty arguments
7 years ago
Romain Vimont d81729ba39 Always expect 5 parameters for the server
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 345f8858d3 Send frame meta only if recording is enabled
7 years ago
Romain Vimont 475912a39c Do not transmit MediaCodec flags
7 years ago
Romain Vimont 2cd99e7205 Only set valid PTS/DTS
7 years ago
Ivan Gorinov d706c5df39 Enable video output file, with pts set by server
7 years ago
Romain Vimont b882322f73 Work around Os.write() not updating position
7 years ago
Romain Vimont 24d107d017 Bump version to 1.4
7 years ago
Romain Vimont 66def38b73 Avoid additional buffer copy in userspace
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 e85010fbc2 Move annotation comment
7 years ago
Romain Vimont 820cd2bb54 Extract video size computation
7 years ago
Romain Vimont 8106bb8215 Bump version to 1.2
8 years ago
Romain Vimont 16a3de1796 Make checkstyle happy
8 years ago
Romain Vimont d744837f13 Bump version to 1.1
8 years ago
Romain Vimont c530d95881 Immediately close the server socket on the device
8 years ago
Romain Vimont 1038bad385 Make it work over tcpip
8 years ago
Romain Vimont c075ad0a1e Fix mouse clicks on LG devices
8 years ago
Romain Vimont dac7196bd6 Support screens with dimensions not divisible by 8
8 years ago
Romain Vimont 675704c71c Map right-click to BACK if screen is on
8 years ago