Pierre Ossman
acd195d949
Remove debug log noise from Windows dialog class
9 years ago
Pierre Ossman
5b90c5fbf7
Convert WinVNC to the new TcpListener API
9 years ago
Pierre Ossman
a56bc86e1b
winsock2.h must always be included before windows.h
9 years ago
Pierre Ossman
79f82f95c1
Local address change events are not socket specific
9 years ago
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 years ago
Pierre Ossman
cd5c82a655
Fix unsafe format strings to the logging functions
9 years ago
Pierre Ossman
b0a8047bba
Don't shove a pointer into a 32-bit variable
9 years ago
Pierre Ossman
6e538b4020
Fix bad initialiser lists
9 years ago
Pierre Ossman
4c33d0bd98
Compiler doesn't like us not checking return values here
9 years ago
Pierre Ossman
e67bb2dfbb
Compiler doesn't like referencing unset variables
9 years ago
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 years ago
Pierre Ossman
e8b987b503
WIN64 should come from the compiler or SDK, not us
9 years ago
Pierre Ossman
8a044ee41e
Pointer truncation/expansion needs to be very explicit
9 years ago
Pierre Ossman
ba6fbfe368
Give CharArray a printf style method to ease automatic allocation
9 years ago
Pierre Ossman
7728be27d0
Add extra parentheses to avoid and/or priority ambiguity
9 years ago
Pierre Ossman
b1cd6ca8f0
Reorder class initialiser list to match what actually happens
9 years ago
Pierre Ossman
fb450fba5d
Fix mismatches between format string and arguments
9 years ago
Pierre Ossman
5c23b9ed7d
Fix bad signed/unsigned comparisons
Either by casting, or switching to a more appropriate type
for the variable.
9 years ago
Pierre Ossman
e84db6535e
Use new API for getVncAuthPasswd()
9 years ago
Pierre Ossman
f8d525b129
String literals are constant
10 years ago
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 years ago
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 years ago
Pierre Ossman
ff9eb5a949
Get rid of the direct access abuse of FullFramePixelBuffer's data
10 years ago
Pierre Ossman
b6b4dc6487
Remove full support for colour maps
Gets rid of a loooot of code and complexity.
Colour map clients are still supported through an
automatically generated map, but we lose the ability to
develop a client or server that uses colour maps
internally.
10 years ago
Pierre Ossman
5ad4d06006
Remove a lot of platform compatibilty stuff
It's either not used, or no longer relevant.
10 years ago
Pierre Ossman
890c10118c
Remove remnants of Windows only client
10 years ago
Pierre Ossman
4d0bc6e7ca
Fix some offenders that poke around in the PixelFormat internals
10 years ago
Pierre Ossman
9fe3479104
Remove the scaled pixel buffer classes as they are not used.
There were also reports of them being broken last time we still
made use of them.
10 years ago
Samuel Mannehed
65c9858dbc
Removes VeNCrypt-checkbox from the security page in the WinVNC options. Fixes bug #142.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5159 3789f03b-4d11-0410-bbf8-ca57d06f2519
10 years ago
Samuel Mannehed
60c419320d
Make WinVNC service mode work on Windows Vista and beyond.
Patch by Jochen Tucht, fixes bug 135.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5158 3789f03b-4d11-0410-bbf8-ca57d06f2519
10 years ago
Brian Hinz
dc6af3740c
Removes the additional padding reserved for the menubar and enables drag undocking for the java applet when served from Windows.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5157 3789f03b-4d11-0410-bbf8-ca57d06f2519
10 years ago
Peter Åstrand
f8212b949c
Update more copyrights to 2013.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5122 3789f03b-4d11-0410-bbf8-ca57d06f2519
11 years ago
Pierre Ossman
7f4fc69784
Windows has a bit of a peculiarity in that winsock2.h must be included
before windows.h for correct winsock behaviour. mingw-w64 also enforces
this order, so to avoid compile errors we must include windows.h late in
all files.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4906 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
ad8609a2ed
Fix unsafe usage of the logging functions.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
57bbce4306
Use the gcc way of creating shared segments in DLLs. The previous way
only works with MSVC.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4897 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
4c378e0f93
Build wm_hooks in its own directory. Makes the build structure more clear.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4896 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
95e28f74a2
Consolidate the installation paths and make sure we have decent defaults.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4873 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
bbf955ebd7
Reimplement the deferred update handling, this time in a more robust and
well-behaved manner.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4784 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
ccc0969dd9
Remove Visual C++ support
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4774 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
a3ac01ef9c
Clean up the interface for VNCSConnectionST. Entry points are more apparent
and the data flow is now more strictly aimed towards this connection class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4771 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
714110ba26
Fix installer build when using MinGW
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4769 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
3591fa5b96
The Tight decoding optimizations broke the build of the legacy viewers, so this seems like a good time to get rid of them like we discussed.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4759 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
11278c50dc
Fix Java viewer integration when building WinVNC with MinGW
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4727 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
3080ec4065
Enable WinVNC build with MinGW and MinGW64
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4723 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
e8b16be856
Newer versions of GCC (specifically, the one in MinGW64) don't like casting directly from a 64-bit pointer to a 32-bit integer, so we need to first cast to a 64-bit integer (remember that Windows is LLP64)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4722 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
c19ab9ec7f
Move Java source up one level and allow Java viewer to be built as a standalone project (per community request)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4715 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
857f1337eb
Only include Java viewer resources if BUILD_JAVA is defined
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4706 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
f50ec7c550
Fix WinVNC so that it embeds and serves up the Java viewer whenever BUILD_JAVA=1
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4704 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
07baad757a
Use generic copyright message which refers the user to the complete copyright history in README.txt
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4569 3789f03b-4d11-0410-bbf8-ca57d06f2519
13 years ago
DRC
71ac57699a
Don't need Windows formatted copy of LICENCE.TXT anymore
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4566 3789f03b-4d11-0410-bbf8-ca57d06f2519
13 years ago