summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add some missing headers. It is not really ok to include Xutil.hPierre Ossman2013-04-113-0/+4
| | | | | | | without first including Xlib.h. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5078 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Port over the write block handler code from the 1.5 patch.Pierre Ossman2013-04-101-11/+64
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5077 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move keyboardProc() so we have all the init stuff in one place.Pierre Ossman2013-04-091-47/+41
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5076 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Major rewrite of the keyboard code. The old code was too focused onPierre Ossman2013-04-095-706/+1274
| | | | | | | | | the old core X11 keyboards. The new code has an abstract common section, and two different backends for core and XKB. Core keyboards should be unaffected, but XKB support should be much better with this approach. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5075 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Copy error. Should have been a tab rather than spaces here.Pierre Ossman2013-04-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5074 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Mode switch and level 3 shift are used interchangably these days.Pierre Ossman2013-04-091-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5073 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we release the same key we previously pressed for aPierre Ossman2013-04-092-1/+43
| | | | | | | given keysym. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5072 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle init of old and new keyboards the same way.Pierre Ossman2013-04-091-20/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5071 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We have an object to store stuff in, so don't use a globalPierre Ossman2013-04-092-4/+4
| | | | | | | variable. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5070 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure InputDevice::InitInputDevice() gets called early inPierre Ossman2013-04-093-10/+12
| | | | | | | | the startup process so our devices are visible and available right away. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5069 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Copy the -verbose and -quiet parameters from Xorg so that wePierre Ossman2013-04-091-2/+29
| | | | | | | can control log output from the X core. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5068 3789f03b-4d11-0410-bbf8-ca57d06f2519
* GLX is no longer initialised by the dix. Patch originally byPierre Ossman2013-04-091-0/+19
| | | | | | | Adam Tkac for Fedora. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5067 3789f03b-4d11-0410-bbf8-ca57d06f2519
* More fixes for key event issues. It seems that on WindowsXP sending the ↵Brian Hinz2013-03-253-42/+174
| | | | | | actual key press/release separately can be mis-interpreted by the server as holding the key down. Using a keyTyped event for all character input ensures that we can send an immediate down/up. It also works around the broken AltGr detection in Java 6. Also added support for more keys (F13-F24, etc.). Some key definitions in java don't have X11 equivalents or I could not be sure so I've left them commented out. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5066 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initialize VNC extension from libvnc.so only once.Adam Tkac2013-03-141-13/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5065 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Simplify rfb::ParameterIterator - we always iterate over all enabled params.Adam Tkac2013-03-143-7/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5064 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused assignment operator declaration from rfb::ConfigurationAdam Tkac2013-03-142-22/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5063 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused parameter from rfb::Configuration::Configuration()Adam Tkac2013-03-142-9/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5062 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove bogus -geometry width/height adjustment from vncserver scriptAdam Tkac2013-03-141-8/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5061 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Need to escape formatting character.Brian Hinz2013-03-061-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5060 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Correct typo in r5058 that set an initial value on key location. Add a some ↵Brian Hinz2013-03-061-4/+3
| | | | | | verbosity to KeyEvent debug statement. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5059 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes some regressions introduced in r5056. Losing window focus caused key ↵Brian Hinz2013-03-063-35/+20
| | | | | | modifiers to be left in an incorrect state. Special handling of AltGr key was being applied in cases where CTRL_L+ALT_L keys were depressed which also caused the modifiers to be left in an incorrect state. Corrected mapping of CTRL+ALT+SHIFT hotkeys to match F8 menu. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5058 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use JDialog for connection info dialog so that frame icon is set correctly.Brian Hinz2013-03-061-14/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5057 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Backported a number of fixes/enhancements (mostly related to keymapping) ↵Brian Hinz2013-03-033-189/+396
| | | | | | from TurboVNC viewer. Also cleaned up some whitespace and minor formatting changes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5056 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update copyright datesBrian Hinz2013-03-014-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5055 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replace multiple instantiations of code to retrieve resources (icons, ↵Brian Hinz2013-03-015-34/+18
| | | | | | timestamp) from jar file with statics. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5054 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make viewport the parent of "Save As" dialog so that the window frame icon ↵Brian Hinz2013-03-011-1/+1
| | | | | | is inherited correctly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5053 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Using DirectColorModel constructor with an alpha mask other than 0 creates a ↵Brian Hinz2013-03-011-3/+3
| | | | | | ColorMap with Transparency.TRANSLUCENT rather than OPAQUE. This in turn causes rendering between opaque BufferedImages or to the screen to be performed without HW acceleration. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5052 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build on 32-bit and 64-bit WindowsDRC2013-02-263-2/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5051 3789f03b-4d11-0410-bbf8-ca57d06f2519
* comboBoxEdited events are fired if the content of the JComboBox is edited ↵Brian Hinz2013-02-221-13/+13
| | | | | | and then the comboBox is de-selected. This causes the connection to be initiated inadvertently sometimes (like when the About... button was pressed. Removed the ItemListener since it didn't serve any purpose, and also deleted the definition of endDialog() since it was the same as the inherited function anyway. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5050 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes yet another case where the viewport background wasn't painted black ↵Brian Hinz2013-02-211-8/+8
| | | | | | when the desktop size was less than the viewport size. Also set both scrollbar policies just as a precaution. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5049 3789f03b-4d11-0410-bbf8-ca57d06f2519
* viewer: exit when user specifies both -via and -listen parametersAdam Tkac2013-02-191-1/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5048 3789f03b-4d11-0410-bbf8-ca57d06f2519
* X.Org 1.14 support was incompleteAdam Tkac2013-02-192-1/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5047 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update the checked in copies of the generated icons. SomehowPierre Ossman2013-02-195-0/+0
| | | | | | | the previous versions were broken. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5046 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix bad circular dependency.Pierre Ossman2013-02-191-5/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5045 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Modern versions of ImageMagick properly respects the SVG defaultPierre Ossman2013-02-191-4/+8
| | | | | | | | DPI of 90, which causes unwanted scaling under ImageMagick's default 72. Force a 72 DPI to get pixel perfect matching. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5044 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Notify the server of mouse release events even if they're outside the ↵Brian Hinz2013-02-181-4/+6
| | | | | | desktop area. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5043 3789f03b-4d11-0410-bbf8-ca57d06f2519
* r5037 was not quite right. Both the viewport and scrollbar background colors ↵Brian Hinz2013-02-182-5/+4
| | | | | | were JRE dependent. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5042 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reimplement -listen in the new FLTK vncviewer. Work done byPierre Ossman2013-02-155-21/+51
| | | | | | | Justina Mickonyte for Cendio. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5041 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Sending menu key from F8 menu was sending the keycode instead of the keysym.Brian Hinz2013-02-092-24/+40
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5040 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix a regression introduced in r5034 that causes window to be resized ↵Brian Hinz2013-02-091-1/+1
| | | | | | unnecesarily. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5039 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated patch references; CMake portions of the clipboard and cursor patches.Peter Åstrand2013-02-051-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5038 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Cosmetic change. The background color of the viewport was not being applied ↵Brian Hinz2013-01-241-1/+1
| | | | | | properly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5037 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add xserver114.patch patchAdam Tkac2013-01-241-0/+84
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5036 3789f03b-4d11-0410-bbf8-ca57d06f2519
* When the desktop size is less than the viewport size, ignore mouse events ↵Brian Hinz2013-01-231-5/+8
| | | | | | that occur in the interstitial area git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5035 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixes a number of issues related to fullscreen mode. When switching out of ↵Brian Hinz2013-01-234-35/+23
| | | | | | fullscreen mode via the options dialog, setFullScreenWindow was being applied to the old reference, causing the whole screen to be blanked and unresponsive. The checkmark in the F8 menu could sometimes get out of sync with the state of the option. Cursor wasn't always being re-scaled when scale factor was changed. It seems that setCursor can still sometimes be passed a null pointer for the hotspot, so add back in a check that was removed in r5025 git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5034 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove one vlog.debug call which shouldn't have been committedAdam Tkac2013-01-231-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5033 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Re-add the "-via" parameter support on UNIX platforms.Adam Tkac2013-01-236-14/+107
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5032 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The recommended FLTK version is now 1.3.2. This means that severalPeter Åstrand2013-01-221-27/+27
| | | | | | | | | patches are no longer necessary. Also, provide a shell script to download and apply all patches. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5031 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A minor style change wrt the patches; use comment char. Peter Åstrand2013-01-221-18/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5030 3789f03b-4d11-0410-bbf8-ca57d06f2519
* more fixes for remote cursor rendering. State wasn't always being ↵Brian Hinz2013-01-151-14/+15
| | | | | | initialized correctly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5029 3789f03b-4d11-0410-bbf8-ca57d06f2519