summaryrefslogtreecommitdiffstats
path: root/vncviewer
Commit message (Collapse)AuthorAgeFilesLines
* Move the -geometry parsing up, so that it affects fullscreen mode asPeter Åstrand2012-08-291-45/+43
| | | | | | | | | well. This to allow specifying which monitor to use for fullscreen mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4981 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The OS X keyboard grabbing code needs to be multi-head aware to functionPierre Ossman2012-08-273-6/+33
| | | | | | | properly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4977 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reverted last patch which was a mistake. Peter Åstrand2012-08-271-46/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4975 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added a comment about -geometry limitations. Peter Åstrand2012-08-271-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4974 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update to last patch; forgot break in switch statement. Peter Åstrand2012-08-271-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4973 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added a standard -geometry command line option. Such an option isPeter Åstrand2012-08-274-7/+81
| | | | | | | | actually already documented on the man page. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4972 3789f03b-4d11-0410-bbf8-ca57d06f2519
* X11 window managers are very buggy when it comes to having a window startPierre Ossman2012-08-232-18/+66
| | | | | | | | | in full screen mode. So we'll resort to creating a normal window, and then switching to full screen once it is mapped. Unfortunately it means we need to handle delaying some resize handling. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4958 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid doing a lot of resize related things if we're not actually resizing.Pierre Ossman2012-08-231-15/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4957 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A CGImage is read-only, but it just happened to work anyway. Until 10.8Pierre Ossman2012-08-172-13/+11
| | | | | | | that is. Do it the documented way by having a CGBitmapContext instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4956 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The maximise functionality does not rely on the fullscreen patches.Pierre Ossman2012-08-171-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4955 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove the in-tree versin of FLTK. Maintaining such a copy is way tooPeter Åstrand2012-08-091-3/+0
| | | | | | | | | much work, and it's constantly out of sync. Let's document what the main developers (ie Cendio) are using instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4951 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make it possible to load and save configuration files. Also, whenPeter Åstrand2012-08-085-25/+756
| | | | | | | | | connecting, the options are saved as default settings. This patch fixes SF bugs 3481470 and 3499216. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4950 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added new option "-Maximize", for maximizing the window at startup.Peter Åstrand2012-08-015-0/+52
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4949 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We can end up with no screens in some cases. Make sure we at least have aPierre Ossman2012-07-201-0/+5
| | | | | | | dummy one when that happens. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4947 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Screen layout is relative our viewport, not the local machine's 0,0.Pierre Ossman2012-07-201-6/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4946 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we filter out any screens that aren't fully inside the newPierre Ossman2012-07-201-0/+8
| | | | | | | framebuffer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4945 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove some debug output that wasn't supposed to be here.Pierre Ossman2012-07-201-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4944 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement client side multi-head support. Requires a FLTK patched to supportPierre Ossman2012-07-137-21/+163
| | | | | | | | fullscreen over multiple monitors. Will properly report screen configuration to the server, provided the server supports it. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4935 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Hide the full screen setting when support isn't present.Pierre Ossman2012-07-103-0/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4930 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make RemoteResize configurable from the options dialog.Pierre Ossman2012-07-052-0/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4929 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make DesktopSize configurable from the options dialog.Pierre Ossman2012-07-052-0/+60
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4928 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move the fullscreen option to a separate tab, in preparation for morePierre Ossman2012-07-052-9/+28
| | | | | | | screen related options. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4927 3789f03b-4d11-0410-bbf8-ca57d06f2519
* This code is no longer needed now that we have dynamic resize.Pierre Ossman2012-07-041-4/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4926 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add menu entry to have the local window match the size of the remote desktop.Pierre Ossman2012-07-041-1/+14
| | | | | | | This is useful now that we no longer have size restrictions on the window. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4925 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make it possible to dynamically resize the size of the session, when resizingPierre Ossman2012-07-045-67/+99
| | | | | | | | the viewer window, or when entering or leaving fullscreen mode. Initial work done by Arthur Huillet and clohr. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4924 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix typo.Pierre Ossman2012-07-041-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4923 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The old Windows viewer was capable of logging to file. This is essentialPierre Ossman2012-04-261-0/+5
| | | | | | | | on Windows as stdout/stderr don't work well there. Make sure the new viewer also has this functionality. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4907 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix unsafe usage of the logging functions.Pierre Ossman2012-04-262-9/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we're paranoid about accidentally feeding a format string.Pierre Ossman2012-04-254-25/+17
| | | | | | | Basic patch by Joachim Falk. Slightly improved before commit. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4900 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move the last remnants of autotools into config.h.Pierre Ossman2012-03-271-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4879 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Set a proper icon for the vncviewer windows on Unix and Windows.Pierre Ossman2012-03-271-0/+65
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4878 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add a resource file to vncviewer.exe so we can get an icon.Pierre Ossman2012-03-273-2/+99
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4876 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Missed vncviewer in previous commit.Pierre Ossman2012-03-271-6/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4874 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forgot some comments for the mouse cursor workaround.Pierre Ossman2012-01-051-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4832 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure the mouse pointer is always the standard arrow for the popup menu.Pierre Ossman2012-01-051-0/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4831 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reindent some code that had grown a bit unstructured.Pierre Ossman2011-11-211-18/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4812 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Increase the default compression level to cater to a broader range of usersPierre Ossman2011-11-201-1/+1
| | | | | | | | (bandwidth is often the limiting factor, rather than CPU). Further increases give little returns, so 2 is currently deemed the best tradeoff. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4811 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Also grab the mouse pointer in full screen as some window managers like toPierre Ossman2011-11-171-0/+11
| | | | | | | | do special things with buttons combined with modifiers. The user probably wants to propagate these to the server though. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4808 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Client side support for continuous updates.Pierre Ossman2011-11-152-7/+20
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4805 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Support and use fences in the client. This allows more aggressive use ofPierre Ossman2011-11-142-12/+73
| | | | | | | update requests as we can now synchronise format changes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4800 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Send a fake pointer event on initial connection so that we get rid of thatPierre Ossman2011-11-101-0/+6
| | | | | | | double mouse pointer problem as the server renders its own copy. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4790 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Send a move event when the pointer leaves the viewport as it makes it muchPierre Ossman2011-11-101-2/+1
| | | | | | | | easier to hit the edge of the screen (which is a popular UI element these days). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4789 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use the correct matching free operation. Patch by Matthieu Lochegnies.Pierre Ossman2011-11-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4786 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Redesign the format switching logic so that we don't have to adjust the wayPierre Ossman2011-11-042-13/+33
| | | | | | | we send out update requests. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4766 3789f03b-4d11-0410-bbf8-ca57d06f2519
* If the client and server are using identical pixel formats, then perform ↵DRC2011-11-034-6/+31
| | | | | | Tight decoding directly into the viewer's back buffer, rather than going through the slow fillRect/imageRect routines. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4757 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Re-order headers to ensure that winsock2.h is included before windows.h. ↵DRC2011-10-121-1/+1
| | | | | | Otherwise, MinGW64 complains and MSVC barfs. This is necessary because os.h now includes windows.h via. w32tiger.h. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4724 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 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