Eugen Pechanec
8be9ce0aae
Merge d535bc980d
into c00a9ead5e
2022-11-17 21:55:17 +03:00
Romain Vimont
c00a9ead5e
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 f76fe2c0d4
2022-11-17 09:27:05 +01:00
Romain Vimont
72ba913324
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.
2022-08-28 15:13:03 +02:00
Romain Vimont
77ebe786ea
Fix FAQ formatting
2022-08-21 13:52:51 +02:00
Eugen Pechanec
d535bc980d
Override ANDROID_DATA in server
...
We need a path that is writable by shell on Android 4.
https://github.com/Genymobile/scrcpy/issues/98#issuecomment-379046536
2022-06-27 17:09:42 +02:00
Eugen Pechanec
a82a1d837e
Replace shadowed android.system with custom androidx.system package
...
So that we don't shadow framework classes in our binary.
Update buffer position in OsCompat.write (fixed in Lollipop MR1).
Synthesize InterruptedIOException in Kitkat like in Lollipop.
OsCompat never throws EINTR errno.
2022-06-27 17:06:18 +02:00
Eugen Pechanec
c57ff1dc2a
Add ScreenEncoder.MIMETYPE_VIDEO_AVC to shut up lint on API 19
2022-06-27 17:06:18 +02:00
Eugen Pechanec
ed37ff8edf
Manually set javac encoding in build_without_gradle.sh
...
This fixes javac call for Windows.
2022-06-27 17:06:18 +02:00
Eugen Pechanec
042af5ca49
Extract MediaCodecListCompat.getEncoderInfosForType
2022-06-27 17:06:17 +02:00
Eugen Pechanec
953ba1021f
Extract MediaCodecListCompat from ScreenEncoder
2022-06-25 15:43:11 +02:00
Eugen Pechanec
48cdbb23a9
Extract MediaCodecCompat from ScreenEncoder
2022-06-25 15:43:10 +02:00
Eugen Pechanec
2460552bb8
Re-implement subset of android.system package for API 19
2022-06-25 15:38:39 +02:00
Eugen Pechanec
400fa6037e
Use prebuilt AndroidX annotations useful during development
...
Don't manage an external dependency,
we still need to be able to build without gradle.
2022-06-25 15:38:17 +02:00
Romain Vimont
02b72e6653
Support Android API 19
...
Since "adb forward" fallback has been implemented, it is easy to support
API 19.
Replace the incompatible calls related to MediaCodec to use
minSdkVersion 19 instead of 21.
2022-06-20 01:59:13 +02:00
Romain Vimont
ed84e18b1a
Document envvars for all platforms
...
Document how to set environment variables from the terminal for bash,
cmd and PowerShell.
2022-06-17 08:44:17 +02:00
Romain Vimont
a83c3e30f3
Fix environment variable configuration in FAQ
...
In bash, the variable is set using "export".
2022-06-17 08:36:58 +02:00
Romain Vimont
faf4535487
Reduce SHA-256 size in README and BUILD
...
This avoids breaking the page layout on GitHub.
2022-04-28 21:34:56 +02:00
Romain Vimont
3a99e129e6
Update links to v1.24
2022-04-28 21:03:03 +02:00
Romain Vimont
ef13d394fd
Bump version to 1.24
2022-04-28 20:46:28 +02:00
Romain Vimont
0049893e10
Merge branch 'master' into dev
2022-04-28 20:46:19 +02:00
Romain Vimont
2f038c834a
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 436b368f9d
.
2022-04-28 20:45:46 +02:00
Romain Vimont
76b3fcf986
Fix inverted check
...
SDL_RenderSetLogicalSize() returns 0 on success.
Refs fc8942aa03
2022-04-28 20:45:46 +02:00
Romain Vimont
05d84084ef
Fix release script for platform-tools 33.0.1
...
These paths were not updated by commit
b8d78743f7
.
2022-04-28 20:45:38 +02:00
Romain Vimont
471a360099
Use quotes for commands in documentation
2022-04-28 19:50:35 +02:00
Romain Vimont
349dcd8e7b
Update installed files list in BUILD documentation
2022-04-28 19:49:34 +02:00
Romain Vimont
f9e3275d4e
Upgrade FFmpeg (5.0.1) for Windows 64-bit
...
Use the latest version of FFmpeg in Windows 64-bit releases.
2022-04-28 19:32:14 +02:00
Romain Vimont
91706ae3d0
Upgrade SDL (2.0.22) for Windows
...
Include the latest version of SDL in Windows releases.
2022-04-28 19:23:59 +02:00
Romain Vimont
854a56e588
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 >
2022-04-28 19:18:16 +02:00
Romain Vimont
436b368f9d
Make OTG window resizable
...
PR #3219 <https://github.com/Genymobile/scrcpy/pull/3219 >
2022-04-28 19:18:12 +02:00
Romain Vimont
fc8942aa03
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 >
2022-04-28 19:18:09 +02:00
Romain Vimont
c6d9711109
Create OTG window with HIGHDPI flag
...
This will avoid poor quality with HiDPI displays.
PR #3219 <https://github.com/Genymobile/scrcpy/pull/3219 >
2022-04-28 19:17:49 +02:00
Romain Vimont
0fca2ad830
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 >
2022-04-28 19:12:52 +02:00
Romain Vimont
326897a0d4
Add missing mouse shortcuts in --help
...
Document 4th-click and 5th-click shortcuts.
Fixes #3122 <https://github.com/Genymobile/scrcpy/issues/3122 >
2022-04-25 18:35:06 +02:00
Sean Wei
a90dfb46bc
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>
2022-04-25 18:25:59 +02:00
Sean Wei
85512b1467
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>
2022-04-25 18:25:59 +02:00
Sean Wei
c05981587f
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>
2022-04-25 18:25:47 +02:00
Romain Vimont
4db97531e8
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 >
2022-04-22 13:34:58 +02:00
Romain Vimont
b8d78743f7
Upgrade platform-tools (33.0.1) for Windows
...
PR #3206 <https://github.com/Genymobile/scrcpy/pull/3206 >
2022-04-22 13:34:11 +02:00
Romain Vimont
6a4a4a283d
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 b7a06278fe
.
PR #3190 <https://github.com/Genymobile/scrcpy/pull/3190 >
2022-04-22 09:52:41 +02:00
Romain Vimont
7d8b72d4a6
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 >
2022-04-22 09:52:41 +02:00
Gitoffthelawn
3c8ebf9abd
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>
2022-04-16 10:03:52 +02:00
John Veness
53b1e16f42
Fix typos/grammar issues in README
...
PR #3174 <https://github.com/Genymobile/scrcpy/pull/3174 >
Signed-off-by: Romain Vimont <rom@rom1v.com>
2022-04-14 10:18:45 +02:00
Alessandro Sarretta
fc65c6cc4b
Update README.it.md to v1.23
...
PR #3151 <https://github.com/Genymobile/scrcpy/pull/3151 >
Signed-off-by: Romain Vimont <rom@rom1v.com>
2022-04-14 10:11:03 +02:00
Romain Vimont
fa5b2a29e9
Add missing SC_ prefix to header guards
2022-04-12 23:59:01 +02:00
Romain Vimont
0c94887075
Add missing include
...
Refs c3d45c8397
2022-04-12 23:51:05 +02:00
e1e0
7b7cfc3a3e
Fix reference to FAQ in README
...
PR #3065 <https://github.com/Genymobile/scrcpy/pull/3065 >
Signed-off-by: Romain Vimont <rom@rom1v.com>
2022-04-10 13:57:44 +02:00
Romain Vimont
88543cb545
Fix icon path in ./run
...
The data/ directory has been moved to app/data/.
Refs 36c75e15b8
2022-03-30 14:00:05 +02:00
Romain Vimont
aaf3869a54
Fix OpenGL ES prefix skip
2022-03-30 12:01:01 +02:00
IskandarMa
2edc73e4b8
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>
2022-03-25 08:38:58 +01:00
Romain Vimont
c3d45c8397
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 >
2022-03-22 21:08:08 +01:00