]>
source.dussan.org Git - tigervnc.git/log
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
Pierre Ossman [Fri, 10 Oct 2014 11:42:30 +0000 (13:42 +0200)]
Merge branch 'assert' of https://github.com/CendioOssman/tigervnc
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.
Pierre Ossman [Fri, 10 Oct 2014 11:33:19 +0000 (13:33 +0200)]
Use the same style for exception messages
Pierre Ossman [Fri, 10 Oct 2014 11:32:31 +0000 (13:32 +0200)]
Make sure we check failed memory allocations
Pierre Ossman [Fri, 10 Oct 2014 11:29:53 +0000 (13:29 +0200)]
Remove unused assert.h include
Pierre Ossman [Thu, 9 Oct 2014 15:00:05 +0000 (17:00 +0200)]
Merge branch 'jpeg16' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 9 Oct 2014 14:57:21 +0000 (16:57 +0200)]
Wrong padding size calculated (copy-paste error)
Pierre Ossman [Thu, 9 Oct 2014 14:56:43 +0000 (16:56 +0200)]
Make sure stride handling is also tested
Pierre Ossman [Thu, 9 Oct 2014 14:47:45 +0000 (16:47 +0200)]
Use constants for the test buffer dimensions
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.
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.
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.
Pierre Ossman [Thu, 25 Sep 2014 13:09:38 +0000 (15:09 +0200)]
Merge branch 'convtest' of https://github.com/CendioOssman/tigervnc
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.
Pierre Ossman [Thu, 25 Sep 2014 07:58:55 +0000 (09:58 +0200)]
Add pixel conversion correctness test
Pierre Ossman [Thu, 25 Sep 2014 08:49:16 +0000 (10:49 +0200)]
PixelTransformer is gone so we can protect these now
Pierre Ossman [Wed, 24 Sep 2014 14:19:52 +0000 (16:19 +0200)]
Add missing copyright header.
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.
Pierre Ossman [Mon, 22 Sep 2014 11:24:13 +0000 (13:24 +0200)]
Merge branch 'translations' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Mon, 22 Sep 2014 11:17:41 +0000 (13:17 +0200)]
Refresh translation files
Pierre Ossman [Mon, 22 Sep 2014 11:13:15 +0000 (13:13 +0200)]
Fix the build timestamp to be more translation friendly
Pierre Ossman [Mon, 22 Sep 2014 10:59:38 +0000 (12:59 +0200)]
Move copyright year out of string to avoid re-translation
Pierre Ossman [Mon, 22 Sep 2014 10:58:48 +0000 (12:58 +0200)]
Don't use tabs for indentation
Pierre Ossman [Mon, 22 Sep 2014 10:54:26 +0000 (12:54 +0200)]
Make sure user visible strings are translated
Pierre Ossman [Mon, 22 Sep 2014 10:19:52 +0000 (12:19 +0200)]
Make some log messages more sane for translators
Pierre Ossman [Mon, 22 Sep 2014 10:19:26 +0000 (12:19 +0200)]
Generate the about text in a single place
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.
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.
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.
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. ...
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
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
Brian P. Hinz [Fri, 19 Sep 2014 03:45:56 +0000 (23:45 -0400)]
Remove distro specific patches obsoleted by changes in
38023dc304
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.
Pierre Ossman [Thu, 18 Sep 2014 13:18:15 +0000 (15:18 +0200)]
Regenerate translation files
Pierre Ossman [Thu, 18 Sep 2014 13:16:37 +0000 (15:16 +0200)]
New address for mailing list
Pierre Ossman [Thu, 18 Sep 2014 13:16:02 +0000 (15:16 +0200)]
Allow generating translations even with a separate build directory
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
Pierre Ossman [Thu, 18 Sep 2014 12:42:30 +0000 (14:42 +0200)]
Merge branch 'doc' of https://github.com/CendioOssman/tigervnc
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.
Pierre Ossman [Wed, 17 Sep 2014 14:55:25 +0000 (16:55 +0200)]
Document the client side X509 parameters
Pierre Ossman [Wed, 17 Sep 2014 14:45:35 +0000 (16:45 +0200)]
Correct naming convention for some parameters
Pierre Ossman [Wed, 17 Sep 2014 14:39:28 +0000 (16:39 +0200)]
Give a correct list of valid security schemes
Pierre Ossman [Wed, 17 Sep 2014 14:36:25 +0000 (16:36 +0200)]
Remove unused VideoArea parameter
Pierre Ossman [Wed, 17 Sep 2014 14:28:56 +0000 (16:28 +0200)]
Avoid extra spacing in the generated man pages
Pierre Ossman [Wed, 17 Sep 2014 14:20:43 +0000 (16:20 +0200)]
Document default configuration file location
Pierre Ossman [Wed, 17 Sep 2014 14:16:10 +0000 (16:16 +0200)]
Update the vncviewer man page with 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
Pierre Ossman [Wed, 17 Sep 2014 12:18:31 +0000 (14:18 +0200)]
Document the -list argument to vncserver
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.
Pierre Ossman [Wed, 17 Sep 2014 12:08:16 +0000 (14:08 +0200)]
Clean up the authors section of the man pages
Pierre Ossman [Wed, 17 Sep 2014 11:55:51 +0000 (13:55 +0200)]
Document test cases for testing the keyboard handling
Pierre Ossman [Wed, 17 Sep 2014 11:55:18 +0000 (13:55 +0200)]
None of these files are relevant today
Pierre Ossman [Wed, 17 Sep 2014 11:54:28 +0000 (13:54 +0200)]
Moved release documentation to the wiki
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
Brian P. Hinz [Wed, 17 Sep 2014 02:03:58 +0000 (22:03 -0400)]
Apply latest fltk patches to rpm-based packages
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.
Pierre Ossman [Mon, 15 Sep 2014 11:43:16 +0000 (13:43 +0200)]
Merge branch 'xhandlers' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 11 Sep 2014 08:48:29 +0000 (10:48 +0200)]
Update FLTK patches based on feeback from upstream
Pierre Ossman [Thu, 11 Sep 2014 08:46:12 +0000 (10:46 +0200)]
Protect the optional IM disabling calls with #ifdef:s
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
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
Brian P. Hinz [Sun, 7 Sep 2014 14:05:09 +0000 (10:05 -0400)]
Removed patch that was merged into trunk in
6bc1de83a7
Pierre Ossman [Fri, 5 Sep 2014 08:22:38 +0000 (10:22 +0200)]
Merge branch 'xorgserver116' of https://github.com/twaugh/tigervnc
Tim Waugh [Thu, 4 Sep 2014 15:25:12 +0000 (16:25 +0100)]
Fix linking when dri3 and present are enabled.
Tim Waugh [Thu, 4 Sep 2014 13:35:05 +0000 (14:35 +0100)]
No need to declare 'display' here either.
Tim Waugh [Thu, 4 Sep 2014 11:36:09 +0000 (12:36 +0100)]
GCFuncs and GCOps are const since 1.16.
Tim Waugh [Thu, 4 Sep 2014 10:41:01 +0000 (11:41 +0100)]
No need to declare 'display' here.
Tim Waugh [Thu, 4 Sep 2014 09:52:06 +0000 (10:52 +0100)]
Another LoadExtensionList() that needs an #ifdef.
Tim Waugh [Wed, 3 Sep 2014 14:48:14 +0000 (15:48 +0100)]
LoadExtensionList is new in 1.16.
Tim Waugh [Wed, 3 Sep 2014 11:38:15 +0000 (12:38 +0100)]
Updated to build against xorg-x11-server 1.16.0.
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.
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.
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.
Pierre Ossman [Mon, 21 Jul 2014 14:48:43 +0000 (16:48 +0200)]
Add OS X keyboard handler
Pierre Ossman [Mon, 21 Jul 2014 14:46:22 +0000 (16:46 +0200)]
Add Windows keyboard handler
Pierre Ossman [Mon, 21 Jul 2014 14:42:12 +0000 (16:42 +0200)]
Add X11 keyboard handler
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.
Pierre Ossman [Mon, 21 Jul 2014 14:36:50 +0000 (16:36 +0200)]
Add helper to get combining codepoint from a spacing character
Pierre Ossman [Mon, 21 Jul 2014 14:35:51 +0000 (16:35 +0200)]
Better codepoint for combining ypogegrammeni (dead iota)
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.
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.
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.
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.
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...
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.
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.
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
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.
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.
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.
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.
Pierre Ossman [Tue, 15 Jul 2014 07:33:34 +0000 (09:33 +0200)]
Merge branch 'pointersync' of https://github.com/twaugh/tigervnc
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
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.
bphinz [Mon, 14 Jul 2014 21:24:57 +0000 (17:24 -0400)]
Merge pull request #13 from bphinz/master
Remove OpenSuse newfbsize patch
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.
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/
Pierre Ossman [Mon, 14 Jul 2014 14:22:05 +0000 (16:22 +0200)]
Merge branch 'encodemanager' of https://github.com/CendioOssman/tigervnc