summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adds support for fence & continuous updates extensions to java viewer. Adds ↵Brian Hinz2012-02-1218-107/+467
| | | | | | low level hooks for TurboVNC fine grained quality controls. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4847 3789f03b-4d11-0410-bbf8-ca57d06f2519
* corrected return value for read function to match unix socket read. updated ↵Brian Hinz2012-02-087-36/+94
| | | | | | exception handling to match C code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4846 3789f03b-4d11-0410-bbf8-ca57d06f2519
* cleanup unused/unnecessary Graphics objects/opsBrian Hinz2012-02-051-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4845 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved Tight JPEG decode time by ~25% using PixelGrabber rather than ↵Brian Hinz2012-02-051-19/+13
| | | | | | getting each pixel manually. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4844 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Graphics clip rect setting was not being honored, causing full frame repaints!Brian Hinz2012-02-052-6/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4843 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replace all stream-based IO with non-blocking NIO-based implementation. ↵Brian Hinz2012-02-0321-307/+1814
| | | | | | Still a fair amount of cleanup to do, particularly in the SSL handler, which is not very robust, and exception handling in general. All core functionality appears to be working fine though. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4842 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The Tight encoder uses the pixel buffer as a scratch pad, which doesn'tPierre Ossman2012-01-305-56/+64
| | | | | | | | | work so well with the new optimisation to feed it the raw frame buffer. Reorganise and clean up the code to handle this, and make the raw frame buffer pointer const so that we might avoid such bugs in the future. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4841 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Be more liberal with const in places where write access isn't needed.Pierre Ossman2012-01-305-11/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4840 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix a race condition where we might get updates thrown at us right after aPierre Ossman2012-01-236-1/+55
| | | | | | | | 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
* Failure to find FLTK dependencies is only fatal for our version of FLTK.Pierre Ossman2012-01-231-8/+16
| | | | | | | | When using the system version we have to assume it's built the way the user wants. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4838 3789f03b-4d11-0410-bbf8-ca57d06f2519
* TypoDRC2012-01-181-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4837 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't perform checks for extra X11 libs on WindowsDRC2012-01-171-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4836 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bump version to 1.1.91 (1.2 beta2)DRC2012-01-173-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4835 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Our FLTK patches modified FLTK's autotools-based build system so that ↵DRC2012-01-174-1/+51
| | | | | | HAVE_XFIXES and HAVE_XCURSOR were defined in FLTK's config.h, but those changes never made it into the CMake-based build system used by the in-tree version of FLTK. Further, our build system was allowing silent failures whenever Xft, Xinerama, Xcursor, or Xfixes were not present on the build system. Now, the lack of these libraries is treated as a fatal error, since these libraries are critical for TigerVNC functionality. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4834 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add note about service mode incompatibility with > XPDRC2012-01-171-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4833 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forgot some comments for the mouse cursor workaround.Pierre Ossman2012-01-051-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4832 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure the mouse pointer is always the standard arrow for the popup menu.Pierre Ossman2012-01-051-0/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4831 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure that all FLTK features are enabled when using the in-tree FLTK libraryv1.1.90DRC2011-12-311-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4827 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 1.1.90 (1.2 beta1)DRC2011-12-233-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4826 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
* We need to explicitly trigger a framebuffer update for server side renderedPierre Ossman2011-12-211-1/+3
| | | | | | | | cursors. Previously this happened to work anyway because we had a lot of triggers for updates. After the cleanup, we need to be more explicit. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4824 3789f03b-4d11-0410-bbf8-ca57d06f2519
* make sure that color map is set for all pixel formats or throw an exceptionBrian Hinz2011-12-081-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4823 3789f03b-4d11-0410-bbf8-ca57d06f2519
* oops, bad commit! I only meant to commit the changes to the TightDecoder.Brian Hinz2011-12-049-121/+51
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4822 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Grabbing the RGB components from the BufferedImage one at a time and ↵Brian Hinz2011-12-0410-54/+129
| | | | | | converting the to a 24bpp RGB color manually is about 25% faster than using BufferedImage.getRGB(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4821 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Tight decoder fixes to address issues described in bug #3444605Brian Hinz2011-12-012-9/+26
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4820 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Sync up java Tight decoder with recent changes to C client as much as ↵Brian Hinz2011-11-278-128/+282
| | | | | | possible. These changes should also fix the 16bpp issue reported in bug #3429667. I think there are probably errors in the FilterGradient* code but I can't get any servers to actually send this type of data to test it. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4819 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated patch from upstream.Pierre Ossman2011-11-251-7/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4818 3789f03b-4d11-0410-bbf8-ca57d06f2519
* add PasswordFile parameter as requested in tracker #3441859Brian Hinz2011-11-253-1/+31
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4817 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Consistent and simple comment header: No need to specify email, sincePeter Åstrand2011-11-246-32/+1
| | | | | | | | | its included in the meta info below. TigerVNC Team copyright should be sufficient. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4816 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix syntax errorDRC2011-11-221-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4814 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix bad FLTK window resize handling on OS X.Pierre Ossman2011-11-211-0/+6
| | | | | | | http://www.fltk.org/str.php?L2775 git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4813 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reindent some code that had grown a bit unstructured.Pierre Ossman2011-11-211-18/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4812 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Increase the default compression level to cater to a broader range of usersPierre Ossman2011-11-203-3/+4
| | | | | | | | (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
* The block size for the comparing update tracker was inefficently low. RaisingPierre Ossman2011-11-201-1/+1
| | | | | | | | it from 16 to 64 pixels significantly reduces the CPU overhead in many cases, without sacrificing much in what it detects. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4810 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make the comparing update tracker a bit more flexible. It can now be in anPierre Ossman2011-11-208-21/+91
| | | | | | | | | "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
* 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