aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
Commit message (Collapse)AuthorAgeFilesLines
* It is our convention to install Windows executables in the top-level install ↵DRC2011-10-051-1/+5
| | | | | | directory rather than under bin/ git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4705 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Put the TigerVNC marker at the end instead of the beginning of the windowPierre Ossman2011-09-301-1/+1
| | | | | | | | title, making it easier to differentiate windows. At the same time remove the translation tags as there is nothing in there that should be translated. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4682 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove VeNCrypt settings from the GUI as lower layers will always be forcingPierre Ossman2011-09-302-56/+19
| | | | | | | it on anyway. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4681 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid resetting the options whenever you click on the window.Pierre Ossman2011-09-301-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4680 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forgot to save the security settings when closing the options dialog.Pierre Ossman2011-09-301-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4679 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Proper GNOME shell integration requires that WM_CLASSHenrik Andersson2011-09-191-0/+4
| | | | | | | | of window is set. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4676 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Adding missing initialization of new member variablesHenrik Andersson2011-09-141-1/+1
| | | | | | | | introduced in commit r4670. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4671 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - Changes behaviour of context menu to be reinitializeHenrik Andersson2011-09-142-8/+14
| | | | | | | | | | | | before display with intial states. - Fixes for fullscreen contextmenu item to show the current fullscreen state as it was done in the old viewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4670 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The old Unix viewer put the RFB clipboard data both in CLIPBOARD and PRIMARY.Pierre Ossman2011-09-071-0/+3
| | | | | | | Make sure the new one does the same. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4668 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update menu key list in man pageMartin Koegler2011-09-041-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4666 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Support other keys than F8 as menu keyMartin Koegler2011-09-045-23/+111
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4665 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid translation strings with leading and/or trailing whitespace. OurPeter Åstrand2011-08-291-3/+11
| | | | | | | | | experience is that translators very often fails to notice them and forgets to include the whitespace in the translated string. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4661 3789f03b-4d11-0410-bbf8-ca57d06f2519
* JPEG quality level 0 is a perfectly valid setting (NOTE: this should be ↵DRC2011-08-231-1/+1
| | | | | | exposed in the Java GUI as well if it isn't already) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4649 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure to include config.h in every compilation unit. Otherwise,Peter Åstrand2011-08-2311-0/+44
| | | | | | | | | | the necessary defines will only be visible as a side effect of including other headers, leading to problems with things like translations, which will fail in various places. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4646 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement recommendations from low-level performance study (undocument ↵DRC2011-08-172-3/+3
| | | | | | compress levels 7-9 in the GUI, since they do nothing but increase CPU usage, set the default compress level to 1, and include a note that levels higher than 3 are rarely useful) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4632 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Do not translate the encoding names: These are just that:Peter Åstrand2011-08-151-4/+4
| | | | | | | | | names. Besides, these names are also a part of the command line syntax. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4628 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Another fullscreen fix: avoid triggering fullscreen simply by settingPeter Åstrand2011-08-021-1/+9
| | | | | | | | the window size to the size of the screen. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4612 3789f03b-4d11-0410-bbf8-ca57d06f2519
* More fullscreen fixes: Do not try to change size in fullscreen modePeter Åstrand2011-08-011-5/+6
| | | | | | | | | even if viewport is same as window size. However, after exiting fullscreen mode, the window size needs to be updated. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4610 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Include build date/time and bitness in the About dialogDRC2011-07-283-3/+26
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4609 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Unless GnuTLS is being used, we have to explicitly link vncviewer with ↵DRC2011-07-281-0/+7
| | | | | | ws2_32 on WIN32 systems. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4604 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Include a stripped-down version of FLTK in tree and add a USE_INCLUDED_FLTK ↵DRC2011-07-281-0/+3
| | | | | | option to build against it. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4603 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Another fullscreen fix: When the framebuffer size changes, we must notPeter Åstrand2011-07-191-0/+3
| | | | | | | | call size_range with a limit, when running in fullscreen mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4600 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make fullscreen mode work better with some X11 WMs such as Fedora 14Peter Åstrand2011-07-182-5/+25
| | | | | | | | Metacity by removing the size limits before attempting fullscreen. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4599 3789f03b-4d11-0410-bbf8-ca57d06f2519
* XGrabKeyboard needs to use CurrentTime rather thanPeter Åstrand2011-07-181-1/+1
| | | | | | | | | fl_event_time. Otherwise, the second delayed grab attempt will often fail. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4598 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement hacky workaround for rendering errors on XP and newer when the screenPierre Ossman2011-07-151-2/+9
| | | | | | | is locked. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4597 3789f03b-4d11-0410-bbf8-ca57d06f2519
* This was not a good method to get an initial full update as we would get twoPierre Ossman2011-07-151-4/+1
| | | | | | | update requests before the firstUpdate variable toggled to false. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4596 3789f03b-4d11-0410-bbf8-ca57d06f2519
* When we stopped doing full updates on format changes, we also lost the sidePierre Ossman2011-07-151-0/+3
| | | | | | | | effect of having the first update being a full update. This is needed for correct behaviour for some extensions. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4595 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add some extra debug output when the frame buffer changes size.Pierre Ossman2011-07-151-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4594 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add hack to make the client start properly even in the face of endian issues.Pierre Ossman2011-07-151-0/+20
| | | | | | | | There was a similar hack in the old viewer, so this seems to work well enough in practice. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4593 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we use the correct pixel format for cursors when in non-native mode.Pierre Ossman2011-07-151-3/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4592 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We don't need to force a full refresh on format changes with the new viewerPierre Ossman2011-07-151-2/+0
| | | | | | | as we do not throw away the framebuffer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4590 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The new viewer stores the framebuffer in a native format, instead ofPierre Ossman2011-07-152-17/+24
| | | | | | | | | converting it on each render like the old one. That means we have to change how we deal with colour maps and make sure it is updated before any changes to the framebuffer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4589 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Managed to consistently get the colour levels reversed. Fix up everything soPierre Ossman2011-07-142-11/+16
| | | | | | | that it behaves like documented. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4588 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Workaround for Alt behaviour on OS X.Pierre Ossman2011-07-141-0/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4587 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The password file must be opened in binary mode. Otherwise, you mightPeter Åstrand2011-07-141-1/+1
| | | | | | | | get "bad obfuscated password length" errors on Windows. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4586 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Port over the AltGr hack that the old Windows viewer has. Seems we need thisPierre Ossman2011-07-131-0/+57
| | | | | | | to get sane behaviour when connecting to a Unix desktop. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4584 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Mostly we will catch socket errors when processing incoming data, butPierre Ossman2011-07-121-5/+32
| | | | | | | | sometimes we'll time it so that a write will be the initial offender. Make sure these cases are also properly caught and dealt with. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4583 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Destroy the main UI and connection objects before popping up the fatal errorPierre Ossman2011-07-123-5/+15
| | | | | | | | message. This avoids a lot of problems with recursion and trying to send events over a dead socket. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4582 3789f03b-4d11-0410-bbf8-ca57d06f2519
* More consolidation into handleKeyEvent().Pierre Ossman2011-07-121-5/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4581 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Simplify things by using the handleKeyEvent() method for the fake pressesPierre Ossman2011-07-121-16/+11
| | | | | | | that can be generated from the popup menu. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4580 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Create a proper header file for the exported functions from vncviewer.cxx.Pierre Ossman2011-07-125-9/+29
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4579 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The previous fix for eliminating the console window in vncviewer.exe was not ↵DRC2011-07-051-1/+5
| | | | | | portable (it only worked in MinGW, which isn't what most people use.) Use the CMake "WIN32" target property instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4576 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use generic copyright message which refers the user to the complete ↵DRC2011-06-281-3/+1
| | | | | | copyright history in README.txt git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4569 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Rename man pages to .1 when installingDRC2011-06-251-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4553 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Install man pages during 'make install' on Unix systemsDRC2011-06-252-1/+228
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4552 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build issues with Visual C++ (implemented macro version of snprintf + ↵DRC2011-06-247-14/+33
| | | | | | re-ordered headers to ensure that winsock is included ahead of windows.h) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4527 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Call Fl::args() to properly parse the "hidden" arguments that FLTK ↵DRC2011-06-231-13/+16
| | | | | | understands. This has two primary benefits: (1) On X11 systems, you can now override the X display by passing '-display {display}' as the first argument, as is the case for most other X11 apps, and (2) on OS X, this allows the application to run within an application (.app) bundle, because Fl::args() parses the hidden arguments passed to the app by the launcher. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4525 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Call setMenuKey before initContextMenu to avoid uninitialisedPeter Åstrand2011-06-231-2/+1
| | | | | | | | menuKeyCode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4520 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Turns out that TXImage wasn't just being overly cautious with the custom errorPierre Ossman2011-06-171-0/+24
| | | | | | | | | handler; the shared memory extension is actually this broken so it will return success all the way through even when you're on a remote connection where things cannot possibly work. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4505 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement optimised drawing operations for OS X. Didn't see any reduction inPierre Ossman2011-06-174-2/+150
| | | | | | | | CPU usage unfortunately, but at least we're now using the native pixel format of our server which avoids a conversion on the server side. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4504 3789f03b-4d11-0410-bbf8-ca57d06f2519