aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/parameters.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Add emulated middle mouse buttonAlex Tanskanen2020-01-161-0/+5
| | | | | | | | Not every mouse has three buttons e.g. laptops. Some OS might not have support for middle mouse button emulation. This commit adds emulation for middle mouse button when pressing both left and right mouse button simultaneously.
* Fix maximum compress lvl in parameter listSamuel Mannehed2019-12-201-1/+1
| | | | | Commit 4e61f8dbc51f83b1d71319b763fbd4d916d13e98 fixed the GUI but forgot to change the other places in the code.
* Simplify color level descriptionsSamuel Mannehed2019-12-201-2/+1
| | | | | | The number of colors used isn't something the end-users should have to concern themselves with. I intentionally left the information in the man-pages.
* replace free with delete[]Marcel Schneider2019-04-031-2/+2
|
* Only save parameters that are visible from the UIPierre Ossman2019-04-011-3/+2
| | | | | | The parameter files are used to make sure changes in the UI are persistent. Storing anything else results in behaviours that the user has no easy way of changing.
* Hide setPrimary parameter on non-X11 platformsPierre Ossman2019-04-011-3/+3
| | | | | | It is already hidden in the UI, so make sure it also is gone as a command line parameter. This follows the behaviour of the similar sendPrimary parameter.
* Merge branch 'vla' of https://github.com/CendioOssman/tigervncPierre Ossman2018-11-211-11/+16
|\
| * Remove variable length arraysPierre Ossman2018-11-071-11/+16
| | | | | | | | | | These are not allowed in C++, and have been made optional in C11. So let's just get rid of them and any issues they may cause.
* | Fix memory leaksJan Grulich2018-11-201-0/+2
|/
* Don't require server name in config filePierre Ossman2018-05-291-0/+2
| | | | | The user might just want to load a bunch of settings and not initiate a connection.
* Stop treating "\\\\" as a special casePierre Ossman2018-05-291-35/+20
| | | | Make the code simpler by handling it just like any escaped character.
* Fix parameter escape sequence parsingPierre Ossman2018-05-291-1/+1
| | | | We decoded "\\n" as "n" rather than "\n".
* Don't parse FLTK arguments using Fl::arg; handle -display as other optionsPeter Åstrand (astrand)2018-01-291-0/+3
| | | | | | Fl::arg accepts several arguments which we are not documenting. Also, it accepts a -geometry argument, which clashes with our own -geometry option.
* Increase default pointer event intervalPierre Ossman2017-07-191-1/+1
| | | | | | Some systems (e.g. macOS) send massive amounts of pointer events, so we need to start rate limiting things to something sensible by default. One event per screen refresh should be more than sufficient.
* Allow removal of GUI prompt on fatal errorsDr. David Alan Gilbert2017-07-191-1/+6
| | | | | | | | | | | | | | | | | | | | Add a new parameter 'alertOnFatalError' which guards the displaying of the GUI alert on fatal errors, and thus when false just gives the textual error. Now I can do: while true do vncviewer alertOnFatalError=false vm:0 sleep 1 done and it'll reappear when my VM appears without me getting error dialogs. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> --
* Don't mention cut buffersPierre Ossman2016-03-291-1/+1
| | | | | We haven't supported them in a long time so we shouldn't mention them in the interface and documentation.
* Add option to set primary selection for cut textPierre Ossman2016-03-291-0/+3
| | | | | | Previously the incoming clipboard was unconditionally set to both the PRIMARY and CLIPBOARD selection. This isn't always what the user want, so make it configurable.
* Only show sendPrimary on X11 platformsPierre Ossman2015-12-111-0/+4
| | | | | Primary selection is inherently a X11 concept so there is no point showing the settings related to it on other platforms.
* Fix some bad signed/unsigned mismatchesPierre Ossman2015-06-171-2/+2
|
* Merge branch 'upreqs' of https://github.com/CendioOssman/tigervncPierre Ossman2015-03-121-8/+0
|\ | | | | | | | | | | Conflicts: contrib/packages/rpm/el5/SPECS/tigervnc.spec vncviewer/Viewport.cxx
| * Raise FLTK requirement to 1.3.3Pierre Ossman2015-01-271-8/+0
| | | | | | | | This means that we can remove a lot of conditionals and fallback code.
* | Fix bad long line detection logic in config file parserPierre Ossman2015-03-041-3/+4
| |
* | Fix bad initialiser listsPierre Ossman2015-03-031-2/+2
| |
* | Fix mismatches between format string and argumentsPierre Ossman2015-03-031-8/+8
| |
* | Fix bad signed/unsigned comparisonsPierre Ossman2015-03-031-6/+6
| | | | | | | | | | Either by casting, or switching to a more appropriate type for the variable.
* | Make sure Exceptions do not use unsafe format stringsPierre Ossman2015-03-031-29/+14
| |
* | Remove unused variablesPierre Ossman2015-03-031-1/+0
|/
* Reduce symbol scope of parameter helpersPierre Ossman2014-12-031-10/+10
| | | | | There is no need for these to be global symbols as they are only used in that file.
* Rework the error message in parameters.cxxPierre Ossman2014-12-031-71/+51
| | | | They were not very end user friendly so redo more or less all of them.
* Don't use tabs for indentationPierre Ossman2014-09-221-80/+84
|
* Make sure user visible strings are translatedPierre Ossman2014-09-221-56/+70
|
* Correct naming convention for some parametersPierre Ossman2014-09-171-2/+2
|
* Fix copy-paste error that referred to the wrong variable.Pierre Ossman2013-07-011-2/+2
| | | | | | | Bug found by David Binderman. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5126 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reimplement -listen in the new FLTK vncviewer. Work done byPierre Ossman2013-02-151-0/+3
| | | | | | | Justina Mickonyte for Cendio. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5041 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Re-add the "-via" parameter support on UNIX platforms.Adam Tkac2013-01-231-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5032 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added a standard -geometry command line option. Such an option isPeter Åstrand2012-08-271-0/+3
| | | | | | | | 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
* Make it possible to load and save configuration files. Also, whenPeter Åstrand2012-08-081-0/+577
| | | | | | | | | 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-011-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4949 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement client side multi-head support. Requires a FLTK patched to supportPierre Ossman2012-07-131-0/+5
| | | | | | | | 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-101-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4930 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make it possible to dynamically resize the size of the session, when resizingPierre Ossman2012-07-041-0/+4
| | | | | | | | 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
* 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
* Make sure to include config.h in every compilation unit. Otherwise,Peter Åstrand2011-08-231-0/+4
| | | | | | | | | | 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-171-2/+2
| | | | | | 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
* Default to fully respecting the remote cursor in order to be closer to a localPierre Ossman2011-06-091-1/+1
| | | | | | | experience. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4479 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bah, not enough coffee today. I had already implemented the pointer ratePierre Ossman2011-06-081-0/+3
| | | | | | | | control, so it can be allowed to stay for now. And there were a bunch of references to the local cursor option. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4475 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Local cursors are a pain to deal with and I doubt it's worth the effort toPierre Ossman2011-06-081-5/+0
| | | | | | | | keep around in the new viewer. Remove that option and the pointer rate limiting (for similar reasons). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4474 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement support for grabbing the keyboard when in full screen mode.Pierre Ossman2011-05-261-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4449 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initial commit of new FLTK based vncviewer. Most of the code comes from thePierre Ossman2011-03-091-0/+90
current Unix vncviewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4345 3789f03b-4d11-0410-bbf8-ca57d06f2519