Peter Åstrand (astrand)
90afb1c20c
Configuration::listParams wants width/nameWidth; not ConfigurationObject
6 лет назад
Pierre Ossman
b000ff1327
Get rid of getFbSize()/getDesktopSize() in common
It was only used by WinVNC, so push it there instead.
6 лет назад
Rahul Kale
7423417f7a
rfb_win32: Use scan codes if available
If scan codes are available using QEMU Extended Keyboard Messages
from clients, use that to inject scancodes directly into the
system using the SendInput API.
No conversion is needed as Windows uses the same scancode encoding.
Signed-off-by: Rahul Kale <Rahul.Kale@barco.com>
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
7 лет назад
Pierre Ossman
5ae282135f
Basic support for QEMU Extended Key Events
This adds the basic infrastructure and handshake for the QEMU
Extended Key Events extension. No viewer or server makes use of
the extra functionality yet though.
7 лет назад
Rahul Kale
c719e4a0c9
rfb_win32: Add support for LED state notifications
LED support added using Windows GetKeyState() API call.
The state is polled for change in CapsLock/NumLock/ScrollLock
status in the same code block where chages to Cursor shape is polled.
Signed-off-by: Rahul Kale <Rahul.Kale@barco.com>
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
7 лет назад
Samuel Mannehed
8e5a29e4b2
Update visible copyright year to 2017
7 лет назад
Pierre Ossman
6a1a0d0c57
Change cursor API to use RGBA data
This will allow us to use better formats that preserve the entire
alpha channel.
7 лет назад
klemens
0536d0975b
spelling fixes
7 лет назад
Pierre Ossman
c7860c2cb6
Don't fail old service cleanup
7 лет назад
Pierre Ossman
338e73aef8
Replace Windows specific thread handling
Use the platform independent primitives instead.
8 лет назад
Pierre Ossman
ed92079eb6
Clean up old WinVNC services
We've changed the service name a couple of times for various
reasons. Make sure the old versions are removed when the new one
is registered.
8 лет назад
Pierre Ossman
4e7d05c992
Don't reference Xregion unless used directly
8 лет назад
Pierre Ossman
3a177d7aea
Specify TigerVNC Project as the vendor/company
8 лет назад
Pierre Ossman
d408ca5146
Move socket write event handling in to the RFB core
What to do when a socket is writeable should be handled in the
RFB core code as there may be other events we want to fire off
when this happens.
8 лет назад
Bojan Memetovic
fa937783d7
change the Copyright year
8 лет назад
Pierre Ossman
fc08bee5af
Remove legacy Windows code
We have lots of code that deals with Windows versions that we no
longer support anyway. Clean out all of this old cruft.
8 лет назад
Pierre Ossman
4ab1e5d4b5
Remove stub mirror driver code
We don't have any meaningful code for the mirror driver, so
remove the confusing stub and interface for it.
8 лет назад
Pierre Ossman
526b3802b4
Shorten service identifier
The identifier is used to compute the registry path, and should
ideally be kept short and without spaces.
8 лет назад
Pierre Ossman
018c67e6e1
Provide description for services
The argument named "desc" was not actually the description, but
rather the short "display name". Add handling for the actual
description to reduce confusion.
8 лет назад
Pierre Ossman
6a2b6bf396
Enable Windows specific debug code in debug builds
8 лет назад
Pierre Ossman
023df7effb
Use correct type for format string
8 лет назад
Pierre Ossman
eab85bca5e
Clean up listening sockets on error
8 лет назад
Pierre Ossman
f7aa3f9bd3
Return TcpListener pointers rather than objects
It is easier to control object life time and avoid magical socket
duplication by having a single TcpListener object to pass around.
We have to be more careful about deleting the object though.
8 лет назад
Pierre Ossman
cd87317f6d
Show error dialog when ACL pattern isn't accepted
9 лет назад
Pierre Ossman
14e214f10b
Change netmask to prefix in ACL documentation
The IPv6 additions deprecated support for netmasks in the access
control lists. Unfortunately some documentation was not updated
to reflect this fact.
9 лет назад
Pierre Ossman
a9af1f1246
Fix some bad signed/unsigned mismatches
9 лет назад
Pierre Ossman
bc84faa2f3
Improve TigerVNC branding in WinVNC
Avoids conflicts with the original RealVNC implementation, or any
other forks of that code.
9 лет назад
Pierre Ossman
acd195d949
Remove debug log noise from Windows dialog class
9 лет назад
Pierre Ossman
5b90c5fbf7
Convert WinVNC to the new TcpListener API
9 лет назад
Pierre Ossman
a56bc86e1b
winsock2.h must always be included before windows.h
9 лет назад
Pierre Ossman
79f82f95c1
Local address change events are not socket specific
9 лет назад
Pierre Ossman
57cab51d83
Resurrect TcpListener::getMyAddresses()
It is needed by WinVNC, but got removed in 892d10a70
. Also fix
a couple of issues:
- Use getnameinfo() in order to be compatible with Windows XP
- Make it static since it doesn't use a specific socket
- Respect UseIPv4 and UseIPv6
- Flags for getaddrinfo() that match binding code
- Dummy service value for Windows compatibility
9 лет назад
Pierre Ossman
cd5c82a655
Fix unsafe format strings to the logging functions
9 лет назад
Pierre Ossman
b0a8047bba
Don't shove a pointer into a 32-bit variable
9 лет назад
Pierre Ossman
6e538b4020
Fix bad initialiser lists
9 лет назад
Pierre Ossman
4c33d0bd98
Compiler doesn't like us not checking return values here
9 лет назад
Pierre Ossman
e67bb2dfbb
Compiler doesn't like referencing unset variables
9 лет назад
Pierre Ossman
40e3ceb007
LPARAM and WPARAM have different types on Win32 and Win64
Solve it by casting to the larger of the two, i.e. 64-bit.
9 лет назад
Pierre Ossman
e8b987b503
WIN64 should come from the compiler or SDK, not us
9 лет назад
Pierre Ossman
8a044ee41e
Pointer truncation/expansion needs to be very explicit
9 лет назад
Pierre Ossman
ba6fbfe368
Give CharArray a printf style method to ease automatic allocation
9 лет назад
Pierre Ossman
7728be27d0
Add extra parentheses to avoid and/or priority ambiguity
9 лет назад
Pierre Ossman
b1cd6ca8f0
Reorder class initialiser list to match what actually happens
9 лет назад
Pierre Ossman
fb450fba5d
Fix mismatches between format string and arguments
9 лет назад
Pierre Ossman
5c23b9ed7d
Fix bad signed/unsigned comparisons
Either by casting, or switching to a more appropriate type
for the variable.
9 лет назад
Pierre Ossman
e84db6535e
Use new API for getVncAuthPasswd()
9 лет назад
Pierre Ossman
f8d525b129
String literals are constant
10 лет назад
Pierre Ossman
a32040d7c9
Provide a better R/W base PixelBuffer class
Clearly separates the read API from the write API
and also from actual implementation.
10 лет назад
Pierre Ossman
2e5a106083
Get rid of getStride()
It was confusing and not properly used everywhere.
Callers should use the stride they get when they get
the buffer pointer.
10 лет назад
Pierre Ossman
ff9eb5a949
Get rid of the direct access abuse of FullFramePixelBuffer's data
10 лет назад