<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/GL/glx/glxcmds.c, branch 3.6.x</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://openid.arctica-project.org/nx-libs/atom?h=3.6.x</id>
<link rel='self' href='https://openid.arctica-project.org/nx-libs/atom?h=3.6.x'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/'/>
<updated>2019-02-28T22:11:23+00:00</updated>
<entry>
<title>Use calloc to zero fill buffers being allocated for replies &amp; events</title>
<updated>2019-02-28T22:11:23+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-02-28T22:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=c81a45785970aa198736d8dc578beb2d7bbd1b2f'/>
<id>urn:sha1:c81a45785970aa198736d8dc578beb2d7bbd1b2f</id>
<content type='text'>
  commit cdf5bcd420e5bcf4a4a24a275d3133a4e16ce41e
  Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
  Date:   Mon Jul 9 19:12:42 2012 -0700

    Use calloc to zero fill buffers being allocated for replies &amp; events

    Ensures padding bytes are zero-filled

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
    Tested-by: Daniel Stone &lt;daniel@fooishbar.org&gt;

Attributes ArcticaProject/nx-libs#382
</content>
</entry>
<entry>
<title>reduce usage of uninitialised bytes</title>
<updated>2017-12-27T23:17:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-12-10T22:57:35+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=6acbfab33133a92dbd7f128284d26f94bfeb1af2'/>
<id>urn:sha1:6acbfab33133a92dbd7f128284d26f94bfeb1af2</id>
<content type='text'>
as reported by valgrind
</content>
</entry>
<entry>
<title>Xserver/GL/glx/glxcmds.c: Cast small-int values through intptr_t when passed as pointers</title>
<updated>2017-12-14T09:40:32+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-12-14T07:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=8bb1579f40bb74b9dad302e79c124541694b3265'/>
<id>urn:sha1:8bb1579f40bb74b9dad302e79c124541694b3265</id>
<content type='text'>
 Picked from this X.org commit:

 commit b0dd6be2c8703f7062d45ac9fd646550c7d54e3b
 Author: Jamey Sharp &lt;jamey@minilop.net&gt;
 Date:   Thu Oct 8 13:38:44 2009 +1100

    Cast small-int values through intptr_t when passed as pointers

    On 64-bit systems, int and pointers don't have the same size, so GCC gives
    warnings about casts between int and pointer types. However, in the cases
    covered by this patch, it's always a value that fits in int being stored
    temporarily as a pointer and then converted back later, which is safe.
    Casting through the pointer-sized integer type intptr_t convinces the
    compiler that this is OK.

    Signed-off-by: Jamey Sharp &lt;jamey@minilop.net&gt;
    Signed-off-by: Daniel Stone &lt;daniel@fooishbar.org&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
 (Only appropriate location for backporting: Xserver/GL/glx/glxcmds.c).
</content>
</entry>
<entry>
<title>Xserver/GL/glx/glxcmd.c: Fix uninitialized xGLXQueryVersionReply.</title>
<updated>2017-03-03T12:08:23+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-03-03T10:06:58+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=6e770378c3ec579b3e25315f0c951e838956199e'/>
<id>urn:sha1:6e770378c3ec579b3e25315f0c951e838956199e</id>
<content type='text'>
 Fixes ArcticaProject/nx-libs#324.
</content>
</entry>
<entry>
<title>Drop glx_ansic.h wrapper and call malloc, realloc, free and str-funcs directly.</title>
<updated>2016-12-04T20:31:10+00:00</updated>
<author>
<name>Kristian Høgsberg</name>
<email>krh@redhat.com</email>
</author>
<published>2016-10-31T14:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=cee997dacb28aa9378b834b66a33c441145dceb7'/>
<id>urn:sha1:cee997dacb28aa9378b834b66a33c441145dceb7</id>
<content type='text'>
 commit 2d2d38d17cc2558f8a41166a4a1578bc4c663c37
 Author: Kristian Høgsberg &lt;krh@redhat.com&gt;
 Date:   Fri Mar 17 01:47:25 2006 +0000

        Check for glproto when building GLX and make sure we have at least 1.4.6.
        Drop glx_ansic.h wrapper and call xalloc, xrealloc, xfree and str-funcs
            directly.

     We don't check the glproto version as we know what it is (we have our own proto file).

     Furthermore, we skip the switch from --glX&lt;func&gt; -&gt; x&lt;func&gt; and directly switch to
     &lt;func&gt; (e.g. __glXMalloc() -&gt; malloc()).

     Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>Remove libcwrapper usage from xorg server modules. The libcwrapper is not used in nxagent.</title>
