]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
10 years agoDon't use MIT-SHM on remote displays.
Tim Waugh [Thu, 16 Oct 2014 13:53:17 +0000 (14:53 +0100)]
Don't use MIT-SHM on remote displays.

When run from within 'ssh -X' or 'ssh -Y', MIT-SHM will appear to be
available even though it won't work: the shared memory will be on the
machine running vncviewer, not on the machine running the X server it
displays to. Depending on what shm segments are available on the
machine running the X server, the failure may not be apparent when
checking that MIT-SHM works.

Avoid this by not using MIT-SHM when XDisplayName() indicates we may
not be running locally.

Original bug report:
  https://bugzilla.redhat.com/show_bug.cgi?id=1072733

10 years agoMerge branch 'assert' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 10 Oct 2014 11:42:30 +0000 (13:42 +0200)]
Merge branch 'assert' of https://github.com/CendioOssman/tigervnc

10 years agoUse exceptions rather than asserts for for "normal" errors 47/head
Pierre Ossman [Fri, 10 Oct 2014 11:37:35 +0000 (13:37 +0200)]
Use exceptions rather than asserts for for "normal" errors

Although these are rare, they are still not indicative of bugs so
an exception (which ends up in the log and might also be shown to
the user) is more appropriate than an assert. Asserts should only
be used to catch blatant API misuse and similar.

10 years agoUse the same style for exception messages
Pierre Ossman [Fri, 10 Oct 2014 11:33:19 +0000 (13:33 +0200)]
Use the same style for exception messages

10 years agoMake sure we check failed memory allocations
Pierre Ossman [Fri, 10 Oct 2014 11:32:31 +0000 (13:32 +0200)]
Make sure we check failed memory allocations

10 years agoRemove unused assert.h include
Pierre Ossman [Fri, 10 Oct 2014 11:29:53 +0000 (13:29 +0200)]
Remove unused assert.h include

10 years agoMerge branch 'jpeg16' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 9 Oct 2014 15:00:05 +0000 (17:00 +0200)]
Merge branch 'jpeg16' of https://github.com/CendioOssman/tigervnc

10 years agoWrong padding size calculated (copy-paste error) 46/head
Pierre Ossman [Thu, 9 Oct 2014 14:57:21 +0000 (16:57 +0200)]
Wrong padding size calculated (copy-paste error)

10 years agoMake sure stride handling is also tested
Pierre Ossman [Thu, 9 Oct 2014 14:56:43 +0000 (16:56 +0200)]
Make sure stride handling is also tested

10 years agoUse constants for the test buffer dimensions
Pierre Ossman [Thu, 9 Oct 2014 14:47:45 +0000 (16:47 +0200)]
Use constants for the test buffer dimensions

10 years agoMerge pull request #42 from bphinz/buildfixes
bphinz [Wed, 1 Oct 2014 03:41:11 +0000 (23:41 -0400)]
Merge pull request #42 from bphinz/buildfixes

Fix pointer initialization to prevent NULL events.

10 years agoHandle PrintScreen and SysReq on Windows 43/head
Pierre Ossman [Tue, 30 Sep 2014 15:03:28 +0000 (17:03 +0200)]
Handle PrintScreen and SysReq on Windows

This key requires a bit extra care on Windows. We get wildly
different messages depending on if Alt is pressed or not. The symbol
chosen now follows the standard behaviour on X11.

10 years agoFix pointer initialization to prevent NULL events. 41/head 42/head
Brian P. Hinz [Sat, 27 Sep 2014 02:02:47 +0000 (22:02 -0400)]
Fix pointer initialization to prevent NULL events.

Moved call to initEventq() into InitInputDevice() to prevent NULL events from being passed in.  The surrounding IFDEF explains why Red Hat BZ bug #820443 just went away, EL6 bumped the version of xorg-x11-server-source to 1.13 at EL6.4.

10 years agoMerge branch 'convtest' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 25 Sep 2014 13:09:38 +0000 (15:09 +0200)]
Merge branch 'convtest' of https://github.com/CendioOssman/tigervnc

