Gerd Hoffmann
b1761377d1
red_glz_compress_image: lines isn't needed any more
2010-07-13 10:11:48 +02:00
Alexander Larsson
f881a896a4
Don't marshall bitmap data as pointer, instead send inline
2010-07-09 16:52:36 +02:00
Alexander Larsson
bc5c345841
Add --enable-werror and make it the default only for git builds
...
Its not generally a good idea to have released tarballs build with
-Werror, as later compilers may add warnings breaking old releases, etc.
2010-07-09 12:14:32 +02:00
Alexander Larsson
1d119d527e
Use the right enum types for bitmap_data.type comparisons
2010-07-09 12:02:15 +02:00
Alexander Larsson
05da46115e
Add files i forgot to commit
2010-07-09 11:57:09 +02:00
Alexander Larsson
f11350e9f2
Update NEWS for release
2010-07-08 22:25:32 +02:00
Alexander Larsson
9d8a76fcd0
Disable tunnel by default on windows
2010-07-08 22:25:32 +02:00
Alexander Larsson
633e962ac3
Make tunnel support optional in client too
2010-07-08 22:25:28 +02:00
Alexander Larsson
ceff16cad6
Make distcheck work
2010-07-08 20:20:35 +02:00
Alexander Larsson
0c505931dc
Missed some misspelling fixes
2010-07-08 19:20:19 +02:00
Alexander Larsson
1a6e77d6d4
Fix various misspellings
...
letancy -> latency
compund -> compound
SpicedSubMessage -> SpiceSubMessage
modifaiers -> modifiers
massage -> message
outgoiong -> outgoing
AlphaBlnd -> AlphaBlend
remoth -> remote
modifires -> modifiers
secore -> secure
2010-07-08 18:26:37 +02:00
Alexander Larsson
925f6387c8
Fix sign warnings from win32 compiler
2010-07-08 15:44:39 +02:00
Alexander Larsson
9cc1582561
Fix inclusion of common files, no need for common/ part
2010-07-08 15:44:15 +02:00
Alexander Larsson
4f54596e01
server: Remove unnecessary pci id/rev checks
...
There is no need to check the pci ids or revisions. Thats a contract
between qemu and the driver, and spice need not care, as long as
we get the right data from qemu.
2010-07-08 15:18:43 +02:00
Alexander Larsson
10734c8d74
Simplify spice_pixman_region32_init_rects with new types
...
Don't manually of SpiceRects to pixman_box32_t now that they are compatible
and SpiceRect is internal.
2010-07-08 14:46:04 +02:00
Alexander Larsson
c60c995e60
Make all internal structures not be packed
2010-07-08 14:30:01 +02:00
Alexander Larsson
601aecc8ad
Remove unused method declarations
2010-07-08 14:19:45 +02:00
Alexander Larsson
1d64d39844
Move SpiceChunks to mem.h
2010-07-08 14:17:24 +02:00
Alexander Larsson
0659fb7897
Move in spice/draw.h from spice-protocol to common/
2010-07-08 13:56:01 +02:00
Alexander Larsson
3c0329d27f
Handle the new QXLCursorHeader type
2010-07-08 13:24:15 +02:00
Alexander Larsson
aa3d3db9f4
Use QXLPHYSICAL, not SPICE_ADDRESS in qxl parser
2010-07-08 13:11:31 +02:00
Alexander Larsson
f0f623ddc0
codegen: No SPICE_ADDRESS types left, drop @c_ptr
2010-07-08 13:07:17 +02:00
Alexander Larsson
31d2d6e4e4
Properly parse QXLLineAttrs.style
2010-07-08 12:43:33 +02:00
Gerd Hoffmann
fe4f90210f
remove QXLInterface->has_command()
...
Not used any more, zap it before rolling up a release tarball.
2010-07-08 11:56:30 +02:00
Uri Lublin
b54037a1f4
server: add missing ifdef USE_OGL (red_worker.c)
2010-07-08 11:56:17 +02:00
Gerd Hoffmann
5ac88aa79f
Properly parse QXLImage to the new-world SpiceImage
...
SpiceImage now replaces RedImage and has all image types in it.
All image data are now chunked (and as such not copied when demarshalling).
2010-07-07 23:58:33 +02:00
Alexander Larsson
26c1a0767f
codegen: support @chunk on non-pointer arrays
...
This is similar to @as_ptr, but generates a single chunk of data.
2010-07-07 23:12:42 +02:00
Alexander Larsson
bda492f4aa
Add support for @chunk
2010-07-07 23:12:42 +02:00
Alexander Larsson
96bb4d31f4
marshaller: Make get_nw_offset() handle deep member references
2010-07-07 23:12:42 +02:00
Alexander Larsson
ee26a9a773
Add spice_marshaller_add_ref_chunks
2010-07-07 23:10:51 +02:00
Alexander Larsson
a415c55765
Add spice_chunks_* helpers
2010-07-07 23:10:47 +02:00
Alexander Larsson
f39d64f40b
Convert SpicePath.segments to a pointer array
2010-07-05 20:45:13 +02:00
Alexander Larsson
6dcf43912e
Handle extra size for switch and array the right way
...
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.
2010-07-05 13:13:39 +02:00
Alexander Larsson
b8524fc338
marshaller: Add some docs describing the types of sizes
2010-07-05 13:13:09 +02:00
Alexander Larsson
d161994f46
marshaller: Make @nonnull a propagated attribute
...
This cleans up some stuff
2010-07-05 12:13:45 +02:00
Alexander Larsson
d7164a0669
marshaller: Make @c_ptr a propagated attribute
...
This simplifies some code
2010-07-05 12:09:08 +02:00
Alexander Larsson
4a60f1822a
marshaller: Add generic way to handle propagating attributes
...
Also switches @ptr_array to use this
2010-07-05 12:03:34 +02:00
Gerd Hoffmann
3764a36472
Properly parse and marshall SpiceString
2010-07-02 16:47:51 +02:00
Alexander Larsson
7e0099e18e
Fix build on win32
2010-07-01 16:46:12 +02:00
Alexander Larsson
4c74e73e1d
Fix 32bit failure in demarshaller
...
Due to a typo we always read offsets as pointers, never as SPICE_ADDRESS.
2010-07-01 16:45:04 +02:00
Alexander Larsson
007d128973
Update for the SpicePath.segments type change
2010-07-01 16:07:02 +02:00
Alon Levy
0e16cadc70
Make CEGUI optional
...
This makes the CEGUI dependency optional and off by default. Restoring
previous behaviour of exiting on disconnect if disabled.
2010-07-01 13:48:58 +02:00
Alexander Larsson
d69fd9408c
client: Use ASSERT, not assert
2010-07-01 10:50:12 +02:00
Alon Levy
2ec023b892
- fix for noopengl patch for server
...
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).
2010-07-01 10:35:46 +02:00
Yonit Halperin
37b4ae4162
fix for not clearing the cursor ring when the primary surface is destroyed
...
fixes a crash in qxl_soft_reset
2010-07-01 10:32:25 +02:00
Alexander Larsson
00e1caf45d
Simplify SpiceLineAttr by removing unsed stuff
...
Also in new protocol don't send style data if not needed.
2010-06-30 22:35:17 +02:00
Alexander Larsson
62d0c076eb
Automatically marshall SpiceClipRects
2010-06-30 22:35:17 +02:00
Alexander Larsson
99f581ae56
Automatically marshall SpicePath
2010-06-30 22:35:17 +02:00
Alexander Larsson
1be4d5d26c
Support @marshall to automatically marshall pointers
2010-06-30 22:35:17 +02:00
Alexander Larsson
a24a8ff72a
Store SpicePath segment count rather than size
...
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
2010-06-30 22:35:17 +02:00