Pierre Ossman
056c153209
Clarify Windows SO_REUSEADDR exception
9 vuotta sitten
Pierre Ossman
b6536e250a
Repair SO_REUSEADDR
SO_REUSEADDR needs to be set before we call bind() for it to have
any effect. It got shuffled around in e4d9726
.
9 vuotta sitten
Pierre Ossman
1c7a30409d
Merge branch 'translate' of https://github.com/CendioOssman/tigervnc
9 vuotta sitten
Stéphane Aulery
c62cc35748
Update French translation
9 vuotta sitten
Pierre Ossman
685b408779
Use relative file paths in .pot file
Otherwise it keeps changing depending on where your working copy
is located, causing unnecessary diffs.
9 vuotta sitten
Pierre Ossman
96132e12bd
Revert "Commit changes after running "make translations_update"."
This reverts commit a9cb97037e
.
We shouldn't automatically update the .po files as they are
controlled by the translation project.
9 vuotta sitten
Pierre Ossman
a60c84285b
Revert "Updated the swedish translation."
This reverts commit e674c634fb
.
Translations must come via the translation project.
9 vuotta sitten
Pierre Ossman
a2f241fce9
Stop updating .po files
The .po files are handled by the translation project, so we should
avoid updating them ourselves.
9 vuotta sitten
Brian P. Hinz
706d6c44de
Added Fltk patch from Pierre to fix "checksum for freed object" segfault to contrib/fltk folder.
9 vuotta sitten
Pierre Ossman
ccd09baedd
Fix about text encoding (partial revert of dc96cb4d)
It was actually a feature to translate the about string multiple
times as we may need different character encodings for it. We
still want a better approach that allows the compiler to analyse
the format string though so it isn't just a simple revert.
9 vuotta sitten
Brian P. Hinz
76cf5b34f8
Update build requirements in el6 spec file
Make the dependency on g++ explicit.
Now that the native version of cmake in el6 has been bumped to
v2.8 we can remove the dependency on EPEL's cmake28 package.
9 vuotta sitten
Peter Åstrand (astrand)
e674c634fb
Updated the swedish translation.
9 vuotta sitten
Peter Åstrand (astrand)
a9cb97037e
Commit changes after running "make translations_update".
9 vuotta sitten
Peter Åstrand (astrand)
4ab2f8ab85
Removed extra newline in Listening on port printout.
9 vuotta sitten
Pierre Ossman
c9a835c0c2
Merge branch 'multisocket-win32' of https://github.com/CendioOssman/tigervnc
9 vuotta sitten
Pierre Ossman
cfb21169c4
Require getaddrinfo() on all systems
Every reasonably current system support getaddrinfo() so get rid
of the legacy fallbacks.
9 vuotta sitten
Pierre Ossman
acd195d949
Remove debug log noise from Windows dialog class
9 vuotta sitten
Pierre Ossman
f7d15000ff
Do not look at errno for getaddrinfo() errors
9 vuotta sitten
Pierre Ossman
3ab5db4384
Replacement for dup() on Windows
It doesn't work on sockets, which require a bit more care.
9 vuotta sitten
Pierre Ossman
a08a8436a9
Remove HAVE_INET_ATON as nothing uses it
9 vuotta sitten
Pierre Ossman
5b90c5fbf7
Convert WinVNC to the new TcpListener API
9 vuotta sitten
Pierre Ossman
a56bc86e1b
winsock2.h must always be included before windows.h
9 vuotta sitten
Pierre Ossman
79f82f95c1
Local address change events are not socket specific
9 vuotta sitten
Pierre Ossman
3aaaf66fb1
Nothing uses inet_ntop()/inet_pton() so remove the CMake define
9 vuotta sitten
Pierre Ossman
a6f97409e8
Fix proper socket headers for Win32
9 vuotta sitten
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 vuotta sitten
Pierre Ossman
9d78440b83
Make sure Win32 sockets are available in new listening API
9 vuotta sitten
Pierre Ossman
a6570c5da3
AI_NUMERICSERV is not available on some systems
9 vuotta sitten
Pierre Ossman
2f744170d4
Make sure socket errno defines are available for Win32
9 vuotta sitten
Pierre Ossman
a3f6194601
Look in libsocket for socket functions on Solaris
9 vuotta sitten
Pierre Ossman
98af8b1e73
stop using check_function_exists() for Windows socket functions
It fails to find stdcall functions, so we need to just hard code
things based on our minimum Windows requirements.
9 vuotta sitten
Pierre Ossman
70b51fe032
stop setting CMAKE_EXTRA_INCLUDE_FILES for check_function_exists()
It ignores it anyway.
9 vuotta sitten
Pierre Ossman
725121715e
Bump Windows requirement to XP SP2
That's even more generous than Microsoft themselves, and we need
such a new version for basic IPv6 support.
9 vuotta sitten
Pierre Ossman
fdc55e54cc
family variable can be unset when matching any address
9 vuotta sitten
Pierre Ossman
ead143f763
Merge branch 'multisocket-rebased' of https://github.com/twaugh/tigervnc
9 vuotta sitten
Brian P. Hinz
b84ffb4db7
Remove unnecessary dependency on openmotif
Requirement was an artifact of older version of mesa, and is no longer necessary.
9 vuotta sitten
Brian P. Hinz
22507ca925
Update package builds to meet new minimum requirements.
el5 and el6 need newer versions of gnutls (and it's prereqs) than are available natively.
9 vuotta sitten
Tim Waugh
c24a64d90d
IPv6 support for TcpFilter.
9 vuotta sitten
Tim Waugh
892d10a705
Fixed IPv6 support.
The TcpListener constructor now takes a 'struct sockaddr*' instead of
a string, and the createTcpListeners function creates TcpListener
instances for an address based on the results from getaddrinfo().
The XserverDesktop class now takes a list of TcpListener instances for
each of the RFB and HTTP sockets.
The TcpListener::closeFd member variable is not used and has been
removed.
9 vuotta sitten
Pierre Ossman
d1cb31f436
Merge branch 'upreqs' of https://github.com/CendioOssman/tigervnc
Conflicts:
contrib/packages/rpm/el5/SPECS/tigervnc.spec
vncviewer/Viewport.cxx
9 vuotta sitten
Tim Waugh
a85363daa8
Whitespace changes only.
9 vuotta sitten
Brian P. Hinz
59b4bc5638
Don't disable xinerama (#147)
Xinerama was disabled in the redhat spec file that ours was adapted from. Unsure why it was disabled in the first place.
9 vuotta sitten
Pierre Ossman
6e67ea58a5
Merge branch 'mac_menu' of https://github.com/CendioOssman/tigervnc
9 vuotta sitten
Pierre Ossman
a71a276637
Add a OS X system menu so that new viewer windows can be started
9 vuotta sitten
Pierre Ossman
8d713a92af
Hide OS X specific callback when not needed
9 vuotta sitten
Pierre Ossman
3b865f1373
Fix bad long line detection logic in config file parser
9 vuotta sitten
Pierre Ossman
d7f8450c37
Change type to fix bad signed/unsigned comparison
9 vuotta sitten
Pierre Ossman
833ddc99ff
Merge branch 'warnings' of https://github.com/CendioOssman/tigervnc
9 vuotta sitten
Pierre Ossman
123d59cd19
Make warnings into errors when doing debug builds
Assume debug builds means it's a developer working on TigerVNC
rather than a user just compiling it. At that point we should not
accept any new warnings in the code.
9 vuotta sitten
Pierre Ossman
3620e19621
Make sure defaultServerName is initialised even on errors
9 vuotta sitten