summaryrefslogtreecommitdiffstats
path: root/vncviewer
Commit message (Collapse)AuthorAgeFilesLines
* Remove simple keyboard modelPierre Ossman2014-08-224-182/+224
| | | | | Remove the FLTK simple keyboard system and reorganise things in preparation for a more direct approach.
* Windows debug builds of vncviewer should have a consolePierre Ossman2014-07-211-1/+1
| | | | | Makes it easier to debug it by having convenient access to the log output.
* Use NoSymbol as the error codePierre Ossman2014-07-212-4/+10
| | | | | This is how the X11 API does things, so it's clearer if we use the same principle.
* Make keysymtab static and constPierre Ossman2014-07-211-1/+3
| | | | | Static to avoid namespace polution, and const so that it can be shared among instances.
* String literals are constantPierre Ossman2014-07-141-4/+6
|
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-148-194/+46
| | | | | | | This avoid a lot of unnecessary middle men. This also pushes the responsibility for pixel format conversion into the encoders and decoders. The new bufferFromBuffer() is used for direct conversion, rather than PixelTransformer/TransImageGetter.
* Provide a better R/W base PixelBuffer classPierre Ossman2014-07-075-6/+13
| | | | | Clearly separates the read API from the write API and also from actual implementation.
* Get rid of getStride()Pierre Ossman2014-07-077-17/+9
| | | | | | It was confusing and not properly used everywhere. Callers should use the stride they get when they get the buffer pointer.
* Get rid of the direct access abuse of FullFramePixelBuffer's dataPierre Ossman2014-07-071-4/+10
|
* Create a proper interface base class for the viewport's framebufferPierre Ossman2014-07-0713-73/+195
| | | | | This allows us to gracefully fall back to the FLTK code in case the platform specific code cannot be used.
* Encoders/decoders should track the connection objectPierre Ossman2014-07-071-1/+1
| | | | | | The connection object is a much more appropriate object for the decoders and encoders to keep track of. Besides the streams, it also contains state like connection parameters.
* Push encoder and decoder handling down into the connection objectsPierre Ossman2014-07-072-12/+30
| | | | | This keeps the reader and writer objects clean and simple protocol decoders/encoders.
* Remove full support for colour mapsPierre Ossman2014-07-077-58/+10
| | | | | | | | | Gets rid of a loooot of code and complexity. Colour map clients are still supported through an automatically generated map, but we lose the ability to develop a client or server that uses colour maps internally.
* Remove magic JPEG variables from ConnParamsPierre Ossman2014-07-071-9/+16
| | | | | | Custom compression level and JPEG on/off are not inherent parts of the protocol negotiation so they do not belong in ConnParams. Let the UI frontend handle such things instead.
* Remove some premature optimisationPierre Ossman2014-07-076-74/+104
| | | | Reduces header dependencies.
* Add some missing whitespacePierre Ossman2014-07-071-0/+3
|
* Be more consistent in referring to pixel byte streams as buffersPierre Ossman2014-07-074-9/+9
|
* Remove unused method prototypePierre Ossman2014-07-071-1/+0
|
* Clean up header dependencies in the vncviewer directoryPierre Ossman2014-07-076-12/+23
|
* Check that we have a cursor to restorePierre Ossman2014-07-071-1/+1
| | | | | Forgot to check that we actually have a cursor from the server before trying to switch back to it after dismissing the context menu.
* Printing the clipboard data is very annoying as it couldPierre Ossman2013-09-052-2/+2
| | | | | | | | include line breaks, things with the wrong character encoding and god knows what. Just print the size of the data instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5133 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 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
* Update copyright year to 2013. Peter Åstrand2013-06-112-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5121 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The numpad decimal hack is needed on OS X as well.Pierre Ossman2013-05-291-5/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5115 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forgot to respect the AcceptClipboard option in thePierre Ossman2013-05-241-0/+3
| | | | | | | new FLTK based viewer. Patch by Matt McCutchen. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5112 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Work around Windows poor handling of the numpad decimal key.Pierre Ossman2013-04-161-0/+20
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5083 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 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