<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/dix, 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-08-27T06:12:24+00:00</updated>
<entry>
<title>nxagent: drop nxagentRootTileWindow</title>
<updated>2019-08-27T06:12:24+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-08-15T20:06:14+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=8fcaafab426686f1e67d4535b391534d210f482c'/>
<id>urn:sha1:8fcaafab426686f1e67d4535b391534d210f482c</id>
<content type='text'>
We either use a solid black or a white background and no backround
pixmap. So nxagentRootTileWindow is always empty and we can drop all
stuff around it.

remove nxagentSplashCount, too, since it is no longer checked anywhere.
</content>
</entry>
<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>dix/dispatch: fix a small memory leak</title>
<updated>2019-06-22T09:30:47+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-19T22:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=f55402572cc659888be7ace585bea8c8fcb7db32'/>
<id>urn:sha1:f55402572cc659888be7ace585bea8c8fcb7db32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CloseDevice: call XkbRemoveResourceClient before freeing key class struct</title>
<updated>2019-06-18T22:49:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-17T16:15:05+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=ca741177e8a36f0eb5e84a047681bfd2edd3e3ba'/>
<id>urn:sha1:ca741177e8a36f0eb5e84a047681bfd2edd3e3ba</id>
<content type='text'>
This patch is not necessary at the current code level. But when xkb
code introduced the dev-&gt;key check Xorg upstream missed that. So we
backport it now to skip that trap when updating xkb code.

  Author: Alan Coopersmith &lt;alan.coopersmith@sun.com&gt;
  Date:   Mon Jan 4 18:21:54 2010 -0800

    CloseDevice: call XkbRemoveResourceClient before freeing key class struct

    XkbRemoveResourceClient() returns immediately if dev-&gt;key is NULL.
    CloseDevice calls XkbRemoveResourceClient until it removes all resources.

    If we free dev-&gt;key and NULL it before XkbRemoveResourceClient, then
    infinite loop ensues, and the server appears to hang on exit or crash.

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@sun.com&gt;
    Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
    Reviewed-by: Daniel Stone &lt;daniel@fooishbar.org&gt;
    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Remove the Must_have_memory hack.</title>
<updated>2019-06-12T16:35:01+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-31T22:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a765857aaa450862f6a3dc5de811671fbc82ca61'/>
<id>urn:sha1:a765857aaa450862f6a3dc5de811671fbc82ca61</id>
<content type='text'>
We are not using any alloc function that respects that variable, so
lets drop it. Backport of this commit:

  commit 0ce61e21d6d7dcca0090e319bbcdb678570f2c3f
  Author: Adam Jackson &lt;ajax@redhat.com&gt;
  Date:   Fri Oct 3 16:05:19 2008 -0400

    Remove the Must_have_memory hack.

    Also remove an astonishing amount of misunderstanding of how casts work.
</content>
</entry>
<entry>
<title>NXdispatch.c: use upstream version of ProcSetSelectionOwner</title>
<updated>2019-06-11T10:22:17+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-10T12:25:53+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=848dee5c42bffdf19c4b9f01c38334bf53fefa49'/>
<id>urn:sha1:848dee5c42bffdf19c4b9f01c38334bf53fefa49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix NXevents.c: Reactivate errornously commented function</title>
<updated>2019-06-11T09:32:55+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-22T20:22:36+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=fd84270023d72fbe335d8586d128a113b942137c'/>
<id>urn:sha1:fd84270023d72fbe335d8586d128a113b942137c</id>
<content type='text'>
CheckMotion() had been commented in
add881931f2e702fb1952f4e1baba04b3dc536ee as it looked identical to the
version from dix/events.c except for some commented code. But this
based (probably) on a thinko - code that had been disabled by NX
became active again this way. Fix this by removing the comments and
by adding #ifdef/else to emphasize the difference.
</content>
</entry>
<entry>
<title>dix: remove unused requestLogIndex</title>
<updated>2019-05-29T18:33:42+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-27T18:35:25+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=0eab060d17c1ecbfbda957d747fc21c1bedee416'/>
<id>urn:sha1:0eab060d17c1ecbfbda957d747fc21c1bedee416</id>
<content type='text'>
As done in these commits:

  commit 6583477035234e23ead2fad9db7a07e5862447a4
  Author: Nicolai Hähnle &lt;nhaehnle@gmail.com&gt;
  Date:   Sat May 23 13:35:24 2009 +0200

    Remove reference to non-existing requestLog and requestLogIndex

    These fields were removed in 252ec504817e05b185e4896a2d899e9c00b8aeef.

    Signed-off-by: Nicolai Haehnle &lt;nhaehnle@gmail.com&gt;
    Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

  commit 252ec504817e05b185e4896a2d899e9c00b8aeef
  Author: Adam Jackson &lt;ajax@redhat.com&gt;
  Date:   Mon Mar 30 15:18:30 2009 -0400

    Document which bits of ClientRec are currently unused
</content>
</entry>
<entry>
<title>Fix uninitialized bytes</title>
<updated>2018-12-17T23:17:51+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-12-17T23:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=44c59e12dc3fb509d3d237cbc782cc44dfa30f4e'/>
<id>urn:sha1:44c59e12dc3fb509d3d237cbc782cc44dfa30f4e</id>
<content type='text'>
Fixes this valgrind finding

==16977== Warning: invalid file descriptor -1 in syscall close()
==16977== Conditional jump or move depends on uninitialised value(s)
==16977==    at 0x544B6B: XkbSendNewKeyboardNotify (xkbEvents.c:62)
==16977==    by 0x540481: ProcXkbGetKbdByName (xkb.c:5330)
==16977==    by 0x4341C5: Dispatch (NXdispatch.c:482)
==16977==    by 0x40EB02: main (main.c:353)
==16977==  Uninitialised value was created by a heap allocation
==16977==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16977==    by 0x431BD7: NextAvailableClient (dispatch.c:3719)
==16977==    by 0x47B297: AllocNewConnection (connection.c:821)
==16977==    by 0x47B297: EstablishNewConnections (connection.c:910)
==16977==    by 0x463DFE: ProcessWorkQueue (dixutils.c:541)
==16977==    by 0x47635E: WaitForSomething (WaitFor.c:213)
==16977==    by 0x434089: Dispatch (NXdispatch.c:360)
==16977==    by 0x40EB02: main (main.c:353)
</content>
</entry>
<entry>
<title>Fix some memory leaks.</title>
<updated>2018-07-03T14:40:06+00:00</updated>
<author>
<name>Mario Trangoni</name>
<email>mjtrangoni@gmail.com</email>
</author>
<published>2018-03-25T14:13:10+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=913fcf1a74426725f14380dd5b34286a21c37ab7'/>
<id>urn:sha1:913fcf1a74426725f14380dd5b34286a21c37ab7</id>
<content type='text'>
</content>
</entry>
</feed>
