<feed xmlns='http://www.w3.org/2005/Atom'>
<title>spice.git/client/windows, branch 0.8</title>
<subtitle>Spice</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/'/>
<entry>
<title>client/windows: fix SetClipboardViewer error handling rhbz#786554</title>
<updated>2012-03-01T12:18:57+00:00</updated>
<author>
<name>Arnon Gilboa</name>
<email>agilboa@redhat.com</email>
</author>
<published>2012-03-01T11:06:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=30f347e41ae768745d6ccb6711f1ca46ebfbe045'/>
<id>30f347e41ae768745d6ccb6711f1ca46ebfbe045</id>
<content type='text'>
MSDN says the following about SetClipboardViewer(): "If an error occurs or there
are no other windows in the clipboard viewer chain, the return value is NULL".
Seems like the buggy case was "no other windows in the clipboard viewer chain",
which explains the 3rd party clipboard manager workaround detailed in the bug
description.

It also seems like SetClipboardViewer() does not clear the error state on
succcess. Calling SetLastError(0) before SetClipboardViewer() seems to solves
this issue.

Since we could not reproduce the bug on our env, the customer has verified on
several of their systems that a private build resolved the issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MSDN says the following about SetClipboardViewer(): "If an error occurs or there
are no other windows in the clipboard viewer chain, the return value is NULL".
Seems like the buggy case was "no other windows in the clipboard viewer chain",
which explains the 3rd party clipboard manager workaround detailed in the bug
description.

It also seems like SetClipboardViewer() does not clear the error state on
succcess. Calling SetLastError(0) before SetClipboardViewer() seems to solves
this issue.

