aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Starting in full screen was misbehaving because we were waitingPierre Ossman2012-10-171-0/+7
| | | | | | | | for a FL_FULLSCREEN event to set things up properly, and FLTK doesn't emit this for a hidden window. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5004 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We need to be more careful about activating maximized mode when inPierre Ossman2012-10-111-5/+12
| | | | | | | full screen, otherwise we'll mess things up. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5003 3789f03b-4d11-0410-bbf8-ca57d06f2519
* XFCE's window manager did not interact well with the code that avoidedPierre Ossman2012-10-031-16/+25
| | | | | | | | accidental legacy full screen requests. Seems we need to sort that FIXME out sooner rather than later. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5002 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Using maximize and full screen at the same time on OS X would misbehavePierre Ossman2012-10-021-4/+21
| | | | | | | | | as we would first create a full screen window, then resize it to a maximized site. Reorganise things a bit so that we get sensible behaviour. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5001 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix bad indentation.Pierre Ossman2012-10-021-7/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5000 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Have to properly include config.h for the HAVE_... stuff to work.Pierre Ossman2012-09-111-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4999 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix incorrect path for viewer icons. Patch by Uros Vampl.Pierre Ossman2012-09-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4998 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Need to make sure that the viewport still gets mouse events, even if wePierre Ossman2012-09-101-1/+2
| | | | | | | want to intercept them for the edge/bump scroll. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4997 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Create common/os/libos.la fileAdam Tkac2012-09-051-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4996 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for X.Org 1.13Adam Tkac2012-09-054-3/+108
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4995 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add xserver113.patchAdam Tkac2012-09-051-0/+92
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4994 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Break some overly long lines.Pierre Ossman2012-09-031-6/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4993 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid triggering a full screen request by accident on X11.Pierre Ossman2012-09-031-8/+28
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4992 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Restore edge/bump scrolling when we are in full screen mode as it is easierPierre Ossman2012-09-032-1/+86
| | | | | | | to use. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4991 3789f03b-4d11-0410-bbf8-ca57d06f2519
* upgrade jzlib to 1.1.1Brian Hinz2012-09-0119-459/+1584
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4990 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated copyright notice, fixed build stringBrian Hinz2012-09-012-2/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4989 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forces all dialogs except for the clipboard to be modal. Fixes cases where ↵Brian Hinz2012-09-018-103/+104
| | | | | | dialogs are not brought to the front while in fullscreen mode. Corrects a few corner cases where viewer did not exit properly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4988 3789f03b-4d11-0410-bbf8-ca57d06f2519
* reduce the time threshold for autoSelectFormatAndEncoding, otherwise early ↵Brian Hinz2012-09-011-1/+1
| | | | | | format changes from !autoSelect to autoSelect will not take place git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4987 3789f03b-4d11-0410-bbf8-ca57d06f2519
* r4960 broke support for pixel formats with depth < 24. This corrects that ↵Brian Hinz2012-09-013-19/+33
| | | | | | and also forces a full framebuffer update whenever the format is changed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4986 3789f03b-4d11-0410-bbf8-ca57d06f2519
* fix initialization of dialog state variablesBrian Hinz2012-08-311-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4985 3789f03b-4d11-0410-bbf8-ca57d06f2519
* improve the look & functionality of the clipboard dialogBrian Hinz2012-08-301-1/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4984 3789f03b-4d11-0410-bbf8-ca57d06f2519
* secondary viewers were not loading user preferencesBrian Hinz2012-08-301-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4983 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build errors with XORG < 111: I assume that the last NULL argumentPeter Åstrand2012-08-291-1/+1
| | | | | | | | to GetKeyboardEvents was a typo... git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4982 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move the -geometry parsing up, so that it affects fullscreen mode asPeter Åstrand2012-08-291-45/+43
| | | | | | | | | well. This to allow specifying which monitor to use for fullscreen mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4981 3789f03b-4d11-0410-bbf8-ca57d06f2519
* adds initial support for loading & saving of both configuration files and ↵Brian Hinz2012-08-2911-383/+599
| | | | | | user preferences git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4980 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for X.Org 1.12.XAdam Tkac2012-08-284-17/+227
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4979 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add Support for X.Org 1.11.XAdam Tkac2012-08-284-10/+161
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4978 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The OS X keyboard grabbing code needs to be multi-head aware to functionPierre Ossman2012-08-273-6/+33
| | | | | | | properly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4977 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix silly typo that caused us to mishandle some SetDesktopSize requests.Pierre Ossman2012-08-271-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4976 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reverted last patch which was a mistake. Peter Åstrand2012-08-271-46/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4975 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added a comment about -geometry limitations. Peter Åstrand2012-08-271-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4974 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update to last patch; forgot break in switch statement. Peter Åstrand2012-08-271-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4973 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added a standard -geometry command line option. Such an option isPeter Åstrand2012-08-274-7/+81
| | | | | | | | actually already documented on the man page. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4972 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The x509ca and x509crl parameters were being set to the value of the button ↵Brian Hinz2012-08-261-3/+0
| | | | | | text. The parameter values are already set by the jfilechooser called from the options dialog, so no need to set them again anyway. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4971 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make the window actually occupy the full screen in full-screen mode (without ↵Brian Hinz2012-08-261-4/+15
| | | | | | this, other windows, such as the taskbar on Linux, will display in front of it.). Additional fixes for various full-screen mode issues (Setting FullScreen checkbox in options menu had no effect, null pointer, etc. When fullScreen and scaling options are changed simultaneously in the dialog, collapse the viewport changes into a single operation. There is still a modality issue on OS-X that will be addressed in a later patch. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4970 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Properly handle zero-length argumentsBrian Hinz2012-08-261-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4969 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we send a full FBUR whenever forceNonincremental=true (which it is ↵Brian Hinz2012-08-261-1/+1
| | | | | | during the initial FBUR.) This specifically fixes an issue whereby a black screen would be displayed when initially connecting to the OS X built-in VNC server. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4968 3789f03b-4d11-0410-bbf8-ca57d06f2519
* "Requesting" is more accurate, because the requested encoding is only used ↵Brian Hinz2012-08-261-1/+1
| | | | | | if the server supports it. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4967 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make scaling factor arguments "FixedRatio" and "Auto" case-insensitiveBrian Hinz2012-08-263-12/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4966 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix AccessControlException caused by using System.exit() in applet mode, and ↵Brian Hinz2012-08-269-52/+50
| | | | | | close viewer properly in several other cases. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4965 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Split the Viewport out from CConn, really should never have been in there to ↵Brian Hinz2012-08-263-87/+117
| | | | | | begin with. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4964 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 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