spice/server
Frediano Ziglio 587c04f79e Improve big endian support for agent messages
Big endian machines on server are not officially supported but won't
hurt.
Messages from client are always encoded as little endian (as all
SPICE protocol).
Convert fields from little endian to host endian on some places
where numbers are used and not just binary copied.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Uri Lublin <ulublin@redhat.com>
2020-10-25 20:01:54 +00:00
..
tests test-gst: Handle better errors from callback 2020-07-12 20:05:30 +01:00
.gitignore gitignore: Reuse top-level gitignore 2016-12-14 19:09:21 +00:00
agent-msg-filter.c Improve big endian support for agent messages 2020-10-25 20:01:54 +00:00
agent-msg-filter.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
cache-item.h cache-item: Move RedCachePipeItem declaration to common-graphics-channel.h 2020-06-23 13:24:06 +01:00
cache-item.tmpl.cpp Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
char-device.cpp char-device: Use list and shared pointers for RedCharDeviceClient queue 2020-07-13 19:48:16 +01:00
char-device.h Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
common-graphics-channel.cpp red-pipe-item: Add and use a small utility class for easier initialization 2020-07-13 19:47:55 +01:00
common-graphics-channel.h red-pipe-item: Add and use a small utility class for easier initialization 2020-07-13 19:47:55 +01:00
cursor-channel-client.cpp Use red::shared_ptr_counted for RedChannelClient 2020-05-01 06:58:09 +01:00
cursor-channel-client.h Remove GObject from RedChannel 2020-05-01 06:58:09 +01:00
cursor-channel.cpp Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
cursor-channel.h Remove some red_pipe_item_(un)ref usage 2020-07-13 19:48:02 +01:00
dcc-private.h Reduce C++ symbols visibility 2020-05-01 06:58:09 +01:00
dcc-send.cpp dcc-send: Fix a regression adding an image item to the pipe 2020-07-20 16:36:20 +01:00
dcc.cpp Encapsulate more pipe item initialisation in constructors 2020-07-13 19:48:27 +01:00
dcc.h dcc: Move some structure definition to use more RedPipeItemNum 2020-07-13 19:48:22 +01:00
dispatcher.cpp Enable -Wshadow warning 2020-06-25 09:18:59 +01:00
dispatcher.h dispatcher: Update documentation 2020-06-25 09:12:37 +01:00
display-channel-private.h Encapsulate more pipe item initialisation in constructors 2020-07-13 19:48:27 +01:00
display-channel.cpp red-pipe-item: Use inheritance on RedPipeItem 2020-07-13 19:47:53 +01:00
display-channel.h Add and use red::make_shared 2020-05-01 06:58:09 +01:00
display-limits.h Receive the GraphicsDeviceInfo message from the streaming agent 2019-01-29 15:46:54 +01:00
event-loop.c event-loop: Avoid useless cast 2020-06-29 09:14:25 +01:00
glz-encode-match.tmpl.c Do not check for HAVE_CONFIG_H 2019-04-30 09:26:55 +01:00
glz-encode.tmpl.c glz-encode: Remove obsolete reference segment 2019-08-12 10:48:02 +01:00
glz-encoder-dict.c glz_dictionary_window_add_image: error out when failed to alloc an image 2020-06-17 12:53:22 +01:00
glz-encoder-dict.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
glz-encoder-priv.h glz-encoder-dict: Remove useless __packed__ attribute 2019-08-02 10:55:20 +01:00
glz-encoder.c glz-encoder: Remove useless __packed__ attribute 2019-08-02 10:55:27 +01:00
glz-encoder.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
gstreamer-encoder.c gstreamer-encoder: Propagate correctly VideoEncodeResults 2020-06-26 10:07:28 +01:00
image-cache.cpp Use C++ IS-A relationship for RedChannelClient and RedChannel 2020-05-01 06:58:08 +01:00
image-cache.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
image-encoders.cpp image_encoders_free_glz_drawables: enc is never NULL 2020-06-19 10:50:58 +01:00
image-encoders.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
inputs-channel-client.cpp inputs-channel-client: Avoid attribute shadowing 2020-06-04 09:34:18 +01:00
inputs-channel-client.h inputs-channel-client: Update RECEIVE_BUF_SIZE 2020-07-02 21:17:58 +01:00
inputs-channel.cpp inputs-channel: Support more mouse buttons 2020-09-02 09:21:03 +01:00
inputs-channel.h Enable -Wshadow warning 2020-06-25 09:18:59 +01:00
jpeg-encoder.c Remove conversion warnings 2020-05-01 06:58:08 +01:00
jpeg-encoder.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
lz4-encoder.c Do not check for HAVE_CONFIG_H 2019-04-30 09:26:55 +01:00
lz4-encoder.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
main-channel-client.cpp Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
main-channel-client.h Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
main-channel.cpp Remove useless "common/ring.h" include 2020-06-29 08:56:36 +01:00
main-channel.h main-channel: Fix typo in comment 2020-06-07 20:51:07 +01:00
main-dispatcher.cpp Enable -Wshadow warning 2020-06-25 09:18:59 +01:00
main-dispatcher.h Wrap spice.h in order to do some adjustment 2020-05-01 06:58:09 +01:00
Makefile.am build: Remove GObject dependency 2020-05-01 06:58:09 +01:00
memslot.c Use (u)intptr_t for virtual addresses 2019-08-12 08:16:31 +01:00
memslot.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
meson.build build-sys: Fix computed version using Meson 2020-09-30 14:03:45 +01:00
migration-protocol.h Use start/end-packet.h headers instead of direct GCC attribute 2019-07-22 14:56:00 +01:00
mjpeg-encoder.c mjpeg_encoder_reset_quality: do not hint inline 2020-07-17 07:45:16 +01:00
net-utils.c Fix compatibility with TCP sockets and Darwin 2020-05-19 10:01:47 +01:00
net-utils.h Fix compatibility with MSG_NOSIGNAL and Darwin 2020-05-19 10:01:47 +01:00
pixmap-cache.cpp Use C++ IS-A relationship for RedChannelClient and RedChannel 2020-05-01 06:58:08 +01:00
pixmap-cache.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
pop-visibility.h Reduce C++ symbols visibility 2020-05-01 06:58:09 +01:00
push-visibility.h Reduce C++ symbols visibility 2020-05-01 06:58:09 +01:00
red-channel-capabilities.c red-channel-capabilities: Removed unused stuff from RedChannelCapabilities 2020-05-01 06:58:09 +01:00
red-channel-capabilities.h red-channel-capabilities: Removed unused stuff from RedChannelCapabilities 2020-05-01 06:58:09 +01:00
red-channel-client.cpp red-channel-client: Change gboolean -> bool 2020-07-20 10:17:22 +01:00
red-channel-client.h red-channel-client: Make RedChannelClient::pipe_item_is_linked const 2020-07-20 10:17:20 +01:00
red-channel.cpp Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
red-channel.h Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
red-client.cpp Enable -Wshadow warning 2020-06-25 09:18:59 +01:00
red-client.h Use red::shared_ptr_counted for RedChannelClient 2020-05-01 06:58:09 +01:00
red-common.h red-common: Fix typo in comment 2020-06-04 11:07:32 +02:00
red-parse-qxl.cpp red-parse-qxl: Add a note on red_get_cursor 2020-06-10 10:13:20 +01:00
red-parse-qxl.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
red-pipe-item.cpp red-pipe-item: Remove red_pipe_item_(un)ref 2020-07-13 19:48:18 +01:00
red-pipe-item.h red-pipe-item: Remove red_pipe_item_(un)ref 2020-07-13 19:48:18 +01:00
red-qxl.cpp Wrap spice.h in order to do some adjustment 2020-05-01 06:58:09 +01:00
red-qxl.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
red-record-qxl.c Remove -Wliteral-suffix warnings 2020-05-01 06:58:08 +01:00
red-record-qxl.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
red-replay-qxl.cpp Enable -Wshadow warning 2020-06-25 09:18:59 +01:00
red-stream-device.cpp Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
red-stream-device.h Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
red-stream.cpp red-stream: WebDAV doesn't work when SASL is active 2020-05-11 19:09:15 +01:00
red-stream.h Wrap spice.h in order to do some adjustment 2020-05-01 06:58:09 +01:00
red-worker.cpp Remove useless "common/ring.h" include 2020-06-29 08:56:36 +01:00
red-worker.h Update filenames in comments 2020-05-11 08:14:47 +01:00
reds-private.h char-device: Remove GObject from RedCharDevice 2020-05-01 06:58:09 +01:00
reds.cpp Improve big endian support for agent messages 2020-10-25 20:01:54 +00:00
reds.h Wrap spice.h in order to do some adjustment 2020-05-01 06:58:09 +01:00
safe-list.hpp Enable -Wshadow warning 2020-06-25 09:18:59 +01:00
smartcard-channel-client.cpp Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
smartcard-channel-client.h char-device: Remove GObject from RedCharDevice 2020-05-01 06:58:09 +01:00
smartcard.cpp Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
smartcard.h Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
sound.cpp Update spice-common submodule 2020-10-24 14:34:39 +01:00
sound.h sound: Make functions exported not visible 2020-05-01 06:58:09 +01:00
spice-audio.h Declare public exported functions as C 2020-05-01 06:58:08 +01:00
spice-bitmap-utils.c Do not check for HAVE_CONFIG_H 2019-04-30 09:26:55 +01:00
spice-bitmap-utils.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
spice-bitmap-utils.tmpl.c Use local variable to compute gradual score 2020-02-27 07:55:43 +00:00
spice-char.h Declare public exported functions as C 2020-05-01 06:58:08 +01:00
spice-core.h windows: Do not include headers not available on Windows 2019-01-31 10:48:34 +00:00
spice-input.h Declare public exported functions as C 2020-05-01 06:58:08 +01:00
spice-migration.h Declare public exported functions as C 2020-05-01 06:58:08 +01:00
spice-qxl.h Declare public exported functions as C 2020-05-01 06:58:08 +01:00
spice-replay.h Declare public exported functions as C 2020-05-01 06:58:08 +01:00
spice-server-enums.c.tmpl Avoids registering type just to get the nick of an enum value 2020-05-01 06:58:09 +01:00
spice-server-enums.h.tmpl Avoids registering type just to get the nick of an enum value 2020-05-01 06:58:09 +01:00
spice-server.h Declare public exported functions as C 2020-05-01 06:58:08 +01:00
spice-server.syms Remove reference to removed ABI 2019-08-15 11:16:42 +01:00
spice-version.h.in build-sys: generate spice-version.h 2014-11-27 14:27:33 +01:00
spice-wrapped.h sound: Move define "trick" to spice-wrapped.h header 2020-05-28 14:37:36 +01:00
spice.h Make red-replay-qxl.h a public header 2016-11-10 06:37:15 +00:00
spicevmc.cpp spicevmc: Remove unused declarations 2020-09-16 14:34:15 +01:00
stat-file.c stat-file: Use proper macro for container computation 2019-08-22 08:53:23 +01:00
stat-file.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
stat.h Wrap spice.h in order to do some adjustment 2020-05-01 06:58:09 +01:00
stream-channel.cpp Use smart pointers for RedPipeItem 2020-07-13 19:48:08 +01:00
stream-channel.h red-pipe-item: Use inheritance on RedPipeItem 2020-07-13 19:47:53 +01:00
sw-canvas.c Do not check for HAVE_CONFIG_H 2019-04-30 09:26:55 +01:00
sys-socket.c sys-socket: Add socket_newpair utility 2019-05-07 10:14:05 +01:00
sys-socket.h Fix compatibility with MSG_NOSIGNAL and Darwin 2020-05-19 10:01:47 +01:00
tree.cpp Use C++ IS-A relationship for RedChannelClient and RedChannel 2020-05-01 06:58:08 +01:00
tree.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
utils.c Do not check for HAVE_CONFIG_H 2019-04-30 09:26:55 +01:00
utils.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
utils.hpp Enable -Wshadow warning 2020-06-25 09:18:59 +01:00
video-encoder.h video-encoder: Fix parameter name 2020-06-25 16:09:32 +01:00
video-stream.cpp Encapsulate more pipe item initialisation in constructors 2020-07-13 19:48:27 +01:00
video-stream.h Encapsulate more pipe item initialisation in constructors 2020-07-13 19:48:27 +01:00
websocket.c websocket: Fix possible integer overflow 2020-06-16 15:17:06 +01:00
websocket.h Declare exported functions as C 2020-05-01 06:58:08 +01:00
zlib-encoder.c Do not check for HAVE_CONFIG_H 2019-04-30 09:26:55 +01:00
zlib-encoder.h Declare exported functions as C 2020-05-01 06:58:08 +01:00