]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
9 years agoStart a hidden rather than minimised vncconfig
Pierre Ossman [Thu, 30 Jul 2015 09:04:02 +0000 (11:04 +0200)]
Start a hidden rather than minimised vncconfig

This is plumbing that we shouldn't have to annoy the user with a
separate window for.

9 years agoAdd a missing break statement. 182/head
Joel Teichroeb [Sat, 18 Jul 2015 14:09:24 +0000 (07:09 -0700)]
Add a missing break statement.

9 years agoAdd minimize button on f8 menu. Fixes #90
Joel Teichroeb [Mon, 13 Jul 2015 21:46:22 +0000 (14:46 -0700)]
Add minimize button on f8 menu. Fixes #90

9 years agoAdd resize on connect menu controls to Java viewer
Brian P. Hinz [Fri, 10 Jul 2015 02:48:32 +0000 (22:48 -0400)]
Add resize on connect menu controls to Java viewer

Adds controls for resize on connect to the options dialog. Fixes #104

9 years agoUpdate OptionsDialog UI layout for better consistency with Fltk viewer
Brian P. Hinz [Thu, 9 Jul 2015 00:39:18 +0000 (20:39 -0400)]
Update OptionsDialog UI layout for better consistency with Fltk viewer

Cosmetic updates to make the options dialog look more like the Fltk
viewer.

9 years agoMerge branch 'translation' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Sat, 11 Jul 2015 12:55:15 +0000 (14:55 +0200)]
Merge branch 'translation' of https://github.com/CendioOssman/tigervnc

9 years agoMerge pull request #103 from hifi/runfix
Brian Hinz [Sat, 4 Jul 2015 02:30:39 +0000 (22:30 -0400)]
Merge pull request #103 from hifi/runfix

Allow java viewer to load without manifest properly

9 years agoAdd Bulgarian translation 181/head
Alexander Shopov [Thu, 2 Jul 2015 10:50:29 +0000 (12:50 +0200)]
Add Bulgarian translation

9 years agoAllow java viewer to load without manifest properly 103/head
Toni Spets [Tue, 20 Jan 2015 19:30:34 +0000 (21:30 +0200)]
Allow java viewer to load without manifest properly

9 years agoAdd Danish translation
Joe Hansen [Mon, 29 Jun 2015 08:35:06 +0000 (10:35 +0200)]
Add Danish translation

9 years agoUpdate Swedish translation
Göran Uddeborg [Thu, 25 Jun 2015 07:30:01 +0000 (09:30 +0200)]
Update Swedish translation

9 years agoUpdate Ukrainian translation
Yuri Chornoivan [Thu, 25 Jun 2015 07:29:19 +0000 (09:29 +0200)]
Update Ukrainian translation

9 years agoUpdate translation template
Pierre Ossman [Thu, 25 Jun 2015 07:27:39 +0000 (09:27 +0200)]
Update translation template

9 years agoFix infinite update caused by b64dbf2
Pierre Ossman [Tue, 23 Jun 2015 13:29:37 +0000 (15:29 +0200)]
Fix infinite update caused by b64dbf2

The bug fix in b64dbf2 didn't account for the proper request
region in the case of continuous updates. Make sure we use the
proper variable for which region we've sent updates for.

9 years agoChange development version to 1.5.80
Pierre Ossman [Thu, 18 Jun 2015 08:45:21 +0000 (10:45 +0200)]
Change development version to 1.5.80

9 years agoAdd Greek translation
Vangelis Skarmoutsos [Thu, 18 Jun 2015 07:40:01 +0000 (09:40 +0200)]
Add Greek translation

9 years agoFix some bad signed/unsigned mismatches
Pierre Ossman [Wed, 17 Jun 2015 08:47:28 +0000 (10:47 +0200)]
Fix some bad signed/unsigned mismatches

9 years agoAvoid losing updates on partial requests
Pierre Ossman [Tue, 9 Jun 2015 14:10:39 +0000 (16:10 +0200)]
Avoid losing updates on partial requests

A request may be for only part of the frame buffer, meaning we cannot
discard all changes just because we've send out an update. There might
still be modified areas remaining that haven't been requested yet.

9 years agoClean up server rendered cursor logic
Pierre Ossman [Tue, 9 Jun 2015 14:09:06 +0000 (16:09 +0200)]
Clean up server rendered cursor logic

Variables were reused a bit too heavily and it was possible to get
the logic at a point where the server would try to render a cursor
where it wasn't needed, and the empty update rect would cause a
crash. Clear things up by introducing some more explicit variables.