10 years agoFix endian conversion 40/head
Pierre Ossman [Thu, 25 Sep 2014 13:02:11 +0000 (15:02 +0200)]
Fix endian conversion

This was just plain wrong, so redo it properly.

10 years agoAdd pixel conversion correctness test
Pierre Ossman [Thu, 25 Sep 2014 07:58:55 +0000 (09:58 +0200)]
Add pixel conversion correctness test

10 years agoPixelTransformer is gone so we can protect these now
Pierre Ossman [Thu, 25 Sep 2014 08:49:16 +0000 (10:49 +0200)]
PixelTransformer is gone so we can protect these now

10 years agoAdd missing copyright header.
Pierre Ossman [Wed, 24 Sep 2014 14:19:52 +0000 (16:19 +0200)]
Add missing copyright header.

10 years agoRename the pixel conversion performance test
Pierre Ossman [Wed, 24 Sep 2014 14:17:42 +0000 (16:17 +0200)]
Rename the pixel conversion performance test

We want to have other tests related to pixel conversion, so avoid
possible naming conflicts.

10 years agoMerge branch 'translations' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Mon, 22 Sep 2014 11:24:13 +0000 (13:24 +0200)]
Merge branch 'translations' of https://github.com/CendioOssman/tigervnc

10 years agoRefresh translation files 36/head
Pierre Ossman [Mon, 22 Sep 2014 11:17:41 +0000 (13:17 +0200)]
Refresh translation files

10 years agoFix the build timestamp to be more translation friendly
Pierre Ossman [Mon, 22 Sep 2014 11:13:15 +0000 (13:13 +0200)]
Fix the build timestamp to be more translation friendly

10 years agoMove copyright year out of string to avoid re-translation
Pierre Ossman [Mon, 22 Sep 2014 10:59:38 +0000 (12:59 +0200)]
Move copyright year out of string to avoid re-translation

10 years agoDon't use tabs for indentation
Pierre Ossman [Mon, 22 Sep 2014 10:58:48 +0000 (12:58 +0200)]
Don't use tabs for indentation

10 years agoMake sure user visible strings are translated
Pierre Ossman [Mon, 22 Sep 2014 10:54:26 +0000 (12:54 +0200)]
Make sure user visible strings are translated

10 years agoMake some log messages more sane for translators
Pierre Ossman [Mon, 22 Sep 2014 10:19:52 +0000 (12:19 +0200)]
Make some log messages more sane for translators

10 years agoGenerate the about text in a single place
Pierre Ossman [Mon, 22 Sep 2014 10:19:26 +0000 (12:19 +0200)]
Generate the about text in a single place

10 years agoSplit up the info string
Pierre Ossman [Mon, 22 Sep 2014 09:17:34 +0000 (11:17 +0200)]
Split up the info string

Avoids having to translate the entire thing if just part of
it changes.

10 years agoApparently, at least my CMake requires that quotes are at the
Peter Åstrand (astrand) [Mon, 22 Sep 2014 08:57:23 +0000 (10:57 +0200)]
Apparently, at least my CMake requires that quotes are at the
beginning of the line.

10 years agoAdd file location to the translation files
Pierre Ossman [Mon, 22 Sep 2014 08:54:15 +0000 (10:54 +0200)]
Add file location to the translation files

Makes it easier for the translators to check context and report
problems.

10 years agoMerge pull request #35 from bphinz/buildfixes
bphinz [Fri, 19 Sep 2014 11:15:10 +0000 (07:15 -0400)]
Merge pull request #35 from bphinz/buildfixes

Applying xserver115.patch fails on Ubuntu xorg-server source at hunk 2. ...

10 years agoApplying xserver115.patch fails on Ubuntu xorg-server source at hunk 2. Wayland... 35/head
Brian P. Hinz [Fri, 19 Sep 2014 04:41:24 +0000 (00:41 -0400)]
Applying xserver115.patch fails on Ubuntu xorg-server source at hunk 2.  Wayland was not merged into the Xorg tree until 1.16

10 years agoMerge pull request #34 from bphinz/buildfixes
bphinz [Fri, 19 Sep 2014 04:11:08 +0000 (00:11 -0400)]
Merge pull request #34 from bphinz/buildfixes

