Raphael Kubo da Costa
2d18f3cdcf
Do not hardcode the need for libresolv.
...
libresolv is only present on systems which use glibc; platforms such as
FreeBSD have __b64_ntop as part of libc itself.
Improve the detection process and only link against libresolv if it exists
on the system, and remember to reset CMAKE_REQUIRED_LIBRARIES after
performing the necessary tests, since we do not always want to link against
libresolv.
12 years ago
Raphael Kubo da Costa
4c148e5f74
Tune the definitions needed when building with -ansi.
...
The current definitions were mostly useful to glibc and followed its
feature_test_macros(3) documentation.
However, this means other platforms still had problems when building with
strict compilation flags. _BSD_SOURCE, for example, is only recognized by
glibc, and other platforms sometimes need _XOPEN_SOURCE instead, or even the
removal of some definitions (such as the outdate _POSIX_SOURCE one).
_POSIX_SOURCE also had to be conditionally defined in some places, as what
it enables or disables during compilation varies across systems.
12 years ago
Raphael Kubo da Costa
8f1ef3d66c
Add some missing feature macro definitions.
...
Building with -ansi failed due to some code (as well as system
headers) using non-C89 features. Fix that by adding the usual
_POSIX_SOURCE and _BSD_SOURCE definitions already present in some
other files.
12 years ago
Raphael Kubo da Costa
3cbef1a976
Use C-style comments in rfbconfig.h.cmake and C source code.
...
Using C++-style comments when building the code with -ansi does not
work, so be more conservative with the comment style.
12 years ago
Raphael Kubo da Costa
88e6043585
Correctly include rfbconfig.h.
...
build_dir/rfb is not passed as an include directory automatically to
the compiler, so including that file fails.
12 years ago
Raphael Kubo da Costa
539b310b48
CMake: Link against libgcrypt when it is found.
...
So far, libgcrypt was looked for but no targets linked against it
directly; this caused linking problems for the client and server
examples, as the symbols they needed were not passed to the linker.
The issue that the GnuTLS websockets code uses libgcrypt regardless of
whether it has been found or not has not been touched by this commit,
though.
12 years ago
Christian Beier
2b4f616d96
Update noVNC webclient.
12 years ago
Christian Beier
2fba1be453
Update AUTHORS.
12 years ago
Oliver Loch
584542ba97
Patched sockets.c to allow the use of IPv6 without IPv4.
...
As requested only those lines are indented that have been changed.
12 years ago
Johannes Schindelin
54f50c5e1d
Add another contributor
...
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
13 years ago
Rostislav Lisovy
0b396959fd
Fix in milliseconds to struct timeval conversion
...
Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
13 years ago
Christian Beier
af614dea11
Remove autogenerated files from repo.
13 years ago
Christian Beier
fef4386acc
Add Compile Time Version Test Defines.
13 years ago
Kyle J. McKay
66282f5800
libvncserver/sockets.c: do not segfault when listenSock/listen6Sock == -1
13 years ago
Christian Beier
2a97ab8679
Fix some compiler warnings that hinted some no too unimportant errors.
13 years ago
Christian Beier
ab74d36dcd
Update TODO.
13 years ago
Luca Falavigna
a6fedf258a
Encodingstest: Use format string argument with fprintf.
13 years ago
Christian Beier
62cfb3bbda
Bump version to 0.9.10.
13 years ago
Christian Beier
7bac05aeed
Update ChangeLog for 0.9.9.
13 years ago
Christian Beier
f9e11bb222
Enable building DLLs with MinGW32.
13 years ago
Christian Beier
8327179d12
Update NEWS for 0.9.9.
13 years ago
Christian Beier
231763cb0e
LibVNCClient: #undef these types in case it's WIN32.
...
The various other headers include windows.h and the winsock headers
which give an error when SOCKET and socklen_t are already defined.
13 years ago
Christian Beier
3e0cf05e12
LibVNCServer: Include ws2tcpip.h if it's available.
...
Needed for the IPv6 stuff.
13 years ago
Christian Beier
a0cee790cf
LibVNCServer: Prefer GnuTLS over OpenSSL to be in sync with LibVNCClient.
13 years ago
Christian Beier
fb824c8ce3
Some more libjpeg, libpng and zlib related build fixes.
13 years ago
Christian Beier
ae41be237f
Make PKG_CHECK_MODULES fail non-fatal.
...
These check for optional modules.
13 years ago
Christian Beier
d4cbaa0c17
Only try to build TightPNG stuff when libjpeg is available.
...
TightPNG replaces the ZLIB stuff int Tight encoding with PNG. It still
uses JPEG rects as well. Theoretically, we could build TightPNG with only
libpng and libjpeg - without zlib - but libpng depends on zlib, so this is
kinda moot.
13 years ago
Christian Beier
c58213846e
Only build libjpeg test programs if libjpeg is actually available.
13 years ago
Christian Beier
98125f9d4c
Fix CMake build of LibVNCClient.
13 years ago
Christian Beier
81289eb624
Properly check return value.
...
This also fixes a compiler warning.
13 years ago
Christian Beier
cdf8a18c13
Fix build when no libjpeg is available.
13 years ago
Christian Beier
a48ef69be3
Include some more missing files for make dist.
13 years ago
Christian Beier
450d2ebfd2
Include missing files for make dist.
13 years ago
Christian Beier
4a5eee94e8
Fix libvncclient make dist.
13 years ago
Christian Beier
b5a91ab231
Better check for Linux build.
13 years ago
Christian Beier
7f063f8efe
Binaries that are to be installed should be all lowercase.
13 years ago
Christian Beier
b3a661fb72
Bump version to 0.9.9.
13 years ago
Christian Beier
6f9a9160c4
Fix some compiler warnings thrown with newer gcc.
13 years ago
Christian Beier
413ca0dfef
Merge branch 'turbovnc'
...
Conflicts, resolved manually:
AUTHORS
13 years ago
Christian Beier
1df6bffd9e
Fix turbojpeg tests compilation.
13 years ago
DRC
f35624225b
Fix compilation with some libjpeg distributions.
13 years ago
Monkey
2524573678
Added support for UltraVNC Single Click as originally proposed by Noobius (Boobius) on 6/1/11.
...
Original thread: http://sourceforge.net/tracker/?func=detail&aid=3310255&group_id=32584&atid=405860
13 years ago
Christian Beier
91d0a8497b
Add Philip to AUTHORS.
13 years ago
Christian Beier
e2beac6d93
LibVNCClient: Fix build with no SSL/TLS library available.
13 years ago
Christian Beier
f606179c9c
LibVNCClient: properly free the openssl session stuff on shutdown.
13 years ago
Christian Beier
77286f0831
LibVNCClient: Remove all those WITH_CLIENT_TLS #ifdefs and move GnuTLS specific functionality into tls_gnutls.c.
13 years ago
Christian Beier
7bf369a04b
Unify GnuTLS vs OpenSSL build systems stuff between libvncclient and libvncserver.
13 years ago
Christian Beier
5e9da5a2f8
Add the OpenSSL libvncclient TLS version to the build system.
13 years ago
Christian Beier
98f4037785
Update our copy of noVNC.
...
Bugfixes and support for tight encoding with zlib.
13 years ago
Christian Beier
7cb8fd9b30
Make TurboVNC compress level 3 actually work.
13 years ago