summaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCServerST.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-141-1/+0
| | | | | | | 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.
* Add helper class for a rendered cursorPierre Ossman2014-07-141-16/+3
| | | | | | Add a magical cursor framebuffer class for handling when you want to render the cursor on the server side. Keeps the cursor specific magic in one contained place.
* Get rid of the direct access abuse of FullFramePixelBuffer's dataPierre Ossman2014-07-071-5/+12
|
* Remove full support for colour mapsPierre Ossman2014-07-071-9/+0
| | | | | | | | | 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.
* Fix a race condition where we might get updates thrown at us right after aPierre Ossman2012-01-231-1/+26
| | | | | | | | framebuffer switch, but before we've been given the pointer to the new framebuffer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4839 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changing the deferred update timer to 10 ms caused a large performance ↵DRC2011-12-221-1/+1
| | | | | | regression on video/3D apps, and until we can quantify the benefits of a larger DUT value, it was decided that it should be changed back to 1 ms for the 1.2 release. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4825 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make the comparing update tracker a bit more flexible. It can now be in anPierre Ossman2011-11-201-3/+22
| | | | | | | | | "auto" state where it will be enabled until we deem that the client is better of without it (currently triggered by explicitly stating a low compression level). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4809 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reimplement the deferred update handling, this time in a more robust andPierre Ossman2011-11-081-17/+76
| | | | | | | well-behaved manner. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4784 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Clean up the interface for VNCSConnectionST. Entry points are more apparentPierre Ossman2011-11-071-15/+5
| | | | | | | and the data flow is now more strictly aimed towards this connection class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4771 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure RFB timers are actually respected by the server implementations.Pierre Ossman2011-10-251-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4736 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Replace SSecurityFactoryStandard class by simplier Security class.Adam Tkac2010-04-231-5/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4039 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert previous commit (r3889). Windows code has to be cleaned before thisAdam Tkac2009-09-041-2/+2
| | | | | | | change. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3890 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replace rfb::strDup by safe_strdup and remove rfb::strFree in favor of free()Adam Tkac2009-09-041-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3889 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Brown paper bag time... Forgot to actually store the new screen layout.Pierre Ossman2009-04-021-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3738 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement server side support for SetDesktopSize.Pierre Ossman2009-03-231-35/+78
| | | | | | | | It has some warts, but should be feature complete. Most of the magic happens in the desktop class though. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3713 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move screen layout bootstraping around so that it can handle if all screensPierre Ossman2009-03-201-20/+20
| | | | | | | are purged on framebuffer resize. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3707 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Basic book keeping of screen layout on server.Pierre Ossman2009-03-201-0/+25
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3706 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove file transfer support.Pierre Ossman2009-03-131-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3677 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove the "video" feature and its associated custom JPEG handling.Pierre Ossman2009-03-051-69/+2
| | | | | | | | Having the client specifiy the video region is conceptually wrong and a problem like this should be handled by better encoding selection. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3635 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implemented support for DesktopName pseudo encoding, which allowsPeter Åstrand2009-01-151-0/+10
| | | | | | | | | | updating the desktop name on the fly. Tested in ThinLinc since 2008-01-07. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3549 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Resetting video rectangle on last client disconnect.Constantin Kaplinsky2008-09-051-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2755 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Enhancements, refactoring] Rationalized functions to control videoConstantin Kaplinsky2008-09-051-18/+40
| | | | | | | | rectangle selection and default video rectangle. Added more logging and improved error checking in the related code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2753 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Fixed a compilation warning by removing a very doubtful optimization.Constantin Kaplinsky2008-08-211-6/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2696 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] When pixel comparison to reduce unnecessary updates was performed,Constantin Kaplinsky2008-08-211-1/+3
| | | | | | | its results were not saved, unnecessary updates were sent to clients. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2695 3789f03b-4d11-0410-bbf8-ca57d06f2519
* VideoArea parameter is fully respected. The server treats the specified ↵Constantin Kaplinsky2008-08-211-1/+4
| | | | | | rectangle as video unless the client selected some different rectangle via the VideoRectangleSelection protocol message. When the client discards selection, the server will use VideoArea setting again. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2693 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Passing VideoArea parameter to VNCServerST object. VNCServerST saves theConstantin Kaplinsky2008-08-211-0/+4
| | | | | | | | rectangle but does not use it yet. does not do anything more. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2692 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handling VideoRectangleSelection protocol message (TightVNC extension).Constantin Kaplinsky2008-06-141-0/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2585 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Restored the functionality of the VideoPriority parameter. This time, itConstantin Kaplinsky2008-06-131-0/+16
| | | | | | | | | should work correctly even over slow networks, when update requests go less frequently than polling cycles. This version does not give any special meaning to the value 0, it is equivalent to 1. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2584 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Support for VideoRectangleSelection client message in the server code. The ↵Constantin Kaplinsky2008-04-241-1/+2
| | | | | | message is read but ignored (only a message will be written to stderr). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2559 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Special handling of a rectangular video area in the UpdateTracker and ↵Constantin Kaplinsky2007-08-311-1/+7
| | | | | | derived/related classes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2327 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code cleanups. The most important change is that we now always use ↵Constantin Kaplinsky2007-08-311-4/+7
| | | | | | UpdateTracker's getUpdateInfo() and never call get_changed(), get_copied() and get_delta() member functions. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2325 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+531
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519