Remove distro specific patches obsoleted by changes in 38023dc304

10 years agoRemove distro specific patches obsoleted by changes in 38023dc304 34/head
Brian P. Hinz [Fri, 19 Sep 2014 03:45:56 +0000 (23:45 -0400)]
Remove distro specific patches obsoleted by changes in 38023dc304

10 years agoUpdate translations with those already done by Cendio
Pierre Ossman [Thu, 18 Sep 2014 14:04:00 +0000 (16:04 +0200)]
Update translations with those already done by Cendio

These are not complete as they are from Cendio's modified version
of TigerVNC, but it still covers most of the translation.

10 years agoRegenerate translation files
Pierre Ossman [Thu, 18 Sep 2014 13:18:15 +0000 (15:18 +0200)]
Regenerate translation files

10 years agoNew address for mailing list
Pierre Ossman [Thu, 18 Sep 2014 13:16:37 +0000 (15:16 +0200)]
New address for mailing list

10 years agoAllow generating translations even with a separate build directory
Pierre Ossman [Thu, 18 Sep 2014 13:16:02 +0000 (15:16 +0200)]
Allow generating translations even with a separate build directory

10 years agoCMake needs to have the quotes at the end to work properly
Pierre Ossman [Thu, 18 Sep 2014 13:15:38 +0000 (15:15 +0200)]
CMake needs to have the quotes at the end to work properly

10 years agoMerge branch 'doc' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 18 Sep 2014 12:42:30 +0000 (14:42 +0200)]
Merge branch 'doc' of https://github.com/CendioOssman/tigervnc

10 years agoMove preferred encoding tracking into a server object 33/head
Pierre Ossman [Wed, 17 Sep 2014 15:11:56 +0000 (17:11 +0200)]
Move preferred encoding tracking into a server object

Having it in ConnParams made the linker pull all the encoder objects
into vncviewer, making it larger than necessary and giving it extra
parameters in its help output that weren't relevant.

10 years agoDocument the client side X509 parameters
Pierre Ossman [Wed, 17 Sep 2014 14:55:25 +0000 (16:55 +0200)]
Document the client side X509 parameters

10 years agoCorrect naming convention for some parameters
Pierre Ossman [Wed, 17 Sep 2014 14:45:35 +0000 (16:45 +0200)]
Correct naming convention for some parameters

10 years agoGive a correct list of valid security schemes
Pierre Ossman [Wed, 17 Sep 2014 14:39:28 +0000 (16:39 +0200)]
Give a correct list of valid security schemes

10 years agoRemove unused VideoArea parameter
Pierre Ossman [Wed, 17 Sep 2014 14:36:25 +0000 (16:36 +0200)]
Remove unused VideoArea parameter

10 years agoAvoid extra spacing in the generated man pages
Pierre Ossman [Wed, 17 Sep 2014 14:28:56 +0000 (16:28 +0200)]
Avoid extra spacing in the generated man pages

10 years agoDocument default configuration file location
Pierre Ossman [Wed, 17 Sep 2014 14:20:43 +0000 (16:20 +0200)]
Document default configuration file location

10 years agoUpdate the vncviewer man page with current list of options
Pierre Ossman [Wed, 17 Sep 2014 14:16:10 +0000 (16:16 +0200)]
Update the vncviewer man page with current list of options

10 years agoUpdate server man pages to reflect current list of options
Pierre Ossman [Wed, 17 Sep 2014 13:43:14 +0000 (15:43 +0200)]
Update server man pages to reflect current list of options

10 years agoDocument the -list argument to vncserver
Pierre Ossman [Wed, 17 Sep 2014 12:18:31 +0000 (14:18 +0200)]
Document the -list argument to vncserver

10 years agoRemove the date from man pages
Pierre Ossman [Wed, 17 Sep 2014 12:09:58 +0000 (14:09 +0200)]
Remove the date from man pages

It's not something we're keeping up to date anyway.

10 years agoClean up the authors section of the man pages
Pierre Ossman [Wed, 17 Sep 2014 12:08:16 +0000 (14:08 +0200)]
Clean up the authors section of the man pages

