- 25 6月, 2018 3 次提交
-
-
由 Romain Vimont 提交于
Send repeated events when holding volume up/down shortcuts.
-
由 Romain Vimont 提交于
Shortcuts generated instant DOWN/UP key events. Instead, generate DOWN event on Ctrl+key down and UP event on Ctrl+key up. Fixes <https://github.com/Genymobile/scrcpy/issues/166>.
-
由 Romain Vimont 提交于
Replace "implying" by "involving" (both "impliquant" in French).
-
- 23 6月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
A missing initialization (fixed by the previous commit) leaded to kill unexpected process. In order to prevent consequences of similar errors in the future, never call kill() with a non-positive PID. See <https://github.com/Genymobile/scrcpy/issues/182>.
-
由 Romain Vimont 提交于
The current_process field of struct installer was not initialized. Since the installer instance is static, its default value was 0. The call to installer_stop() then called kill(0, SIGTERM) (on Linux), which sent SIGTERM to every process in the process group. In particular, the scrcpy process was killed. As a consequence, the last cleanup steps, like disabling "show touches", were not executed. Fixes <https://github.com/Genymobile/scrcpy/issues/183>.
-
- 06 6月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
Meson decided to crossbuild for Windows as soon as meson.is_cross_build() returned true. This made non-Windows crossbuilds fail. Instead, add an explicit option "crossbuild_windows". Fixes <https://github.com/Genymobile/scrcpy/issues/165>.
-
- 29 5月, 2018 9 次提交
-
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
On Windows, display the output of external commands (adb) when a console is available.
-
由 Romain Vimont 提交于
On Windows, an application is either console or gui, it cannot be both. Scrcpy should be both: it outputs important information to console, but we still want to be able to ignore the console and launch it without a visible cmd.exe window. Therefore, build two binaries: - scrcpy.exe - scrcpy-noconsole.exe
-
由 Romain Vimont 提交于
Build the Windows binary from mingw on Linux, using the official prebuilt binaries for ffmpeg, SDL2 and adb. MSYS2 and all its packaged dll are not necessary anymore.
-
由 Romain Vimont 提交于
Add the drag & drop shortcut for installing an APK file to the README and the help.
-
由 Romain Vimont 提交于
Windows will parse the string, so the local name must be quoted.
-
-
由 Romain Vimont 提交于
If len is not positive, w could be returned uninitialized.
-
由 Romain Vimont 提交于
In practice, proc_show_touches may not be used uninitialized, since it checks the flag options->show_touches, but the compiler can't know that, so initialize it to avoid the warning.
-
- 26 5月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
Once the controller took a control event, release the mutex before processing it, so that the main thread is not blocked to push a new event.
-
由 Romain Vimont 提交于
Fail on SDL_strdup() failure, and free the duplicated serial on further error.
-
- 13 5月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
Include string.h and stdio.h explicitly.
-
- 08 4月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
Forward numpad ENTER key to the device. Fixes <https://github.com/Genymobile/scrcpy/issues/117>.
-
- 04 4月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
Fix the following warning (with -Wpedantic enabled): pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
-
由 Romain Vimont 提交于
Sending data only require to read the input buffer, so declare it const.
-
- 03 4月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
I could not make Ctrl+'+' and Ctrl+'-' work for every keyboard on every platform. Instead, use Ctrl+UP and Ctrl+DOWN (like in VLC) to change the volume. Fixes <https://github.com/Genymobile/scrcpy/issues/103>.
-
- 27 3月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
SDL_CreateTexture() is called both during initialization and on frame size change. To avoid inconsistent changes to arguments value, factorize them to a single function create_texture().
-
- 26 3月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
Double-clicks were not sent to the device anymore since the "double-click on black borders" feature. When a double click occurs inside the device screen, send the event to the device normally. Fixes <https://github.com/Genymobile/scrcpy/issues/97>.
-
- 25 3月, 2018 4 次提交
-
-
由 Romain Vimont 提交于
Enabling "show touches" involves the execution of an adb command, which takes some time. In order to parallelize, execute the command as soon as possible, but reap the process only once everything is initialized.
-
由 Romain Vimont 提交于
If --show-touches is set, then the option must be disabled on quit. Since it executes an adb command, it takes some time, so close the window beforehand so that the close window button does not seem unresponsive.
-
由 Romain Vimont 提交于
Add -t/--show-touches option to show physical touches while scrcpy is running. See <https://github.com/Genymobile/scrcpy/issues/96>.
-
由 Romain Vimont 提交于
The scrcpy() function accepts as many parameters as there are options. To simplify, group all options in a separate struct.
-
- 23 3月, 2018 5 次提交
-
-
由 Romain Vimont 提交于
On H.264 stream EOF, the eof_reached flag is set, but av_read_frame() still provides a frame, so check the flag only afterwards. As a side-effect, it also fixes a memory leak (the very last packet was not unref).
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
Ctrl+s was mapped to MENU, while Ctrl+m was mapped to APP_SWITCH. To avoid confusion, swap the shortcuts: - Ctrl+m like _M_enu - Ctrl+s like _S_witch
-
由 Romain Vimont 提交于
The action sends AKEYCODE_MENU, so just name it "menu". See <https://github.com/Genymobile/scrcpy/pull/85>.
-
由 Andy Rich 提交于
-
- 22 3月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
Request SDL not to replace the SIGINT and SIGTERM handlers, so that the process is immediately terminated on Ctrl+C. This avoids process hanging on Ctrl+C during network calls on initialization. Some of them accepted a timeout, but it was not used since commit 9b056f50 anymore.
-
- 21 3月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
Remove unnecessary additional blocks.
-
由 Romain Vimont 提交于
All headers and sources are in src/. To avoid using relative includes from subdirectories ("../../"), include the source root directory.
-
- 16 3月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
In "adb forward" mode, it may take a while before the server socket is listening, so increase the number of connection attempts. See <https://github.com/Genymobile/scrcpy/issues/5#issuecomment-373718551>.
-
由 Romain Vimont 提交于
The types size_t and ssize_t are defined on Windows (in MSYS2), so there is no need to typedef SIZE_T and SSIZE_T. Exit code is "unsigned long" both on Windows 32 and 64 bits. See <https://github.com/Genymobile/scrcpy/issues/46#issuecomment-373603596>.
-
- 15 3月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
For consistency with mouse button events handling, directly assign from Sint32 to Uint16.
-
由 Romain Vimont 提交于
Mouse "wheel button" is meaningless :)
-