[pve-devel] r5464 - in vncterm/pve2: . tigerpatches
svn-commits at proxmox.com
svn-commits at proxmox.com
Fri Jan 28 13:34:15 CET 2011
Author: dietmar
Date: 2011-01-28 13:34:15 +0100 (Fri, 28 Jan 2011)
New Revision: 5464
Modified:
vncterm/pve2/VncViewer.jar
vncterm/pve2/tigerpatches/export-ctrl-alt-delete.patch
vncterm/pve2/tigerpatches/trust-manager.patch
vncterm/pve2/tigerpatches/username-param.patch
Log:
export refresh()
Modified: vncterm/pve2/VncViewer.jar
===================================================================
(Binary files differ)
Modified: vncterm/pve2/tigerpatches/export-ctrl-alt-delete.patch
===================================================================
--- vncterm/pve2/tigerpatches/export-ctrl-alt-delete.patch 2011-01-28 09:39:47 UTC (rev 5463)
+++ vncterm/pve2/tigerpatches/export-ctrl-alt-delete.patch 2011-01-28 12:34:15 UTC (rev 5464)
@@ -1,35 +1,43 @@
Index: new/java/src/com/tigervnc/vncviewer/VncViewer.java
===================================================================
---- new.orig/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-24 16:08:09.000000000 +0100
-+++ new/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-24 16:08:15.000000000 +0100
-@@ -467,6 +467,30 @@
+--- new.orig/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-25 07:44:23.000000000 +0100
++++ new/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-28 13:26:16.000000000 +0100
+@@ -466,6 +466,38 @@
+ }
}
-
++ public void sendRefreshRequest()
++ {
++ if (rfb == null)
++ return;
++
++ try {
++ rfb.writeFramebufferUpdateRequest(0, 0, rfb.framebufferWidth,
++ rfb.framebufferHeight, false);
++ } catch (IOException e) {
++ e.printStackTrace();
++ }
++ }
++
+ public void sendCtrlAltDel()
+ {
-+ System.out.println("Send CtrlAltDel0");
+ if (rfb == null)
-+ return;
++ return;
+
-+ System.out.println("Send CtrlAltDel1");
-+
+ int modifiers = InputEvent.CTRL_MASK | InputEvent.ALT_MASK;
+
+ try {
-+ KeyEvent ctrlAltDelEvent =
-+ new KeyEvent(this, KeyEvent.KEY_PRESSED, 0, modifiers, 127);
-+ rfb.writeKeyEvent(ctrlAltDelEvent);
++ KeyEvent ctrlAltDelEvent =
++ new KeyEvent(this, KeyEvent.KEY_PRESSED, 0, modifiers, 127);
++ rfb.writeKeyEvent(ctrlAltDelEvent);
+
-+ ctrlAltDelEvent =
-+ new KeyEvent(this, KeyEvent.KEY_RELEASED, 0, modifiers, 127);
-+ rfb.writeKeyEvent(ctrlAltDelEvent);
++ ctrlAltDelEvent =
++ new KeyEvent(this, KeyEvent.KEY_RELEASED, 0, modifiers, 127);
++ rfb.writeKeyEvent(ctrlAltDelEvent);
+ } catch (IOException e) {
-+ e.printStackTrace();
++ e.printStackTrace();
+ }
-+
+ }
-+
+
//
// Show an authentication panel.
- //
Modified: vncterm/pve2/tigerpatches/trust-manager.patch
===================================================================
--- vncterm/pve2/tigerpatches/trust-manager.patch 2011-01-28 09:39:47 UTC (rev 5463)
+++ vncterm/pve2/tigerpatches/trust-manager.patch 2011-01-28 12:34:15 UTC (rev 5464)
@@ -9,8 +9,8 @@
Index: new/java/src/com/tigervnc/vncviewer/X509Tunnel.java
===================================================================
---- new.orig/java/src/com/tigervnc/vncviewer/X509Tunnel.java 2011-01-18 07:12:12.000000000 +0100
-+++ new/java/src/com/tigervnc/vncviewer/X509Tunnel.java 2011-01-25 08:07:03.000000000 +0100
+--- new.orig/java/src/com/tigervnc/vncviewer/X509Tunnel.java 2011-01-28 13:22:50.000000000 +0100
++++ new/java/src/com/tigervnc/vncviewer/X509Tunnel.java 2011-01-28 13:26:51.000000000 +0100
@@ -26,13 +26,23 @@
import javax.net.ssl.*;
import java.security.*;
@@ -99,8 +99,8 @@
}
Index: new/java/src/com/tigervnc/vncviewer/RfbProto.java
===================================================================
---- new.orig/java/src/com/tigervnc/vncviewer/RfbProto.java 2011-01-18 07:12:12.000000000 +0100
-+++ new/java/src/com/tigervnc/vncviewer/RfbProto.java 2011-01-25 07:44:23.000000000 +0100
+--- new.orig/java/src/com/tigervnc/vncviewer/RfbProto.java 2011-01-28 13:22:50.000000000 +0100
++++ new/java/src/com/tigervnc/vncviewer/RfbProto.java 2011-01-28 13:26:51.000000000 +0100
@@ -411,7 +411,8 @@
}
@@ -113,8 +113,8 @@
Index: new/java/src/com/tigervnc/vncviewer/VncViewer.java
===================================================================
---- new.orig/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-25 07:44:23.000000000 +0100
-+++ new/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-25 07:44:23.000000000 +0100
+--- new.orig/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-28 13:26:16.000000000 +0100
++++ new/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-28 13:26:51.000000000 +0100
@@ -95,6 +95,8 @@
int debugStatsExcludeUpdates;
int debugStatsMeasureUpdates;
@@ -142,7 +142,7 @@
void processNormalProtocol() throws Exception {
try {
vc.processNormalProtocol();
-@@ -849,6 +851,11 @@
+@@ -857,6 +859,11 @@
// SocketFactory.
socketFactory = readParameter("SocketFactory", false);
@@ -154,7 +154,7 @@
}
//
-@@ -1002,7 +1009,7 @@
+@@ -1010,7 +1017,7 @@
}
synchronized public void fatalError(String str, Exception e) {
@@ -163,7 +163,7 @@
if (rfb != null && rfb.closed()) {
// Not necessary to show error message if the error was caused
// by I/O problems after the rfb.close() method call.
-@@ -1100,11 +1107,11 @@
+@@ -1108,11 +1115,11 @@
public void enableInput(boolean enable) {
vc.enableInput(enable);
}
@@ -177,7 +177,7 @@
public void componentResized(ComponentEvent e) {
if (e.getComponent() == vncFrame) {
if (options.autoScale) {
-@@ -1116,11 +1123,11 @@
+@@ -1124,11 +1131,11 @@
}
}
}
Modified: vncterm/pve2/tigerpatches/username-param.patch
===================================================================
--- vncterm/pve2/tigerpatches/username-param.patch 2011-01-28 09:39:47 UTC (rev 5463)
+++ vncterm/pve2/tigerpatches/username-param.patch 2011-01-28 12:34:15 UTC (rev 5464)
@@ -1,7 +1,7 @@
Index: new/java/src/com/tigervnc/vncviewer/VncViewer.java
===================================================================
---- new.orig/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-26 14:00:38.000000000 +0100
-+++ new/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-26 14:07:51.000000000 +0100
+--- new.orig/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-28 13:26:51.000000000 +0100
++++ new/java/src/com/tigervnc/vncviewer/VncViewer.java 2011-01-28 13:27:04.000000000 +0100
@@ -86,6 +86,7 @@
String host;
int port;
@@ -27,7 +27,7 @@
}
break;
case RfbProto.SecTypeTLSNone:
-@@ -814,6 +817,8 @@
+@@ -822,6 +825,8 @@
// Read "ENCPASSWORD" or "PASSWORD" parameter if specified.
readPasswordParameters();
More information about the pve-devel
mailing list