10 years agoDocument test cases for testing the keyboard handling
Pierre Ossman [Wed, 17 Sep 2014 11:55:51 +0000 (13:55 +0200)]
Document test cases for testing the keyboard handling

10 years agoNone of these files are relevant today
Pierre Ossman [Wed, 17 Sep 2014 11:55:18 +0000 (13:55 +0200)]
None of these files are relevant today

10 years agoMoved release documentation to the wiki
Pierre Ossman [Wed, 17 Sep 2014 11:54:28 +0000 (13:54 +0200)]
Moved release documentation to the wiki

10 years agoMerge pull request #32 from bphinz/buildfixes
bphinz [Wed, 17 Sep 2014 03:34:39 +0000 (23:34 -0400)]
Merge pull request #32 from bphinz/buildfixes

Apply latest fltk patches to rpm-based packages

10 years agoApply latest fltk patches to rpm-based packages 32/head
Brian P. Hinz [Wed, 17 Sep 2014 02:03:58 +0000 (22:03 -0400)]
Apply latest fltk patches to rpm-based packages

10 years agoFix broken FLTK patch 31/head
Pierre Ossman [Tue, 16 Sep 2014 12:52:26 +0000 (14:52 +0200)]
Fix broken FLTK patch

Remove some lines that weren't consistent with the earlier
suggested patches.

10 years agoMerge branch 'xhandlers' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Mon, 15 Sep 2014 11:43:16 +0000 (13:43 +0200)]
Merge branch 'xhandlers' of https://github.com/CendioOssman/tigervnc

10 years agoUpdate FLTK patches based on feeback from upstream 30/head
Pierre Ossman [Thu, 11 Sep 2014 08:48:29 +0000 (10:48 +0200)]
Update FLTK patches based on feeback from upstream

10 years agoProtect the optional IM disabling calls with #ifdef:s
Pierre Ossman [Thu, 11 Sep 2014 08:46:12 +0000 (10:46 +0200)]
Protect the optional IM disabling calls with #ifdef:s

10 years agoAdded missing part of write block handler. 29/head
Tim Waugh [Tue, 9 Sep 2014 13:40:17 +0000 (14:40 +0100)]
Added missing part of write block handler.

https://bugzilla.redhat.com/show_bug.cgi?id=1137023

10 years agoMerge pull request #28 from bphinz/buildfixes
bphinz [Sun, 7 Sep 2014 14:14:33 +0000 (10:14 -0400)]
Merge pull request #28 from bphinz/buildfixes

Removed patch that was merged into trunk in 6bc1de83a7

10 years agoRemoved patch that was merged into trunk in 6bc1de83a7 28/head
Brian P. Hinz [Sun, 7 Sep 2014 14:05:09 +0000 (10:05 -0400)]
Removed patch that was merged into trunk in 6bc1de83a7

10 years agoMerge branch 'xorgserver116' of https://github.com/twaugh/tigervnc
Pierre Ossman [Fri, 5 Sep 2014 08:22:38 +0000 (10:22 +0200)]
Merge branch 'xorgserver116' of https://github.com/twaugh/tigervnc

10 years agoFix linking when dri3 and present are enabled. 26/head
Tim Waugh [Thu, 4 Sep 2014 15:25:12 +0000 (16:25 +0100)]
Fix linking when dri3 and present are enabled.

10 years agoNo need to declare 'display' here either.
Tim Waugh [Thu, 4 Sep 2014 13:35:05 +0000 (14:35 +0100)]
No need to declare 'display' here either.

10 years agoGCFuncs and GCOps are const since 1.16.
Tim Waugh [Thu, 4 Sep 2014 11:36:09 +0000 (12:36 +0100)]
GCFuncs and GCOps are const since 1.16.

10 years agoNo need to declare 'display' here.
Tim Waugh [Thu, 4 Sep 2014 10:41:01 +0000 (11:41 +0100)]
No need to declare 'display' here.

10 years agoAnother LoadExtensionList() that needs an #ifdef.
Tim Waugh [Thu, 4 Sep 2014 09:52:06 +0000 (10:52 +0100)]
Another LoadExtensionList() that needs an #ifdef.

