This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch release/4.0.2.x in repository x2goclient. from 87ae17b grammar fix in changelog new 1ad1c83 Windows: Switch from regular NSIS 2.46 to NSIS Unicode 2.46.5 (Fixes #528) new 8e9ffd1 Windows: nx-libs-lite updated to 3.5.0.27 new 0858f32 Windows: On XP & Server 2003 (R2), prevent high PulseAudio CPU usage by lowering its CPU priority to "normal" (Fixes #526) new 92af485 Windows: Download and compile nx-libs-lite from the release tarball, rather than from git, so that the patches are actually applied new a1826e8 Fix "fullscreen" mode on Windows 7 with several monitors. new 7b60c2c Fix changelog. new 89db574 Correct changelog: Unicode NSIS, not NSIS Unicode (which is a separate & discontinued fork). new 650e1ec Update COPYING file (to update FSF address). The 8 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: COPYING | 37 ++++++++++++++++++------------------- debian/changelog | 11 ++++++++++- onmainwindow.cpp | 18 ++++++++++++++++++ onmainwindow.h | 1 + wapi.cpp | 26 ++++++++++++++------------ 5 files changed, 61 insertions(+), 32 deletions(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.2.x in repository x2goclient. commit 8e9ffd1e03df7ea53824e197556afe7768378666 Author: Mike DePaulo <mikedep333@gmail.com> Date: Tue Jul 1 08:30:36 2014 -0400 Windows: nx-libs-lite updated to 3.5.0.27 --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ac57fbd..18cb7d1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -48,7 +48,7 @@ x2goclient (4.0.2.1-0x2go1) UNRELEASED; urgency=low (Cygwin openssl was also individually updated to 1.0.1h-1 in 4.0.2.0+build4.) This also includes migrating from libjpeg to libjpeg-turbo, which reduces CPU usage of nxproxy.) - - Windows: nx-libs-lite updated from 3.5.0.22 to 3.5.0.24 + - Windows: nx-libs-lite updated from 3.5.0.22 to 3.5.0.27 (linked against aforementioned cygwin package versions) - Windows: Win32 OpenSSL updated from 1.0.1g to 1.0.1h, which fixes the 6 CVEs announced on 2014-06-05. -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.2.x in repository x2goclient. commit 1ad1c83442106fb9fcb5a6b837e13a7a12e5d525 Author: Mike DePaulo <mikedep333@gmail.com> Date: Sun Jun 29 22:37:49 2014 -0400 Windows: Switch from regular NSIS 2.46 to NSIS Unicode 2.46.5 (Fixes #528) --- debian/changelog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/changelog b/debian/changelog index 38c2685..ac57fbd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -56,6 +56,8 @@ x2goclient (4.0.2.1-0x2go1) UNRELEASED; urgency=low - Windows: VcXsrv (XP Compatible) updated from 1.14.3.1 to 1.14.3.2. Fixes CVE-2014-0209, CVE-2014-0210, and CVE-2014-0211 (VcXsrv was also updated to 1.14.3.2 in 4.0.2.0+build2.) + - Windows: Switch from regular NSIS 2.46 to NSIS Unicode 2.46.5 + (Fixes: #528) -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Thu, 10 Apr 2014 18:30:25 +0200 -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.2.x in repository x2goclient. commit 650e1ecf11fac09a52d17b94d36caaa188c9d796 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Jul 9 20:14:41 2014 +0200 Update COPYING file (to update FSF address). --- COPYING | 37 ++++++++++++++++++------------------- debian/changelog | 1 + 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/COPYING b/COPYING index 57f4943..d159169 100644 --- a/COPYING +++ b/COPYING @@ -1,12 +1,12 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 - Copyright (C) 1989, 1991 Free Software Foundation, Inc. + Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble + Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public @@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to +the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not @@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. - - GNU GENERAL PUBLIC LICENSE + + GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains @@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions: License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) - + These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in @@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. - + 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is @@ -225,7 +225,7 @@ impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. - + 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License @@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN @@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it @@ -303,10 +303,9 @@ the "copyright" line and a pointer to where the full notice is found. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. @@ -336,5 +335,5 @@ necessary. Here is a sample; alter the names: This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General +library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. diff --git a/debian/changelog b/debian/changelog index 297309d..2af42af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,7 @@ x2goclient (4.0.2.1-0x2go1) UNRELEASED; urgency=low - Add new cmdline option --hide-foldersharing. If used, all GUI elements related to exporting client-side folders to X2Go sessions get hidden. (Fixes: #514). + - Update COPYING file (to update FSF address). * debian/control: + Add dbg:package x2goplugin-dbg. -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.2.x in repository x2goclient. commit 0858f328936b3b3ab1a069a041f5de75f238e009 Author: Mike DePaulo <mikedep333@gmail.com> Date: Tue Jul 1 20:10:31 2014 -0400 Windows: On XP & Server 2003 (R2), prevent high PulseAudio CPU usage by lowering its CPU priority to "normal" (Fixes #526) --- debian/changelog | 3 +++ onmainwindow.cpp | 18 ++++++++++++++++++ onmainwindow.h | 1 + 3 files changed, 22 insertions(+) diff --git a/debian/changelog b/debian/changelog index 18cb7d1..fe3cbd4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -39,6 +39,9 @@ x2goclient (4.0.2.1-0x2go1) UNRELEASED; urgency=low [ Mike DePaulo ] * New upstream release (4.0.2.1): + - Windows: Prevent high PulseAudio CPU usage on Windows XP by lowering + PulseAudio's CPU priority from "high" to "normal" on XP specifically. + Also do so on Windows Server 2003 (R2) (Fixes #526) - Windows: Enable PulseAudio log when --debug is passed. - Windows: Fix compatibility with current PulseAudio master branch - Windows: Reduce size of NSIS installer by switching to lzma solid compression diff --git a/onmainwindow.cpp b/onmainwindow.cpp index f09d80d..96914c0 100644 --- a/onmainwindow.cpp +++ b/onmainwindow.cpp @@ -9788,6 +9788,24 @@ void ONMainWindow::startPulsed() pulseArgs<<"--exit-idle-time=-1"<<"-n"<<"-F"<<pulseDir+"\\config.pa"; if (debugging) pulseArgs<<"--log-level=debug"<<"--verbose"<<"--log-target=file:"+pulseDir+"\\pulse.log"; + /* + Fix for x2goclient bug #526. + Works Around PulseAudio bug #80772. + Tested with PulseAudio 5.0. + This argument will not cause PulseAudio 0.9.6 or 1.1 (the legacy versions) + to fail to launch. + However, 0.9.6 defaults to normal priority anyway, + and 1.1 ignores it for some reason. + So yes, the fact that 1.1 ignores it would be a bug in x2goclient if we + ever ship 1.1 again. + */ + if (QSysInfo::WindowsVersion == QSysInfo::WV_XP || + QSysInfo::WindowsVersion == QSysInfo::WV_2003 ) + { + x2goDebug<<"Windows XP or Server 2003 (R2) detected."; + x2goDebug<<"Setting PulseAudio to \"Normal\" CPU priority."; + pulseArgs<<"--high-priority=no"; + } #else pulseArgs<<"--exit-idle-time=-1"<<"-n"<<"-F"<<pulseDir+"/config.pa"; #endif diff --git a/onmainwindow.h b/onmainwindow.h index 1764993..6227c18 100644 --- a/onmainwindow.h +++ b/onmainwindow.h @@ -47,6 +47,7 @@ #ifdef Q_OS_WIN #include <windows.h> +#include <QSysInfo> #endif /** @author Oleksandr Shneyder -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.2.x in repository x2goclient. commit a1826e8c149518f36b825c8db518e9b7af019050 Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Date: Wed Jul 2 15:35:26 2014 +0200 Fix "fullscreen" mode on Windows 7 with several monitors. --- debian/changelog | 1 + wapi.cpp | 26 ++++++++++++++------------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7bc6106..1e0961d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -36,6 +36,7 @@ x2goclient (4.0.2.1-0x2go1) UNRELEASED; urgency=low that requires pulse support. - Check if sound is activated before starting pulse. - Fix starting sshd on Win XP. (Fixes: #421). + - Fix "fullscreen" mode on Windows 7 with several monitors. [ Mike DePaulo ] * New upstream release (4.0.2.1): diff --git a/wapi.cpp b/wapi.cpp index c9a8c5a..fe01f81 100644 --- a/wapi.cpp +++ b/wapi.cpp @@ -30,24 +30,26 @@ long wapiSetFSWindow ( HWND hWnd, const QRect& desktopGeometry ) { - long style=GetWindowLong ( hWnd,GWL_STYLE ); - SetWindowPos ( hWnd, HWND_TOP, desktopGeometry.x(), + SetWindowLong(hWnd, GWL_STYLE, + WS_VISIBLE); + SetWindowLong(hWnd, GWL_EXSTYLE, + 0); + SetWindowPos ( hWnd, HWND_TOPMOST, desktopGeometry.x(), desktopGeometry.y(), desktopGeometry.width(), desktopGeometry.height(), - SWP_FRAMECHANGED ); - SetWindowLong ( hWnd, GWL_STYLE, - WS_VISIBLE | WS_SYSMENU | - WS_CLIPCHILDREN | WS_CLIPSIBLINGS ); - - SetWindowPos ( hWnd, HWND_TOP, desktopGeometry.x(), + 0); + Sleep(2000); + SetWindowLong(hWnd, GWL_STYLE, + WS_VISIBLE); + SetWindowLong(hWnd, GWL_EXSTYLE, + 0); + SetWindowPos ( hWnd, HWND_TOPMOST, desktopGeometry.x(), desktopGeometry.y(), desktopGeometry.width(), desktopGeometry.height(), - SWP_FRAMECHANGED ); - - SetForegroundWindow ( hWnd ); - return style; + SWP_NOSIZE); + return WS_VISIBLE; } void wapiRestoreWindow( HWND hWnd, long style, const QRect& desktopGeometry ) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.2.x in repository x2goclient. commit 92af48567ed33528a01b88af2290811ea68476a4 Author: Mike DePaulo <mikedep333@gmail.com> Date: Wed Jul 2 08:39:19 2014 -0400 Windows: Download and compile nx-libs-lite from the release tarball, rather than from git, so that the patches are actually applied --- debian/changelog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/changelog b/debian/changelog index fe3cbd4..7bc6106 100644 --- a/debian/changelog +++ b/debian/changelog @@ -51,6 +51,8 @@ x2goclient (4.0.2.1-0x2go1) UNRELEASED; urgency=low (Cygwin openssl was also individually updated to 1.0.1h-1 in 4.0.2.0+build4.) This also includes migrating from libjpeg to libjpeg-turbo, which reduces CPU usage of nxproxy.) + - Windows: Download and compile nx-libs-lite from the release tarball, + rather than from git, so that the patches are actually applied - Windows: nx-libs-lite updated from 3.5.0.22 to 3.5.0.27 (linked against aforementioned cygwin package versions) - Windows: Win32 OpenSSL updated from 1.0.1g to 1.0.1h, which fixes the 6 -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.2.x in repository x2goclient. commit 7b60c2c14c86f0e29de49d195397298c7416fc3b Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Date: Thu Jul 3 11:28:13 2014 +0200 Fix changelog. --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1e0961d..85df8c3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -36,7 +36,7 @@ x2goclient (4.0.2.1-0x2go1) UNRELEASED; urgency=low that requires pulse support. - Check if sound is activated before starting pulse. - Fix starting sshd on Win XP. (Fixes: #421). - - Fix "fullscreen" mode on Windows 7 with several monitors. + - Fix "fullscreen" mode on Windows 7 with multiple monitors. [ Mike DePaulo ] * New upstream release (4.0.2.1): -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.2.x in repository x2goclient. commit 89db5748ccfa918bf73fe06ae11bffd19d0dcdd4 Author: Mike DePaulo <mikedep333@gmail.com> Date: Fri Jul 4 17:56:10 2014 -0400 Correct changelog: Unicode NSIS, not NSIS Unicode (which is a separate & discontinued fork). --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 85df8c3..297309d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -62,7 +62,7 @@ x2goclient (4.0.2.1-0x2go1) UNRELEASED; urgency=low - Windows: VcXsrv (XP Compatible) updated from 1.14.3.1 to 1.14.3.2. Fixes CVE-2014-0209, CVE-2014-0210, and CVE-2014-0211 (VcXsrv was also updated to 1.14.3.2 in 4.0.2.0+build2.) - - Windows: Switch from regular NSIS 2.46 to NSIS Unicode 2.46.5 + - Windows: Switch from regular NSIS 2.46 to Unicode NSIS 2.46.5 (Fixes: #528) -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Thu, 10 Apr 2014 18:30:25 +0200 -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git