9 years agoChange fillRect() to take a buffer instead of a pixel
Pierre Ossman [Fri, 5 Jun 2015 10:57:02 +0000 (12:57 +0200)]
Change fillRect() to take a buffer instead of a pixel

There has been some confusion if fillRect() should accept a buffer
or a pixel. This can cause misrendering if your data is not in the
native endian order. A buffer makes more sense here though, and
is what most of the callers are already assuming, so change the
API to follow that.

9 years agoFix Winsock errno code overlap
Pierre Ossman [Fri, 29 May 2015 14:54:21 +0000 (16:54 +0200)]
Fix Winsock errno code overlap

Some Winsock errno:s conflict with the standard ones. Try to
restrict the redefines to things relevant for sockets.

9 years agoFinish removing unnecessary libos patches fro RPM builds.
Brian P. Hinz [Tue, 5 May 2015 02:09:10 +0000 (22:09 -0400)]
Finish removing unnecessary libos patches fro RPM builds.

The patch sources were removed but the %patch commands were
left in the spec files.

9 years agoImprove TigerVNC branding in WinVNC
Pierre Ossman [Mon, 4 May 2015 13:04:21 +0000 (15:04 +0200)]
Improve TigerVNC branding in WinVNC

Avoids conflicts with the original RealVNC implementation, or any
other forks of that code.

9 years agoDefault to -noreset in Xvnc
Pierre Ossman [Mon, 4 May 2015 12:46:00 +0000 (14:46 +0200)]
Default to -noreset in Xvnc

We cannot handle a reset properly right now and are forced to terminate
instead. Avoid surprising people with a dying Xvnc by changing the default
to -noreset.

9 years agoOnly include syslog logger on Unix systems
Pierre Ossman [Mon, 4 May 2015 12:45:43 +0000 (14:45 +0200)]
Only include syslog logger on Unix systems

9 years agoMerge branches 'noreset' and 'syslog' of https://github.com/michalsrb/tigervnc
Pierre Ossman [Mon, 4 May 2015 12:32:25 +0000 (14:32 +0200)]
Merge branches 'noreset' and 'syslog' of https://github.com/michalsrb/tigervnc

9 years agoRemove no longer needed libos patches
Pierre Ossman [Thu, 30 Apr 2015 07:32:31 +0000 (09:32 +0200)]
Remove no longer needed libos patches

This workaround is no longer needed as we've fixed the bad interaction
with libtool.

9 years agoSet libdir in generated .la files
Pierre Ossman [Thu, 30 Apr 2015 07:28:37 +0000 (09:28 +0200)]
Set libdir in generated .la files

This is needed in order to get libtool to treat them as normal
libraries and not "convenience libraries". The latter are linked
with --whole-archive, which pulls a lot of unnecessary stuff into
Xvnc and libvnc.so.

9 years agoAdd Finnish translation
Jorma Karvonen [Thu, 30 Apr 2015 07:25:39 +0000 (09:25 +0200)]
Add Finnish translation

9 years agoUpdate French translation
Stéphane Aulery [Mon, 27 Apr 2015 11:15:40 +0000 (13:15 +0200)]
Update French translation

9 years agoAdd -version argument to Xvnc
Pierre Ossman [Mon, 27 Apr 2015 11:01:39 +0000 (13:01 +0200)]
Add -version argument to Xvnc

9 years agoRemove parameter "hasBeenSet" logic
Pierre Ossman [Mon, 27 Apr 2015 10:48:47 +0000 (12:48 +0200)]
Remove parameter "hasBeenSet" logic

It doesn't really make sense anymore given that settings might come
from the GUI or configuration and not only the command line.

9 years agoRemove hardcoded "Xvnc" in syslog logger. 165/head
Michal Srb [Fri, 24 Apr 2015 13:33:56 +0000 (16:33 +0300)]
Remove hardcoded "Xvnc" in syslog logger.

9 years agoClarify Windows SO_REUSEADDR exception 168/head
Pierre Ossman [Thu, 23 Apr 2015 09:30:59 +0000 (11:30 +0200)]
Clarify Windows SO_REUSEADDR exception

9 years agoRepair SO_REUSEADDR
Pierre Ossman [Thu, 23 Apr 2015 09:23:16 +0000 (11:23 +0200)]
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 years agoMerge branch 'translate' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Wed, 22 Apr 2015 11:30:41 +0000 (13:30 +0200)]
Merge branch 'translate' of https://github.com/CendioOssman/tigervnc

9 years agoUpdate French translation 167/head
Stéphane Aulery [Wed, 22 Apr 2015 11:26:29 +0000 (13:26 +0200)]
Update French translation

