<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11, branch 3.5.99.11</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.11</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.11'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2017-12-15T10:20:53+00:00</updated>
<entry>
<title>release 3.5.99.11</title>
<updated>2017-12-15T10:20:53+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-12-15T10:20:52+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=b213c8eba636a739c91e93023cd6bae744647f86'/>
<id>urn:sha1:b213c8eba636a739c91e93023cd6bae744647f86</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Xserver/hw/nxagent/Clipboard.c: Fix free calls (free back to XFree).</title>
<updated>2017-12-15T09:37:03+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-12-14T10:27:35+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=5597f2ea509d14fd5589399011c1b8b728901a83'/>
<id>urn:sha1:5597f2ea509d14fd5589399011c1b8b728901a83</id>
<content type='text'>
 They have been flawed ever since nxagent came up, as they were Xfree
 (non-capital f) always, but should have been XFree (capital F, defined
 in Xlibint.h and part of libNX_X11).
 .
 Probably this all should be free() all over the code (bearing in mind,
 that XFree() returns int, not void. But still...

 Fixes ArcticaProject/nx-libs#553.
</content>
</entry>
<entry>
<title>Xserver/hw/nxagent/compext: Xfree -&gt; free and Xmalloc -&gt; malloc.</title>
<updated>2017-12-15T09:37:02+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-12-14T10:15:09+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=d4465b719344c4b241c55779de4d49ed248b243a'/>
<id>urn:sha1:d4465b719344c4b241c55779de4d49ed248b243a</id>
<content type='text'>
</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://cgit.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>lib/X11/Xrm.c: Compiler warning fix: logical-not-parentheses</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-03-17T14:06:15+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=ac6a216c584532e9fa3c4ef90c0e2eb03528ad55'/>
<id>urn:sha1:ac6a216c584532e9fa3c4ef90c0e2eb03528ad55</id>
<content type='text'>
 Xrm.c: In function 'PutEntry':
 Xrm.c:900:15: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
     !quarks[2] != table-&gt;leaf)
               ^~
</content>
</entry>
<entry>
<title>glx: warning fixes</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-02-17T13:35:48+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a6ffabda67a703f6ba7091db9ad8eed623bc4347'/>
<id>urn:sha1:a6ffabda67a703f6ba7091db9ad8eed623bc4347</id>
<content type='text'>
 commit 63ccaec2c39f4b5742383472c951ee2cd35c9e14
 Author: Adam Jackson &lt;ajax@redhat.com&gt;
 Date:   Tue Oct 19 11:59:23 2010 -0400

    render2.c: In function ‘__glXDisp_Map2d’:
    render2.c:127: warning: ‘u1’ may be used uninitialized in this function
    render2.c: In function ‘__glXDisp_Map1d’:
    render2.c:90: warning: ‘u1’ may be used uninitialized in this function

    Remove unnecessary test, and change memcpy to memmove as all users were
    doing overlapping copies.

    Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Reviewed-by: Daniel Stone &lt;daniel@fooishbar.org&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>Xserver/GL/glx/glxfb.c: Fix compiler warning: pointer-sign.</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-02-17T13:30:13+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=16fbdb2a8d4f8d6c2f3c45829e181109b5991a34'/>
<id>urn:sha1:16fbdb2a8d4f8d6c2f3c45829e181109b5991a34</id>
<content type='text'>
 glxfb.c: In function '__glXFBMemSwapBuffers':
 glxfb.c:117:5: warning: pointer targets in passing argument 10 of 'pGC-&gt;ops-&gt;PutImage' differ in signedness [-Wpointer-sign]
      buf);
      ^~~
 glxfb.c:117:5: note: expected 'char *' but argument is of type 'GLubyte * {aka unsigned char *}'
