Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Handle the new QXLCursorHeader type | Alexander Larsson | 2010-07-08 | 1 | -3/+13 | |
| | ||||||
* | Use QXLPHYSICAL, not SPICE_ADDRESS in qxl parser | Alexander Larsson | 2010-07-08 | 2 | -19/+19 | |
| | ||||||
* | codegen: No SPICE_ADDRESS types left, drop @c_ptr | Alexander Larsson | 2010-07-08 | 4 | -44/+37 | |
| | ||||||
* | Properly parse QXLLineAttrs.style | Alexander Larsson | 2010-07-08 | 6 | -48/+29 | |
| | ||||||
* | remove QXLInterface->has_command() | Gerd Hoffmann | 2010-07-08 | 1 | -1/+0 | |
| | | | | Not used any more, zap it before rolling up a release tarball. | |||||
* | server: add missing ifdef USE_OGL (red_worker.c) | Uri Lublin | 2010-07-08 | 1 | -0/+2 | |
| | ||||||
* | Properly parse QXLImage to the new-world SpiceImage | Gerd Hoffmann | 2010-07-07 | 14 | -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 arrays | Alexander Larsson | 2010-07-07 | 2 | -5/+29 | |
| | | | | This is similar to @as_ptr, but generates a single chunk of data. | |||||
* | Add support for @chunk | Alexander Larsson | 2010-07-07 | 1 | -2/+18 | |
| | ||||||
* | marshaller: Make get_nw_offset() handle deep member references | Alexander Larsson | 2010-07-07 | 1 | -7/+32 | |
| | ||||||
* | Add spice_marshaller_add_ref_chunks | Alexander Larsson | 2010-07-07 | 2 | -0/+12 | |
| | ||||||
* | Add spice_chunks_* helpers | Alexander Larsson | 2010-07-07 | 2 | -0/+64 | |
| | ||||||
* | Convert SpicePath.segments to a pointer array | Alexander Larsson | 2010-07-05 | 8 | -61/+58 | |
| | ||||||
* | Handle extra size for switch and array the right way | Alexander Larsson | 2010-07-05 | 1 | -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 sizes | Alexander Larsson | 2010-07-05 | 1 | -0/+29 | |
| | ||||||
* | marshaller: Make @nonnull a propagated attribute | Alexander Larsson | 2010-07-05 | 3 | -6/+3 | |
| | | | | This cleans up some stuff | |||||
* | marshaller: Make @c_ptr a propagated attribute | Alexander Larsson | 2010-07-05 | 2 | -17/+18 | |
| | | | | This simplifies some code | |||||
* | marshaller: Add generic way to handle propagating attributes | Alexander Larsson | 2010-07-05 | 3 | -11/+18 | |
| | | | | Also switches @ptr_array to use this | |||||
* | Properly parse and marshall SpiceString | Gerd Hoffmann | 2010-07-02 | 8 | -107/+159 | |
| | ||||||
* | Fix build on win32 | Alexander Larsson | 2010-07-01 | 2 | -20/+20 | |
| | ||||||
* | Fix 32bit failure in demarshaller | Alexander Larsson | 2010-07-01 | 1 | -2/+2 | |
| | | | | Due to a typo we always read offsets as pointers, never as SPICE_ADDRESS. | |||||
* | Update for the SpicePath.segments type change | Alexander Larsson | 2010-07-01 | 5 | -6/+6 | |
| | ||||||
* | Make CEGUI optional | Alon Levy | 2010-07-01 | 7 | -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 assert | Alexander Larsson | 2010-07-01 | 1 | -1/+1 | |
| | ||||||
* | - fix for noopengl patch for server | Alon Levy | 2010-07-01 | 1 | -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 destroyed | Yonit Halperin | 2010-07-01 | 1 | -14/+71 | |
| | | | | fixes a crash in qxl_soft_reset | |||||
* | Simplify SpiceLineAttr by removing unsed stuff | Alexander Larsson | 2010-06-30 | 8 | -80/+49 | |
| | | | | Also in new protocol don't send style data if not needed. | |||||
* | Automatically marshall SpiceClipRects | Alexander Larsson | 2010-06-30 | 2 | -54/+39 | |
| | ||||||
* | Automatically marshall SpicePath | Alexander Larsson | 2010-06-30 | 2 | -4/+1 | |
| | ||||||
* | Support @marshall to automatically marshall pointers | Alexander Larsson | 2010-06-30 | 2 | -28/+40 | |
| | ||||||
* | Store SpicePath segment count rather than size | Alexander Larsson | 2010-06-30 | 11 | -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_uint32 | Alexander Larsson | 2010-06-30 | 2 | -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 SpiceClipRects | Alexander Larsson | 2010-06-30 | 3 | -5/+4 | |
| | ||||||
* | demarshaller: Support @c_ptr attributes for pointers | Alexander Larsson | 2010-06-30 | 1 | -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 members | Alexander Larsson | 2010-06-30 | 1 | -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 Hoffmann | 2010-06-30 | 4 | -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 parser | Gerd Hoffmann | 2010-06-30 | 2 | -0/+52 | |
| | ||||||
* | server: Don't call opengl if not enabled | Alexander Larsson | 2010-06-29 | 3 | -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 marshallers | Yonit Halperin | 2010-06-29 | 3 | -4/+4 | |
| | ||||||
* | fixed unhandled destroy screen in Application:restore_screens_size | Yonit Halperin | 2010-06-29 | 1 | -1/+1 | |
| | ||||||
* | detaching the screen when the primary surface is destoryed and closing the ↵ | Yonit Halperin | 2010-06-29 | 2 | -10/+16 | |
| | | | | window if the primary surface is not recreated (the monitor has been detached). | |||||
* | remove unnecessary send of SPICE_MSG_DISPLAY_RESET | Yonit Halperin | 2010-06-29 | 1 | -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 Hoffmann | 2010-06-29 | 4 | -18/+42 | |
| | ||||||
* | qxl abi: parse QXLPoint & friends. | Gerd Hoffmann | 2010-06-29 | 2 | -7/+21 | |
| | ||||||
* | qxl abi: parse QXLCursorCmd. | Gerd Hoffmann | 2010-06-29 | 3 | -22/+76 | |
| | ||||||
* | qxl abi: parse QXLSurfaceCmd. | Gerd Hoffmann | 2010-06-29 | 3 | -10/+63 | |
| | ||||||
* | qxl abi: parse QXLMessage. | Gerd Hoffmann | 2010-06-29 | 3 | -4/+41 | |
| | ||||||
* | qxl abi: parse QXLUpdateCmd. | Gerd Hoffmann | 2010-06-29 | 3 | -9/+38 | |
| | ||||||
* | qxl abi: parse QXLClip. | Gerd Hoffmann | 2010-06-29 | 1 | -2/+9 | |
| | ||||||
* | qxl abi: parse QXLLineAttr. | Gerd Hoffmann | 2010-06-29 | 1 | -4/+10 | |
| |