summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Handle the new QXLCursorHeader typeAlexander Larsson2010-07-081-3/+13
|
* Use QXLPHYSICAL, not SPICE_ADDRESS in qxl parserAlexander Larsson2010-07-082-19/+19
|
* codegen: No SPICE_ADDRESS types left, drop @c_ptrAlexander Larsson2010-07-084-44/+37
|
* Properly parse QXLLineAttrs.styleAlexander Larsson2010-07-086-48/+29
|
* remove QXLInterface->has_command()Gerd Hoffmann2010-07-081-1/+0
| | | | Not used any more, zap it before rolling up a release tarball.
* server: add missing ifdef USE_OGL (red_worker.c)Uri Lublin2010-07-081-0/+2
|
* Properly parse QXLImage to the new-world SpiceImageGerd Hoffmann2010-07-0714-1208/+813
| | | | | SpiceImage now replaces RedImage and has all image types in it. All image data are now chunked (and as such not copied when demarshalling).
* codegen: support @chunk on non-pointer arraysAlexander Larsson2010-07-072-5/+29
| | | | This is similar to @as_ptr, but generates a single chunk of data.
* Add support for @chunkAlexander Larsson2010-07-071-2/+18
|
* marshaller: Make get_nw_offset() handle deep member referencesAlexander Larsson2010-07-071-7/+32
|
* Add spice_marshaller_add_ref_chunksAlexander Larsson2010-07-072-0/+12
|
* Add spice_chunks_* helpersAlexander Larsson2010-07-072-0/+64
|
* Convert SpicePath.segments to a pointer arrayAlexander Larsson2010-07-058-61/+58
|
* Handle extra size for switch and array the right wayAlexander Larsson2010-07-051-23/+20
| | | | | | Even for is_extra_size() we should calculate the mem_size for arrays, its just that the parent type (in this case switch) should request mem_size if the type is_extra_size.
* marshaller: Add some docs describing the types of sizesAlexander Larsson2010-07-051-0/+29
|
* marshaller: Make @nonnull a propagated attributeAlexander Larsson2010-07-053-6/+3
| | | | This cleans up some stuff
* marshaller: Make @c_ptr a propagated attributeAlexander Larsson2010-07-052-17/+18
| | | | This simplifies some code
* marshaller: Add generic way to handle propagating attributesAlexander Larsson2010-07-053-11/+18
| | | | Also switches @ptr_array to use this
* Properly parse and marshall SpiceStringGerd Hoffmann2010-07-028-107/+159
|
* Fix build on win32Alexander Larsson2010-07-012-20/+20
|
* Fix 32bit failure in demarshallerAlexander Larsson2010-07-011-2/+2
| | | | Due to a typo we always read offsets as pointers, never as SPICE_ADDRESS.
* Update for the SpicePath.segments type changeAlexander Larsson2010-07-015-6/+6
|
* Make CEGUI optionalAlon Levy2010-07-017-47/+137
| | | | | This makes the CEGUI dependency optional and off by default. Restoring previous behaviour of exiting on disconnect if disabled.
* client: Use ASSERT, not assertAlexander Larsson2010-07-011-1/+1
|
* - fix for noopengl patch for serverAlon Levy2010-07-011-0/+4
| | | | | | | | I still don't have commit access (can't ssh to anarchy) so if someone could commit this (alex) thanks, Alon Fix for no opengl patch - required to compile the server (fixes missing symbol gl_canvas_init).
* fix for not clearing the cursor ring when the primary surface is destroyedYonit Halperin2010-07-011-14/+71
| | | | fixes a crash in qxl_soft_reset
* Simplify SpiceLineAttr by removing unsed stuffAlexander Larsson2010-06-308-80/+49
| | | | Also in new protocol don't send style data if not needed.
* Automatically marshall SpiceClipRectsAlexander Larsson2010-06-302-54/+39
|
* Automatically marshall SpicePathAlexander Larsson2010-06-302-4/+1
|
* Support @marshall to automatically marshall pointersAlexander Larsson2010-06-302-28/+40
|
* Store SpicePath segment count rather than sizeAlexander Larsson2010-06-3011-62/+111
| | | | | | | | | | | | | | | | | | | Internally and in the network protocol (for the new version) we now store the actual number of segments rather than the size of the full segments array in bytes. This change consists of multiple changes to handle this: * Make the qxl parser calculate num_segments * Make the canvas stroke code handle the new SpicePath layout. * Fix up is_equal_path in red_worker.c for the new layout * replace multiple calls to spice_marshall_PathSegment with a single spice_marshall_Path call * Make the byte_size() array size handling do the conversion from network size to number of elements when marshalling/demarshalling. * Update the current spice protocol to send the segment count rather than the size * Update the old spice protocol to use the new byte_size functionallity to calculate the size sent and the number of elements recieved
* Add spice_marshaller_set_uint32Alexander Larsson2010-06-302-16/+31
| | | | | | | With this function you can update an added uint32 after it being added. To make this possible all the spice_marshaller_add_add_foo functions now return a pointer that can be used as a reference when later setting a value.
* Update client and protocol to support the new SpiceClipRectsAlexander Larsson2010-06-303-5/+4
|
* demarshaller: Support @c_ptr attributes for pointersAlexander Larsson2010-06-301-7/+16
| | | | | | A @c_ptr pointer is stored in memory as a real pointer rather than a SPICE_ADDRESS. This is a temporary thing that will be removed again when all SPICE_ADDRESSes have been converted to real pointer.
* demarshaller: Don't parse @zero membersAlexander Larsson2010-06-301-1/+4
| | | | | | These just write zeros at the right place in the network protocol typically for old back-compat things. We don't want to read these back in.
* qxl-abi: handle clip rect and path references.Gerd Hoffmann2010-06-304-297/+218
| | | | | | | | | | | | red_parse_qxl.c starts to follow QXLPHYSICAL references and build up data structures. Can zap a bunch of get_virt calls in red_worker.c, followed by cleanups. (de-) marshaller needs updates to deal with that. Also I suspect with the get_virt() calls being gone we can offload more work to generated marshaller code. client doesn't build.
* add qxl chunk parserGerd Hoffmann2010-06-302-0/+52
|
* server: Don't call opengl if not enabledAlexander Larsson2010-06-293-3/+17
| | | | | If USE_OGL is not defined, really don't call or link in the opengl backend.
* client: add --include "common.h" for generated marshallersYonit Halperin2010-06-293-4/+4
|
* fixed unhandled destroy screen in Application:restore_screens_sizeYonit Halperin2010-06-291-1/+1
|
* detaching the screen when the primary surface is destoryed and closing the ↵Yonit Halperin2010-06-292-10/+16
| | | | window if the primary surface is not recreated (the monitor has been detached).
* remove unnecessary send of SPICE_MSG_DISPLAY_RESETYonit Halperin2010-06-291-3/+0
| | | | | | | when SPICE_MSG_DISPLAY_RESET was sent, SPICE_MSG_DISPLAY_SURFACE_DESTROY had already been sent for all surfaces. It also caused a client crash since DisplayChannel::handle_reset assumes that screen exists.
* qxl abi: parse QXLRect.Gerd Hoffmann2010-06-294-18/+42
|
* qxl abi: parse QXLPoint & friends.Gerd Hoffmann2010-06-292-7/+21
|
* qxl abi: parse QXLCursorCmd.Gerd Hoffmann2010-06-293-22/+76
|
* qxl abi: parse QXLSurfaceCmd.Gerd Hoffmann2010-06-293-10/+63
|
* qxl abi: parse QXLMessage.Gerd Hoffmann2010-06-293-4/+41
|
* qxl abi: parse QXLUpdateCmd.Gerd Hoffmann2010-06-293-9/+38
|
* qxl abi: parse QXLClip.Gerd Hoffmann2010-06-291-2/+9
|
* qxl abi: parse QXLLineAttr.Gerd Hoffmann2010-06-291-4/+10
|