</content>
</entry>
<entry>
<title>hw/nxagent/Events.c: Fix compiler warnings (with NX_DEBUG_INPUT): format.</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-02-17T12:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a2741452473a3dbf2ec24bc944e9b5183b2486f7'/>
<id>urn:sha1:a2741452473a3dbf2ec24bc944e9b5183b2486f7</id>
<content type='text'>
 Events.c: In function 'nxagentDumpInputDevicesState':
 Events.c:4662:58: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'DeviceIntPtr {aka struct _DeviceIntRec *}' [-Wformat=]
    fprintf(stderr, "\nKeyboard device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                                                           ^
 Events.c:4662:82: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'CARD32 {aka unsigned int}' [-Wformat=]
    fprintf(stderr, "\nKeyboard device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                                                                                  ^
 Events.c:4662:19: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'GrabPtr {aka struct _GrabRec *}' [-Wformat=]
    fprintf(stderr, "\nKeyboard device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                    ^
 Events.c:4675:66: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'WindowPtr {aka struct _Window *}' [-Wformat=]
      fprintf(stderr, "\nKeyboard grab state: \n\twindow pointer [%p]"
                                                                   ^
 Events.c:4689:59: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'DeviceIntPtr {aka struct _DeviceIntRec *}' [-Wformat=]
        fprintf(stderr, "\nPassive grab state: \n\tdevice [%p]\n\towner events flag [%s]"
                                                            ^
 Events.c:4689:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'Mask {aka unsigned int}' [-Wformat=]
        fprintf(stderr, "\nPassive grab state: \n\tdevice [%p]\n\towner events flag [%s]"
                        ^
 Events.c:4722:57: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'DeviceIntPtr {aka struct _DeviceIntRec *}' [-Wformat=]
    fprintf(stderr, "\nPointer device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                                                          ^
 Events.c:4722:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'CARD32 {aka unsigned int}' [-Wformat=]
    fprintf(stderr, "\nPointer device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                                                                                  ^
 Events.c:4722:19: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'GrabPtr {aka struct _GrabRec *}' [-Wformat=]
    fprintf(stderr, "\nPointer device state: \n\tdevice [%p]\n\tlast grab time [%lu]"
                    ^
 Events.c:4735:65: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'WindowPtr {aka struct _Window *}' [-Wformat=]
      fprintf(stderr, "\nPointer grab state: \n\twindow pointer [%p]"
                                                                  ^
 Events.c:4750:61: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'DeviceIntPtr {aka struct _DeviceIntRec *}' [-Wformat=]
          fprintf(stderr, "\nPassive grab state: \n\tdevice [%p]\n\towner events flag [%s]"
                                                              ^
 Events.c:4750:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'Mask {aka unsigned int}' [-Wformat=]
          fprintf(stderr, "\nPassive grab state: \n\tdevice [%p]\n\towner events flag [%s]"
                          ^
</content>
</entry>
<entry>
<title>hw/nxagent/NXxvdisp.c: Fix compiler warnings: misleading-indentation</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-02-17T11:28:05+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=7aed70f14ad8289e199bb31e7d8b60178ea57bb6'/>
<id>urn:sha1:7aed70f14ad8289e199bb31e7d8b60178ea57bb6</id>
<content type='text'>
 NXxvdisp.c: In function 'ProcXvDispatch':
 NXxvdisp.c:96:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
          else
          ^~~~
 NXxvdisp.c:99:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
              break;
              ^~~~~
 NXxvdisp.c:104:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
          else
          ^~~~
 NXxvdisp.c:107:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
           break;
           ^~~~~
 NXxvdisp.c:118:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else
   ^~~~
 NXxvdisp.c:121:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
              break;
              ^~~~~
 NXxvdisp.c:126:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else
   ^~~~
 NXxvdisp.c:129:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
              break;
              ^~~~~
 NXxvdisp.c:137:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else
   ^~~~
 NXxvdisp.c:140:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
              break;
              ^~~~~
 NXxvdisp.c:146:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else
   ^~~~
 NXxvdisp.c:149:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
       break;
       ^~~~~
</content>
</entry>
<entry>
<title>hw/nxagent/NXdispatch.c: Fix compiler warning: misleading-indentation</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-02-17T10:25:03+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=72152baff83c45ae481467481e1678faf8ec4789'/>
<id>urn:sha1:72152baff83c45ae481467481e1678faf8ec4789</id>
<content type='text'>
 NXdispatch.c: In function 'Dispatch':
 NXdispatch.c:309:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (!(dispatchException &amp; DE_TERMINATE))
     ^~
 NXdispatch.c:312:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
       while (!dispatchException)
       ^~~~~
</content>
</entry>
</feed>
