summaryrefslogtreecommitdiffstats
path: root/vncviewer
Commit message (Collapse)AuthorAgeFilesLines
* Fix build on 32-bit and 64-bit WindowsDRC2013-02-263-2/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5051 3789f03b-4d11-0410-bbf8-ca57d06f2519
* viewer: exit when user specifies both -via and -listen parametersAdam Tkac2013-02-191-1/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5048 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reimplement -listen in the new FLTK vncviewer. Work done byPierre Ossman2013-02-155-21/+51
| | | | | | | Justina Mickonyte for Cendio. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5041 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove one vlog.debug call which shouldn't have been committedAdam Tkac2013-01-231-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5033 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Re-add the "-via" parameter support on UNIX platforms.Adam Tkac2013-01-236-14/+107
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5032 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We need to be careful to not call X11 operations if the window isn'tPierre Ossman2012-10-301-14/+26
| | | | | | | shown yet. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5011 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Leaving/entering full screen on OS X would leave the scroll bars in anPierre Ossman2012-10-241-0/+5
| | | | | | | incorrect state. Turned out it was actually a redraw bug. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5010 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fl::screen_work_area() was added after FLTK 1.3.0, so we need to havePierre Ossman2012-10-241-0/+10
| | | | | | | checks that it is actually present on the current system. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5008 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix indentation.Pierre Ossman2012-10-171-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5005 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Starting in full screen was misbehaving because we were waitingPierre Ossman2012-10-171-0/+7
| | | | | | | | for a FL_FULLSCREEN event to set things up properly, and FLTK doesn't emit this for a hidden window. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5004 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We need to be more careful about activating maximized mode when inPierre Ossman2012-10-111-5/+12
| | | | | | | full screen, otherwise we'll mess things up. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5003 3789f03b-4d11-0410-bbf8-ca57d06f2519
* XFCE's window manager did not interact well with the code that avoidedPierre Ossman2012-10-031-16/+25
| | | | | | | | accidental legacy full screen requests. Seems we need to sort that FIXME out sooner rather than later. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5002 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Using maximize and full screen at the same time on OS X would misbehavePierre Ossman2012-10-021-4/+21
| | | | | | | | | as we would first create a full screen window, then resize it to a maximized site. Reorganise things a bit so that we get sensible behaviour. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5001 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix bad indentation.Pierre Ossman2012-10-021-7/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5000 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Have to properly include config.h for the HAVE_... stuff to work.Pierre Ossman2012-09-111-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4999 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix incorrect path for viewer icons. Patch by Uros Vampl.Pierre Ossman2012-09-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4998 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Need to make sure that the viewport still gets mouse events, even if wePierre Ossman2012-09-101-1/+2
| | | | | | | want to intercept them for the edge/bump scroll. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4997 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Break some overly long lines.Pierre Ossman2012-09-031-6/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4993 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid triggering a full screen request by accident on X11.Pierre Ossman2012-09-031-8/+28
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4992 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Restore edge/bump scrolling when we are in full screen mode as it is easierPierre Ossman2012-09-032-1/+86
| | | | | | | to use. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4991 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 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