commit f4fc52a735ca2272af95e2d9edc91205b29b772c Author: yangfl <yangfl@users.noreply.github.com> Date: Sun Aug 6 22:17:11 2023 +0800 debian: update to 2.6.1 commit 05138a5f2783013451d113c7649e8d671b6757f9 Merge: 4c7e3d8 cc41115 Author: yangfl <yangfl@users.noreply.github.com> Date: Sun Aug 4 14:20:54 2024 +0800 Merge tag 'v2.6.1' scrcpy v2.6.1 Changes since v2.6: - Inject finger input whenever possible (#5162, #5163) commit 4c7e3d844552ac143873f5cbe52a5d4c1c458085 Author: yangfl <yangfl@users.noreply.github.com> Date: Fri Jan 20 18:30:40 2023 +0800 debian: update to 1.25 commit db5f7b92a3799ef936c2713c0e66f2c93daa7841 Merge: ced5c99 fe21158 Author: yangfl <yangfl@users.noreply.github.com> Date: Fri Jan 20 18:27:47 2023 +0800 Merge tag 'v1.25' scrcpy v1.25 Changes since v1.24: - Adapt copy-paste internals for Android 13 (#3497) - Add support for high-precision scrolling (#3363, #3369) - Add desktop entry files for Linux (#295, #296, #748, #1636, #3351) - Add bash and zsh autocompletion for -s/--serial (#3522, #3523) - Use current adb port (if any) for --tcpip (#3591, #3592) - Add fallback to get display information on some devices (#3416, #3573) - Fix click behavior when --forward-all-clicks is set (#3568, #3579) - Fix support for non-ASCII characters in window title (#2932, #3547) - Fix getDisplayIds() crash on some versions of Android 13 beta (#3446) - Upgrade platform-tools to 33.0.3 (adb) in Windows releases - Upgrade FFmpeg to 5.1.2 in Windows 64-bit releases - Upgrade SDL to 2.26.1 in Windows releases - Various technical fixes commit fe21158c2023017df39ee7ecc6462579a1f3fe45 Author: Romain Vimont <rom@rom1v.com> Date: Thu Dec 22 12:33:29 2022 +0100 Bump version to 1.25 commit 8e0c89921856c495a102e30db27d52060aa176dd Author: Romain Vimont <rom@rom1v.com> Date: Thu Dec 22 12:33:08 2022 +0100 Upgrade FFmpeg (5.1.2) for Windows 64-bit Use the latest version of FFmpeg in Windows 64-bit releases. commit 725a922271170706ef29c8883f179f71a89e21ab Author: Romain Vimont <rom@rom1v.com> Date: Thu Dec 22 12:28:21 2022 +0100 Upgrade SDL (2.26.1) for Windows Include the latest version of SDL in Windows releases. commit b5773a6fe8f6b6cc84594418fc64bcd40eba9b2f Author: Romain Vimont <rom@rom1v.com> Date: Thu Dec 22 12:24:58 2022 +0100 Upgrade platform-tools (33.0.3) for Windows Include the latest version of adb in Windows releases. commit 67fb457dcb014d8a9704ef18831ee338a64a41c1 Merge: c7b1d0e c00a9ea Author: Romain Vimont <rom@rom1v.com> Date: Thu Dec 22 12:29:00 2022 +0100 Merge branch 'master' into dev commit c7b1d0ea9af8bb9603ec8f713f1a5fbf3f628b6a Author: Pawel Jasinski <pawel.jasinski@gmail.com> Date: Tue Nov 8 17:15:08 2022 +0100 Force mouse source when --forward-all-clicks Right click and middle click require the source device to be a mouse, not a touchscreen. Therefore, the source device was changed only when a button other than the primary button was pressed (see adc547fa6e8e6167cd9633a97d98de6665b8c23a). However, this led to inconsistencies between the ACTION_DOWN when a secondary button is pressed (with a mouse as source device) and the matching ACTION_UP when the secondary button is released (with a touchscreen as source device, because then there is no button pressed). To avoid the problem in all cases, force a mouse as source device when --forward-all-clicks is set. Concretely, for mouse events in --forward-all-clicks mode: - device source is set to InputDevice.SOURCE_MOUSE; - motion event toolType is set to MotionEvent.TOOL_TYPE_MOUSE; Otherwise (when --forward-all-clicks is unset, or for real touch events), finger events are injected: - device source is set to InputDevice.SOURCE_TOUCHSCREEN; - motion event toolType is set to MotionEvent.TOOL_TYPE_FINGER. Fixes #3568 <https://github.com/Genymobile/scrcpy/issues/3568> PR #3579 <https://github.com/Genymobile/scrcpy/pull/3579> Co-authored-by: Romain Vimont <rom@rom1v.com> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 18082f60697ae8edad2db950637638c8bb6bf0d2 Author: Romain Vimont <rom@rom1v.com> Date: Wed Dec 21 22:06:43 2022 +0100 Remove continuous resizing workaround for Windows It turns out that the workaround only worked for MacOS. Refs #3458 <https://github.com/Genymobile/scrcpy/issues/3458> Refs SDL/#1059 <https://github.com/libsdl-org/SDL/issues/1059> commit 8b38b11875eee81186adebe709ef0fcfd68d88ab Author: Romain Vimont <rom@rom1v.com> Date: Wed Dec 21 13:31:18 2022 +0100 Add parent directory in release zipfile This avoids to mistakenly extract all the files in the current directory. commit 64821466a1ddcdf7f0a50fa39067f066284ef9ca Author: Romain Vimont <rom@rom1v.com> Date: Wed Dec 21 13:29:27 2022 +0100 Use "meson setup" This fixes the following warning: > WARNING: Running the setup command as `meson [options]` instead of > `meson setup [options]` is ambiguous and deprecated. commit 82cb8ab870140403f244fba80ddf2bc5b26b2d78 Author: Romain Vimont <rom@rom1v.com> Date: Tue Dec 20 10:38:39 2022 +0100 Adapt ClipboardManager for Android 13 A new "attributionTag" parameter has been added to the methods getPrimaryClip(), setPrimaryClip() and addPrimaryClipChangedListener() of IClipboard.aidl. Refs <https://android.googlesource.com/platform/frameworks/base.git/+/0e3e509b3bf4d561c26d87213387a290dfd688e3%5E%21/> Fixes #3497 <https://github.com/Genymobile/scrcpy/issues/3497> commit b51841e85d22284eb5dda42096dc46197c710daf Author: Romain Vimont <rom@rom1v.com> Date: Wed Dec 21 13:28:08 2022 +0100 Upgrade junit to 4.13.2 commit bd1deffa70832a2ab30b8d060992ca70e3136ba8 Author: Romain Vimont <rom@rom1v.com> Date: Thu Nov 24 09:04:42 2022 +0100 Use current adb port (if any) for --tcpip If the current adb port is not 5555 (typically 0 because it is not in TCP/IP mode), --tcpip automatically executes (among other commands): adb tcpip 5555 In case adb was already listening on another port, this command forced to listen on 5555, and the connection should still succeed. But this reconfiguration might be inconvenient for the user. If adb is already in TCP/IP mode, use the current enabled port without reconfiguration. Fixes #3591 <https://github.com/Genymobile/scrcpy/issues/3591> commit 6469b55861a820e7b7d897376acd3f1f4988e689 Author: Romain Vimont <rom@rom1v.com> Date: Thu Nov 24 09:27:10 2022 +0100 Fix CommandParserTest code style Make checkstyle happy. commit c00a9ead5e383b00d6b36464c2b234909720f095 Author: Romain Vimont <rom@rom1v.com> Date: Thu Nov 17 09:21:16 2022 +0100 Always use --key=value in README Mandatory arguments may be passed in either of these two forms: 1. --key value 2. --key=value Optional argument may only be passed in the second form. For consistency, always document using --key=value. Refs f76fe2c0d4847d0e40d8708f97591abf3fa22ea5 commit 597703b62e05faea3c556565e0add4cff6bb54e6 Author: SeungHoon Han <senicy.han@samsung.com> Date: Wed Nov 9 13:42:56 2022 +0900 Fix DisplayInfo parsing for Android Q The DisplayInfo dump format has slightly changed in AOSP: <https://android.googlesource.com/platform/frameworks/base.git/+/1039ea50f3e1944f5d670cfdeadfdb17b3442ed7> PR #3573 <https://github.com/Genymobile/scrcpy/pull/3573> Ref #3416 <https://github.com/Genymobile/scrcpy/pull/3416> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 48bb6f2ea858a02e05900d9828c0089166de17df Author: Yu-Chen Lin <npes87184@gmail.com> Date: Sun Oct 23 14:15:25 2022 +0800 Support wchar_t in argv for Windows PR #3547 <https://github.com/Genymobile/scrcpy/pull/3547> Fixes #2932 <https://github.com/Genymobile/scrcpy/issues/2932> Signed-off-by: Yu-Chen Lin <npes87184@gmail.com> Signed-off-by: Romain Vimont <rom@rom1v.com> commit d71587e39ba0d0c1541629a2cc8dce443de6581d Author: Yu-Chen Lin <npes87184@gmail.com> Date: Sat Oct 22 21:32:12 2022 +0800 Avoid string concatenation in crossfiles This feature is not supported on older meson versions: ERROR: Malformed value in cross file variable prebuilt_libusb. Refs <https://github.com/mesonbuild/meson/issues/3878> PR #3546 <https://github.com/Genymobile/scrcpy/pull/3546> Signed-off-by: Yu-Chen Lin <npes87184@gmail.com> Signed-off-by: Romain Vimont <rom@rom1v.com> commit b62424a98abe301a23525befe7d97cb2dd141ea5 Author: Romain Vimont <rom@rom1v.com> Date: Wed Oct 19 15:17:43 2022 +0200 Build log.c for test_cli On Windows, sc_log_windows_error() is called from net.c, so log.c must also be compiled. Fixes #3542 <https://github.com/Genymobile/scrcpy/issues/3542> commit ffc7b9169303374f3bf3cae3ea3251111f9ab825 Author: Romain Vimont <rom@rom1v.com> Date: Wed Oct 19 15:14:56 2022 +0200 Add missing include <string.h> for strlen() commit cb46e4a64ae33054a019c70479e2cf71e2a1970d Author: Romain Vimont <rom@rom1v.com> Date: Wed Oct 19 15:13:55 2022 +0200 Add missing include <string.h> for memmove() commit 16e2c1ce26d0bd73b914530263a46e3ea6c7ba6c Author: Anima C13 <31348553+animaone@users.noreply.github.com> Date: Sat Oct 8 13:27:29 2022 -0300 Add -s auto-completion for zsh Fixes #3522 <https://github.com/Genymobile/scrcpy/pull/3522> PR #3523 <https://github.com/Genymobile/scrcpy/pull/3523> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 1bfbadef9658c50d8d6206a2114785cdfa176bdf Author: Anima C13 <31348553+animaone@users.noreply.github.com> Date: Fri Oct 7 11:23:59 2022 -0300 Add -s auto-completion for bash Fixes #3522 <https://github.com/Genymobile/scrcpy/pull/3522> PR #3523 <https://github.com/Genymobile/scrcpy/pull/3523> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 40644994e8fb400dfd298810cd05227a7d5915eb Author: Romain Vimont <rom@rom1v.com> Date: Sun Oct 2 17:39:23 2022 +0200 Make ServiceManager and Settings methods static There were exactly one instance of ServiceManager and Settings, stored in Device. Since a Device instance is not created by the CleanUp executable, it was not straightforward to call wrapper methods on cleanup. Remove this artificial restriction and expose them publicly via static methods (this is equivalent to expose a singleton, but less verbose). commit 7505f7117e19de18e405a3662a38523bf7d20209 Author: Romain Vimont <rom@rom1v.com> Date: Tue Sep 27 14:12:27 2022 +0200 Fix typo in logs commit 949b64dff2efe23039fa4801fbc95ef46e208477 Author: SeungHoon Han <senicy.han@samsung.com> Date: Tue Aug 2 19:39:50 2022 +0900 Add fallback to get DisplayInfo PR #3416 <https://github.com/Genymobile/scrcpy/pull/3416> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 00e9e69c2a198974d992d8bcbb97866f10da4e9f Author: Romain Vimont <rom@rom1v.com> Date: Sun Sep 25 15:39:55 2022 +0200 Use /dev/null instead of closing fds Some adb commands do not like when stdin, stdout or stderr are closed (they hang forever). Open /dev/null for each. commit 4a5cdcd3908b5bdce7e8528d9045553a6019faa6 Author: Romain Vimont <rom@rom1v.com> Date: Fri Jun 10 15:19:53 2022 +0200 Extract $BUILD_TOOLS_DIR In the script to build without gradle, the build-tools full path is used at several places. Use a separate variable for readability. commit e5e210506f62ded9417b252d059ed79505e3b4eb Author: Romain Vimont <rom@rom1v.com> Date: Mon Jun 27 13:32:40 2022 +0200 Add scrcpy-console.desktop Add a launcher which opens a terminal, and keep it open in case of errors (so that the user has time to read error messages). The behavior is the same as scrcpy-console.bat on Windows. PR #3351 <https://github.com/Genymobile/scrcpy/pull/3351> commit a2a22f497f38daa35b5dc42b5e93f06f3b37a3cc Author: Chih-Hsuan Yen <yan12125@gmail.com> Date: Sat Dec 11 11:47:57 2021 +0800 Use shell environment to execute launcher Make Exec= compatible with $PATH configured in .bashrc or .zshrc… PR #3351 <https://github.com/Genymobile/scrcpy/pull/3351> Refs #296 <https://github.com/Genymobile/scrcpy/pull/296#discussion_r224987002> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 51a1762cbd3fc522bdb81afe58962277b8af8a04 Author: Addison Snelling <addison@asnell.io> Date: Sun Oct 14 03:50:35 2018 -0500 Add desktop entry file for Linux app launchers Refs <https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html> PR #3351 <https://github.com/Genymobile/scrcpy/pull/3351> Replaces PR #296 <https://github.com/Genymobile/scrcpy/pull/296> Fixes #295 <https://github.com/Genymobile/scrcpy/issues/295> Fixes #748 <https://github.com/Genymobile/scrcpy/issues/748> Fixes #1636 <https://github.com/Genymobile/scrcpy/issues/1636> Co-authored-by: Chih-Hsuan Yen <yan12125@gmail.com> Signed-off-by: Romain Vimont <rom@rom1v.com> commit c1ec1d1023e9056195a386200fedf5f038c3ea6f Author: Romain Vimont <rom@rom1v.com> Date: Mon Jun 27 12:15:37 2022 +0200 Replace hardcoded 'share/' by datadir variable Meson defines a variable for the data directory. PR #3351 <https://github.com/Genymobile/scrcpy/pull/3351> commit 0a0a446ea6d790420c3d52eb1e6d4afebd086b35 Author: Romain Vimont <rom@rom1v.com> Date: Fri Sep 2 14:41:23 2022 +0200 Upgrade Android SDK to 33 commit fccfc43b9ed702480dcf89cc446b35f90b673b18 Author: Romain Vimont <rom@rom1v.com> Date: Fri Sep 2 14:35:05 2022 +0200 Upgrade gradle build tools to 7.2.2 Plugin version 7.2.2. Gradle version 7.3.3. Refs: <https://developer.android.com/studio/releases/gradle-plugin#updating-gradle> commit 121bb71dfe15bbb8797acf47f02f60a043817762 Author: Romain Vimont <rom@rom1v.com> Date: Fri Sep 2 14:31:15 2022 +0200 Move from jcenter() to mavenCentral() Refs <https://developer.android.com/studio/build/jcenter-migration> Refs <https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/> commit 57056d078ddcac73fe10fcb41395ed21f3d486b6 Author: Simon Chan <1330321+yume-chan@users.noreply.github.com> Date: Sun Jul 3 07:02:17 2022 +0000 Use precise scrolling values Since SDL 2.0.18, the amount scrolled horizontally or vertically is exposed as a float (between 0 and 1). Forward a precise value to the Android device when possible. Refs <https://wiki.libsdl.org/SDL_MouseWheelEvent> Fixes #3363 <https://github.com/Genymobile/scrcpy/issues/3363> PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 1f138aef41de651668043b32c4effc2d4adbfc44 Author: Romain Vimont <rom@rom1v.com> Date: Wed Aug 3 13:04:15 2022 +0200 Add conversion from float to fixed-point i16 To encode float values between -1 and 1. PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369> commit 1ab6c19486b43c55a14c0a309f34cd081bfab85d Author: Romain Vimont <rom@rom1v.com> Date: Wed Aug 3 15:23:39 2022 +0200 Add unit test for float encoding PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369> commit fd3483c83730a0a59f7b731e9cceabacb759ab20 Author: Romain Vimont <rom@rom1v.com> Date: Wed Aug 3 15:17:44 2022 +0200 Extract conversion from float to u16 fixed-point PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369> commit 041cdf6cf5a5afa0d7794c89c5e477c67b31af24 Author: Romain Vimont <rom@rom1v.com> Date: Wed Aug 3 15:13:16 2022 +0200 Rename buffer_util.h to binary.h It will allow to expose more binary util functions not related to buffers. PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369> commit 136ab8c19902e1b41915dabb23e36945e5b6e394 Author: Romain Vimont <rom@rom1v.com> Date: Wed Aug 3 14:55:35 2022 +0200 Add unit test for float decoding PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369> commit 3848ce86f118496467ebd91b40dbf571e2a29e24 Author: Romain Vimont <rom@rom1v.com> Date: Sun Jul 24 16:00:26 2022 +0200 Extract conversion from u16 fixed-point to float PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369> commit 5b8e9aa0e95dd5e4aa234dfcbd0445005d197bf0 Author: Romain Vimont <rom@rom1v.com> Date: Wed Aug 3 14:51:07 2022 +0200 Move toUnsigned() to a Binary util class PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369> commit 3a66b5fd01f23ea24c1c540267fdd86a68a958a8 Author: Romain Vimont <rom@rom1v.com> Date: Wed Aug 17 00:15:25 2022 +0200 Remove deprecated meson.source_root() This method is deprecated since Meson 0.56.0: <https://mesonbuild.com/Release-notes-for-0-56-0.html#mesonbuild_root-and-mesonsource_root-are-deprecated> We could replace it with meson.project_source_root(), but this would make Meson 0.56 or above mandatory. Since the path in always computed from the server/ directory, just add '..' to reference the root project directory. Refs c456e3826470753bdaefcffc93e9ae1bf25b12f7 commit 72ba913324d65cded8672dca7a57415cb82da095 Author: Romain Vimont <rom@rom1v.com> Date: Sat Jul 23 16:10:48 2022 +0200 Move README and FAQ translations to the wiki This lowers the barrier to contribute to translations, and frees up my maintenance time used to review and merge translations and their updates in many languages. commit 77ebe786ea18ed0a049107231668bb48c5f32d01 Author: Romain Vimont <rom@rom1v.com> Date: Sun Aug 21 13:51:12 2022 +0200 Fix FAQ formatting commit 9c1722f42846859866d26823a8f6cf07495ab803 Author: Derek Wu <wuderek@google.com> Date: Tue Aug 16 23:52:08 2022 +0200 Use DisplayManagerGlobal instance Use the client instance to communicate with the DisplayManager server. Fixes #3446 <https://github.com/Genymobile/scrcpy/issues/3446> Signed-off-by: Romain Vimont <rom@rom1v.com> commit d19606eb0cd51b532177f80d3a9bc6619be304de Author: Romain Vimont <rom@rom1v.com> Date: Wed Aug 17 16:38:59 2022 +0200 Rename net_listen() parameter For consistency with net_accept(), which necessarily uses a server socket, name the net_listen() parameter "server_socket". commit d23b3e88a4010716a50502da03c8326c2d0a1e81 Author: Romain Vimont <rom@rom1v.com> Date: Tue Jul 26 12:31:31 2022 +0200 Replace '%g' by '%f' as printf format For some reason, '%g' does not work correctly with MinGW. Refs #3369 <https://github.com/Genymobile/scrcpy/pull/3369> PR #3399 <https://github.com/Genymobile/scrcpy/pull/3399> commit ced5c9984be1b6dd1b8b93ac4da7bc4efac57174 Author: yangfl <yangfl@users.noreply.github.com> Date: Sat Jul 16 17:50:35 2022 +0800 debian: update to 1.24 commit 774b517ae2210369ddee059ac6190a5992ab3cd9 Merge: ab5d09e ef13d39 Author: yangfl <yangfl@users.noreply.github.com> Date: Sat Jul 16 17:47:34 2022 +0800 Merge tag 'v1.24' scrcpy v1.24 Changes since v1.23: - Adapt input injection for Android 13 (#3186, #3190) - Add --no-power-on (#3148, #3210) - Read $ANDROID_SERIAL if no selector is specified (#3111, #3113) - Consider emulators as TCP/IP devices (-e) (#3137) - Apply requested window size in OTG mode (#3099, #3219) - Add specific exit code for device disconnection (#3083, #3085) - Enable libusb support for Windows 32-bit releases (#3204, #3206) - Upgrade libusb to 1.0.26 in Windows releases (#3206) - Upgrade platform-tools to 33.0.1 (adb) in Windows releases (#3206) - Upgrade SDL to 2.0.22 in Windows releases - Upgrade FFmpeg to 5.0.1 in Windows 64-bit releases - Improve some error messages - Various technical fixes commit ed84e18b1ae3e51d368f8c7bc88ba4db088e6855 Author: Romain Vimont <rom@rom1v.com> Date: Fri Jun 17 08:39:40 2022 +0200 Document envvars for all platforms Document how to set environment variables from the terminal for bash, cmd and PowerShell. commit a83c3e30f3afbe1e0008dc50f769bb06fcdf0a87 Author: Romain Vimont <rom@rom1v.com> Date: Fri Jun 17 08:36:58 2022 +0200 Fix environment variable configuration in FAQ In bash, the variable is set using "export". commit faf4535487926853250ebe842c76a40e7b5f8ceb Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 21:25:40 2022 +0200 Reduce SHA-256 size in README and BUILD This avoids breaking the page layout on GitHub. commit 3a99e129e628911dde73f486aece1ca3ebe06ead Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 21:03:03 2022 +0200 Update links to v1.24 commit ef13d394fd83a2c534d86f2dbc188f4324a6ee34 Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 20:09:48 2022 +0200 Bump version to 1.24 commit 0049893e10b98a8cd1bca7b0d022d64d40ff7f3f Merge: 2f038c8 a90dfb4 Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 20:46:19 2022 +0200 Merge branch 'master' into dev commit 2f038c834a5f891d20095ed1fe7c44a05d6760e0 Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 20:41:51 2022 +0200 Revert "Make OTG window resizable" On Windows and macOS, resizing blocks the event loop. Handling it properly would require the same workaround as done in screen.c. This reverts commit 436b368f9df4469274502f29626586b48db44a0c. commit 76b3fcf9863ce42de4057b583f9261104c78cda1 Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 20:40:20 2022 +0200 Fix inverted check SDL_RenderSetLogicalSize() returns 0 on success. Refs fc8942aa03dd18b20d6b2e450b13ba56d2c3489e commit 05d84084efb07d07673123427c31331ca0de4f2c Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 20:18:13 2022 +0200 Fix release script for platform-tools 33.0.1 These paths were not updated by commit b8d78743f7fbe7aefed957f41e68efc4791573ba. commit 471a360099f73d6a3fa3ea5abb7d5b8f59b23415 Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 19:50:07 2022 +0200 Use quotes for commands in documentation commit 349dcd8e7b501d39ab2b854378a1974e38f3dac2 Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 19:49:34 2022 +0200 Update installed files list in BUILD documentation commit f9e3275d4e77394e19ac789ea46e16a244ec4dfe Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 19:32:14 2022 +0200 Upgrade FFmpeg (5.0.1) for Windows 64-bit Use the latest version of FFmpeg in Windows 64-bit releases. commit 91706ae3d079abafa009c574845ddb12377588aa Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 19:23:59 2022 +0200 Upgrade SDL (2.0.22) for Windows Include the latest version of SDL in Windows releases. commit 854a56e58893da352410d6e01708704f550fd6e4 Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 19:12:37 2022 +0200 Enable linear filtering in OTG mode This improves the icon quality with non-standard window size. PR #3219 <https://github.com/Genymobile/scrcpy/pull/3219> commit 436b368f9df4469274502f29626586b48db44a0c Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 19:11:42 2022 +0200 Make OTG window resizable PR #3219 <https://github.com/Genymobile/scrcpy/pull/3219> commit fc8942aa03dd18b20d6b2e450b13ba56d2c3489e Author: Romain Vimont <rom@rom1v.com> Date: Mon Apr 25 18:44:42 2022 +0200 Apply requested window size in OTG mode Fixes #3099 <https://github.com/Genymobile/scrcpy/issues/3099> PR #3219 <https://github.com/Genymobile/scrcpy/pull/3219> commit c6d97111097514cdf333689900abafd57ad354ec Author: Romain Vimont <rom@rom1v.com> Date: Thu Apr 28 19:10:45 2022 +0200 Create OTG window with HIGHDPI flag This will avoid poor quality with HiDPI displays. PR #3219 <https://github.com/Genymobile/scrcpy/pull/3219> commit 0fca2ad830dbcc24a9a38b974d922359be40b0d2 Author: Romain Vimont <rom@rom1v.com> Date: Sat Apr 23 15:08:30 2022 +0200 Add option to not power on on start By default, on start, the device is powered on. To prevent this behavior, add a new option --no-power-on. Fixes #3148 <https://github.com/Genymobile/scrcpy/issues/3148> PR #3210 <https://github.com/Genymobile/scrcpy/pull/3210> commit 326897a0d4ab3ea0cf741cd87f01d2703db38374 Author: Romain Vimont <rom@rom1v.com> Date: Mon Apr 25 18:33:08 2022 +0200 Add missing mouse shortcuts in --help Document 4th-click and 5th-click shortcuts. Fixes #3122 <https://github.com/Genymobile/scrcpy/issues/3122> commit a90dfb46bc2266f93eae5585f84b6a9265dd05c2 Author: Sean Wei <me@sean.taipei> Date: Mon Apr 25 16:39:15 2022 +0800 Fix GitHub case in BUILD Replace "Github" with "GitHub". PR #3218 <https://github.com/Genymobile/scrcpy/pull/3218> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 85512b14670db9b41606ec9841b8755a86633536 Author: Sean Wei <me@sean.taipei> Date: Mon Apr 25 16:39:12 2022 +0800 Fix typo in German README Replace "Wifi" with "Wi-Fi", as in English and other translations. PR #3217 <https://github.com/Genymobile/scrcpy/pull/3217> Signed-off-by: Romain Vimont <rom@rom1v.com> commit c05981587f1a322c9d7c16f5ec6e9392f7e98849 Author: Sean Wei <me@sean.taipei> Date: Mon Apr 25 16:37:03 2022 +0800 Fix typos in Indonesian README Fix `code` blocks. PR #3216 <https://github.com/Genymobile/scrcpy/pull/3216> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 4db97531e887ef3455548ce09dd6cbff54b630ed Author: Romain Vimont <rom@rom1v.com> Date: Fri Apr 22 13:33:50 2022 +0200 Upgrade libusb (1.0.26) for Windows Upgrade and enable libusb support for Windows 32-bit builds. Refs #3011 <https://github.com/Genymobile/scrcpy/pull/3011> Fixes #3204 <https://github.com/Genymobile/scrcpy/issues/3204> PR #3206 <https://github.com/Genymobile/scrcpy/pull/3206> commit b8d78743f7fbe7aefed957f41e68efc4791573ba Author: Romain Vimont <rom@rom1v.com> Date: Fri Apr 22 13:29:04 2022 +0200 Upgrade platform-tools (33.0.1) for Windows PR #3206 <https://github.com/Genymobile/scrcpy/pull/3206> commit 6a4a4a283d4b79f41cf46fc6eb314af4b36cc1a5 Author: Romain Vimont <rom@rom1v.com> Date: Sat Apr 16 09:28:24 2022 +0200 Remove obsolete alternative injection method The previous commit replaced the IInterface instance (the "input" service) by the InputManager instance (retrieved by InputManager.getInstance()). Both define an "injectInputEvent" method, but the alternate version (probably) does not concern the InputManager. This reverts commit b7a06278fee0dbfbb18b651ad563d9fb0797c8bc. PR #3190 <https://github.com/Genymobile/scrcpy/pull/3190> commit 7d8b72d4a644baf0b8ced72c2313605ad0a32a12 Author: Romain Vimont <rom@rom1v.com> Date: Fri Apr 15 15:51:01 2022 +0200 Adapt event injection to Android 13 Using the "input" service results in a permission error in Android 13. Use the InputManager instance (retrieved by InputManager.getInstance()) instead. Fixes #3186 <https://github.com/Genymobile/scrcpy/issues/3186> PR #3190 <https://github.com/Genymobile/scrcpy/pull/3190> commit 3c8ebf9abd4410fd46485db43035e35b3780e8d4 Author: Gitoffthelawn <Gitoffthelawn@users.noreply.github.com> Date: Sun Apr 10 08:45:34 2022 -0700 Improve README Improve clarity, grammar, consistency, punctuation, and formatting. PR #3177 <https://github.com/Genymobile/scrcpy/pull/3177> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 53b1e16f420d818071840889da52d6ac63b14b4d Author: John Veness <john.veness.github@pelago.org.uk> Date: Sat Apr 9 15:45:28 2022 +0100 Fix typos/grammar issues in README PR #3174 <https://github.com/Genymobile/scrcpy/pull/3174> Signed-off-by: Romain Vimont <rom@rom1v.com> commit fc65c6cc4baced6d9758ee54d9fdab57966d09b8 Author: Alessandro Sarretta <alessandro.sarretta@gmail.com> Date: Sat Mar 26 06:17:26 2022 +0100 Update README.it.md to v1.23 PR #3151 <https://github.com/Genymobile/scrcpy/pull/3151> Signed-off-by: Romain Vimont <rom@rom1v.com> commit fa5b2a29e983a46b49531def9cf3d80c40c3de37 Author: Romain Vimont <rom@rom1v.com> Date: Tue Apr 12 23:59:01 2022 +0200 Add missing SC_ prefix to header guards commit 0c94887075b4c84532b71cbdbad4f0121ab94099 Author: Romain Vimont <rom@rom1v.com> Date: Tue Apr 12 23:51:05 2022 +0200 Add missing include Refs c3d45c8397b7886d9071ccd69f04e2c9245fb8e7 commit 7b7cfc3a3e463e83067da2669b401338a9826953 Author: e1e0 <91560320+e1e0@users.noreply.github.com> Date: Fri Feb 25 22:29:38 2022 +0000 Fix reference to FAQ in README PR #3065 <https://github.com/Genymobile/scrcpy/pull/3065> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 88543cb5453f74ac611759ff483b6a413f367e1b Author: Romain Vimont <rom@rom1v.com> Date: Wed Mar 30 14:00:05 2022 +0200 Fix icon path in ./run The data/ directory has been moved to app/data/. Refs 36c75e15b8e9eeb01bd287a42fa3f1513a728ebb commit aaf3869a544d6700032f0a834e047737f18fb145 Author: Romain Vimont <rom@rom1v.com> Date: Wed Mar 30 11:57:47 2022 +0200 Fix OpenGL ES prefix skip commit 2edc73e4b80d35acc594adef2d35d99e743befed Author: IskandarMa <epiciskandar@gmail.com> Date: Fri Mar 18 11:53:26 2022 +0800 Improve README.zh-Hans.md Fix misleading zoom instruction, which gave opposite action steps. PR #3126 <https://github.com/Genymobile/scrcpy/pull/3126> Signed-off-by: Romain Vimont <rom@rom1v.com> commit c3d45c8397b7886d9071ccd69f04e2c9245fb8e7 Author: Romain Vimont <rom@rom1v.com> Date: Tue Mar 22 21:07:31 2022 +0100 Consider emulators as TCP/IP devices Emulators were wrongly considered as USB devices, so they were selected using -d instead of -e (which was inconsistent with the adb behavior). Refs #3005 <https://github.com/Genymobile/scrcpy/issues/3005> Refs #3137 <https://github.com/Genymobile/scrcpy/issues/3137> commit e56f2ac7a9a3c6bbe8ea3d311e2054f5c1fa1c0d Author: Romain Vimont <rom@rom1v.com> Date: Sun Mar 20 14:56:52 2022 +0100 Log an error on unexpected device state Refs #3129 <https://github.com/Genymobile/scrcpy/issues/3129> commit 4ce7af42c635a6e9edd7c67902718d3a2c7f45fd Author: Romain Vimont <rom@rom1v.com> Date: Mon Mar 14 12:29:33 2022 +0100 Use $ANDROID_SERIAL if no selector is specified Like adb, read the ANDROID_SERIAL environment variable to select a device by serial if no explicit selection (-s, -d, -e or --tcpip=<addr>) is provided via the command line. Fixes #3111 <https://github.com/Genymobile/scrcpy/issues/3111> PR #3113 <https://github.com/Genymobile/scrcpy/pull/3113> commit b1dbc30072bdf4171f7d73532607ca329003094c Author: Romain Vimont <rom@rom1v.com> Date: Thu Mar 10 09:11:50 2022 +0100 Document exit status in --help Refs #3085 <https://github.com/Genymobile/scrcpy/pull/3085> commit ab5d09e733bb9635b4410693ceff95dbc859dd4c Author: yangfl <yangfl@users.noreply.github.com> Date: Wed Mar 9 16:38:13 2022 +0800 debian: update to 1.23 commit 8cad4322e5a51bfd26c81ceeacda193fdd0fb2f1 Merge: 57d3078 7deccef Author: yangfl <yangfl@users.noreply.github.com> Date: Wed Mar 9 16:36:43 2022 +0800 Merge tag 'v1.23' scrcpy v1.23 Changes since v1.22: - Add HID/OTG support for Windows (--otg only) (#2773, #3011) - Add HID/OTG support for macOS (#2774, #3031) - Improve device selection (list devices, -d, -e) (#3005) - Downscale and retry on MediaCodec error in more cases (#2990, #3043) - Add ZSH completion script (#3012) - Add Bash completion script (#2930, #3048) - Add --no-cleanup option (#1764, #3020) - Add --printf-fps (#468, #3030) - Print both compiled and linked version of libs on --version - Fix FPS counter (broken in v1.22) - Various technical refactors and fixes commit b3f5dfe1de03ff8e19225aee08dcbd62d6089d56 Author: martin f. krafft <madduck@madduck.net> Date: Sat Mar 5 15:47:58 2022 +0100 Add specific exit code for device disconnection Modify the return logic such that exit code 1 is used when the initial connection fails, but if a session is established, and then the device disconnects, exit code 2 is emitted. Fixes #3083 <https://github.com/Genymobile/scrcpy/issues/3083> PR #3085 <https://github.com/Genymobile/scrcpy/pull/3085> Signed-off-by: martin f. krafft <madduck@madduck.net> Signed-off-by: Romain Vimont <rom@rom1v.com> commit 1f4c801f3c4b2b46d001f705abb921c3f3c8a212 Author: Romain Vimont <rom@rom1v.com> Date: Sun Mar 6 22:02:46 2022 +0100 Report server connection state We must distinguish 3 cases for await_for_server(): - an error occurred - no error occurred, the device is connected - no error occurred, the device is not connected (user requested to quit) For this purpose, use an additional output parameter to indicate if the device is connected (only set when no error occurs). Refs #3085 <https://github.com/Genymobile/scrcpy/pull/3085> commit 8d91cda4f61b710caee719609ed9a8c043cb41c8 Author: Romain Vimont <rom@rom1v.com> Date: Thu Feb 24 23:27:39 2022 +0100 Improve HID event push error message On HID event push failure, add the event type in the error message. commit 59656fe649d8fd46062fd130e41921b53d517bca Author: Romain Vimont <rom@rom1v.com> Date: Thu Feb 24 23:26:12 2022 +0100 Fix typo in error message commit e4bb2b8728168aebb942bfdeabbba30a29f6b405 Author: Romain Vimont <rom@rom1v.com> Date: Thu Feb 24 23:25:02 2022 +0100 Add libusb error log Log libusb_get_string_descriptor_ascii() errors. Refs #3050 <https://github.com/Genymobile/scrcpy/issues/3050>
Among the 1 debian patch available in version 1.25-1.1 of the package, we noticed the following issues: