aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused classBrian Hinz2012-08-261-27/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4963 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Refactor the handshake code from first principles to remove code that was ↵Brian Hinz2012-08-261-54/+29
| | | | | | borrowed from Netty, which is released under an incompatible license (Apache v2.) Since our SSLEngineManager class was loosely inspired by, but no code was actually borrowed from, the Oracle JSSE examples, it is my opinion that it was incorrect to attribute copyright to Oracle, so that message has been removed (their examples are released under a BSD-style license, anyhow, so it's a non-issue.) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4962 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove the AWTPixelBuffer class. After switching to using rasters in ↵Brian Hinz2012-08-262-104/+1
| | | | | | BIPixelBuffer, we can no longer find a case in which AWTPixelBuffer performs faster. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4961 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Significantly improve performance by eliminating the intermediary ↵Brian Hinz2012-08-261-19/+6
| | | | | | MemoryImageSource and instead directly modifying the pixels in the BufferedImage. Supposedly, doing this causes the BufferedImage to become unmanaged. At one time, unmanaged images weren't hardware-accelerated on some platforms, but that doesn't seem to be the case with Java 1.5 and later. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4960 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Change name of menu key class to be consistent with Java style guidelines.Brian Hinz2012-08-265-24/+31
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4959 3789f03b-4d11-0410-bbf8-ca57d06f2519
* X11 window managers are very buggy when it comes to having a window startPierre Ossman2012-08-232-18/+66
| | | | | | | | | in full screen mode. So we'll resort to creating a normal window, and then switching to full screen once it is mapped. Unfortunately it means we need to handle delaying some resize handling. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4958 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid doing a lot of resize related things if we're not actually resizing.Pierre Ossman2012-08-231-15/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4957 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A CGImage is read-only, but it just happened to work anyway. Until 10.8Pierre Ossman2012-08-172-13/+11
| | | | | | | that is. Do it the documented way by having a CGBitmapContext instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4956 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The maximise functionality does not rely on the fullscreen patches.Pierre Ossman2012-08-171-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4955 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Clarify the FLTK requirement.Pierre Ossman2012-08-171-5/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4954 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add missing blank line.Pierre Ossman2012-08-171-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4953 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Ignore more generated filesPeter Åstrand2012-08-090-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4952 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove the in-tree versin of FLTK. Maintaining such a copy is way tooPeter Åstrand2012-08-09436-148219/+59
| | | | | | | | | much work, and it's constantly out of sync. Let's document what the main developers (ie Cendio) are using instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4951 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make it possible to load and save configuration files. Also, whenPeter Åstrand2012-08-085-25/+756
| | | | | | | | | connecting, the options are saved as default settings. This patch fixes SF bugs 3481470 and 3499216. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4950 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added new option "-Maximize", for maximizing the window at startup.Peter Åstrand2012-08-015-0/+52
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4949 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changes to allow compiling on JDK7Brian Hinz2012-07-225-15/+46
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4948 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We can end up with no screens in some cases. Make sure we at least have aPierre Ossman2012-07-201-0/+5
| | | | | | | dummy one when that happens. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4947 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Screen layout is relative our viewport, not the local machine's 0,0.Pierre Ossman2012-07-201-6/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4946 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we filter out any screens that aren't fully inside the newPierre Ossman2012-07-201-0/+8
| | | | | | | framebuffer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4945 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove some debug output that wasn't supposed to be here.Pierre Ossman2012-07-201-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4944 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We were not handling the "sync next" fence properly as we sent the responsePierre Ossman2012-07-202-6/+10
| | | | | | | | | right after we got the request (instead of waiting for the next command). This created a race where we could lose pixel format sync between the client and the server. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4943 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Also check for negative encodings, in case the server is throwing unexpectedPierre Ossman2012-07-192-3/+3
| | | | | | | garbage at us. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4942 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implicit drawing operations (like window borders) are done by accessingPierre Ossman2012-07-191-9/+26
| | | | | | | | | | the screen pixmap directly. That means that hooking windows is insufficient. The code now assumes that the drawable is a visible window, or the screen pixmap (IOW, that all coordinates are screen relative). Had to restructure some code that only worked on windows to get this working. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4941 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix improper check of errors when getting a suitable RandR mode.Pierre Ossman2012-07-181-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4940 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We need to be able to handle outputs without any CRTC connected as well.Pierre Ossman2012-07-181-10/+56
| | | | | | | This is generally the state disabled outputs are in. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4939 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forgot to initialise the iterator index properly.Pierre Ossman2012-07-181-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4938 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We need to manually update the RandR timestamp, as it is normally set inPierre Ossman2012-07-171-0/+7
| | | | | | | the X11 request handlers. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4937 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The internal API for RRCrtcNotify() changed in Xorg 1.6+, so make sure thingsPierre Ossman2012-07-171-2/+19
| | | | | | | work on those versions as well. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4936 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement client side multi-head support. Requires a FLTK patched to supportPierre Ossman2012-07-139-21/+167
| | | | | | | | fullscreen over multiple monitors. Will properly report screen configuration to the server, provided the server supports it. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4935 3789f03b-4d11-0410-bbf8-ca57d06f2519
* ScreenSet references rdr types, so we need to make sure those are defined.Pierre Ossman2012-07-131-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4934 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add back support for letting the client reconfigure the screen, this timePierre Ossman2012-07-134-34/+284
| | | | | | | | | with all the RandR 1.2 multi-head goodness. Tested with Xvnc, but should also work with libvnc.so, although it will only work for simpler cases there. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4933 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Track outputs instead of CRTCs, as those better match the screen conceptPierre Ossman2012-07-122-15/+17
| | | | | | | in RFB. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4932 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Redo the RandR code in Xvnc/libvnc to use the modern 1.2 API. The oldPierre Ossman2012-07-125-165/+366
| | | | | | | | | | | stuff was a bit buggy, and it didn't really allow us to move forward. This commit temporarily removes the ability for the client to resize the session. It will be readded for Xvnc in a later commit. libvnc will be without that functionality for now, as it is very difficult to get right there. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4931 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Hide the full screen setting when support isn't present.Pierre Ossman2012-07-103-0/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4930 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make RemoteResize configurable from the options dialog.Pierre Ossman2012-07-052-0/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4929 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make DesktopSize configurable from the options dialog.Pierre Ossman2012-07-052-0/+60
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4928 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move the fullscreen option to a separate tab, in preparation for morePierre Ossman2012-07-052-9/+28
| | | | | | | screen related options. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4927 3789f03b-4d11-0410-bbf8-ca57d06f2519
* This code is no longer needed now that we have dynamic resize.Pierre Ossman2012-07-041-4/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4926 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add menu entry to have the local window match the size of the remote desktop.Pierre Ossman2012-07-041-1/+14
| | | | | | | This is useful now that we no longer have size restrictions on the window. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4925 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make it possible to dynamically resize the size of the session, when resizingPierre Ossman2012-07-045-67/+99
| | | | | | | | the viewer window, or when entering or leaving fullscreen mode. Initial work done by Arthur Huillet and clohr. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4924 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix typo.Pierre Ossman2012-07-041-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4923 3789f03b-4d11-0410-bbf8-ca57d06f2519
* GnuTLS 3.x has removed gnutls_transport_set_global_errno() in favour ofPierre Ossman2012-07-035-13/+55
| | | | | | | | gnutls_transport_set_errno(). Make sure we call the right errno function depending on which GnuTLS we're using. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4922 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Refactor the TLS code so that the push/pull functions are aware of theirPierre Ossman2012-07-036-29/+43
| | | | | | | containing stream object. This is in preparation for supporting GnuTLS 3.x. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4921 3789f03b-4d11-0410-bbf8-ca57d06f2519
* In-tree version of FLTK needs Fl_PNG_Image in order to use the new icon code ↵DRC2012-06-022-0/+234
| | | | | | in the viewer git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4920 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed issue where viewer was not honoring cmd line arg SendLocalUsernameBrian Hinz2012-05-311-6/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4919 3789f03b-4d11-0410-bbf8-ca57d06f2519
* removed ANSI character escapes, not supported on Windows cmd lineBrian Hinz2012-05-231-13/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4918 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Significantly improves the peak frame rate on platforms that support using ↵Brian Hinz2012-05-231-21/+62
| | | | | | BIPixelBuffer git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4917 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Shortened SSH tunneling System property names, fixed problem with parsing of ↵Brian Hinz2012-05-232-8/+9
| | | | | | '-via' cmd line option, fixed intermittent problem with SSH password dialog. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4916 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes what appears to be a Java bug on Linux. Graphics2D.copyArea corrupts ↵Brian Hinz2012-05-191-1/+1
| | | | | | the screen image when areas are shifted to the left. Benchmarking show no measurable performance impact from this change, and it seems to mitigate the problem. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4915 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Adds support for setting the menu key via cmd line arg. Adds all menu keys ↵Brian Hinz2012-05-166-17/+102
| | | | | | supported by native viewer to the combo box in the OptionsDialog. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4914 3789f03b-4d11-0410-bbf8-ca57d06f2519