vcswatch reports that
this package seems to have new commits in its VCS but has
not yet updated debian/changelog. You should consider updating
the Debian changelog and uploading this new version into the archive.
Here are the relevant commit logs:
commit d73655002d7aebd19a43054cfb113c0c0ed85579
Author: yangfl <yangfl@users.noreply.github.com>
Date: Mon Jan 18 16:41:30 2021 +0800
debian: update to 1.17
commit 76fe9e228a1572b023e08e75596a3a3bc319c59b
Merge: adb9043 f682b87
Author: yangfl <yangfl@users.noreply.github.com>
Date: Mon Jan 18 16:38:10 2021 +0800
Merge tag 'v1.17'
scrcpy v1.17
Changes since v1.16:
- Fix errors on Android 11 (#1468)
- Add --encoder option (#1810, #1827)
- Add --forward-all-clicks option (#1302, #1613)
- Add --legacy-paste option (#1750, #1771)
- Workaround screen off/on issue on exit (#1670)
- Rework console/noconsole versions on Windows (#1875, #1988)
- Terminate server properly without killing it on close (#1992)
- List available shortcut keys on error (#1681)
- Upgrade platform-tools to 30.0.5 (adb) in Windows releases
- Upgrade SDL to 2.0.14 in Windows releases
commit f682b87ba5ed6a5126cc23dff905218b177a2436
Author: Romain Vimont <rom@rom1v.com>
Date: Sat Jan 2 00:53:32 2021 +0100
Bump version to 1.17
commit 10b749e27d34f91d04ff165134fda23e6ec2cc3b
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jan 1 12:41:25 2021 +0100
Kill the server only after a small delay
Let the server terminate properly once all the sockets are closed.
If it does not terminate (this can happen if the device is asleep), then
kill it.
Note: since the server process termination is detected by a flag set
after waitpid() returns, there is a small chance that the process
terminates (and the PID assigned to a new process) before the flag is
set but before the kill() call. This race condition already existed
before this commit.
Fixes #1992 <https://github.com/Genymobile/scrcpy/issues/1992>
commit 05e8c1a3c5e955d2941d882e5fe784e6695e3ec4
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jan 1 23:39:29 2021 +0100
Call CloseHandle() after wait on Windows
TerminateProcess() is "equivalent" to kill(), while
WaitForSingleObject() is "equivalent" to waitpid(), so the handle must
be closed after WaitForSingleObject().
commit 83910d3b9c961aa30eec4cf01aee7d38fb050fae
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jan 1 16:34:47 2021 +0100
Initialize server struct dynamically
This will allow to add mutex/cond fields.
commit 90f835663004d9dc4969a76a1ef2641af9b02633
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jan 1 12:26:44 2021 +0100
Interrupt device threads on stop
The (non-daemon) threads were not interrupted on video stream stopped,
leaving the server process alive.
Interrupt them to wake up their blocking call so that they terminate
properly.
Refs #1992 <https://github.com/Genymobile/scrcpy/issues/1992>
commit 3ba51211d6bb21fa02c5d05079f15aad089de7ca
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jan 1 17:31:07 2021 +0100
Mention how to add default arguments on Windows
Mention that it is possible to add default arguments by editing the
wrapper scripts.
commit ea3582d2c39267d43eda854ce052b3fa35ac7e29
Merge: d039a7a 112adbb
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jan 1 17:18:13 2021 +0100
Merge branch 'master' into dev
commit 112adbba87f93d85808561301588219b833f9686
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jan 1 17:16:44 2021 +0100
Happy new year 2021!
commit d039a7a39a80940c3eca226ce3d7d0555157fa8c
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jan 1 15:53:56 2021 +0100
Upgrade SDL (2.0.14) for Windows
Include the latest version of SDL in Windows releases.
commit 6ab80e4ce8311ae65c09d2add5f620bdbef369a2
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jan 1 15:49:28 2021 +0100
Rename release.make to release.mk
It's more standard, and benefits from syntax coloration in vi.
commit 230afd8966d3bb4d792a41e4d87dbdd1cf4e9347
Author: Romain Vimont <rom@rom1v.com>
Date: Thu Dec 17 14:54:04 2020 +0100
Unify release makefile
Before this change, release.sh built some native stuff, and
Makefile.CrossWindows built the Windows releases.
Instead, use a single release.make to build the whole release. It also
avoids to build the server one more time.
commit a46733906acf3b59d9d1e26abef99ff4b003f5af
Author: Romain Vimont <rom@rom1v.com>
Date: Tue Dec 15 21:50:46 2020 +0100
Replace noconsole binary by a wrapper script
This simplifies the build system.
Refs <https://github.com/Genymobile/scrcpy/issues/1975#issuecomment-745314161>
commit 431c9ee33b49f5ce7317b4c687e00bc436adbc02
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Dec 20 08:24:04 2020 +0100
Improve rotation documentation
commit 43d3dcbd970640c70272fac9d5e54ff90f8e5eea
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Dec 14 10:12:01 2020 +0100
Document Windows command line usage
PR #1973 <https://github.com/Genymobile/scrcpy/pull/1973>
Reviewed-by: Yu-Chen Lin <npes87184@gmail.com>
commit a5f4f582956264aa05563df5de847d4a36f8d2aa
Author: Romain Vimont <rom@rom1v.com>
Date: Tue Dec 22 01:14:30 2020 +0100
Remove duplicate include
commit ea12783bbc935e4bc74329a924cda784b5cfc25a
Author: Romain Vimont <rom@rom1v.com>
Date: Tue Dec 15 21:50:58 2020 +0100
Upgrade JUnit to 4.13
commit 904d47057987fcd2bc2bb9494758a611fa6ab2bc
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Dec 14 09:35:55 2020 +0100
Pause on error from a wrapper script
On Windows, scrcpy paused on error before exiting to give the user a
chance to see the user message.
This was a hack and causes issues when using scrcpy from batch scripts.
Disable this pause from the scrcpy binary, and provide a batch wrapper
(scrcpy-console.bat) to pause on error.
Fixes #1875 <https://github.com/Genymobile/scrcpy/issues/1875>
commit 6d151eaef914dd836e206e2877263e47882bba18
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Dec 14 09:04:14 2020 +0100
Reference encoder section from FAQ
commit 5dc3285dbf807553f86346ab16d0891cfeb32ab7
Author: Romain Vimont <rom@rom1v.com>
Date: Sat Dec 12 15:57:54 2020 +0100
Reference FFmpeg Windows builds from GitHub
Refs #1753 <https://github.com/Genymobile/scrcpy/issues/1753>
commit c9a4bdb8905042cc9bf14e55b09f4430214c9b31
Author: Romain Vimont <rom@rom1v.com>
Date: Sat Dec 12 15:56:32 2020 +0100
Upgrade platform-tools (30.0.5) for Windows
Include the latest version of adb in Windows releases.
commit d60ac65b320ab473a8afd1951ac5c3a9da2fa186
Merge: 30434af d6078cf
Author: Romain Vimont <rom@rom1v.com>
Date: Sat Dec 12 15:55:29 2020 +0100
Merge branch 'master' into dev
commit d6078cf20244e6651aea5832e6b78b3aa3459766
Author: jianzhang4 <jianzhang4@iflytek.com>
Date: Wed Dec 9 11:41:17 2020 +0800
Fix build errors for macOS
PR #1960 <https://github.com/Genymobile/scrcpy/pull/1960>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit 47c897126758ed016881bdf51b2eb643c4a5fe07
Author: SamBe.ng <developer.sbeng@gmail.com>
Date: Mon Nov 30 10:16:50 2020 +0100
Document shell command to get the device IP
PR #1944 <https://github.com/Genymobile/scrcpy/pull/1944>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit 30434afc0ad89198e8f7f5567d9d50bbbf8c055c
Author: Romain Vimont <rom@rom1v.com>
Date: Tue Nov 24 09:45:18 2020 +0100
Upgrade gradle build tools to 4.0.1
commit 868e762d71695f0a45f593c83215aeb428e475b3
Author: Romain Vimont <rom@rom1v.com>
Date: Sat Nov 14 22:08:59 2020 +0100
Fix size_t format specifier for Windows
Use "%Iu" on Windows. This fixes the following warning:
../app/src/sys/win/command.c:17:14: warning: unknown conversion type character ‘l’ in format [-Wformat=]
17 | LOGE("Command too long (%" PRIsizet " chars)", len - 1);
commit 576814bcec5718d325de3a85528e5133cc46be68
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Nov 8 21:11:12 2020 +0100
Document --encoder option
Add documentation for the new option --encoder in the manpage and in
README.md.
commit 42ab8fd61156a7894fb8c6802f7a1b408598e14f
Author: Romain Vimont <rom@rom1v.com>
Date: Sat Nov 7 15:53:48 2020 +0100
List available encoders on invalid name specified
If an invalid encoder name is given via the --encoder option, list all
the H.264 encoders available on the device.
commit 363eeea19eb0d347643a4dd9592dac0063396dff
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Nov 8 17:27:33 2020 +0100
Log encoder name
When the encoder is selected automatically, log the name of the selected
encoder.
commit 76c2c6e69dc074031a81c4e050347e374cbfb776
Author: Tzah Mazuz <tzah.mazuz@testproject.io>
Date: Mon Oct 12 12:23:06 2020 +0300
Adding new option --encoder
Some devices have more than one encoder, and some encoders may cause
issues or crash. With this option we can specify which encoder we want
the device to use.
PR #1827 <https://github.com/Genymobile/scrcpy/pull/1827>
Fixes #1810 <https://github.com/Genymobile/scrcpy/issues/1810>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit d5f059c7cbef7d13889086670716d9f33f805dc4
Author: Romain Vimont <rom@rom1v.com>
Date: Tue Oct 6 21:30:10 2020 +0200
Add option to force legacy method for pasting
Some devices do not behave as expected when setting the device clipboard
programmatically.
Add an option --legacy-paste to change the behavior of Ctrl+v and MOD+v
so that they inject the computer clipboard text as a sequence of key
events (the same way as MOD+Shift+v).
Fixes #1750 <https://github.com/Genymobile/scrcpy/issues/1750>
Fixes #1771 <https://github.com/Genymobile/scrcpy/issues/1771>
commit adc547fa6e8e6167cd9633a97d98de6665b8c23a
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Oct 5 20:45:53 2020 +0200
Add an option to forward all clicks
Add --forward-all-clicks to disable mouse shortcuts and forward middle
and right clicks to the device instead.
Fixes #1302 <https://github.com/Genymobile/scrcpy/issues/1302>
Fixes #1613 <https://github.com/Genymobile/scrcpy/issues/1613>
commit 5dcfc0ebab563e7bfdcf4d28025fa1996a79c214
Author: Romain Vimont <rom@rom1v.com>
Date: Tue Nov 3 17:09:03 2020 +0100
Add local.properties to gitignore
commit ad5f567f07627baea09c7bcf596f921923dca4b2
Author: Romain Vimont <rom@rom1v.com>
Date: Tue Nov 3 17:08:21 2020 +0100
Remove spurious space
commit 25aff0093500c95c90192bc7e78f40ec3f617519
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Oct 5 21:22:54 2020 +0200
Mention version of Indonesian translation
commit aade92fd1058a88cfdcacf168f2b2b8857b5d562
Author: yanuarakhid <yanuarakhid@gmail.com>
Date: Fri Oct 2 00:50:38 2020 +0700
Add Indonesian translation for README.md
PR #1802 <https://github.com/Genymobile/scrcpy/pull/1802>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit 83082406d36d177976c54d93e8eda5a5ea4811e5
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Oct 5 21:11:50 2020 +0200
Enable Java deprecation warnings details
Without the option, gradle reports a lint issue, but without any
details.
commit 2edf192e3ae80252d136e6d1a614ab07f93fc561
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Oct 5 21:09:01 2020 +0200
Remove deprecation warning
As a workaround for some devices, we need to prepare the main looper.
The method is now deprecated, but we still want to call it.
commit d50ecf40b603f8a0e5a73699babce7301c0bd870
Author: Romain Vimont <rom@rom1v.com>
Date: Thu Oct 1 15:06:34 2020 +0200
Fix options order
commit 15b81367c973a4da7285c697ca2a04d87f44d656
Author: redev <58584157+redev-5c@users.noreply.github.com>
Date: Thu Sep 17 09:16:48 2020 +0900
Fix FAQ.ko.md
PR #1767 <https://github.com/Genymobile/scrcpy/pull/1767>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit 56d237f152fc4d454a65fe594412b4bd9409fd64
Author: Brinan Sjostrom <brinan.sjostrom@protonmail.com>
Date: Tue Sep 22 18:02:18 2020 -0400
Fix "press Enter key" message
The message said "Press any key to continue...", whereas only
Enter/Return is accepted.
PR #1783 <https://github.com/Genymobile/scrcpy/pull/1783>
Fixes #1757 <https://github.com/Genymobile/scrcpy/issues/1757>
Reviewed-by: Yu-Chen Lin <npes87184@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit acc65f8c9dc477e978d438a2f2a3501e49230211
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Sep 20 01:09:05 2020 +0200
Remove unused field
Fixes #1775 <https://github.com/Genymobile/scrcpy/issues/1775>
Reported-by: lordnn
commit a65ebceac1e1f214328b3be776e7dbc724656db6
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Sep 20 01:07:18 2020 +0200
Add missing mutex unlock on error
Fixes #1770 <https://github.com/Genymobile/scrcpy/issues/1770>
Reported-by: lordnn
commit c136edf09d54b4f61e27577622e7ba93f72acb0f
Author: Win7GM <Win7GM@users.noreply.github.com>
Date: Thu Sep 10 12:18:56 2020 +0800
Add simplified Chinese translation for README.md
PR #1723 <https://github.com/Genymobile/scrcpy/pull/1723>
Co-authored-by: Shaw Yu <shawyu.nz@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit 52560faa344f19d6ec89a586ba85ab8958482e82
Author: Romain Vimont <rom@rom1v.com>
Date: Thu Sep 17 13:03:18 2020 +0200
Fix README indentation
commit d662f73bdceda1ceb95ea61fe5fd3b556c1ba932
Author: Romain Vimont <rom@rom1v.com>
Date: Tue Sep 15 14:53:37 2020 +0200
Upgrade Android SDK to 30
commit 1c44dc2259f7111f8432fcf1ab8509c68f48d9a0
Author: Romain Vimont <rom@rom1v.com>
Date: Tue Sep 15 13:54:00 2020 +0200
Use portable shebang for all bash scripts
Refs #426 <https://github.com/Genymobile/scrcpy/pull/426>
Refs #1716 <https://github.com/Genymobile/scrcpy/pull/1716>
commit 02a882a0a2fbe40504889bf753aa055bfc3c4fdf
Author: Luís Ferreira <contact@lsferreira.net>
Date: Thu Aug 27 18:00:40 2020 +0100
Use a more portable shebang for bash
This should increase the portability of bash scripts across various *nix
systems such as BSD-like distributions.
PR #1716 <https://github.com/Genymobile/scrcpy/pull/1716>
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit cf7bf3148caca8d4428cbd70578696a8230689e0
Author: CapsLock <github.com@legeox.net>
Date: Wed Feb 6 01:13:31 2019 +0100
Use "/usr/bin/env bash" for build-wrapper.sh
PR #426 <https://github.com/Genymobile/scrcpy/pull/426>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit ae758f99d6af81123bb6b74d307d798c2c17acf3
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Sep 13 21:35:11 2020 +0200
Adapt call() on ContentProvider for Android 11
This commit in AOSP framework_base added a parameter "attributionTag" to
the call() method:
https://android.googlesource.com/platform/frameworks/base.git/+/12ac3f406fed87cb9cd3a28b9947e7202a2d14bd%5E%21/#F17
As a consequence, the method did not exist, so scrcpy used the legacy
call() method (using the authority "unknown") as a fallback, which fails
for security reasons.
Fixes #1468 <https://github.com/Genymobile/scrcpy/issues/1468>
commit bd9f656933e79f7b21b42993f8a70a761ab47226
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Aug 31 13:52:29 2020 +0200
Fix feature test macro
The expected feature test macro is _POSIX_C_SOURCE having a value
greater or equal to 200809L.
Fixes #1726 <https://github.com/Genymobile/scrcpy/issues/1726>
commit c243fd4c3fe91e83bacf89d2d6bbf642e5019f39
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Aug 31 13:37:09 2020 +0200
Fix more log format warning
The expression port + 1 is promoted to int, but printed as uint16_t.
This is the same mistake fixed for a different log by
7eb16ce36458011d87972715f08bd9f03ff39807.
Refs #1726 <https://github.com/Genymobile/scrcpy/issues/1726>
commit 0bf110dd5cc6a9793177c7764fe7fbfb452628f6
Author: brunoais <brunoaiss@gmail.com>
Date: Thu Aug 13 07:33:36 2020 +0100
Reset power mode only if screen is on
PR #1670 <https://github.com/Genymobile/scrcpy/pull/1670>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit 0c5e0a4f6d30834e7aa1623636675df5d9bda1f2
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Aug 21 12:24:11 2020 +0200
Make Device methods static when possible
The behavior of some methods do not depend on the user-provided options.
These methods can be static. This will allow to call them directly from
the cleanup process.
commit 0be766e71a30eec1709da7b24999b6df2b40dc65
Author: Romain Vimont <rom@rom1v.com>
Date: Thu Aug 20 19:14:45 2020 +0200
Add undetected device error message in FAQ
commit d02789ce21a183682f968cc95dcd88c98efba0f0
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Aug 16 13:52:01 2020 +0200
List available shortcut keys on error
Fixes #1681 <https://github.com/Genymobile/scrcpy/issues/1681>
Suggested-by: Moritz Schulz <moritzleni@gmail.com>
commit 6cc22e1c5b370baecee9072f52c44fdd13ba9634
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Aug 16 13:44:42 2020 +0200
Reference --shortcut-mod from shortcuts list
Fixes #1681 <https://github.com/Genymobile/scrcpy/issues/1681>
Suggested-by: Moritz Schulz <moritzleni@gmail.com>
commit 479d10dc22b70272187e0963c6ad24d754a669a2
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Aug 10 20:34:51 2020 +0200
Update links to v1.16 in README and BUILD
commit d7779d08e8f9004ec44197cd8eb7fdec0e1d4dd1
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Aug 10 20:09:28 2020 +0200
Bump version to 1.16
commit df4ba1b8b0e6dc92b41c589cf801da4072c3ef41
Merge: 198346d 8081e9c
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Aug 10 20:08:33 2020 +0200
Merge branch 'master' into dev
commit 198346d1482829119cf07c565086840254e519b9
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Aug 9 16:04:02 2020 +0200
Add pinch-to-zoom simulation
If Ctrl is hold when the left-click button is pressed, enable
pinch-to-zoom to scale and rotate relative to the center of the screen.
Fixes #24 <https://github.com/Genymobile/scrcpy/issues/24>
commit 8081e9cc11ac96b4dbe452991865d762f3dec468
Author: RaenonX JELLYCAT <raenonx0710@gmail.com>
Date: Mon Jul 27 09:24:04 2020 -0500
Add reference of the translations in README
Reviewed-by: Yu-Chen Lin <npes87184@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit b87a0df99aa276673307f648853651158c2657b7
Author: RaenonX JELLYCAT <raenonx0710@gmail.com>
Date: Mon Jul 27 09:14:15 2020 -0500
Add Traditional Chinese translation for README
Reviewed-by: Yu-Chen Lin <npes87184@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit 95f1ea0d80e6bb61579ae6c9a50554d235d91383
Author: Romain Vimont <rom@rom1v.com>
Date: Mon Aug 10 13:15:44 2020 +0200
Fix clipboard paste condition
To avoid possible copy-paste loops between the computer and the device,
the device clipboard is not set if it already contains the expected
content.
But the condition was wrong: it was not set also if it was empty.
Refs 1223a72eb83ebafb878a25356250896c45b5cefa
Fixes #1658 <https://github.com/Genymobile/scrcpy/issues/1658>
commit 38940ffe892cab44a05d727be26b7a71e725bdba
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Aug 9 17:09:32 2020 +0200
Revert "Inject WAKEUP instead of POWER"
WAKEUP does not work on some devices.
Fixes #1655 <https://github.com/Genymobile/scrcpy/issues/1655>
This reverts commit 322f1512ea806611eb37f508cd952bbbc050f853.
commit a59a15777de9c3af3da27d60181ae046a71c09f4
Author: Yu-Chen Lin <npes87184@gmail.com>
Date: Sun Aug 9 14:47:22 2020 +0800
Fix missing change of Ctrl key in README
PR #1652 <https://github.com/Genymobile/scrcpy/pull/1652>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit a2cb63e344077f7c34a71333217bc1bdf53ba633
Author: Jozef Hollý <j2.00ghz@gmail.com>
Date: Sat Aug 8 13:03:08 2020 +0200
Add packaging status
PR #1650 <https://github.com/Genymobile/scrcpy/pull/1650>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit f03a3edde618402ecff442383845ec7ba7f0b829
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Aug 7 12:13:27 2020 +0200
Update links to v1.15.1 in README and BUILD
commit 633a51e9c4c64ed549a9a44f8348ded528268451
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Aug 7 12:01:34 2020 +0200
Bump version to 1.15.1
commit 976761956f5ff8a806a8547e7a1af9e4e7e3d77c
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Aug 7 09:21:13 2020 +0200
Fix uninitialized repeat count in key events
A new "repeat" field has been added by
3c1ed5d86c38bcbd5353b0a7e6ef5653d6c44d0d, but it was not initialized in
every code path.
As a consequence, keycodes generated by shortcuts were sent with an
undetermined value, breaking some shortcuts (especially HOME) randomly.
Fixes #1643 <https://github.com/Genymobile/scrcpy/issues/1643>
commit 521f2fe994019065e938aa1a54b56b4f10a4ac4a
Author: Romain Vimont <rom@rom1v.com>
Date: Thu Aug 6 21:56:06 2020 +0200
Update links to v1.15 in README and BUILD
commit edc4f7675f65d6c94a4c8935d13f84b6f601a79a
Author: Romain Vimont <rom@rom1v.com>
Date: Thu Aug 6 21:00:48 2020 +0200
Bump version to 1.15
commit 712f1fa6b2fa82f4916daad631bcae6c3de94e45
Author: Romain Vimont <rom@rom1v.com>
Date: Thu Aug 6 21:00:48 2020 +0200
Upgrade FFmpeg (4.3.1) for Windows
Include the latest version of FFmpeg in Windows releases.
commit 1ba06037f88aedf01bae1933b404eac1cb3aa129
Author: Romain Vimont <rom@rom1v.com>
Date: Thu Aug 6 21:00:48 2020 +0200
Upgrade platform-tools (30.0.4) for Windows
Include the latest version of adb in Windows releases.
commit da63e3774b94067620ad8a323a65ddccee3bf75f
Merge: cf9d449 5086e7b
Author: Romain Vimont <rom@rom1v.com>
Date: Thu Aug 6 21:00:15 2020 +0200
Merge branch 'master' into dev
commit cf9d44979cf4eca514a66cd9ec4d4bb8b5be1e19
Author: brunoais <brunoaiss@gmail.com>
Date: Wed Jul 8 21:49:34 2020 +0100
Keep the screen off on powering on
PR #1577 <https://github.com/Genymobile/scrcpy/pull/1577>
Fixes #1573 <https://github.com/Genymobile/scrcpy/issues/1573>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit 84f1d9e37502fbffc1e6b6754b930a37a5403703
Author: xeropresence <3128949+xeropresence@users.noreply.github.com>
Date: Mon Jul 27 02:26:25 2020 -0400
Add --no-key-repeat cli option
Add an option to avoid forwarding repeated key events.
PR #1623 <https://github.com/Genymobile/scrcpy/pull/1623>
Refs #1013 <https://github.com/Genymobile/scrcpy/issues/1013>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit 65d06a36634287426206b459d2f290142ea1bf46
Author: xeropresence <3128949+xeropresence@users.noreply.github.com>
Date: Mon Jul 27 02:26:25 2020 -0400
Pass full options struct to static functions
This avoids to pass specific options values individually. Since these
function are static (internal to the file), this is not a problem to
make them depend on scrcpy_options.
Refs #1623 <https://github.com/Genymobile/scrcpy/pull/1623>
Signed-off-by: Romain Vimont <rom@rom1v.com>
commit 74079ea5e4ce0282a5d078cfa80fc68d2d9da16e
Author: Romain Vimont <rom@rom1v.com>
Date: Sun Aug 2 15:45:31 2020 +0200
Copy the options used in input manager init
This avoids to pass additional options to some input manager functions.
Refs #1623 <https://github.com/Genymobile/scrcpy/pull/1623>
commit 0870d8620f327768249214a5ba6a7bee7a8a75ec
Author: Romain Vimont <rom@rom1v.com>
Date: Sat Aug 1 17:10:09 2020 +0200
Mention that MENU unlocks screen
Pressing MENU while in lock screen unlocks (it still asks for the schema
or code if enabled).
commit d49cffb93890982ba837e7b7bc4d9ee9405443d6
Author: Romain Vimont <rom@rom1v.com>
Date: Sat Aug 1 16:45:25 2020 +0200
Use <kbd> HTML tag for keys
It's prettyier in a browser.
commit dfb7324d7b06e649c8355164a7d97bd592ef5af8
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Mention in README that Ctrl is forwarded
commit d8b3ba170cb005e67be7dc866aa91134c4101edd
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Update copy-paste section in README
Update documentation regarding the recent copy-paste changes.
commit 7ad47dfaab57a7e6c7462d7e6a2798a5f122ebaf
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Swap paste shortcuts
For consistency with MOD+c and MOD+x, use MOD+v to inject PASTE.
Use Mod+Shift+v to inject clipboard content as a sequence of text
events.
commit 56a115b5c5971b7035609d5e0e3eabf97e91f874
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Add shortcuts for COPY and CUT
Send COPY and CUT on MOD+c and MOD+x (only supported for Android >= 7).
The shortcuts Ctrl+c and Ctrl+x should generally also work (even before
Android 7), but the active Android app may use them for other actions
instead.
commit 8f64a5984b35af115aeb106ac7cb3731f83472ad
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Change "resize to fit" shortcut to MOD+w
For convenience, MOD+x will be used for injecting the CUT keycode.
commit bccd12bf5c268bdf096ef81971f13703c97bf474
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Remove "get clipboard" call
Now that every device clipboard change is automatically synchronized to
the computer, the "get clipboard" request (bound to MOD+c) is useless.
commit 20d39250997635ef882df4e2c11144e5f9f82448
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Set computer clipboard only if necessary
Do not explicitly set the clipboard text if it already contains the
expected content.
Even if copy-paste loops are avoided by the previous commit, this avoids
to trigger a clipboard change on the computer-side.
Refs #1580 <https://github.com/Genymobile/scrcpy/issues/1580>
commit 1223a72eb83ebafb878a25356250896c45b5cefa
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Set device clipboard only if necessary
Do not explicitly set the clipboard text if it already contains the
expected content. This avoids possible copy-paste loops between the
computer and the device.
commit 7683be8159c7372c7def0b868ba76a426fa7426e
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Synchronize clipboard on Ctrl+v
Pressing Ctrl+v on the device will typically paste the clipboard
content.
Before sending the key event, synchronize the computer clipboard to the
device clipboard to allow seamless copy-paste.
commit d4ca85d6a83ee7bdb3dce648b9739374ae770662
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Forward Shift to the device
This allows to select text using Shift+(arrow keys).
Fixes #942 <https://github.com/Genymobile/scrcpy/issues/942>
commit e6e528f228f762336ad6b37679c592cf46f6c4cf
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Forward Ctrl to the device
Now that the scrcpy shortcut modifier is Alt by default (and can be
configured), forward Ctrl to the device.
This allows to trigger Android shortcuts.
Fixes #555 <https://github.com/Genymobile/scrcpy/issues/555>
commit a5f8b577c50e9498c43f7d4d9a25287673244c0f
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 01:23:08 2020 +0200
Ignore text events for shortcuts
Pressing Alt+c generates a text event containing "c", so "c" was sent to
the device when --prefer-text was enabled.
Ignore text events when the mod state matches a shortcut modifier.
commit e4bb7c1d1feb51e3277db086207833611fc20603
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Accept Super as shortcut modifier
In addition to (left) Alt, also accept (left) Super. This is especially
convenient for macOS users (Super is the Cmd key).
commit 1b76d9fd78c3a88a8503a72d4cd2f65bdb836aa4
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Customize shortcut modifier
Add --shortcut-mod, and use Alt as default modifier.
This paves the way to forward the Ctrl key to the device.
commit 63cb93d7d7d90354b834e71200eb43ee9228f2a3
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Use Ctrl for all shortcuts
Remove the Cmd modifier on macOS, which was possible only for some
shortcuts but not all.
This paves the way to make the shortcut modifier customizable.
commit 9d9dd1f143e6dae770263432a11946f1601be82e
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Make expression order consistent
The condition "cmd" was always before "shift" in all expressions except
4.
commit eabaf6f7bd391d0147eaebda51c79bbf9a75807a
Author: Romain Vimont <rom@rom1v.com>
Date: Fri Jul 17 00:00:42 2020 +0200
Simplify PASTE option for "set clipboard"
When the client requests to set the clipboard, it may request to press
the PASTE key in addition. To be a bit generic, it was stored as a flag
in ControlMessage.java.
But flags suggest that it represents a bitwise union. Use a simple
boolean instead.
commit 199c74f62f5f78748769e6489122242a3217dc54
Author: Romain Vimont <rom@rom1v.com>
Date: Wed Jul 15 12:17:04 2020 +0200
Declare main() with argc/argv params in tests
Declaring the main method as "int main(void)" causes issues with SDL.
Fixes #1209 <https://github.com/Genymobile/scrcpy/issues/1209>