<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/mi, branch 3.5.99.21</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.21</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.21'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2019-06-22T09:30:54+00:00</updated>
<entry>
<title>mi/miexpose.c: add missing free()</title>
<updated>2019-06-22T09:30:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-20T21:14:09+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=c8520ac0aabb475d92ea6b60e3113f2999c04eb8'/>
<id>urn:sha1:c8520ac0aabb475d92ea6b60e3113f2999c04eb8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mi/miinitext.c: fix memleaks: remove (double) glx initialization</title>
<updated>2019-06-18T22:49:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-18T16:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=5cb497146091acf84f389f6b459f5d2f8ea86643'/>
<id>urn:sha1:5cb497146091acf84f389f6b459f5d2f8ea86643</id>
<content type='text'>
Fix these memory leaks:

==30021== 128 bytes in 1 blocks are definitely lost in loss record 230 of 302
==30021==    at 0x483577F: malloc (vg_replace_malloc.c:299)
==30021==    by 0x2EF89C: init_visuals (xf86glx.c:390)
==30021==    by 0x2EF89C: __MESA_initVisuals (xf86glx.c:541)
==30021==    by 0x17C922: GlxInitVisuals (glxext.c:317)
==30021==    by 0x218E73: fbInitVisuals (fbcmap.c:668)
==30021==    by 0x20BEB1: fbFinishScreenInit (fbscreen.c:229)
==30021==    by 0x20C275: fbScreenInit (fbscreen.c:273)
==30021==    by 0x1E0317: nxagentOpenScreen (Screen.c:1357)
==30021==    by 0x16D848: AddScreen (dispatch.c:4171)
==30021==    by 0x1DB7FF: InitOutput (Init.c:396)
==30021==    by 0x14DB12: main (main.c:279)
==30021==
==30021== 3,072 (192 direct, 2,880 indirect) bytes in 1 blocks are definitely lost in loss record 290 of 302
==30021==    at 0x483577F: malloc (vg_replace_malloc.c:299)
==30021==    by 0x2CCCC7: _gl_context_modes_create (glcontextmodes.c:364)
==30021==    by 0x2EF87C: init_visuals (xf86glx.c:381)
==30021==    by 0x2EF87C: __MESA_initVisuals (xf86glx.c:541)
==30021==    by 0x17C922: GlxInitVisuals (glxext.c:317)
==30021==    by 0x218E73: fbInitVisuals (fbcmap.c:668)
==30021==    by 0x20BEB1: fbFinishScreenInit (fbscreen.c:229)
==30021==    by 0x20C275: fbScreenInit (fbscreen.c:273)
==30021==    by 0x1E0317: nxagentOpenScreen (Screen.c:1357)
==30021==    by 0x16D848: AddScreen (dispatch.c:4171)
==30021==    by 0x1DB7FF: InitOutput (Init.c:396)
==30021==    by 0x14DB12: main (main.c:279)

The problem here is that GlxInitVisuals is called twice. First via
fbScreenInit and then again via nxagentInitGlxExtension. We remove the
first one to ensure the code in nxagenOpenScreen works as initially
intended.

