Commit Graph

482 Commits

Author SHA1 Message Date
Yonit Halperin
7b7feaecdf client: Fix for clipboard sending; It wasn't thread safe. 2010-08-23 08:19:26 +03:00
Yonit Halperin
a5194d37e9 client: fix - exit on bad display-effect argument 2010-08-23 08:19:09 +03:00
Alexander Larsson
eb5de022d4 Stride can be negative, so don't use size_t for it 2010-08-18 16:33:20 +02:00
Alon Levy
6e454248cc support python 2.5.4+ for marshaller/demarshallers
Patch adds a "from __future__" import that doesn't affect newer python's but
allows python 2.5.4 to run the code (tested under scratchbox, n900 build environment)
2010-08-17 16:56:47 +02:00
Alon Levy
01c06d6eaa client: Application::get_screen: fix double SpicePoint size, second hiding the first 2010-07-29 13:22:54 +03:00
Alon Levy
1b0ab2027e add arm and armv7 to configurable 32 bit variants in configure.ac (n900 and pc-z1 tested respectively) 2010-07-29 12:47:47 +03:00
Alon Levy
a8f2925162 add eol after #ifdef in jpeg_encoder.h for n900 scratchbox compiler 2010-07-29 11:10:41 +03:00
Alon Levy
c44b6acb09 server: add vdi_port write retry timer. RHBZ 616772 2010-07-22 11:14:26 +03:00
Alexander Larsson
e24d2094a4 Don't do manual marshalling for input channel 2010-07-21 10:14:06 +02:00
Alexander Larsson
eae3274b5f Fix typo in NEWS 2010-07-21 09:20:25 +02:00
Alexander Larsson
0e50cdbdc3 Update NEWS for 0.5.3 2010-07-20 18:11:49 +02:00
Alexander Larsson
6addcbb70d Require spice-protocol 0.5.3 or later 2010-07-20 18:07:02 +02:00
Alexander Larsson
61a14dc5c2 Bump version to 0.5.3 2010-07-20 18:06:22 +02:00
Alexander Larsson
bdeae7ffb2 server: Properly order rgb for 24bit bitmaps when sending to libjpeg
SPICE_BITMAP_FMT_24BIT order is bgr, libjpeg wants rgb.
This fixes freedesktop bug #28089
2010-07-20 14:05:36 +02:00
Alexander Larsson
ccbb922d5a Swap red and blue when decoding 0.4 mjpeg streams
There was an error in how this was encoded in 0.4, which we need
to handle. There is still some issues with the old streams as
the luminocity handling in 0.4 was not correct.
2010-07-20 11:45:37 +02:00
Alexander Larsson
2e9604d00d demarshaller: Fix palette marshalling
It turns out that using base + sizeof(struct) is not a good way to
access an array at the end of a struct. For SpicePalette sizeof is 16, but
offset of ents is 12. Using this calculation in the demarshaller breaks
things badly, so now we use the actual array member.
2010-07-20 11:34:23 +02:00
Alexander Larsson
5f664e0ffb Don't send padding over the network with video data 2010-07-20 11:33:57 +02:00
Alexander Larsson
74b470eede Fix uninitialized variable warnings 2010-07-19 20:24:25 +02:00
Alexander Larsson
e646529d2e Don't send CursorHeader if cursor_flags is NONE 2010-07-19 16:28:23 +02:00
Alexander Larsson
3880980380 Send Clip.rects inline rather than using a pointer 2010-07-19 16:28:23 +02:00
Alexander Larsson
7690a24acd codegen: Allow @to_ptr to make inline structs demarshal as pointers 2010-07-19 16:28:22 +02:00
Alexander Larsson
12b08f2c3e codegen: Various cleanups
Remove all uses of @end in the marshaller, instead just using
the C struct array-at-end-of-struct. To make this work we also remove
all use of @end for switches (making them C unions).

We drop the zero member of the notify message so that we can avoid this
use of @end for a primitive in the marshaller (plus its useless to send
over the wire).

We change the offsets and stuff in the migration messages to real pointers.
2010-07-19 16:28:22 +02:00
Alexander Larsson
2962bdaea0 codegen: Pass member to SubMarshallingSource rather than name
This way we can check attributes on the member.
2010-07-19 16:28:21 +02:00
Alexander Larsson
b8832e0391 codegen: Remove unused methos has_pointer() 2010-07-19 16:28:20 +02:00
Alon Levy
5cc9b924cb server vdi port: prevent recursive calls to read_from_vdi_port (required for spice-vmc) 2010-07-19 10:30:48 +03:00
Arnon Gilboa
ce03f5449d client: add clipboard support
* windows - untested
 * linux - small strings both ways, large implemented differently:
  * client to guest - support INCR
  * guest to client - we supply a single possibly very large property
 * requires server changes in next patch to work with spice-vmc
2010-07-19 10:30:19 +03:00
Alon Levy
4f8545ed62 fix typo DisplayModeListner -> DisplayModeListener 2010-07-19 10:28:06 +03:00
Yonit Halperin
9877e7ae84 client: command line arguments for setting windows guest monitors'
color depth and disabling some display options (helpful on WAN)
2010-07-19 09:40:11 +03:00
Yonit Halperin
7df548358c canvas_base jpeg_alpha: supply the correct size to jpeg_decoder 2010-07-15 11:50:28 +03:00
Yonit Halperin
39d8fec68c Merge branch 'master' of git://git.freedesktop.org/git/spice/spice into spice_image 2010-07-15 11:47:36 +03:00
Gerd Hoffmann
cc5b59e0f3 add SPICE_SERVER_VERSION
Allow to ifdef features which depend on a certain libspice-server release.
2010-07-14 19:01:41 +02:00
Gerd Hoffmann
c6af0de841 update shlib minor
commit c90183da94 added two new functions,
update shared lib minor version for that.
2010-07-14 18:55:27 +02:00
Yonit Halperin
c90183da94 server: enabling/disabling jpeg and zlib-over-glz via spice command line args 2010-07-14 12:16:23 +03:00
Gerd Hoffmann
b1761377d1 red_glz_compress_image: lines isn't needed any more 2010-07-13 10:11:48 +02:00
Yonit Halperin
4b9304d54a server: enabling/disabling jpeg and zlib-over-glz via spice command line args 2010-07-12 14:16:31 +03: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