Adonis Najimi
d018277fef
support upgrades for adb install
2018-05-14 21:33:50 +02:00
Adonis Najimi
bf0b91c444
fix destroy_apk_queue as we're currently on the stak
2018-05-04 09:31:18 +02:00
Adonis Najimi
61f564769c
safe string copy
2018-05-04 09:11:47 +02:00
Adonis Najimi
43cbb9e786
try to terminate adb install command properly
2018-05-04 08:44:25 +02:00
Adonis Najimi
ec95645950
init installer only when it's used
2018-05-03 23:09:36 +02:00
Adonis Najimi
3722c4ddfc
fix installer free
2018-05-03 21:02:01 +02:00
Adonis Najimi
d4f1de504f
installer queue works
2018-05-03 08:46:44 +02:00
Adonis Najimi
6cbb2076fe
update meson file to add apkinstaller
2018-05-01 13:32:17 +02:00
Adonis Najimi
243a02580c
apkinstaller integration into scrcpy
2018-05-01 13:25:24 +02:00
Adonis Najimi
0f9f3a3a12
change free to SDL_free and log msg
2018-05-01 13:23:12 +02:00
Adonis Najimi
716ca9761e
no need for the remote path
2018-05-01 13:20:49 +02:00
Adonis Najimi
30b03bfef5
no need for server.h
2018-05-01 00:41:09 +02:00
Adonis Najimi
dde22baeb2
wip: add apk installer
2018-05-01 00:36:50 +02:00
Adonis Najimi
dc68d994d0
just don't wait for the end of cmd process
2018-04-30 19:53:09 +02:00
Adonis Najimi
efc75e8b45
drag and drop to install apk files from computer
2018-04-29 00:17:34 +02:00
Romain Vimont
9aa88b6fc3
Map numpad ENTER key
...
Forward numpad ENTER key to the device.
Fixes <https://github.com/Genymobile/scrcpy/issues/117 >.
2018-04-08 12:40:05 +02:00
Romain Vimont
f8ad7df3be
Add FAQ section about KWin crash
...
Link to the workaround to keep the compositor enabled while _scrcpy_ is
running.
2018-04-05 02:03:26 +02:00
Romain Vimont
0871bca9c7
Avoid pointer arithmetic on "void *"
...
Fix the following warning (with -Wpedantic enabled):
pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
2018-04-04 10:50:12 +02:00
Romain Vimont
b2b5404883
Use const pointers when possible
...
Sending data only require to read the input buffer, so declare it const.
2018-04-04 10:50:07 +02:00
Romain Vimont
6323f3974f
Document 32 bits packages Windows in README
...
To build for Windows 32 bits, use the i686 packages instead.
2018-03-31 11:07:25 +02:00
Romain Vimont
16a3de1796
Make checkstyle happy
...
Reorder the imports to remove checkstyle warnings.
2018-03-28 22:05:34 +02:00
Romain Vimont
6161f7688c
Install on macOS via Homebrew in README
...
The application is now packaged for Homebrew:
<https://github.com/Homebrew/homebrew-core/pull/25173 >
Give instructions to install it from Homebrew for macOS (it's much
easier).
Thanks to @stek29 for the formula ;-)
2018-03-28 14:14:56 +02:00
Romain Vimont
2a02fb3611
Document how to make a portable build on Windows
...
On MSYS2, ./gradlew does not work as expected, so use its absolute path.
2018-03-28 11:08:01 +02:00
Romain Vimont
82efff34e8
Factorize texture creation
...
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().
2018-03-27 11:01:40 +02:00
Romain Vimont
860006e082
Forward double-click events
...
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 >.
2018-03-26 14:49:10 +02:00
Romain Vimont
8b84492830
Merge branch 'stek29/macos' ( #56 )
...
macOS specific README changes
2018-03-25 14:31:02 +02:00
Viktor Oreshkin
4d50832f8e
Add instructions to install Java 8 on macOS
...
And remove gcc from the packages list, clang is available by default.
2018-03-25 14:29:22 +02:00
Romain Vimont
e0e8dfeb3b
Merge pull request #94 from pierlon/pierlon-patch-1
...
Add instructions to run via Docker
2018-03-25 14:12:29 +02:00
Romain Vimont
f4d6449af7
Merge pull request #95 from Sea-n/patch-1
...
Update README.md
2018-03-25 14:00:20 +02:00
Sean
64963fff62
Update README.md
...
Fix Typo
2018-03-25 17:51:29 +08:00
Pierre Gordon
b7d9b8739c
Add instructions to run via Docker
2018-03-24 23:15:14 -05:00
Romain Vimont
88f6b43c8f
Merge pull request #93 from CampbellOwen/patch-1
...
Add links to FFmpeg and LibSDL2 dependencies
2018-03-24 09:26:12 +01:00
Owen Campbell
324a264233
Change links to wikipedia
2018-03-24 01:09:41 -07:00
Owen Campbell
3bb2cda955
Add links to FFmpeg and LibSDL2 dependencies
2018-03-24 00:55:05 -07:00
Romain Vimont
35298bb0c6
Process the last video frame
...
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).
2018-03-23 14:01:58 +01:00
Romain Vimont
73c332e3e4
Unref last packet on exit
2018-03-23 13:57:32 +01:00
Romain Vimont
15014f2689
Clarify adb requirements
...
Since _scrcpy_ also supports `adb forward`, remove the part about `adb
reverse`.
Make explicit that _adb_ is included in the prebuilt application for
Windows (many users manually download the platform-tools for no reason).
2018-03-23 10:55:52 +01:00
Romain Vimont
9cac38fe58
Describe workaround to get output on Windows
...
Since nothing is printed to the console, we need a way to get the output
in case of errors.
Describe how in the README.
2018-03-23 09:57:45 +01:00
Romain Vimont
f00c6c5b13
Disable custom SDL signal handlers
...
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 9b056f5091
anymore.
2018-03-21 21:43:12 +01:00
Romain Vimont
3b3803da0d
Remove useless blocks in switch/case
...
Remove unnecessary additional blocks.
2018-03-21 11:14:15 +01:00
Romain Vimont
f5cf6c1b2c
Include source root directory
...
All headers and sources are in src/. To avoid using relative includes
from subdirectories ("../../"), include the source root directory.
2018-03-20 21:32:41 +01:00
Romain Vimont
2573df9727
Document the step to clone the project
...
This is not obvious to everyone, especially non-developers.
2018-03-18 12:10:06 +01:00
Romain Vimont
c65cb36d3b
Increase the number of connection attempts
...
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 >.
2018-03-16 14:59:08 +01:00
Romain Vimont
821ec9843c
Fix win32 build
...
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 >.
2018-03-16 08:58:59 +01:00
Romain Vimont
f16bd88802
Remove useless cast
...
For consistency with mouse button events handling, directly assign from
Sint32 to Uint16.
2018-03-15 16:30:51 +01:00
Romain Vimont
f3e8834a3c
Fix warning message
...
Mouse "wheel button" is meaningless :)
2018-03-15 16:14:40 +01:00
Romain Vimont
080df5eb5d
Fix switch/case code style
...
For readability and consistency, indent case statatements, and remove
unnecessary additional blocks.
2018-03-15 16:00:40 +01:00
Romain Vimont
047179f232
Add FAQ section about mouse clicks
...
On some devices, mouse clicks do not work by default. Enabling an option
is required.
2018-03-15 09:29:14 +01:00
Romain Vimont
2992dda497
Add link to the article for v1.1 in README
2018-03-14 18:03:34 +01:00
Romain Vimont
6406f64edc
Update FAQ after v1.1 release
...
Two issues described in the FAQ have been fixed by V1.1. Remove them
from the FAQ.
2018-03-14 09:56:36 +01:00