summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Cork the connection around updates to better use the congestion windowPierre Ossman2011-11-151-3/+11
| | | | | | | as we might send out multiple small packets git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4804 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Server implementation of continuous updates, including advanced flow control.Pierre Ossman2011-11-152-10/+292
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4803 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add method to query how long since we last wrote something to a fd.Pierre Ossman2011-11-152-0/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4802 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Basic infrastructure for continuous updates.Pierre Ossman2011-11-1421-1/+102
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4801 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
* Implement proper support for fences in the server.Pierre Ossman2011-11-142-1/+63
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4799 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Basic infrastructure to support fences.Pierre Ossman2011-11-1424-12/+223
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4798 3789f03b-4d11-0410-bbf8-ca57d06f2519
* improved Tight decoder performance.Brian Hinz2011-11-141-11/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4797 3789f03b-4d11-0410-bbf8-ca57d06f2519
* java client should accept server port specified as either rfb port or ↵Brian Hinz2011-11-111-1/+4
| | | | | | display offset. Credit to Dan Garton for pointing this out. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4796 3789f03b-4d11-0410-bbf8-ca57d06f2519
* null out BufferedImage object to make sure it doesn't lead to a memory leakBrian Hinz2011-11-111-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4795 3789f03b-4d11-0410-bbf8-ca57d06f2519
* remove unsupported sectypeBrian Hinz2011-11-111-76/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4794 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
* The CopyRect encoding is very efficient so it is wasteful to check thosePierre Ossman2011-11-101-3/+1
| | | | | | | | | areas here. It also makes the CUT counter-productive in some cases as it tends to expand small changes to BLOCK_SIZE (16 pixels) because of the copy regions. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4788 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix issue uncovered with valgrindDRC2011-11-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4787 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use the correct matching free operation. Patch by Matthieu Lochegnies.Pierre Ossman2011-11-092-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4786 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The source data here is RGB triplets, not "pixels".Pierre Ossman2011-11-081-3/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4785 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reimplement the deferred update handling, this time in a more robust andPierre Ossman2011-11-089-78/+103
| | | | | | | well-behaved manner. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4784 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add helper to easily determine how much time has passed since some previousPierre Ossman2011-11-082-0/+21
| | | | | | | event. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4783 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Cork the outgoing TCP stream while we still have messages to process. ThisPierre Ossman2011-11-081-0/+8
| | | | | | | allows more efficent use of the congestion window as we will send fewer packets. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4782 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Expose Linux' cork functionality which allows us to aggregate TCP data in aPierre Ossman2011-11-082-0/+12
| | | | | | | controlled manner. Unfortunately there is no equivalent for Windows. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4781 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid some unnecessary processing when server side cursor isn't used (whichPierre Ossman2011-11-081-2/+4
| | | | | | | is the common case). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4780 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The dummy timer isn't used anymore.Pierre Ossman2011-11-082-3/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4779 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We don't need HAVE_GNUTLS anymore, eitherDRC2011-11-081-4/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4778 3789f03b-4d11-0410-bbf8-ca57d06f2519
* If the Java viewer build is enabled, make sure it gets built when doing ↵DRC2011-11-081-0/+3
| | | | | | 'make installer' git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4777 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We don't need BUILD_DIR anymore since we divorced Visual StudioDRC2011-11-082-5/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4776 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Some platforms (I'm looking at you, MinGW64) have gettext but not iconv, so ↵DRC2011-11-081-1/+1
| | | | | | the build fails because iconv.h is missing. Thus, disable NLS if either gettext or iconv is not found. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4775 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove Visual C++ supportDRC2011-11-088-215/+32
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4774 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate dependency on libfreetype.so in legacy-friendly Xvnc buildDRC2011-11-071-11/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4773 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix legacy-friendly build (I hope). r4745 (enabling DPMS) removed ↵DRC2011-11-072-2/+2
| | | | | | | | | -DNO_HW_ONLY_EXTS from Xvnc_CPPFLAGS in unix/xserver/hw/vnc/Makefile.am, which caused xorg-xserver 1.6.5 to attempt to build the XFree86-DRI extension, but the stub for XFree86DRIExtensionInit() was missing, so Xvnc failed to link. Adding --disable-dri (r4765) caused the GLX build to fail, because GLX needs either DRI or DRI2, and DRI2 was not being properly detected because the dri2proto module we were using was too old for our X server version. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4772 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Clean up the interface for VNCSConnectionST. Entry points are more apparentPierre Ossman2011-11-078-97/+103
| | | | | | | 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
* Timers in RFB still weren't working properly. Do this right and check the nextPierre Ossman2011-11-073-15/+32
| | | | | | | timer just before the Xorg select() call. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4770 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix installer build when using MinGWDRC2011-11-071-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4769 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused function.Pierre Ossman2011-11-041-19/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4768 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
* Attempt to fix the legacy-friendly build, which was broken by r4745DRC2011-11-041-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4765 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add fast paths for RGB to 16-bit and 8-bit true color conversionDRC2011-11-041-0/+22
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4764 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Further optimizations (avoiding single-byte copies and InStream processing ↵DRC2011-11-042-53/+40
| | | | | | overhead) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4763 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Since fillRect() operates directly on the framebuffer, optimize it and ↵DRC2011-11-033-63/+68
| | | | | | remove the separate version in TightDecoder. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4762 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unneeded EXTRA_ARGS definitionDRC2011-11-031-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4761 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Need to include os/print.h, because Windows doesn't have snprintf()DRC2011-11-031-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4760 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The Tight decoding optimizations broke the build of the legacy viewers, so ↵DRC2011-11-0352-9707/+55
| | | | | | this seems like a good time to get rid of them like we discussed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4759 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move JPEG decoding into a standalone class (these should have been checked ↵DRC2011-11-032-0/+293
| | | | | | in with r4757. Oops.) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4758 3789f03b-4d11-0410-bbf8-ca57d06f2519
* If the client and server are using identical pixel formats, then perform ↵DRC2011-11-0311-246/+263
| | | | | | 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
* Put arguments in a more consistent order based on data flow, in order to ↵DRC2011-11-032-38/+41
| | | | | | improve readability git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4756 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix compiler warnings uncovered with -WallDRC2011-11-033-4/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4755 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Rename and document TransImageGetter::getPixelsRW() to make it more obviousPierre Ossman2011-11-033-4/+8
| | | | | | | that it bypasses the normal conversion logic. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4754 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We informed the RFB layer of RENDER operations before they were actuallyPierre Ossman2011-11-031-8/+15
| | | | | | | | carried out. Under some circumstances, this could result in an update going out with the old framebuffer contents. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4753 3789f03b-4d11-0410-bbf8-ca57d06f2519