[X2Go-Commits] nx-libs.git - build-main (branch) updated: nxcompshad/3.4.0-1

X2Go dev team git-admin at x2go.org
Fri Aug 30 16:22:19 CEST 2013


The branch, build-main has been updated
       via  2208f4f9ecf967579a364021f0847b3ad1d7777c (commit)
      from  3d8e85c4749ee9e55601f6e540311008bf8f77af (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 nxcompshad/CHANGELOG  |   10 ++++++++++
 nxcompshad/LICENSE    |    2 +-
 nxcompshad/Shadow.cpp |    6 +++---
 nxcompshad/VERSION    |    2 +-
 nxcompshad/X11.cpp    |   20 +++++++++++---------
 5 files changed, 26 insertions(+), 14 deletions(-)

The diff of changes is:
diff --git a/nxcompshad/CHANGELOG b/nxcompshad/CHANGELOG
index 8678d21..27bc0ac 100644
--- a/nxcompshad/CHANGELOG
+++ b/nxcompshad/CHANGELOG
@@ -1,5 +1,15 @@
 ChangeLog:
 
+nxcompshad-3.4.0-1
+
+- Opened the 3.4.0 branch based on nxcompshad-3.3.0-3.
+
+- Updated version number.
+
+- Updated copyright to year 2009.
+
+- Improved error messages logging in case of initialization failures.
+
 nxcompshad-3.3.0-3
 
 - Fixed TR01G02158. Keymap initialization could be incorrect because
diff --git a/nxcompshad/LICENSE b/nxcompshad/LICENSE
index 0631b9d..bf103c8 100644
--- a/nxcompshad/LICENSE
+++ b/nxcompshad/LICENSE
@@ -1,4 +1,4 @@
-Copyright (C) 2001, 2007 NoMachine - http://www.nomachine.com/.
+Copyright (c) 2001, 2009 NoMachine - http://www.nomachine.com/.
 
 NXCOMPSHAD and NX extensions to X are copyright of NoMachine.
 
diff --git a/nxcompshad/Shadow.cpp b/nxcompshad/Shadow.cpp
index f9154aa..e336ca6 100644
--- a/nxcompshad/Shadow.cpp
+++ b/nxcompshad/Shadow.cpp
@@ -1,6 +1,6 @@
 /**************************************************************************/
 /*                                                                        */
-/* Copyright (c) 2001, 2007 NoMachine, http://www.nomachine.com.          */
+/* Copyright (c) 2001, 2009 NoMachine, http://www.nomachine.com.          */
 /*                                                                        */
 /* NXCOMPSHAD, NX protocol compression and NX extensions to this software */
 /* are copyright of NoMachine. Redistribution and use of the present      */
@@ -152,7 +152,7 @@ static int NXCreatePoller(Display *display, Display **shadowDisplay)
 
   if (poller -> init() == -1)
   {
-    logTest("NXCreatePoller", "Failed to initialize poller.");
+    logWarning("NXCreatePoller", "Failed to initialize poller.");
 
     return -1;
   }
@@ -270,7 +270,7 @@ int NXShadowCreate(void *dpy, char *keymap, char* shadowDisplayName, void **shad
 
   if (NXCreatePoller(display, shadowDisplay) != 1)
   {
-    logTest("NXShadowCreate", "NXCreatePoller failed.");
+    logWarning("NXShadowCreate", "NXCreatePoller failed.");
 
     return -1;
   }
diff --git a/nxcompshad/VERSION b/nxcompshad/VERSION
index 15a2799..1809198 100644
--- a/nxcompshad/VERSION
+++ b/nxcompshad/VERSION
@@ -1 +1 @@
-3.3.0
+3.4.0
diff --git a/nxcompshad/X11.cpp b/nxcompshad/X11.cpp
index 99333b0..837efad 100644
--- a/nxcompshad/X11.cpp
+++ b/nxcompshad/X11.cpp
@@ -1,6 +1,6 @@
 /**************************************************************************/
 /*                                                                        */
-/* Copyright (c) 2001, 2007 NoMachine, http://www.nomachine.com/.         */
+/* Copyright (c) 2001, 2009 NoMachine, http://www.nomachine.com/.         */
 /*                                                                        */
 /* NXCOMPSHAD, NX protocol compression and NX extensions to this software */
 /* are copyright of NoMachine. Redistribution and use of the present      */
@@ -1305,17 +1305,19 @@ void Poller::randrInit(void)
   int randrEventBase;
   int randrErrorBase;
 
-  randrExtension_ = 0;
-
-  XRRSelectInput(display_, DefaultRootWindow(display_), RRScreenChangeNotifyMask);
-
   if (XRRQueryExtension(display_, &randrEventBase, &randrErrorBase) == 0)
   {
-    #ifdef PANIC
-    fprintf(stderr, "nxagentShadowInit: Randr extension not supported on this display.\n");
-    #endif
+    logWarning("Poller::randrInit", "Randr extension not supported on this "
+                   "display.");
+
+    randrExtension_ = 0;
+
+    return;
   }
 
+  XRRSelectInput(display_, DefaultRootWindow(display_),
+                     RRScreenChangeNotifyMask);
+
   randrEventBase_ = randrEventBase;
 
   randrExtension_ = 1;
@@ -1412,7 +1414,7 @@ void Poller::getEvents(void)
   {
     if (randrExtension_ == 1 && (X.type == randrEventBase_ + RRScreenChangeNotify || X.type == ConfigureNotify))
     {
-      XRRUpdateConfiguration (&X);
+      XRRUpdateConfiguration(&X);
 
       handleRRScreenChangeNotify(&X);
 


hooks/post-receive
-- 
nx-libs.git (NX (redistributed))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nx-libs.git" (NX (redistributed)).




More information about the x2go-commits mailing list