Since we could not reproduce the bug on our env, the customer has verified on
several of their systems that a private build resolved the issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>client: menu: make RedWindow::set_menu() return an error-code (#758260)</title>
<updated>2011-12-21T11:04:01+00:00</updated>
<author>
<name>Uri Lublin</name>
<email>uril@redhat.com</email>
</author>
<published>2011-12-20T14:36:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=67e785f4fc853985ae968b44280c8985651e41ac'/>
<id>67e785f4fc853985ae968b44280c8985651e41ac</id>
<content type='text'>
RedWindow::set_menu() can fail (on Windows when in fullscreen mode).
For Windows spice-client, when in fullscreen mode, the system-menu
is NULL.

Returns 0 upon success, non-0 (currently only -1) upon failure.

(cherry picked from commit 24d5852611c3d5be3ba824af64cd5a3356b82b9c)
(seperator vs separator --&gt; a small typo that got fixed)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RedWindow::set_menu() can fail (on Windows when in fullscreen mode).
For Windows spice-client, when in fullscreen mode, the system-menu
is NULL.

Returns 0 upon success, non-0 (currently only -1) upon failure.

(cherry picked from commit 24d5852611c3d5be3ba824af64cd5a3356b82b9c)
(seperator vs separator --&gt; a small typo that got fixed)
</pre>
</div>
</content>
</entry>
<entry>
<title>client: handle the redundant right ctrl windows' message send when a alt-gr is pressed bz#709074</title>
<updated>2011-11-24T16:31:07+00:00</updated>
<author>
<name>Gal Hammer</name>
<email>ghammer@redhat.com</email>
</author>
<published>2011-11-14T10:51:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=1f2d55b38b7a0628c20385f306533f4e6bd66d7f'/>
<id>1f2d55b38b7a0628c20385f306533f4e6bd66d7f</id>
<content type='text'>
Hello,

The second patch check to see if Windows is sending a fake VK_CONTROL
message when the user pressed Alt-Gr when using a non-US keyboard layout
(German, Czech, etc...).

If the function is_fake_ctrl return true and key event is translated to
a REDKEY_INVALID and the event is discarded.

     Gal.
(cherry picked from commit 9ffa2e9990dc5d5ae61c227d10d5234753c08402)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hello,

The second patch check to see if Windows is sending a fake VK_CONTROL
message when the user pressed Alt-Gr when using a non-US keyboard layout
(German, Czech, etc...).

If the function is_fake_ctrl return true and key event is translated to
a REDKEY_INVALID and the event is discarded.

     Gal.
(cherry picked from commit 9ffa2e9990dc5d5ae61c227d10d5234753c08402)
</pre>
</div>
</content>
</entry>
<entry>
<title>client: handle the redundant right ctrl windows' message send when a alt-gr is pressed bz#709074</title>
<updated>2011-11-24T16:31:04+00:00</updated>
<author>
<name>Gal Hammer</name>
<email>ghammer@redhat.com</email>
</author>
<published>2011-11-14T10:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=66f611bccf865701a26967c6c9ceef4cd130b04d'/>
<id>66f611bccf865701a26967c6c9ceef4cd130b04d</id>
<content type='text'>
Hello,

I first updated the translate_key function. It now requires the windows
message as parameter (will be used later). It also use the raw wparam
and lparam parameters in order to remove the code duplication when
calling the function.

     Gal.
(cherry picked from commit 33be8633f5712062752efe75adc745130a72c4c2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hello,

I first updated the translate_key function. It now requires the windows
message as parameter (will be used later). It also use the raw wparam
and lparam parameters in order to remove the code duplication when
calling the function.

     Gal.
(cherry picked from commit 33be8633f5712062752efe75adc745130a72c4c2)
</pre>
</div>
</content>
</entry>
<entry>
<title>client/windows: enable image randomization (ASLR) rhbz#701111</title>
<updated>2011-07-21T12:09:28+00:00</updated>
<author>
<name>Arnon Gilboa</name>
<email>agilboa@redhat.com</email>
</author>
<published>2011-05-29T09:15:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=e482c1f640e397dfb277900873400015884adb1b'/>
<id>e482c1f640e397dfb277900873400015884adb1b</id>
<content type='text'>
Enable image randomized base address, hindering some types of
security attacks by making it more difficult for an attacker
to predict target addresses.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable image randomized base address, hindering some types of
security attacks by making it more difficult for an attacker
to predict target addresses.
</pre>
</div>
</content>
</entry>
<entry>
<title>client/windows: undef SIZE_MAX in stdint.h</title>
<updated>2011-07-21T12:09:28+00:00</updated>
<author>
<name>Arnon Gilboa</name>
<email>agilboa@redhat.com</email>
</author>
<published>2011-05-12T09:12:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=e35b6804db1169fd09d630537f172eb16ee636a7'/>
<id>e35b6804db1169fd09d630537f172eb16ee636a7</id>
<content type='text'>
eliminating redefinition warning
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
eliminating redefinition warning
</pre>
</div>
</content>
</entry>
<entry>
<title>client/windows: use SPICE_PROTOCOL_DIR in project include dirs</title>
<updated>2011-07-21T12:09:25+00:00</updated>
<author>
<name>Arnon Gilboa</name>
<email>agilboa@redhat.com</email>
</author>
<published>2011-02-13T10:23:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=4bdacb2c14fbd0daa559d0ebdc766fcb121302f9'/>
<id>4bdacb2c14fbd0daa559d0ebdc766fcb121302f9</id>
<content type='text'>
instead of ..\..\..\spice-protocol. Relative path to another git tree is a bit
ugly, since it requires spice-protocol to be in a specific location.

SPICE_PROTOCOL_DIR should also be used in windows qxl and vdagent instead of
SPICE_COMMON_DIR, which is an old and confusing name, due to the common
directory in spice git repo.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instead of ..\..\..\spice-protocol. Relative path to another git tree is a bit
ugly, since it requires spice-protocol to be in a specific location.

SPICE_PROTOCOL_DIR should also be used in windows qxl and vdagent instead of
SPICE_COMMON_DIR, which is an old and confusing name, due to the common
directory in spice git repo.
</pre>
</div>
</content>
</entry>
<entry>
<title>client: fix for redundant shift+f11 RHBZ #674532</title>
<updated>2011-06-14T07:08:32+00:00</updated>
<author>
<name>Yonit Halperin</name>
<email>yhalperi@redhat.com</email>
</author>
<published>2011-05-26T14:20:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=4f0e0ac7122e5eecdb4094dd71db8f621e657d08'/>
<id>4f0e0ac7122e5eecdb4094dd71db8f621e657d08</id>
<content type='text'>
After shift+F11, both in Windows 7 and xp clients, WM_KEYUP events were missing for
SHIFT and F11. For F11 it was less important since unpress_all was preformed for all keys.
However, we perform sync for all the keyboard modifiers and the GetKeyboardState returns "down" for shift.
In windows7 client, we sometimes received afterwards a F11 KEYDOWN event repetition, and this caused SHIFT+F11 to be called again.
Not performing hiding of the windows while changing client resolutions, solved the problem of missing events, and I don't see any difference
in how spice looks while toggling to full screen.
Using GetAsyncKeyState, returns "UP" for shift in windows 7, and helps avoid performing shift+f11 again, if there is an F11 repetition
before we receive the KEYUP event for shift.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After shift+F11, both in Windows 7 and xp clients, WM_KEYUP events were missing for
SHIFT and F11. For F11 it was less important since unpress_all was preformed for all keys.
However, we perform sync for all the keyboard modifiers and the GetKeyboardState returns "down" for shift.
In windows7 client, we sometimes received afterwards a F11 KEYDOWN event repetition, and this caused SHIFT+F11 to be called again.
Not performing hiding of the windows while changing client resolutions, solved the problem of missing events, and I don't see any difference
in how spice looks while toggling to full screen.
Using GetAsyncKeyState, returns "UP" for shift in windows 7, and helps avoid performing shift+f11 again, if there is an F11 repetition
before we receive the KEYUP event for shift.
</pre>
</div>
</content>
</entry>
<entry>
<title>client/windows: init PACKAGE_VERSION</title>
<updated>2011-05-24T09:29:13+00:00</updated>
<author>
<name>Arnon Gilboa</name>
<email>agilboa@redhat.com</email>
</author>
<published>2011-05-24T09:29:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=31358b640be13c3b0955fc9acc1ad9526cc280ec'/>
<id>31358b640be13c3b0955fc9acc1ad9526cc280ec</id>
<content type='text'>
in windows, we set PACKAGE_VERSION to the binary version
since we don't have config.h as generated by linux configure
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in windows, we set PACKAGE_VERSION to the binary version
since we don't have config.h as generated by linux configure
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop static_title.bmp from windows/Makefile.am</title>
<updated>2011-02-11T14:37:54+00:00</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2011-02-11T14:35:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=f173a38de794a21f322aa3f324673e33cda74563'/>
<id>f173a38de794a21f322aa3f324673e33cda74563</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
