Pierre Ossman
ad8609a2ed
Fix unsafe usage of the logging functions.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
8cb45e5e4c
Allow gcc to check for correct usage of the formatting string for the
logging class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4904 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
e0df4c38a4
Fixed cut & paste error
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4903 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
9dd057bb0f
Fix Socket methods for querying the socket endpoints. Fix the address displayed in the info dialog for redirected connections.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4902 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
5be8fa01ed
Remove hard-coded font names from UI settings.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4901 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
f52740e7ea
Make sure we're paranoid about accidentally feeding a format string.
Basic patch by Joachim Falk. Slightly improved before commit.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4900 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
33bead4a29
The reformatting of all the Xserver sources in the 1.12.1 release changed
the headers so now some of them have multiple instances of the C++ "and"
and "xor" keywords on the same line, so the hack to sanitize them needs
to use the sed "g" flag to replace all instances, not just the first.
Otherwise, the build fails with strange errors such as:
"fb.h", line 817: Error: Unexpected type name "FbBits" encountered.
"fb.h", line 817: Error: dst is not defined.
"fb.h", line 818: Error: Unexpected type name "FbStride" encountered.
"fb.h", line 818: Error: dstStride is not defined.
"fb.h", line 819: Error: Badly formed expression.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4899 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
ab8aeedefd
Proper support for icons in FLTK (upstream STR 2816).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4898 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
57bbce4306
Use the gcc way of creating shared segments in DLLs. The previous way
only works with MSVC.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4897 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
4c378e0f93
Build wm_hooks in its own directory. Makes the build structure more clear.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4896 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
2b6dd6a4f7
Spawn a new viewer on ClientRedirects, otherwise ConnParams may not be initialized correctly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4895 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
e4363d65dd
Set Nimbus as the default look and feel if it's available, otherwise fallback to the native LAF. Allow LAF to be specified with swing.defaultlaf system property.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4894 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
cbd52d707b
UI tweaks to improve look & feel consistency.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4893 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
a62502e3e2
dispose of graphics object to prevent memory leaks
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4892 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
c1fcef03cd
Allows java client in listen mode to continue listening and spawning new viewers after the first connection is made.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4891 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
9580634afd
Make the Swing LookAndFeel consistent between applet mode and standalone mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4890 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
f0e2ee7e93
Fixes issue with java viewer exiting altogether when the New Connection ServerDialog is cancelled or a new connection window is closed.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4889 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
b213da6871
Update address of FSF and copyright notices to assign proper credit.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4888 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
6255347b5f
Try to eliminate spurious repaints, improve rendering speed, and simplify viewport constructor.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4887 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
a8ee2437a0
Fix potential null pointer exception if cursor hotspot isn't available
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4886 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
967f72d6c1
remove some bits of dead/unused code
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4885 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
1b79a8742b
Enable setDesktopSize feature.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4884 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
64ee6fde62
make sure FullScreen checkbox is initialized correctly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4883 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
cf0e312b59
adds experimental support for SSH tunneling to the Java client. Has not been tested with large desktop sizes yet. CMakeLists.txt needs some rework.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4882 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
b3ea375488
Prevent viewer from reconfiguring viewport on pixel format changes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4881 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
28aa3a810f
BufferedImage performance is poor on Microsoft Windows platforms, so fallback to the 1.2 implementation if the BI cannot be HW accelerated. Also streamline some of the code by removing synchronized statements and making the method calls themselves synchronized. Modification to the selector implementation to make it behave more like a unix selector
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4880 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
0878eca6aa
Move the last remnants of autotools into config.h.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4879 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
8eb3508b73
Set a proper icon for the vncviewer windows on Unix and Windows.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4878 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
64127708e0
Convert media Makefile to CMake.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4877 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
ca937761f5
Add a resource file to vncviewer.exe so we can get an icon.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4876 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
e43d1aaea6
Using libXft means using libfontconfig, so make sure we add that to
the link line.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4875 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
448fd3a5e7
Missed vncviewer in previous commit.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4874 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
95e28f74a2
Consolidate the installation paths and make sure we have decent defaults.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4873 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
84c9467b8e
Fixes handshake failure caused by premature loop break when data is not ready.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4872 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
35022e07a9
Changes aimed at making the behavior of the java client more consistent with the binary client.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4871 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
ef41e92001
Workaround for potential failure to read the version string if the data isn't already in the buffer. May need further consideration, the problem can't be reproduced with the binary viewer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4870 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
25fd2a948f
Fixes TimedOut exception during clientRedirect caused by missing callback
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4869 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
956ac1dd1c
Fix an issue where java viewer appears to hang on Mac OS X. As far as I can tell, this is caused by an upstream bug which might be fixed in JDK 7, but for now this gets around the problem without significantly affecting performance.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4868 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
60a2ece48f
pass correct timeout value to selector. limit pixel depth to 24 (OS X defaults to 32). Increase write buffer size to match CXX value.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4867 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
32fee35297
Fix problem noted in feature request 3482254 where selecting Raw encoding caused the Java viewer to freeze.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4861 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
44bc7d23d1
Improve performance of Java viewer by using buffered image as drawing surface. Simplified soft cursor construction.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4860 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
dcfcca49c9
revert 4857, could potentially cause protocol problems
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4859 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Pierre Ossman
65fb4b0a8d
Comment where the mysterious 0xFFFF number of rectangles comes from.
Patch by Arthur Huillet.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4858 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
595c1d4171
adds keepAlive feature requested in #3482254 to java viewer
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4857 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
93464bcc33
make sure we actually throw caught execptions in java viewer
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4856 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
60c1555bd8
Applied fix for issue with Win7 and German metakeys. Patch submitted by Albert Fluegel
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4855 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
56dee1a252
Fix regression caused by r4841. That patch assumed that JPEG encoding always uses the raw buffer, which is not true. If pixel translation is necessary, then JPEG images will sometimes be encoded from the translated (intermediate) buffer instead.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4852 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
DRC
550a4df9a3
Bump version number to prepare for post-1.2 development
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4849 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago
Brian Hinz
af15db239a
Adds support for fence & continuous updates extensions to java viewer. Adds 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
12 years ago
Brian Hinz
8d37f2054b
corrected return value for read function to match unix socket read. updated exception handling to match C code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4846 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 years ago