aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix compiler warnings uncovered with -WallDRC2011-11-034-4/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4752 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Activate the DPMS extension; avoid Ubuntu 11.10 crashing. Peter Åstrand2011-10-313-3/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4745 3789f03b-4d11-0410-bbf8-ca57d06f2519
* re: bug #3429667. adds support for reverse connection modeBrian Hinz2011-10-301-3/+36
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4744 3789f03b-4d11-0410-bbf8-ca57d06f2519
* corrected endianess bug introduced in r4742Brian Hinz2011-10-301-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4743 3789f03b-4d11-0410-bbf8-ca57d06f2519
* massive performance improvements. zrle measured at 2.5x faster (no ↵Brian Hinz2011-10-306-90/+60
| | | | | | measurements for tight, but should be the same or better). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4742 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't try to push out another update if the socket is already full. ThisPierre Ossman2011-10-252-3/+41
| | | | | | | avoids stalling the entire server because of one slow client. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4737 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
* Make socket writes non-blockable. This allows the system to more quicklyPierre Ossman2011-10-256-11/+297
| | | | | | | | return back to the Xorg main loop, meaning that things will be more responsive in the presence of slow VNC clients. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4735 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use the same window naming convention as the other viewersBrian Hinz2011-10-241-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4734 3789f03b-4d11-0410-bbf8-ca57d06f2519
* performance improvementsBrian Hinz2011-10-244-16/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4733 3789f03b-4d11-0410-bbf8-ca57d06f2519
* set dialog locations relative to parent window, otherwise dialogs appear on ↵Brian Hinz2011-10-243-9/+17
| | | | | | wrong screen in multi-monitor configurations. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4732 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Another attempt at solving the compression level change problems. We were stillPierre Ossman2011-10-182-63/+75
| | | | | | | not detecting the correct approach properly, and hence still getting crashes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4731 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added a favicon for embedded http server. Even less useful than a 50 cent ↵Brian Hinz2011-10-142-0/+1
| | | | | | coin, but I'm a sucker for eye candy. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4730 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved TightJPEG decoder by using a BufferedImage. It simplifies the code, ↵Brian Hinz2011-10-142-56/+14
| | | | | | and even though it's just used for grabbing the pixels, it should be faster since it can be HW accelerated. Also added a super.finalize() to the finalizer method in the ZlibInStream class for good measure. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4729 3789f03b-4d11-0410-bbf8-ca57d06f2519
* removed unnecessary hint for window sizing.Brian Hinz2011-10-131-3/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4728 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix Java viewer integration when building WinVNC with MinGWDRC2011-10-123-6/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4727 3789f03b-4d11-0410-bbf8-ca57d06f2519