You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Romain Vimont
137d2c9791
Remove confusing sc_str_truncate()
...
This util function was error-prone:
- it accepted a buffer as parameter (not necessarily a NUL-terminated
string) and its length (including the NUL char, if any);
- it wrote '\0' over the last character of the buffer, so the last
character was lost if the buffer was not a NUL-terminated string, and
even worse, it caused undefined behavior if the length was empty;
- it returned the length of the resulting NUL-terminated string,
which was inconsistent with the input buffer length.
In addition, it was not necessarily optimal:
- it wrote '\0' twice;
- it required to know the buffer length, that is the input string
length + 1, in advance.
Remove this function, and let the client use strcspn() manually.
4 years ago
..
adb
Fix adb connect parsing
4 years ago
android
Fix typos
5 years ago
sys
Fix adb server hang
4 years ago
trait
Add relative mode flag to mouse processors
4 years ago
usb
Enable mouse focus clickthrough in OTG mode
4 years ago
util
Remove confusing sc_str_truncate()
4 years ago
cli.c
Add missing spaces in help
4 years ago
cli.h
Move scrcpy option structs to options.h
4 years ago
clock.c
Improve slope estimation on start
5 years ago
clock.h
Fix typo in clock comments
4 years ago
common.h
Add CLAMP() macro
4 years ago
compat.c
Add (v)asprintf compatibility functions
4 years ago
compat.h
Require SDL >= 2.0.5
4 years ago
control_msg.c
Use sc_ prefix for control_msg enums
4 years ago
control_msg.h
Use sc_ prefix for control_msg enums
4 years ago
controller.c
Use sc_ prefix for control_msg enums
4 years ago
controller.h
Use sc_ prefix for control_msg
4 years ago
coords.h
Use sc_ prefix for size, position and point
4 years ago
decoder.c
Use sc_ prefix for decoder
4 years ago
decoder.h
Use sc_ prefix for decoder
4 years ago
demuxer.c
Simplify demuxer
4 years ago
demuxer.h
Rename stream to sc_demuxer
4 years ago
device_msg.c
Add OutOfMemory log helper
4 years ago
device_msg.h
Add device clipboard set acknowledgement
4 years ago
events.h
Add OTG mode
4 years ago
file_pusher.c
Use sc_ prefix for adb
4 years ago
file_pusher.h
Move ADB code to adb/
4 years ago
fps_counter.c
Rename scrcpy threads
4 years ago
fps_counter.h
Wrap tick API
5 years ago
frame_buffer.c
Fix code style
4 years ago
frame_buffer.h
Extract current video_buffer to frame_buffer
5 years ago
icon.c
Fix build with ffmpeg 5.0
4 years ago
icon.h
Add icon loader
4 years ago
input_events.h
Move input event helpers
4 years ago
input_manager.c
Move input event helpers
4 years ago
input_manager.h
Remove redundant control boolean
4 years ago
keyboard_inject.c
Use sc_ prefix for control_msg enums
4 years ago
keyboard_inject.h
Use sc_ prefix for controller
4 years ago
main.c
Add OTG mode
4 years ago
mouse_inject.c
Use sc_ prefix for control_msg enums
4 years ago
mouse_inject.h
Use sc_ prefix for controller
4 years ago
opengl.c
Enable trilinear filtering for OpenGL
6 years ago
opengl.h
Define feature test macros in common.h
5 years ago
options.c
Add OTG mode
4 years ago
options.h
Add OTG mode
4 years ago
receiver.c
Rename scrcpy threads
4 years ago
receiver.h
Wait SET_CLIPBOARD ack before Ctrl+v via HID
4 years ago
recorder.c
Use sc_ prefix for recorder
4 years ago
recorder.h
Use sc_ prefix for recorder
4 years ago
scrcpy.c
Store actual serial in sc_server
4 years ago
scrcpy.h
Move scrcpy option structs to options.h
4 years ago
screen.c
Capture mouse on start for --hid-mouse
4 years ago
screen.h
Remove redundant control boolean
4 years ago
server.c
Store actual serial in sc_server
4 years ago
server.h
Store actual serial in sc_server
4 years ago
stream.h
Fix build with ffmpeg 5.0
4 years ago
v4l2_sink.c
Rename scrcpy threads
4 years ago
v4l2_sink.h
Fix build with ffmpeg 5.0
4 years ago
video_buffer.c
Rename scrcpy threads
4 years ago
video_buffer.h
Add buffering debugging tools
5 years ago