summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-02-10build-sys: post-release version bump 0.14.5HEADmasterVictor Toso2-2/+2
Signed-off-by: Victor Toso <victortoso@redhat.com>
2022-02-07Release 0.14.4v0.14.4Victor Toso1-0/+5
Signed-off-by: Victor Toso <victortoso@redhat.com>
2022-02-07ci: Remove invalid option from rpmlintFrediano Ziglio1-1/+1
The "-o" option is not accepted anymore by rpmlint on newer Fedora. Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
2021-04-09stream-device: Fix some typos in comments (found by codespell)Stefan Weil1-3/+3
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-19Add some notes on how to prepare a releaseFrediano Ziglio1-0/+27
That's what I did for last release. Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Jakub Janků <jjanku@redhat.com>
2020-11-04protocol: Fix enumeration deprecation for Visual StudioFrediano Ziglio2-1/+9
Deprecation on enumeration items is not supported by Microsoft compiler. Define and use SPICE_GNUC_DEPRECATED_ENUMERATOR. Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Uri Lublin <uril@redhat.com>
2020-10-01build-sys: post-release version bump to 0.14.4Frediano Ziglio2-2/+2
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
2020-10-01Release 0.14.3v0.14.3Frediano Ziglio1-0/+8
Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Victor Toso <victortoso@redhat.com>
2020-09-14vdagent: add a MonitorsMM field to VDAgentMonitorsConfigMarc-André Lureau1-0/+16
Allow to update the physcial dimensions of the monitors, only sent if the flag PHYSICAL_SIZE is present. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-08-19protocol: Add support for side mouse buttonsSimonP2-1/+9
Side mouse buttons currently do not exist in the protocol, causing them to be inexplicably ignored by VMs in virt-manager and such. This lays the groundwork for fixing that issue. Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-08-10build: Do not use mingw_ninja_install macro in spec fileFrediano Ziglio1-1/+2
Some distribution like RHEL 8 does not define this macro. Use mingw_ninja instead. Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Uri Lublin <uril@redhat.com>
2020-07-08vdagent: add VD_AGENT_CLIPBOARD_FILE_LISTJakub Janků1-0/+6
Signed-off-by: Jakub Janků <jjanku@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-07-08build-sys: post-release version bump to 0.14.3Jakub Janků2-2/+2
Signed-off-by: Jakub Janků <jjanku@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-05-15Release 0.14.2v0.14.2Frediano Ziglio1-0/+9
Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Victor Toso <victortoso@redhat.com>
2020-05-15vd_agent: Add some documentationFrediano Ziglio1-0/+3
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
2020-04-07Formally deprecated celt 0.5.1 usageVictor Toso1-1/+3
Quoting git log from spice-common 72b0d60 "build: Disable celt 0.5.1 by default" in 2018-06-05 [0] | build: Disable celt 0.5.1 by default | | This version of the CELT codec has long been obsolete, and | Opus support has been added nearly 5 years ago. It's time | we move on and try to stop using Celt ;) | This commit disables CELT by default, but since | this could be an unexpected change for packagers, if CELT | 0.5.1 development headers are installed, it will error | out unless --enable-celt051/--disable-celt051 has | been explicitly specified. [0] https://gitlab.freedesktop.org/spice/spice-common/commit/72b0d60 This change is part of spice server since f5785db1 or v0.14.1 and spice-gtk e6e9d7a or v0.35. It is time to formally deprecated it and remove from all components in favor of opus mode. Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-04-02enums: add quality_indicator messagesKevin Pouget1-0/+1
These messages are used to exchange Streaming Quality messages between SPICE client and SPICE server: - `SPICE_MSGC_MAIN_QUALITY_INDICATOR`: a client->server message on the Main channel. This message is used by the client to share streaming quality observation with the server and the adaptive streaming control center. The format of the string message is not specified yet, it will depend of the sender/receiver final implementation. - `SPICE_MSG_DISPLAY_QUALITY_INDICATOR`: a server->client message on the Display channel. This message is used to inform the client about adaptive-streaming specific details. The client should use it to configure its quality-message generation algorithms. The format of the string message is not specified yet, it will depend of the sender/receiver final implementation. As an example, a `SPICE_MSG_DISPLAY_QUALITY_INDICATOR` message can inform the client about the requested framerate (say, 60 FPS); and the client will send a `SPICE_MSGC_MAIN_QUALITY_INDICATOR` warning message when the measured framerate drops below 45 FPS. Signed-off-by: Kevin Pouget <kpouget@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-04-01vd_agent: Fix incompatibility with Microsoft compilerFrediano Ziglio1-0/+4
Do not nest a zero-size array in another zero size array. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Marek Kedzierski <mkedzier@redhat.com>
2020-03-26vd_agent: Add some documentationFrediano Ziglio1-1/+12
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
2020-03-20vd_agent: Fix indentationFrediano Ziglio1-18/+18
Use 4 spaces, not 3. Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
2020-03-19vd_agent: Add structure for VD_AGENT_FILE_XFER_STATUS_NOT_ENOUGH_SPACE detailsFrediano Ziglio1-1/+10
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
2020-03-19vd_agent: Add a new detail for VD_AGENT_FILE_XFER_STATUS_ERROR statusFrediano Ziglio1-0/+22
This will allow the agent to send back a more detailed error code. More comments on header file. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
2020-03-12build-sys: Allows spec file to build MingW packagesFrediano Ziglio2-2/+35
Add MingW support. This allows to build MingW packages easily with a $ rpmbuild -ta spice-protocol-XXXX.tar.xz This is base on some work by Eduardo Lima adding MingW support to SPEC files. Part of dependencies, description and names came from Fedora SPEC file for mingw-spice-protocol package. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2020-03-10Remove foreign-menu and controller interfacesVictor Toso4-242/+1
Both were formally deprecated and announced for 0.14.1 release and can be removed from the codebase. 4816ae5 "foreign-menu: mark as deprecated" in 2020-03-06 2981f21 "controller: mark as deprecated" in 2020-03-06 Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-03-09Package SPEC file into Meson distribution fileFrediano Ziglio3-15/+13
Put final SPEC file in GIT repository directly to avoid having to bump Meson version to use distribution script. To avoid having incoherent version numbers check the versions from CI. Remove 'c' as project language, project don't need to compile any files. Meson however needs C compiler even if is not used so add to package requirements. Update CI to build RPM from package directly. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2020-03-09Remove autotools files in favor of mesonEduardo Lima (Etrunko)6-334/+0
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-03-09Update spec file and ci script to use meson as defaultEduardo Lima (Etrunko)2-14/+8
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-03-09build-sys: post-release version bump 0.14.2Frediano Ziglio2-2/+2
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
2020-03-06Release 0.14.1v0.14.1Victor Toso1-0/+18
Signed-off-by: Victor Toso <victortoso@redhat.com>
2020-03-06build: Fix typo in SPEC file nameFrediano Ziglio1-1/+1
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
2020-03-06foreign-menu: mark as deprecatedVictor Toso1-0/+4
This patch deprecates this interface and suggests to drop it in the next release. I don't know any user for this interface in the past 5 years. Spice clients like remote-viewer do use oVirt API for foreign menu. Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-03-06controller: mark as deprecatedVictor Toso1-0/+4
This patch deprecates this interface and suggests to drop it in the next release. The last known user of this interface was spice-gtk, which dropped its implementation in 2017-08-01 with spice-gtk@8da3378f "build-sys: remove the spice-controller library" The commit log there has good enough justification to also drop this in the protocol. Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-03-06vdagent: introduce VD_AGENT_CAP_CLIPBOARD_GRAB_SERIALMarc-André Lureau1-0/+4
When this capability is negoticated by both the client & the agent, the clipboard grab messages have an associated serial counter. The serial is reset to 0 upon client connection. The counter is increment by 1 on each grab message, by both sides. The sender of the message with the highest serial should be the clipboard grab owner, and the current session serial should be updated. If a lower serial than the current session serial is received, the grab should be discarded. Whenever two grabs share the same serial, the one coming from the client should have a higher priority and the client should gain the clipboard ownership. No special treatement is done for the unlikely case of overflowing the counter. It may temporarily inverse the priority, until both side have overflown and/or synchronized. Note: this mechanism isn't aiming at making "the most recent" (as in time) side gaining the ownership. One side sending subsequent grab messages earlier will likely take the ownership over a side sending a single message simultaneously the other way. It only clears the situation where both side believe that the other is the current clipboard owner, by having a global ordering and priority in case of serial conflict. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
2020-03-06vdagent: introduce VD_AGENT_CAP_CLIPBOARD_NO_RELEASE_ON_REGRABMarc-André Lureau1-0/+1
This capability means the peer will not send a release event between two subsequent grabs. This helps with interaction issues with clipboard managers which can be worked around by time-based filters at this point. With this capability, there is no need for such filter. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
2020-03-04meson: generate spice-protocol.specEduardo Lima (Etrunko)1-0/+9
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-03-02vdi_dev: remove deprecated headerVictor Toso3-89/+0
Deprecated since 2d7bf3e "vdi-dev: mark as deprecated" in 2014-12-04 and version 0.12.8. Signed-off-by: Victor Toso <victortoso@redhat.com>
2020-03-02vd_agent: remove VD_AGENT_CLIPBOARD_MAX_SIZE_[DEFAULT ENV]Victor Toso1-6/+0
Not used since fc1e7e "Mark VD_AGENT_CLIPBOARD_MAX as deprecated" in 2013-11-14, release v0.12.7 Signed-off-by: Victor Toso <victortoso@redhat.com>
2020-02-29Add a .gitpublishMarc-André Lureau1-0/+4
Set a default profile for git-publish. (https://github.com/stefanha/git-publish) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2019-11-08stream-device: Define Quality Indicator messagesKevin Pouget1-0/+21
These messages are used to transmit streaming quality indicators from the streaming device to SPICE Server. The message is a variable-length, zero-terminated string. A new capability is introduced (STREAM_CAP_QUALITY_INDICATOR) for SPICE server and streaming agent capabilities negotiation. Signed-off-by: Kevin Pouget <kpouget@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2019-11-08protocol: Define an enumeration for Quality Indicator messagesKevin Pouget1-0/+1
These messages are used to transmit streaming quality indicators from SPICE client to SPICE server. The message data structure is defined in spice-common/spice.proto: message { Data data @to_ptr; } @declare quality_indicator; Signed-off-by: Kevin Pouget <kpouget@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2019-11-04build-sys: remove codegen leftoversDenis Ollier2-52/+3
Codegen has been removed since v0.12.11 (commit 2a6e51c7), no python modules are used anymore by spice-protocol. Signed-off-by: Denis Ollier <dollierp@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
2019-10-23build-sys: Provide spec file during buildFrediano Ziglio4-2/+7
Having the RPM spec file produced by the build is helpful in different situation. Different tools like mock or code scanners accept source RPMs as input. Providing this file allows easily build of the source RPM (and binaries) using a simple command like $ rpmbuild -ta spice-protocol-XXXX.tar.bz2 Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2019-10-23build-sys: Update URL in SPEC fileFrediano Ziglio1-2/+2
Use https instead of http, web server automatically redirects to secure version. Remove slash at the end, not needed. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2019-10-23build-sys: Import spec file from FedoraFrediano Ziglio1-0/+173
Will be used by next commits. The SPEC file will allow to an RPM from sources with a simple rpmbuild command. Package files are useful for easy deployment. This will also be used to provide automatic package build. This commit just contain a verbatim copy of upstream SPEC file to make easier to see changes to it and have a start point. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2019-08-22qxl_dev: Add comment to QXLQUICData->data fieldFrediano Ziglio1-0/+3
Recently a bug using this structure was fixed. The bug involved understand the usage of this field so add some note on the field for future reference. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
2019-08-07protocol: Add some comments to vd_agentd.hFrancois Gouget1-1/+23
Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
2019-07-21start-packet: Correct misleading commentFrediano Ziglio1-2/+2
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Snir Sheriber <ssheribe@redhat.com>
2019-07-21qxl_dev: Move QXLReleaseInfoExt out of start/end-packed.hFrediano Ziglio1-5/+5
This structure is not declares as SPICE_ATTR_PACKED resulting it as aligned and no packed using GCC (no MingW). This structure is only packed under MingW or Microsoft compilers. This structure is not technically a definition for QXL device but is used only for spice-server QXL interface. As said above this change could affect only MingW/Microsoft that is only Windows ABI of spice-server (very recently added) so following lines are really not much important. Note that Windows does not support architectures with CPUs not supporting unaligned access. Under Win32 this change don't affect size so nothing much can change. This structure is currently passed as value to release_resource callback. Under Win64 this structure is passed like a "const QXLReleaseInfoExt *" so even if the structure is 16 bytes instead of 12 this is read the same way. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Snir Sheriber <ssheribe@redhat.com>
2019-07-18qxl_dev: Fix alignment for QXLReleaseInfoFrediano Ziglio1-1/+1
Do not declare the structure as aligned. The start/end-packed.h headers affects structures without specification only using MingW or Microsoft compilers. For other platform SPICE_ATTR_PACKED macro should be used. This way the definition are the same for all compiler. This structure is used in a lot of QXL structures which are not aligned causing to have an aligned structure to be potentially unaligned. Some compilers may report a warning. As this structure has no holes this change does not make any size change using any compiler. The change will only change the alignment from 4/8 to 1. This could affect structures containing this union however beside packed structure in qxl_dev.h (which are not affected) there are no other usages affecting ABI by spice-gtk, Qemu or spice-server. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Snir Sheriber <ssheribe@redhat.com>
2019-06-27macros: Remove unused SPICE_GNUC_XXX macrosFrancois Gouget1-16/+0
We don't want to maintain more macros than necessary and these have been unused for over two years. Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>