<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/lib, branch 3.5.99.8</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.8</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.8'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2017-05-04T21:50:17+00:00</updated>
<entry>
<title>remove _X_DEPRECATED for XKeycodeToKeysym</title>
<updated>2017-05-04T21:50:17+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-05-04T21:35:30+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=c59710e8eb2d641b0f14d99a4ed14399a0cc7ac5'/>
<id>urn:sha1:c59710e8eb2d641b0f14d99a4ed14399a0cc7ac5</id>
<content type='text'>
We need that function for performance reasons. By removing
_X_DEPRECATED we get rid of compiler warnings.
</content>
</entry>
<entry>
<title>_XDefaultError: set XlibDisplayIOError flag before calling exit</title>
<updated>2017-03-26T14:54:20+00:00</updated>
<author>
<name>Arthur Huillet</name>
<email>ahuillet@nvidia.com</email>
</author>
<published>2017-02-01T14:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=00405b278471b4b5aa65003eb7ae97ac17d56445'/>
<id>urn:sha1:00405b278471b4b5aa65003eb7ae97ac17d56445</id>
<content type='text'>
_XReply isn't reentrant, and it can lead to deadlocks when the default error
handler is called: _XDefaultError calls exit(1). It is called indirectly by
_XReply when a X protocol error comes in that isn't filtered/handled by an
extension or the application. This means that if the application (or one of its
loaded shared libraries such as the NVIDIA OpenGL driver) has registered any
_fini destructor, _fini will get called while still on the call stack of
_XReply. If the destructor interacts with the X server and calls _XReply, it
will hit a deadlock, looping on the following in _XReply:

    ConditionWait(dpy, dpy-&gt;xcb-&gt;reply_notify);

It is legal for an application to make Xlib calls during _fini, and that is
useful for an OpenGL driver to avoid resource leaks on the X server side, for
example in the dlopen/dlclose case. However, the driver can not readily tell
whether its _fini is being called because Xlib called exit, or for another
reason (dlclose), so it is hard to cleanly work around this issue in the driver.

This change makes it so _XReply effectively becomes a no-op when called after
_XDefaultError was called, as though an XIOError had happened. The dpy
connection isn't broken at that point, but any call to _XReply is going to hang.
This is a bit of a kludge, because the more correct solution would be to make
_XReply reentrant, maybe by broadcasting the reply_notify condition before
calling the default error handler. However, such a change would carry a grater
risk of introducing regressions in Xlib.

This change will drop some valid requests on the floor, but this should not
matter, as it will only do so in the case where the application is dying: X will
clean up after it once exit() is done running. There is the case of
XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing
to clean up resources in _fini would currently be hitting a deadlock, which is
hardly a better situation.

Signed-off-by: Aaron Plattner &lt;aplattner@nvidia.com&gt;
Reviewed-by: Jamey Sharp &lt;jamey@minilop.net&gt;
</content>
</entry>
<entry>
<title>Fix wrong Xfree in XListFonts failure path</title>
<updated>2017-03-26T14:54:20+00:00</updated>
<author>
<name>Julien Cristau</name>
<email>jcristau@debian.org</email>
</author>
<published>2017-01-07T15:20:31+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=8ad49a03ebebffbdbf21c4ef9775b7e5847496d9'/>
<id>urn:sha1:8ad49a03ebebffbdbf21c4ef9775b7e5847496d9</id>
<content type='text'>
'ch' gets moved inside the allocated buffer as we're looping through
fonts, so keep a reference to the start of the buffer so we can pass
that to Xfree in the failure case.

Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak"

Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Reviewed-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
</entry>
<entry>
<title>libNX_X11: Fully drop loadable i18n module support in libNX_X11.</title>
<updated>2017-03-03T12:45:25+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-04T10:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=09cf1bcc0cc5f8b9d33b25e46320a9725742a38e'/>
<id>urn:sha1:09cf1bcc0cc5f8b9d33b25e46320a9725742a38e</id>
<content type='text'>
 - Support for i18n in libNX_X11 is static only, has ever been.
 - Thus, the files XlcSL.[co], XlcDL.[co], XDefaultIMIF.[co],
   XDefaultOMIF.[co] and lcDynamic.[co] become obsolete.
</content>
</entry>
<entry>
<title>libNX_X11/lcUTF8.c: Drop not-used X11/lcUniConv/ascii.h.</title>
<updated>2017-03-03T12:45:25+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-04T09:55:12+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=ba27cae6369308fd3498c476bbfc3f1c554f8017'/>
<id>urn:sha1:ba27cae6369308fd3498c476bbfc3f1c554f8017</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc/libNX_X11/lcUniConv: Move over the rather-documentary files 8bit_tab_to_h.c and cjk_tab_to_h.c to nx-libs's doc/ folder.</title>
<updated>2017-03-03T12:45:25+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-04T09:52:05+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=949f5e04efd80f2892f960f04a7454bc58f1d212'/>
<id>urn:sha1:949f5e04efd80f2892f960f04a7454bc58f1d212</id>
<content type='text'>
</content>
</entry>
<entry>
<title>drop platform support: unifdef sgi.</title>
<updated>2017-02-08T21:40:47+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-11-15T21:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=2d45d8d805df95f7277d333e026a008dbd07f479'/>
<id>urn:sha1:2d45d8d805df95f7277d333e026a008dbd07f479</id>
<content type='text'>
 Relates to ArcticaProject/nx-libs#275.
</content>
</entry>
<entry>
<title>drop platform support: unifdef QNX.</title>
<updated>2017-02-08T21:40:47+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-11-15T20:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=c6250a86468b1c2c23d41b27c4d6e438518ec917'/>
<id>urn:sha1:c6250a86468b1c2c23d41b27c4d6e438518ec917</id>
<content type='text'>
 Relates to ArcticaProject/nx-libs#275.
</content>
</entry>
<entry>
<title>drop platform support: unifdef __osf__.</title>
<updated>2017-02-08T21:40:47+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-11-15T20:32:46+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a9c30796dce587627524ffa886eeef5e73144c46'/>
<id>urn:sha1:a9c30796dce587627524ffa886eeef5e73144c46</id>
<content type='text'>
 Fixes ArcticaProject/nx-libs#288.
</content>
</entry>
<entry>
<title>drop platform support: unifdef AIXV3, AIXV4 (and AIXrt, AIX386).</title>
<updated>2017-02-08T21:40:46+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-11-15T20:20:22+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=4b178918ba19ebd9daa6f87fa790b6f6767b1f61'/>
<id>urn:sha1:4b178918ba19ebd9daa6f87fa790b6f6767b1f61</id>
<content type='text'>
 Fixes ArcticaProject/nx-libs#274.
</content>
</entry>
</feed>