<updated>2016-12-04T20:11:41+00:00</updated>
<author>
<name>Eric Anholt</name>
<email>anholt@freebsd.org</email>
</author>
<published>2016-10-29T09:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=508d2deae98846111299a3693033a507010e3c91'/>
<id>urn:sha1:508d2deae98846111299a3693033a507010e3c91</id>
<content type='text'>
 From c3d14036729fd186d4ec7ca1de603e1f2d174e2f Mon Sep 17 00:00:00 2001
 From: Eric Anholt &lt;anholt@freebsd.org&gt;
 Date: Fri, 10 Feb 2006 22:00:30 +0000
 Subject: Remove libcwrapper usage from xorg server modules. The libcwrapper is
   only of (marginal) use in the drivers, and that usage remains.

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;

 Fixes ArcticaProject/nx-libs#246 (together with merge commit
 ecd335fa61551d0b86d3f075469a7743ab899d95).
</content>
</entry>
<entry>
<title>VCS info lines: Remove ancient X.org / XFree86 VCS info line from code files.</title>
<updated>2016-07-05T23:09:15+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-07-05T14:32:57+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=6144b615dd7ae2acd786aaa08f66c9743870b709'/>
<id>urn:sha1:6144b615dd7ae2acd786aaa08f66c9743870b709</id>
<content type='text'>
 This has already been started while replacing copyright info in file
 headers and has now been completed with this commit.
</content>
</entry>
<entry>
<title>remove unreferenced NEED_EVENTS/NEED_REPLIES</title>
<updated>2016-07-05T20:55:07+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2016-07-04T19:11:21+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=fa651994740d4381d8a8ab72e2ac3ef38fba3dde'/>
<id>urn:sha1:fa651994740d4381d8a8ab72e2ac3ef38fba3dde</id>
<content type='text'>
Remove defines of NEED_EVENTS and NEED_REPLIES because they are never
used anywhere.

Basically these three commits, but as they are newer and to not match
the code structure the patches have not been applied but replaced by
sed + manual intervention:

   From cb95642dc8edebb2935dd471f8b339cb98aa8481 Mon Sep 17 00:00:00 2001
   From: Peter Hutterer &lt;peter.hutterer@redhat.com&gt;
   Date: Fri, 28 Nov 2008 22:28:32 +1000
   Subject: Remove #define NEED_EVENTS and NEED_REPLIES

   A grep on xorg/* revealed there's no consumer of this define.

   Quote Alan Coopersmith:
   "The consumer was in past versions of the headers now located
   in proto/x11proto - for instance, in X11R6.0's xc/include/Xproto.h,
   all the event definitions were only available if NEED_EVENTS were
   defined, and all the reply definitions required NEED_REPLIES.

   Looks like Xproto.h dropped them by X11R6.3, which didn't have
   the #ifdef's anymore, so these are truly ancient now."

   Signed-off-by: Peter Hutterer &lt;peter.hutterer@redhat.com&gt;
   Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;

--

   From 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d Mon Sep 17 00:00:00 2001
   From: Fernando Carrijo &lt;fcarrijo@yahoo.com.br&gt;
   Date: Thu, 1 Jul 2010 06:50:47 -0300
   Subject: Purge macros NEED_EVENTS and NEED_REPLIES

   Signed-off-by: Fernando Carrijo &lt;fcarrijo@yahoo.com.br&gt;
   Acked-by: Tiago Vignatti &lt;tiago.vignatti@nokia.com&gt;
   Reviewed-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;

--

   From 57c03e52e6b4e3ed54df5fdd778865467d08e119 Mon Sep 17 00:00:00 2001
   From: Fernando Carrijo &lt;fcarrijo@yahoo.com.br&gt;
   Date: Thu, 1 Jul 2010 06:59:48 -0300
   Subject: Purge macro NEED_EVENTS

   Signed-off-by: Fernando Carrijo &lt;fcarrijo@yahoo.com.br&gt;
   Acked-by: Tiago Vignatti &lt;tiago.vignatti@nokia.com&gt;
   Reviewed-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
</content>
</entry>
<entry>
<title>Remove unneccesary casts from WriteToClient calls</title>
<updated>2016-07-05T11:32:05+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2016-07-03T22:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=f6a1bda2dff0c70aa13f3cb763a9b08c4c037c53'/>
<id>urn:sha1:f6a1bda2dff0c70aa13f3cb763a9b08c4c037c53</id>
<content type='text'>
 Casting return to (void) was used to tell lint that you intended
 to ignore the return value, so it didn't warn you about it.

 Casting the third argument to (char *) was used as the most generic
 pointer type in the days before compilers supported C89 (void *)
 (except for a couple places it's used for byte-sized pointer math).

 Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
 Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
 Tested-by: Daniel Stone &lt;daniel@fooishbar.org&gt;
 Backport to nx-libs: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>nx-X11/programs/Xserver: Drop {X,x}alloc() macros, use malloc() instead.</title>
<updated>2016-07-02T12:05:30+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-06-25T23:51:18+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=2646fc254e75c4a7fc10d03d1139d0bd708ceae9'/>
<id>urn:sha1:2646fc254e75c4a7fc10d03d1139d0bd708ceae9</id>
<content type='text'>
</content>
</entry>
</feed>