9 years agoUse relative file paths in .pot file
Pierre Ossman [Wed, 22 Apr 2015 10:57:30 +0000 (12:57 +0200)]
Use relative file paths in .pot file

Otherwise it keeps changing depending on where your working copy
is located, causing unnecessary diffs.

9 years agoRevert "Commit changes after running "make translations_update"."
Pierre Ossman [Wed, 22 Apr 2015 10:28:50 +0000 (12:28 +0200)]
Revert "Commit changes after running "make translations_update"."

This reverts commit a9cb97037e098dd6c812f4c063937c8777c62dce.
We shouldn't automatically update the .po files as they are
controlled by the translation project.

9 years agoRevert "Updated the swedish translation."
Pierre Ossman [Wed, 22 Apr 2015 10:23:45 +0000 (12:23 +0200)]
Revert "Updated the swedish translation."

This reverts commit e674c634fbace353ed7e7e344ca4d5463cf72773.
Translations must come via the translation project.

9 years agoStop updating .po files
Pierre Ossman [Wed, 22 Apr 2015 10:22:06 +0000 (12:22 +0200)]
Stop updating .po files

The .po files are handled by the translation project, so we should
avoid updating them ourselves.

9 years agoAdded Fltk patch from Pierre to fix "checksum for freed object" segfault to contrib...
Brian P. Hinz [Tue, 21 Apr 2015 03:39:13 +0000 (23:39 -0400)]
Added Fltk patch from Pierre to fix "checksum for freed object" segfault to contrib/fltk folder.

9 years agoEnable and document syslog logger in Xvnc.
Michal Srb [Fri, 10 Apr 2015 13:56:54 +0000 (16:56 +0300)]
Enable and document syslog logger in Xvnc.

9 years agoAdd syslog logger.
Michal Srb [Fri, 10 Apr 2015 13:56:34 +0000 (16:56 +0300)]
Add syslog logger.

9 years agoExpose log levels from LogWriter.
Michal Srb [Fri, 10 Apr 2015 13:52:26 +0000 (16:52 +0300)]
Expose log levels from LogWriter.

9 years agoFix about text encoding (partial revert of dc96cb4d)
Pierre Ossman [Tue, 7 Apr 2015 12:58:45 +0000 (14:58 +0200)]
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 years agoWarn about not reseting Xvnc and terminate instead. 161/head
Michal Srb [Wed, 1 Apr 2015 14:35:44 +0000 (17:35 +0300)]
Warn about not reseting Xvnc and terminate instead.

VNC prevents X server restarting even when -reset is explicitly given. Print
out message with explanation and terminate instead.

9 years agoUpdate build requirements in el6 spec file
Brian P. Hinz [Wed, 18 Mar 2015 23:13:57 +0000 (19:13 -0400)]
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 years agoUpdated the swedish translation.
Peter Åstrand (astrand) [Wed, 18 Mar 2015 10:13:46 +0000 (11:13 +0100)]
Updated the swedish translation.

9 years agoCommit changes after running "make translations_update".
Peter Åstrand (astrand) [Wed, 18 Mar 2015 09:47:20 +0000 (10:47 +0100)]
Commit changes after running "make translations_update".

9 years agoRemoved extra newline in Listening on port printout.
Peter Åstrand (astrand) [Wed, 18 Mar 2015 09:31:01 +0000 (10:31 +0100)]
Removed extra newline in Listening on port printout.

9 years agoMerge branch 'multisocket-win32' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 17 Mar 2015 16:23:33 +0000 (17:23 +0100)]
Merge branch 'multisocket-win32' of https://github.com/CendioOssman/tigervnc

9 years agoRequire getaddrinfo() on all systems 154/head
Pierre Ossman [Tue, 17 Mar 2015 13:02:11 +0000 (14:02 +0100)]
Require getaddrinfo() on all systems

Every reasonably current system support getaddrinfo() so get rid
of the legacy fallbacks.

9 years agoRemove debug log noise from Windows dialog class
Pierre Ossman [Tue, 17 Mar 2015 16:11:32 +0000 (17:11 +0100)]
Remove debug log noise from Windows dialog class

9 years agoDo not look at errno for getaddrinfo() errors
Pierre Ossman [Tue, 17 Mar 2015 16:10:56 +0000 (17:10 +0100)]
Do not look at errno for getaddrinfo() errors

9 years agoReplacement for dup() on Windows
Pierre Ossman [Tue, 17 Mar 2015 16:06:22 +0000 (17:06 +0100)]
Replacement for dup() on Windows

It doesn't work on sockets, which require a bit more care.