10 years agoLoadExtensionList is new in 1.16.
Tim Waugh [Wed, 3 Sep 2014 14:48:14 +0000 (15:48 +0100)]
LoadExtensionList is new in 1.16.

10 years agoUpdated to build against xorg-x11-server 1.16.0.
Tim Waugh [Wed, 3 Sep 2014 11:38:15 +0000 (12:38 +0100)]
Updated to build against xorg-x11-server 1.16.0.

10 years agoUse different keysyms for left and right alt on OS X
Pierre Ossman [Thu, 21 Aug 2014 11:44:28 +0000 (13:44 +0200)]
Use different keysyms for left and right alt on OS X

The server will get them confused otherwise if they are pressed
at the same time.

10 years agoDisable input methods when the viewport is focused
Pierre Ossman [Tue, 19 Aug 2014 12:08:04 +0000 (14:08 +0200)]
Disable input methods when the viewport is focused

Input methods are way too complex for us to map them to the VNC
protocol in any sane manner. Best just to disable them and rely
on simple keyboard behaviour when the viewport is active.

10 years agoIgnore FLTK events when we have low level hooks
Pierre Ossman [Tue, 19 Aug 2014 12:06:53 +0000 (14:06 +0200)]
Ignore FLTK events when we have low level hooks

Some events can sneak through, e.g. from some virtual keyboards.
We need to ignore these to avoid confusion.

10 years agoAdd OS X keyboard handler
Pierre Ossman [Mon, 21 Jul 2014 14:48:43 +0000 (16:48 +0200)]
Add OS X keyboard handler

10 years agoAdd Windows keyboard handler
Pierre Ossman [Mon, 21 Jul 2014 14:46:22 +0000 (16:46 +0200)]
Add Windows keyboard handler

10 years agoAdd X11 keyboard handler
Pierre Ossman [Mon, 21 Jul 2014 14:42:12 +0000 (16:42 +0200)]
Add X11 keyboard handler

10 years agoAdd xhandler hook
Pierre Ossman [Fri, 22 Aug 2014 13:10:22 +0000 (15:10 +0200)]
Add xhandler hook

Boiler plate code to intercept system events from FLTK so that
we can generate proper keyboard messages.

10 years agoAdd helper to get combining codepoint from a spacing character
Pierre Ossman [Mon, 21 Jul 2014 14:36:50 +0000 (16:36 +0200)]
Add helper to get combining codepoint from a spacing character

10 years agoBetter codepoint for combining ypogegrammeni (dead iota)
Pierre Ossman [Mon, 21 Jul 2014 14:35:51 +0000 (16:35 +0200)]
Better codepoint for combining ypogegrammeni (dead iota)

10 years agoAttempt to handle Ctrl+key
Pierre Ossman [Fri, 22 Aug 2014 13:09:54 +0000 (15:09 +0200)]
Attempt to handle Ctrl+key

Hacky attempt to try to figure out the actual key pressed when
FLTK is giving us control codes.

10 years agoRemove simple keyboard model
Pierre Ossman [Mon, 21 Jul 2014 14:30:08 +0000 (16:30 +0200)]
Remove simple keyboard model

Remove the FLTK simple keyboard system and reorganise things in
preparation for a more direct approach.

10 years agoShip FLTK patches instead of referring a URI
Pierre Ossman [Fri, 22 Aug 2014 12:43:33 +0000 (14:43 +0200)]
Ship FLTK patches instead of referring a URI

It makes things more self contained (although you still need to
download FLTK itself), avoids the confusion of STR:s in varying
states, and allows us to refer to patches that aren't available
on an STR.

10 years agoUpdate FLTK requirement
Pierre Ossman [Fri, 22 Aug 2014 12:41:03 +0000 (14:41 +0200)]
Update FLTK requirement

We actually require FLTK 1.3.2 as we reference FL_SOCKET.

10 years agoMerge pull request #22 from bphinz/i18nfix
bphinz [Thu, 21 Aug 2014 00:48:28 +0000 (20:48 -0400)]
Merge pull request #22 from bphinz/i18nfix

Fix some cmake quoting and escape issues.  The un-escaped parens generat...

