Frank Leon Rose
2415745e27
Remove portable=true build flag
...
On the Raspberry Pi, which is currently our only production deployment,
the default scrcpy_server path is correct.
When we get around to deploying scrcpy on a NUC, we can deploy the
server to the default path, regardless of where `snap` would have
installed it.
2021-04-12 18:45:32 +01:00
Frank Leon Rose
73bb807291
Build only app with no reference to server
2021-04-12 16:39:29 +00:00
Frank Leon Rose
faef67b7b7
Update to release branch of FFmpeg
2021-04-12 16:35:04 +01:00
Frank Leon Rose
5dde4d9534
Fix build mechanics and handle meson error
2021-04-12 16:34:21 +01:00
Frank Leon Rose
07c8abec02
Add mobot.mk Makefile to capture custom build steps
2021-04-09 18:00:46 -04:00
Frank Leon Rose
242744a7b2
Add "Software" metadata tag to PNG
2021-04-09 10:07:08 -04:00
Frank Leon Rose
2c139c187c
Merge branch 'master' of https://github.com/team-mobot/scrcpy
2021-04-08 15:27:41 -04:00
Frank Leon Rose
eaaa9b53cb
Merge pull request #2 from team-mobot/ENG-2301-add-png-screen-capture
...
ENG-2301 add png screen capture
2021-04-05 11:55:33 -04:00
Frank Leon Rose
5bda0527a9
Add "(with Mobot extensions)" to reported version
2021-04-05 16:39:16 +01:00
Frank Leon Rose
6fd343d7f9
Add note about better quality image scaling
2021-04-05 15:56:27 +01:00
Frank Leon Rose
0ddd0b366c
Fix log message to show source and dest sizes
2021-04-05 15:55:47 +01:00
Frank Leon Rose
48f1c6c2d6
Fix compiler warning
2021-04-05 15:55:14 +01:00
Jereme Corrado
d201863e0f
Merge branch 'master' into screen-capture
2021-03-31 15:08:15 -04:00
Jereme Corrado
9cf8dd1520
Merge remote-tracking branch 'upstream/master'
...
I backed out the patch in:
https://github.com/Genymobile/scrcpy/issues/680
Superseded by `--window-borderless` option now provided upstream.
2021-03-31 15:04:08 -04:00
Frank Leon Rose
094a06bb7c
Merge branch 'master' of github.com:Genymobile/scrcpy into screen-capture
2021-03-30 18:11:15 +01:00
Frank Leon Rose
233e32c978
Merge branch 'master' into screen-capture
2021-03-30 11:04:04 -04:00
Romain Vimont
47d16a57ac
Add simplified installation script
...
Add a script to download the server and build scrcpy using the
prebuilt server.
2021-03-29 09:33:39 +02:00
Ray Foss
fc5de88eaa
Clarify the order of operations in BUILD.md
...
PR #2223 <https://github.com/Genymobile/scrcpy/pull/2223 >
Signed-off-by: Romain Vimont <rom@rom1v.com>
2021-03-29 09:28:08 +02:00
Romain Vimont
fda293f9bb
Fix BUILD.md line wrapping
2021-03-29 09:11:40 +02:00
Romain Vimont
38f392f08f
Fix typo in BUILD.md
2021-03-29 08:39:02 +02:00
Romain Vimont
8414b688f0
Link release to main README in translations
...
This avoids to link an older version.
2021-03-28 21:36:00 +02:00
aruko-210
6a217b70f4
Add Japanese translation for README.md
...
PR #2195 <https://github.com/Genymobile/scrcpy/pull/2195 >
Signed-off-by: Romain Vimont <rom@rom1v.com>
2021-03-28 21:28:20 +02:00
Romain Vimont
3a4b10a38d
Improve --push-target example in README
...
A common use case for the --push-target option is to pass the device
Download directory.
2021-03-28 12:25:08 +02:00
Romain Vimont
1fb7957525
Fix typo in README
...
Refs <https://github.com/Genymobile/scrcpy/pull/2195#discussion_r595664697 >
2021-03-17 08:52:16 +01:00
Romain Vimont
19ad107f1f
Add "Get the app" summary section
...
Give quick instructions to download/install scrcpy.
2021-03-16 21:43:52 +01:00
Romain Vimont
dca11f6c51
Remove obsolete FAQ entry
...
Issue #15 had been fixed in v1.14 by
e40532a376
.
2021-03-06 14:28:06 +01:00
Romain Vimont
08baaf4b57
Mention adb debugging in FAQ
2021-03-04 15:19:00 +01:00
yangfl
1863ca7ad1
Remove unnecessary escape characters in manpage
...
PR #2123 <https://github.com/Genymobile/scrcpy/pull/2123 >
Signed-off-by: Romain Vimont <rom@rom1v.com>
2021-02-27 17:53:40 +01:00
Romain Vimont
7b51a0313e
Update another java version in BUILD.md
...
Commit f8524a2be7
updated one reference to
the openjdk package, but there was another one.
2021-02-27 00:27:58 +01:00
Romain Vimont
a2919b3ef2
Fix release instructions in BUILD.md
...
Makefile.CrossWindows have been renamed to release.mk, which is called
from release.sh.
2021-02-27 00:20:18 +01:00
Michael Richardson
f8524a2be7
Update java version in BUILD.md
...
PR #2064 <https://github.com/Genymobile/scrcpy/pull/2064 >
Signed-off-by: Romain Vimont <rom@rom1v.com>
2021-01-27 21:50:17 +01:00
Simon Chan
ce43fad645
Update README.zh-Hans to v1.17
...
PR #2029 <https://github.com/Genymobile/scrcpy/pull/2029 >
Reviewed-by: Win7GM
Signed-off-by: Romain Vimont <rom@rom1v.com>
2021-01-15 16:20:34 +01:00
Natan Junges
af516e33ee
Update README.pt-br to v1.17
...
PR #2034 <https://github.com/Genymobile/scrcpy/pull/2034 >
Reviewed-by: latreta <yves_henry13@hotmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
2021-01-15 10:17:11 +01:00
Romain Vimont
ed130e05d5
Fix possibly uninitialized value
...
Due to gotos, "ret" may be returned uninitialized.
2021-01-03 22:41:51 +01:00
clesiemo3
192fbd8450
Use --cask for latest versions of brew
...
PR #2004 <https://github.com/Genymobile/scrcpy/pull/2004 >
Signed-off-by: Romain Vimont <rom@rom1v.com>
2021-01-02 18:27:38 +01:00
Romain Vimont
c5c5fc18ae
Update links to v1.17 in README and BUILD
2021-01-02 01:26:23 +01:00
Romain Vimont
f682b87ba5
Bump version to 1.17
2021-01-02 00:53:32 +01:00
Romain Vimont
10b749e27d
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 >
2021-01-01 23:57:01 +01:00
Romain Vimont
05e8c1a3c5
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().
2021-01-01 23:57:01 +01:00
Romain Vimont
83910d3b9c
Initialize server struct dynamically
...
This will allow to add mutex/cond fields.
2021-01-01 17:40:52 +01:00
Romain Vimont
90f8356630
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 >
2021-01-01 17:32:34 +01:00
Romain Vimont
3ba51211d6
Mention how to add default arguments on Windows
...
Mention that it is possible to add default arguments by editing the
wrapper scripts.
2021-01-01 17:31:07 +01:00
Romain Vimont
ea3582d2c3
Merge branch 'master' into dev
2021-01-01 17:18:13 +01:00
Romain Vimont
112adbba87
Happy new year 2021!
2021-01-01 17:16:44 +01:00
Romain Vimont
d039a7a39a
Upgrade SDL (2.0.14) for Windows
...
Include the latest version of SDL in Windows releases.
2021-01-01 16:08:58 +01:00
Romain Vimont
6ab80e4ce8
Rename release.make to release.mk
...
It's more standard, and benefits from syntax coloration in vi.
2021-01-01 15:51:10 +01:00
Romain Vimont
230afd8966
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.
2020-12-22 18:52:05 +01:00
Romain Vimont
a46733906a
Replace noconsole binary by a wrapper script
...
This simplifies the build system.
Refs <https://github.com/Genymobile/scrcpy/issues/1975#issuecomment-745314161 >
2020-12-22 18:51:59 +01:00
Romain Vimont
431c9ee33b
Improve rotation documentation
2020-12-22 01:48:01 +01:00
Romain Vimont
43d3dcbd97
Document Windows command line usage
...
PR #1973 <https://github.com/Genymobile/scrcpy/pull/1973 >
Reviewed-by: Yu-Chen Lin <npes87184@gmail.com>
2020-12-22 01:44:55 +01:00