9 years agoRemove HAVE_INET_ATON as nothing uses it
Pierre Ossman [Tue, 17 Mar 2015 12:51:55 +0000 (13:51 +0100)]
Remove HAVE_INET_ATON as nothing uses it

9 years agoConvert WinVNC to the new TcpListener API
Pierre Ossman [Tue, 17 Mar 2015 12:45:27 +0000 (13:45 +0100)]
Convert WinVNC to the new TcpListener API

9 years agowinsock2.h must always be included before windows.h
Pierre Ossman [Tue, 17 Mar 2015 12:44:34 +0000 (13:44 +0100)]
winsock2.h must always be included before windows.h

9 years agoLocal address change events are not socket specific
Pierre Ossman [Tue, 17 Mar 2015 12:44:00 +0000 (13:44 +0100)]
Local address change events are not socket specific

9 years agoNothing uses inet_ntop()/inet_pton() so remove the CMake define
Pierre Ossman [Tue, 17 Mar 2015 12:42:44 +0000 (13:42 +0100)]
Nothing uses inet_ntop()/inet_pton() so remove the CMake define

9 years agoFix proper socket headers for Win32
Pierre Ossman [Tue, 17 Mar 2015 12:42:06 +0000 (13:42 +0100)]
Fix proper socket headers for Win32

9 years agoResurrect TcpListener::getMyAddresses()
Pierre Ossman [Tue, 17 Mar 2015 12:39:39 +0000 (13:39 +0100)]
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 agoMake sure Win32 sockets are available in new listening API
Pierre Ossman [Tue, 17 Mar 2015 16:10:10 +0000 (17:10 +0100)]
Make sure Win32 sockets are available in new listening API

9 years agoAI_NUMERICSERV is not available on some systems
Pierre Ossman [Tue, 17 Mar 2015 12:38:59 +0000 (13:38 +0100)]
AI_NUMERICSERV is not available on some systems

9 years agoMake sure socket errno defines are available for Win32
Pierre Ossman [Tue, 17 Mar 2015 12:38:21 +0000 (13:38 +0100)]
Make sure socket errno defines are available for Win32

9 years agoLook in libsocket for socket functions on Solaris
Pierre Ossman [Tue, 17 Mar 2015 12:37:36 +0000 (13:37 +0100)]
Look in libsocket for socket functions on Solaris

9 years agostop using check_function_exists() for Windows socket functions
Pierre Ossman [Tue, 17 Mar 2015 12:36:43 +0000 (13:36 +0100)]
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 years agostop setting CMAKE_EXTRA_INCLUDE_FILES for check_function_exists()
Pierre Ossman [Tue, 17 Mar 2015 12:35:33 +0000 (13:35 +0100)]
stop setting CMAKE_EXTRA_INCLUDE_FILES for check_function_exists()

It ignores it anyway.

9 years agoBump Windows requirement to XP SP2
Pierre Ossman [Tue, 17 Mar 2015 12:32:52 +0000 (13:32 +0100)]
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 years agofamily variable can be unset when matching any address
Pierre Ossman [Tue, 17 Mar 2015 11:56:31 +0000 (12:56 +0100)]
family variable can be unset when matching any address

9 years agoMerge branch 'multisocket-rebased' of https://github.com/twaugh/tigervnc
Pierre Ossman [Tue, 17 Mar 2015 11:51:31 +0000 (12:51 +0100)]
Merge branch 'multisocket-rebased' of https://github.com/twaugh/tigervnc

9 years agoRemove unnecessary dependency on openmotif
Brian P. Hinz [Sun, 15 Mar 2015 19:37:10 +0000 (15:37 -0400)]
Remove unnecessary dependency on openmotif

Requirement was an artifact of older version of mesa, and is no longer necessary.

9 years agoUpdate package builds to meet new minimum requirements.
Brian P. Hinz [Sat, 14 Mar 2015 22:06:14 +0000 (18:06 -0400)]
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 years agoIPv6 support for TcpFilter. 150/head
Tim Waugh [Fri, 13 Mar 2015 16:07:29 +0000 (16:07 +0000)]
IPv6 support for TcpFilter.

9 years agoFixed IPv6 support.
Tim Waugh [Wed, 11 Mar 2015 13:12:07 +0000 (13:12 +0000)]
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 years agoMerge branch 'upreqs' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 12 Mar 2015 10:15:32 +0000 (11:15 +0100)]
Merge branch 'upreqs' of https://github.com/CendioOssman/tigervnc

Conflicts:
contrib/packages/rpm/el5/SPECS/tigervnc.spec
vncviewer/Viewport.cxx