10 years agoFix some cmake quoting and escape issues. The un-escaped parens generate a "Argument... 22/head
Brian P. Hinz [Fri, 8 Aug 2014 03:52:19 +0000 (23:52 -0400)]
Fix some cmake quoting and escape issues.  The un-escaped parens generate a "Argument not separated from preceding token by whitespace" warning. The '--directory' argument might need to be quoted if PROJECT_SOURCE_DIR contains spaces.

10 years agoMerge pull request #21 from bphinz/precise-damage-fix
bphinz [Fri, 8 Aug 2014 03:31:35 +0000 (23:31 -0400)]
Merge pull request #21 from bphinz/precise-damage-fix

Added missing dependency in Ubuntu precise package that caused x0vncserver to fall back to polling if the build host didn't already have libxdamage-dev installed.

10 years ago\nAdded missing dependency that caused x0vncserver to fall back to polling 21/head
Brian P. Hinz [Fri, 8 Aug 2014 03:27:52 +0000 (23:27 -0400)]
\nAdded missing dependency that caused x0vncserver to fall back to polling

10 years agoWindows debug builds of vncviewer should have a console
Pierre Ossman [Mon, 21 Jul 2014 14:22:43 +0000 (16:22 +0200)]
Windows debug builds of vncviewer should have a console

Makes it easier to debug it by having convenient access to the
log output.

10 years agoUse NoSymbol as the error code
Pierre Ossman [Mon, 21 Jul 2014 14:17:23 +0000 (16:17 +0200)]
Use NoSymbol as the error code

This is how the X11 API does things, so it's clearer if we use
the same principle.

10 years agoMake keysymtab static and const
Pierre Ossman [Mon, 21 Jul 2014 14:12:00 +0000 (16:12 +0200)]
Make keysymtab static and const

Static to avoid namespace polution, and const so that it can be
shared among instances.

10 years agoUse printf constructor safely
Pierre Ossman [Mon, 21 Jul 2014 14:10:03 +0000 (16:10 +0200)]
Use printf constructor safely

The input string might contain formatting marks, so make sure those
are ignored.

10 years agoMerge branch 'pointersync' of https://github.com/twaugh/tigervnc
Pierre Ossman [Tue, 15 Jul 2014 07:33:34 +0000 (09:33 +0200)]
Merge branch 'pointersync' of https://github.com/twaugh/tigervnc

10 years agoMerge pull request #14 from bphinz/master
bphinz [Mon, 14 Jul 2014 22:09:35 +0000 (18:09 -0400)]
Merge pull request #14 from bphinz/master

Remove OpenSuse clean-pressed-key patch

10 years agoRemove OpenSuse clean-pressed-key patch 14/head 17/head
Brian P. Hinz [Mon, 14 Jul 2014 21:56:23 +0000 (17:56 -0400)]
Remove OpenSuse clean-pressed-key patch

Remove clean-pressed-key-on-exit inherited from original spec file that
ours was derived from.

10 years agoMerge pull request #13 from bphinz/master
bphinz [Mon, 14 Jul 2014 21:24:57 +0000 (17:24 -0400)]
Merge pull request #13 from bphinz/master

Remove OpenSuse newfbsize patch

10 years agoRemove OpenSuse newfbsize patch 13/head
Brian P. Hinz [Mon, 14 Jul 2014 21:15:12 +0000 (17:15 -0400)]
Remove OpenSuse newfbsize patch

Remove patch inherited from Suse RPM that our spec was derived from.

10 years agoUpdate the cursor position using GetSpritePosition(). 12/head
Tim Waugh [Mon, 14 Jul 2014 16:04:56 +0000 (17:04 +0100)]
Update the cursor position using GetSpritePosition().

The module needs to correctly track the mouse position by querying the
current X cursor position in InputDevice::getPointerPos().

Fixes: https://sourceforge.net/p/tigervnc/bug-tracker/152/
10 years agoMerge branch 'encodemanager' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Mon, 14 Jul 2014 14:22:05 +0000 (16:22 +0200)]
Merge branch 'encodemanager' of https://github.com/CendioOssman/tigervnc