<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/xkb, branch 3.5.99.22</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.22</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.22'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2019-06-22T14:05:48+00:00</updated>
<entry>
<title>rework xkb device private handling</title>
<updated>2019-06-22T14:05:48+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-22T14:03:06+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=3aabc92cf81f20b89dc49e8db3c56ad9fa08481b'/>
<id>urn:sha1:3aabc92cf81f20b89dc49e8db3c56ad9fa08481b</id>
<content type='text'>
We can only free the xkbDevicePrivate because we do not know the
details of any other (possible) extension. So let's limit to that one
private for now and call the new xkbFreePrivates from dix (where such
a function is completely missing).
</content>
</entry>
<entry>
<title>xkb: fix what looks to be a copy-paste error with first vs firstMM</title>
<updated>2019-06-22T09:30:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-21T09:22:28+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=5be6d271ba4f4c48d0441cf0ed3d8909a6ffd774'/>
<id>urn:sha1:5be6d271ba4f4c48d0441cf0ed3d8909a6ffd774</id>
<content type='text'>
  commit 758393951233d1b2520cf4cefd33ec4288a3880a
  Author: Dave Airlie &lt;airlied@redhat.com&gt;
  Date:   Wed Sep 12 11:09:40 2018 +1000

    xkb: fix what looks to be a copy-paste error with first vs firstMM

    Pointed out by coverity.

    Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>xkmread.c: fix compiler warning</title>
<updated>2019-06-22T09:30:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-21T09:13:46+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=31c3d27ea3d2546beb267ed3cc083e040908e246'/>
<id>urn:sha1:31c3d27ea3d2546beb267ed3cc083e040908e246</id>
<content type='text'>
xkmread.c: In function ‘XkmReadFileSectionName’:
xkmread.c:1181:25: warning: ‘tmpTOC.type’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     XkbConfigText(tmpTOC.type,XkbMessage),0);
</content>
</entry>
<entry>
<title>xkb: Silence some compiler warnings</title>
<updated>2019-06-22T09:30:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-21T09:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=813acdd2df24a8e3f44152d90a26f1beef11b38c'/>
<id>urn:sha1:813acdd2df24a8e3f44152d90a26f1beef11b38c</id>
<content type='text'>
  commit 83913de25d35709b3ab7b0ab124b73924145d2dd
  Author: Adam Jackson &lt;ajax@redhat.com&gt;
  Date:   Thu Apr 5 12:59:11 2018 -0400

    xkb: Silence some compiler warnings

    Of the form:

    ../xkb/XKBGAlloc.c: In function ‘SrvXkbAddGeomKeyAlias’:
    ../xkb/XKBGAlloc.c:591:13: warning: ‘strncpy’ specified bound 4 equals destination size [-Wstringop-truncation]
                 strncpy(alias-&gt;real, realStr, XkbKeyNameLength);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    This is intentional; the code that reads from these fields never reads
    more than 4 bytes anyway. Rephrase things in terms of memcpy so that's
    clear. Obviously this is awful but in XKB awful is par.

    Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Acked-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>xkb: Use snprintf to measure string lengths instead of manual strlen math</title>
<updated>2019-06-22T09:30:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-21T08:57:09+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=054e906f6059366150bb7426973542203c8a0e4c'/>
<id>urn:sha1:054e906f6059366150bb7426973542203c8a0e4c</id>
<content type='text'>
  commit a4a2e814d5d0e6152307a301eda1d6fc1c555aaa
  Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
  Date:   Sun Feb 13 21:36:02 2011 -0800

    xkb: Use snprintf to measure string lengths instead of manual strlen math

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
    Reviewed-by: Daniel Stone &lt;daniel@fooishbar.org&gt;
</content>
</entry>
<entry>
<title>xkbEvents.c: Fix "warning: unused variable `s'".</title>
<updated>2019-06-22T09:30:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-21T08:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=2070891cb85c5229dc81661ecf424df57134833a'/>
<id>urn:sha1:2070891cb85c5229dc81661ecf424df57134833a</id>
<content type='text'>
  commit 2391c409a2840d61fed93832650c0d6c82ebebdf
  Author: Eamon Walsh &lt;ewalsh@tycho.nsa.gov&gt;
  Date:   Fri Jun 13 22:48:17 2008 -0400

    Fix "warning: unused variable `s'".
</content>
</entry>
<entry>
<title>XKB: Remove a bunch of mad ifdefs</title>
<updated>2019-06-22T09:30:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-21T08:41:36+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=4962c5a8dee7bc2b903b9aafa27f4d0fd3c1d177'/>
<id>urn:sha1:4962c5a8dee7bc2b903b9aafa27f4d0fd3c1d177</id>
<content type='text'>
  commit 534fc5140b039a8c98ab715d0a6740d513b41209
  Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
  Date:   Sun Feb 3 23:30:22 2008 +1100

    XKB: Remove a bunch of mad ifdefs

    We have SEEK_SET and size_t, seriously.  Also use DebugF instead of
    ifdef DEBUG, and ditch a couple of random bits that were never used.
</content>
</entry>
<entry>
<title>xkb: remove oldState from XkbHandleActions.</title>
<updated>2019-06-22T09:30:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-21T08:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=56dcc8a4b6a9ed3b7f55e0eeaeff9bc14737cdd5'/>
<id>urn:sha1:56dcc8a4b6a9ed3b7f55e0eeaeff9bc14737cdd5</id>
<content type='text'>
Fixes this cppcheck finding:
[nx-X11/programs/Xserver/xkb/xkbActions.c:1306]: (error) Uninitialized variable: oldState

  commit 35a4b8e7f4526a92d44cb16a783f21030cd1f6df
  Author: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
  Date:   Tue May 5 16:51:59 2009 +1000

    xkb: remove oldState from XkbHandleActions.

    I really don't know what the purpose of this variable is or was, aside from
    potentially clobbering up our key state since there's a path where it may be
    used uninitialised.

    Also, this means that xkbi-&gt;prev_state is now accessible from the DIX with
    meaningful data.

    Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
</entry>
<entry>
<title>xkb: initialize tsyms</title>
<updated>2019-06-18T22:39:58+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-13T20:56:45+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=308824ba96b8752835e15dedf2bc0e1cd7c1ddaa'/>
<id>urn:sha1:308824ba96b8752835e15dedf2bc0e1cd7c1ddaa</id>
<content type='text'>
Backport of this commit:

  commit b2167015043a458e9cf93b827b43eb5b7c552ce9
  Author: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;
  Date:   Sat Nov 4 23:06:27 2017 +0100

    xkb: initialize tsyms

    This fixes some “Conditional jump depends on uninitialized value(s)”
    errors spotted by valgrind.

    Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
    Signed-off-by: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;
</content>
</entry>
<entry>
<title>xkbUtils.c: Catch division by zero</title>
<updated>2019-05-17T15:49:26+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-15T17:42:29+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=4df77fe73fe03dc3098190f3702c0d5ab415968a'/>
<id>urn:sha1:4df77fe73fe03dc3098190f3702c0d5ab415968a</id>
<content type='text'>
Fixes ArcticaProject/nx-libs#808
</content>
</entry>
</feed>