9 years agoWhitespace changes only.
Tim Waugh [Wed, 11 Mar 2015 13:07:48 +0000 (13:07 +0000)]
Whitespace changes only.

9 years agoDon't disable xinerama (#147)
Brian P. Hinz [Sun, 8 Mar 2015 03:05:04 +0000 (22:05 -0500)]
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 years agoMerge branch 'mac_menu' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Wed, 4 Mar 2015 09:25:49 +0000 (10:25 +0100)]
Merge branch 'mac_menu' of https://github.com/CendioOssman/tigervnc

9 years agoAdd a OS X system menu so that new viewer windows can be started 144/head
Pierre Ossman [Wed, 4 Mar 2015 08:57:06 +0000 (09:57 +0100)]
Add a OS X system menu so that new viewer windows can be started

9 years agoHide OS X specific callback when not needed
Pierre Ossman [Wed, 4 Mar 2015 08:54:27 +0000 (09:54 +0100)]
Hide OS X specific callback when not needed

9 years agoFix bad long line detection logic in config file parser
Pierre Ossman [Wed, 4 Mar 2015 08:53:16 +0000 (09:53 +0100)]
Fix bad long line detection logic in config file parser

9 years agoChange type to fix bad signed/unsigned comparison
Pierre Ossman [Wed, 4 Mar 2015 08:52:48 +0000 (09:52 +0100)]
Change type to fix bad signed/unsigned comparison

9 years agoMerge branch 'warnings' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 3 Mar 2015 15:59:51 +0000 (16:59 +0100)]
Merge branch 'warnings' of https://github.com/CendioOssman/tigervnc

9 years agoMake warnings into errors when doing debug builds 143/head
Pierre Ossman [Tue, 3 Mar 2015 15:50:47 +0000 (16:50 +0100)]
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 years agoMake sure defaultServerName is initialised even on errors
Pierre Ossman [Tue, 3 Mar 2015 15:50:15 +0000 (16:50 +0100)]
Make sure defaultServerName is initialised even on errors

9 years agoMove about text constant so the compiler can analyse it
Pierre Ossman [Tue, 3 Mar 2015 15:49:50 +0000 (16:49 +0100)]
Move about text constant so the compiler can analyse it

9 years agoFix unsafe format strings to the logging functions
Pierre Ossman [Tue, 3 Mar 2015 15:48:58 +0000 (16:48 +0100)]
Fix unsafe format strings to the logging functions

9 years agoDon't shove a pointer into a 32-bit variable
Pierre Ossman [Tue, 3 Mar 2015 15:48:36 +0000 (16:48 +0100)]
Don't shove a pointer into a 32-bit variable

9 years agoFix bad initialiser lists
Pierre Ossman [Tue, 3 Mar 2015 15:48:01 +0000 (16:48 +0100)]
Fix bad initialiser lists

9 years agoCompiler doesn't like us not checking return values here
Pierre Ossman [Tue, 3 Mar 2015 15:47:24 +0000 (16:47 +0100)]
Compiler doesn't like us not checking return values here

9 years agoCompiler doesn't like referencing unset variables
Pierre Ossman [Tue, 3 Mar 2015 15:47:01 +0000 (16:47 +0100)]
Compiler doesn't like referencing unset variables

9 years agoLPARAM and WPARAM have different types on Win32 and Win64
Pierre Ossman [Tue, 3 Mar 2015 15:46:19 +0000 (16:46 +0100)]
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 agoWIN64 should come from the compiler or SDK, not us
Pierre Ossman [Tue, 3 Mar 2015 15:45:55 +0000 (16:45 +0100)]
WIN64 should come from the compiler or SDK, not us

9 years agoHandler still needs to return something even with XDamage
Pierre Ossman [Tue, 3 Mar 2015 15:45:18 +0000 (16:45 +0100)]
Handler still needs to return something even with XDamage

9 years agoNo need to force modifiable strings here
Pierre Ossman [Tue, 3 Mar 2015 15:45:02 +0000 (16:45 +0100)]
No need to force modifiable strings here

9 years agoPointer truncation/expansion needs to be very explicit
Pierre Ossman [Tue, 3 Mar 2015 15:44:30 +0000 (16:44 +0100)]
Pointer truncation/expansion needs to be very explicit

9 years agoWrong array index in CPU usage calculation on Windows
Pierre Ossman [Tue, 3 Mar 2015 15:43:20 +0000 (16:43 +0100)]
Wrong array index in CPU usage calculation on Windows

9 years agoWindows doesn't have %lld
Pierre Ossman [Tue, 3 Mar 2015 15:43:05 +0000 (16:43 +0100)]
Windows doesn't have %lld