blueswir1
eb38c52c2a
Fix most warnings that would be caused by gcc flag -Wundef
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5173 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-06 17:47:39 +00:00
aurel32
5bfd5521ff
Some little fixes on QEMU
...
- some vectors can be declared as "const"
- test on CONFIG_VNC_TLS is done for two times while just one is enough.
(Carlo Bramini)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5172 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-06 16:31:30 +00:00
aliguori
9ca313aa08
VNC: Support for ExtendedKeyEvent client message
...
This patch adds support for the ExtendedKeyEvent client message. This message
allows a client to send raw scan codes directly to the server. If the client
and server are using the same keymap, then it's unnecessary to use the '-k'
option with QEMU when this extension is supported.
This is extension is currently only implemented by gtk-vnc based clients
(gvncviewer, virt-manager, vinagre, etc.).
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5076 c046a42c-6fe2-441c-8c8c-71466251a162
2008-08-23 23:27:37 +00:00
aliguori
bcfad70fb0
add DisplayState->idle (Samuel Thibault)
...
Add idle field to DisplayState struct, so drivers can figure
the display is idle and take advantage of that.
The xen framebuffer driver will use this to communicate the
idle state to the guest, so it knows it can stop doing updates
to a virtual display which is invisible anyway.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5056 c046a42c-6fe2-441c-8c8c-71466251a162
2008-08-21 20:08:55 +00:00
ths
2137b4cca9
Add qemu_realloc(), by Gerd Hoffmann.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4986 c046a42c-6fe2-441c-8c8c-71466251a162
2008-08-06 08:37:17 +00:00
balrog
b94eb43f6e
Don't forget to save VNC FB dimensions after resize (Brad Campbell).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4644 c046a42c-6fe2-441c-8c8c-71466251a162
2008-06-02 01:40:29 +00:00
balrog
731dd637c2
Fix VNC update regoin height.
...
'h' actually is the coordinate of bottom of the rectangle and not height.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4571 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-25 00:38:47 +00:00
balrog
8bba5c81b1
Invalidate VNC framebuffer on every resize.
...
On a resize, vncviewer keeps the image in the upper-left part of the screen
unmodified and fills the right end of the lines with black colour. vnc.c keeps the first n bytes of the framebuffer unmodified instead - meaning that
the client's image doesn't match the image in framebuffer and checking
for dirty rows gives wrong results. We can either invalidate the whole
buffer or implement the same transformation as the client.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4569 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-25 00:14:34 +00:00
balrog
788abf8e41
Prevent SEGV in VNC server for old clients (Anthony Liguori).
...
If the client does not support the DesktopResize pseudo-encoding, then
vs->{width,height} may be smaller than ds->{width,height}. dirty_row is
sized according to vs->{width,height}, not ds->{width,height}.
This patch makes sure to bound the update region to vs->{width,height} to
avoid a possible SEGV.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Reported-by: Marcelo Tosatti <mtosatti@redhat.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4502 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-20 00:07:58 +00:00
balrog
ea01e5fd49
Fix spurious VNC disconnects on Win32 (Hervé Poussineau).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4251 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-24 23:40:55 +00:00
aurel32
b94ed5772e
Let the USB tablet reach the far bottom and right pixels
...
(Samuel Thibault)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4036 c046a42c-6fe2-441c-8c8c-71466251a162
2008-03-10 19:34:27 +00:00
balrog
4d3b6f6e12
Add an ncurses UI.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3976 c046a42c-6fe2-441c-8c8c-71466251a162
2008-02-10 16:33:14 +00:00
balrog
3aa3eea310
Add VNC reverse connections, by Eddie Kohler.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3951 c046a42c-6fe2-441c-8c8c-71466251a162
2008-02-03 02:54:04 +00:00
balrog
9f60ad5075
Add a missing vga_hw_update() when accepting a connection (Anders Melchiorsen).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3919 c046a42c-6fe2-441c-8c8c-71466251a162
2008-01-14 21:45:55 +00:00
balrog
a0ecfb73b1
Reduce redundant timer ticks in VNC, by Anders Melchiorsen.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3904 c046a42c-6fe2-441c-8c8c-71466251a162
2008-01-13 23:51:53 +00:00
ths
60fe76f386
Fix wrong signedness, by Andre Przywara.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3815 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-16 03:02:09 +00:00
balrog
0486e8a714
Fix fragments due to incomplete dirty tracking in CGA mode (Anthony Liguori).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3809 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-11 22:31:32 +00:00
pbrook
9596ebb701
Add statics and missing #includes for prototypes.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-18 01:44:38 +00:00
pbrook
87ecb68bdf
Break up vl.h.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 17:14:51 +00:00
balrog
a26c97adce
Handle 3.7 VNC clients authentication correctly (Dan Kenigsberg).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3498 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-31 01:58:56 +00:00
balrog
a528b80cb0
Miscellaneous VNC related fixes from Xen forwarded by Matthew Kent.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3489 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-30 22:38:53 +00:00
ths
b0566f4f45
Support UltraVNC clients, by Eduardo Felipe.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3288 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-30 13:01:15 +00:00
ths
3b46e62427
find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3177 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-17 08:09:54 +00:00
ths
5fafdf24ef
find -type f | xargs sed -i 's/[\t ]$//g' # on most files
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-16 21:08:06 +00:00
ths
baa7666c74
Fix infinite loop in VNC support, by Marc Bevand.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3169 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-13 12:41:42 +00:00
ths
6f43024c90
Custom location for x509 cert paths, by Daniel P. Berrange.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3139 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-25 01:39:57 +00:00
ths
469b15c68d
x509 client certificate verification, by Daniel P. Berrange.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3138 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-25 01:39:10 +00:00
ths
3a702699b2
x509 certificate for server, by Daniel P. Berrange.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3137 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-25 01:38:36 +00:00
ths
8d5d2d4c47
VeNCrypt basic TLS support, by Daniel P. Berrange.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3136 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-25 01:37:51 +00:00
ths
7084851534
VNC password authentication, by Daniel P. Berrange.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3135 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-25 01:37:05 +00:00
ths
e25a5822ca
Extend monitor 'change' command for VNC, by Daniel P. Berrange.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3134 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-25 01:36:20 +00:00
ths
71cab5ca0d
Refactor VNC server setup API, by Daniel P. Berrange.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3133 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-25 01:35:38 +00:00
ths
cf2d385c43
Crop VNC update requests to avoid segfaults, by Thomas Tuttle.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2741 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-29 01:53:20 +00:00
ths
c35734b2a6
Add -name option, by Anthony Liguori.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2505 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 15:17:08 +00:00
bellard
a9ce859052
info vnc command (Anthony Liguori)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2391 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-05 20:20:30 +00:00
bellard
564c337efd
Mouse relative offset VNC extension (Anthony Liguori)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2390 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-05 20:14:10 +00:00
ths
73fc97427b
Unix domain socket support for VNC, by Anthony Liguori.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2260 c046a42c-6fe2-441c-8c8c-71466251a162
2006-12-22 02:09:07 +00:00
ths
73e14b623f
Reduce VNC resize traffic, thanks Eduardo Felipe.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2245 c046a42c-6fe2-441c-8c8c-71466251a162
2006-12-14 13:36:01 +00:00
bellard
64f5a135a7
signed fixes - VNC console switch (initial patch by Andrzej Zaborowski)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2137 c046a42c-6fe2-441c-8c8c-71466251a162
2006-08-24 20:36:44 +00:00
bellard
99589bdcd1
support for higher resolutions
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1956 c046a42c-6fe2-441c-8c8c-71466251a162
2006-06-13 16:35:24 +00:00
bellard
3512779a88
support for all VNC pixel formats
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1923 c046a42c-6fe2-441c-8c8c-71466251a162
2006-05-14 18:11:49 +00:00
bellard
ceb5caaf18
removed ssize_t for win32 compatibility
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1900 c046a42c-6fe2-441c-8c8c-71466251a162
2006-05-03 21:18:59 +00:00
bellard
bdbd7676fd
uppercase fix (Anthony Liguori)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1889 c046a42c-6fe2-441c-8c8c-71466251a162
2006-05-01 21:44:22 +00:00
bellard
7d510b8c0c
copyright
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1878 c046a42c-6fe2-441c-8c8c-71466251a162
2006-05-01 10:38:19 +00:00
bellard
6ca957f08f
win32 socket fixes
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1876 c046a42c-6fe2-441c-8c8c-71466251a162
2006-04-30 22:53:25 +00:00
bellard
24236869fb
VNC server (Anthony Liguori)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1869 c046a42c-6fe2-441c-8c8c-71466251a162
2006-04-30 21:28:36 +00:00