There's an xorg upstream patch that does the same
(7d74690536b64f7b8e8036507ab7790807349c50), but it also cleans up
other stuff we do not even have in out source (yet?).
</content>
</entry>
<entry>
<title>miwindow.c: add hint to Red Hat Bugzilla + fix</title>
<updated>2019-06-12T16:45:02+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-01T00:06:30+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=b961e190bc69bc93cb1f3fd6cbff7e9c1247de25'/>
<id>urn:sha1:b961e190bc69bc93cb1f3fd6cbff7e9c1247de25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mi: Hush an almost certainly bogus warning</title>
<updated>2019-06-12T16:45:02+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-03T23:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=28e42b3bd0d7fb5d5674acd256fed5e84903a271'/>
<id>urn:sha1:28e42b3bd0d7fb5d5674acd256fed5e84903a271</id>
<content type='text'>
  commit 57e872301f5e836be2efb8f952f9c9711650b447
  Author: Adam Jackson &lt;ajax@redhat.com&gt;
  Date:   Thu Apr 5 13:07:09 2018 -0400

    mi: Hush an almost certainly bogus warning

    In file included from ../mi/miexpose.c:83:
    ../mi/miexpose.c: In function ‘miHandleExposures’:
    ../include/regionstr.h:174:22: warning: ‘expBox.y2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         (_pReg)-&gt;extents = *(_pBox);
         ~~~~~~~~~~~~~~~~~^~~~~~~~~~
    ../mi/miexpose.c:139:12: note: ‘expBox.y2’ was declared here
         BoxRec expBox;
                ^~~~~~

    etc. It's initialized if (extents), and then only read if (extents),
    but gcc doesn't seem to figure that out. Whatever, bzero it to be
    explicit.

    Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Acked-by: Keith Packard &lt;keithp@keithp.com&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>NXmiexpose.c: drop file altogether</title>
<updated>2019-06-11T10:09:27+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-30T14:04:43+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=073c6c17e768cf61a879cb100f5ad2cb16703518'/>
<id>urn:sha1:073c6c17e768cf61a879cb100f5ad2cb16703518</id>
<content type='text'>
The only left function is identical to the one in mi/miexpose.c.
</content>
</entry>
<entry>
<title>NXmiexpose.c: use upstream version of miPaintWindows()</title>
<updated>2019-06-11T10:09:27+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-04-30T23:22:39+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=9e051eab0fee0915702c6752669542c7cc40de18'/>
<id>urn:sha1:9e051eab0fee0915702c6752669542c7cc40de18</id>
<content type='text'>
miPaintWindow() was identical to the version in miexpose.c except
for some unitialized variable fixes. As these also should be in
upstream code we add them there (Note: Xorg never fixed this but
totally rewrote the miPaintWindow() later on.)

This allows us to totally drop our special version of miPaintWindow().
</content>
</entry>
<entry>
<title>NXmiexpose.c: use upstream miHandleExposures()</title>
<updated>2019-06-11T10:09:27+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-03T23:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=39ff69c72554cc3e50a452f0ca3a707a4d542377'/>
<id>urn:sha1:39ff69c72554cc3e50a452f0ca3a707a4d542377</id>
<content type='text'>
It is (functionally) identical to our code, so why have
duplicate code?
</content>
</entry>
<entry>
<title>Die XTESTEXT1, die!</title>
<updated>2019-05-10T17:02:51+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-11-07T20:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=b32a984f8f34d34fcc4114028712367c47c545d7'/>
<id>urn:sha1:b32a984f8f34d34fcc4114028712367c47c545d7</id>
<content type='text'>
  commit a73e0f8cdfec1c9199ffe696146ba7d677c4c10d
  Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
  Date:   Thu Jun 1 18:47:47 2006 +0000

    Die XTESTEXT1, die!

Citing an email from the xorg-modular mailing list:

On Tuesday 21 February 2006 23:04, Enrico Weigelt wrote:
&gt; Hi folks,
&gt;
&gt; I'm wondering what's the difference between XTEST and XTESTEXT1
&gt; (the second one can be configured w/ my current patch ...)
&gt; Are they both the same ( -&gt; XTest extension ) ?
&gt; Can I put both symbols together ?

They're not the same extension.  XTest is the one you want, if you want
either.  The other hasn't been built by default in ages and I should probably
go ahead and nuke it from the tree.

- ajax
</content>
</entry>
<entry>
<title>misc: fix more regressions and whitespace weirdness introduced in 913fcf1a74426725f14380dd5b34286a21c37ab7.</title>
<updated>2018-07-07T06:05:24+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2018-07-07T06:04:51+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=992673157077080f3d5637c7f666e43639181a91'/>
<id>urn:sha1:992673157077080f3d5637c7f666e43639181a91</id>
<content type='text'>
</content>
</entry>
</feed>
