<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs, branch 3.5.99.23</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.23</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.23'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2020-01-30T10:50:01+00:00</updated>
<entry>
<title>release 3.5.99.23</title>
<updated>2020-01-30T10:50:01+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2020-01-30T10:49:59+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=82fc54e577c56ee3952f14c4a5c9f50c16645591'/>
<id>urn:sha1:82fc54e577c56ee3952f14c4a5c9f50c16645591</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nxagent: rename variables that shadow globals</title>
<updated>2020-01-25T20:54:33+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-25T20:23:55+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=4821edfe0ecc2296745c4c5fcaa4c08245673c6e'/>
<id>urn:sha1:4821edfe0ecc2296745c4c5fcaa4c08245673c6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Events.c: fix capslock weirdness (re-add lost code)</title>
<updated>2020-01-25T20:20:28+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-25T14:50:04+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=2adab29728f9598c3e1bbd89d7e1f11eeab1bcf6'/>
<id>urn:sha1:2adab29728f9598c3e1bbd89d7e1f11eeab1bcf6</id>
<content type='text'>
This was removed by mistake in 39866f5c133230e5731156c2356c8571c971534c.

Fixes ArcticaProject/nx-libs#904
</content>
</entry>
<entry>
<title>compext/Clean.c: fix shadow warnings / scope</title>
<updated>2020-01-09T23:25:46+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-09T22:44:33+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=870746222abbecd16f113b93a4420846b2d5d510'/>
<id>urn:sha1:870746222abbecd16f113b93a4420846b2d5d510</id>
<content type='text'>
Clean.c: In function ‘CleanZImage’:
Clean.c:141:23: warning: declaration of ‘j’ shadows a previous local [-Wshadow=local]
       register int i, j;
                       ^
Clean.c:88:16: note: shadowed declaration is here
   unsigned int j;
                ^
Clean.c: In function ‘CopyAndCleanImage’:
Clean.c:239:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local]
         register int i;
                      ^
Clean.c:192:16: note: shadowed declaration is here
   register int i;
                ^
Clean.c:324:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local]
         int i;
             ^
Clean.c:192:16: note: shadowed declaration is here
   register int i;
                ^
</content>
</entry>
<entry>
<title>os: Fix -Wshadow errors</title>
<updated>2020-01-09T23:25:46+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-09T22:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a94e8258f72ab5db4b9a1de7e10140b8d622667b'/>
<id>urn:sha1:a94e8258f72ab5db4b9a1de7e10140b8d622667b</id>
<content type='text'>
  commit 08d0481e299c28b64a0db9bb0782ba2b551028fd
  Author: Keith Packard &lt;keithp@keithp.com&gt;
  Date:   Sun Dec 15 01:12:22 2013 -0800

    os: Fix -Wshadow errors

    Rename variables to avoid shadowing globals

    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
    Reviewed-by: Eric Anholt &lt;eric@anholt.net&gt;
</content>
</entry>
<entry>
<title>mi: fix shadow warnings</title>
<updated>2020-01-09T23:25:46+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-09T22:06:08+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=4b8194e1eafb9fd788b814921f9e2518a2079344'/>
<id>urn:sha1:4b8194e1eafb9fd788b814921f9e2518a2079344</id>
<content type='text'>
Based on the following commit. But for mispans.c I think the first
contained fix is wrong (nested loop with variable i) so I took another
approach.

  commit f02e27e4fcc34413b2051e5a01edc92172fa8612
  Author: Yaakov Selkowitz &lt;yselkowitz@users.sourceforge.net&gt;
  Date:   Tue Oct 16 02:16:17 2012 -0500

    mi: fix shadow warnings

    mibitblt.c: In function 'miGetImage':
    mibitblt.c:617:20: warning: declaration of 'pt' shadows a previous local
    mibitblt.c:609:17: warning: shadowed declaration is here
    mispans.c: In function 'miFillUniqueSpanGroup':
    mispans.c:456:33: warning: declaration of 'i' shadows a previous local
    mispans.c:382:9: warning: shadowed declaration is here
    mispans.c:488:17: warning: declaration of 'i' shadows a previous local
    mispans.c:382:9: warning: shadowed declaration is here

    Signed-off-by: Yaakov Selkowitz &lt;yselkowitz@users.sourceforge.net&gt;
    Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

Fixes these warnings:

mi/mispans.c: fix shadowed vars

mispans.c: In function ‘miFillUniqueSpanGroup’:
mispans.c:465:12: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local]
        int i;
            ^
mispans.c:387:21: note: shadowed declaration is here
     register int    i;
                     ^
mispans.c:497:10: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local]
      int i;
          ^
mispans.c:387:21: note: shadowed declaration is here
     register int    i;
                     ^

mibitblt.c: In function ‘miGetImage’:
mibitblt.c:669:13: warning: declaration of ‘pt’ shadows a previous local [-Wshadow=compatible-local]
      xPoint pt;
             ^~
mibitblt.c:659:18: note: shadowed declaration is here
     DDXPointRec  pt = {0, 0};
                  ^~
</content>
</entry>
<entry>
<title>_XkbFilterDeviceBtn: move variable declarations to match usage scope</title>
<updated>2020-01-09T23:25:46+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-09T21:50:13+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=1a1ace774f49bccbb4760b4a0c58e56bf46548db'/>
<id>urn:sha1:1a1ace774f49bccbb4760b4a0c58e56bf46548db</id>
<content type='text'>
Fix this warning:

xkbActions.c: In function ‘_XkbFilterDeviceBtn’:
xkbActions.c:1084:6: warning: declaration of ‘button’ shadows a previous local [-Wshadow=compatible-local]
  int button;
      ^~~~~~
xkbActions.c:1044:6: note: shadowed declaration is here
 int  button;
      ^~~~~~

Backport of this xorg-xserver upstream commit:

  commit 41dd7cf673e47ab74c5065b8dbf268b2e5facb64
  Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
  Date:   Mon Dec 12 16:49:34 2011 -0800

    _XkbFilterDeviceBtn: move variable declarations to match usage scope

    The main body of this function is an if { } else if { } pair of blocks.
    Previously there was int button at the top level scope which is used
    only in the first block, and a redeclaration of int button inside the
    second block.   Since there's no overlap in the code paths for the
    two uses of button, move the one from the outer block into the first
    block to help the programmer more quickly determine they are unrelated
    usages, and to silence the gcc warning of:

    xkbActions.c: In function '_XkbFilterDeviceBtn':
    xkbActions.c:999:6: warning: declaration of 'button' shadows a previous local
    xkbActions.c:955:6: warning: shadowed declaration is here

    For consistency, move DeviceIntPtr dev declarations as well that are
    used in the same way.

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Jamey Sharp &lt;jamey@minilop.net&gt;
    Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
</entry>
<entry>
<title>XkbFindSrvLedInfo: remove extraneous name-clashing sli variable</title>
<updated>2020-01-09T23:25:46+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-09T21:44:55+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=914f88a8ab7bbbef3f0cb0674dfa5bd1fbddf050'/>
<id>urn:sha1:914f88a8ab7bbbef3f0cb0674dfa5bd1fbddf050</id>
<content type='text'>
Fix shadow warning:

xkbLEDs.c: In function ‘XkbFindSrvLedInfo’:
xkbLEDs.c:633:19: warning: declaration of ‘sli’ shadows a previous local [-Wshadow=compatible-local]
  XkbSrvLedInfoPtr sli;
                   ^~~
xkbLEDs.c:629:18: note: shadowed declaration is here
 XkbSrvLedInfoPtr sli;
                  ^~~

Backport of this xorg-xserver commit:

  commit d8eb9b5faa2d2c9350bdaffef8749a9cac3c87b8
  Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
  Date:   Mon Dec 12 16:49:34 2011 -0800

    XkbFindSrvLedInfo: remove extraneous name-clashing sli variable

    Variable is already defined outside the outer if statement, and
    there's no need to redefine inside the if statement.

    No point in setting sli before if (dev-&gt;kbdfeed-&gt;xkb_sli==NULL)
    check - if check is true, we immediately set it, if check is false,
    we immediately return without further reference or use of it.

    The one thing we do with it inside the inner if statement is store
    an allocation in it for a brief moment before writing to the final
    destination, which is immediately returned to the caller.

    In short, there's no benefit to the variable at all in this block,
    it just gives the optimizer more code to figure out how to omit.

    Fixes gcc warning:
    xkbLEDs.c: In function 'XkbFindSrvLedInfo':
    xkbLEDs.c:683:19: warning: declaration of 'sli' shadows a previous local
    xkbLEDs.c:679:18: warning: shadowed declaration is here

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Jamey Sharp &lt;jamey@minilop.net&gt;
    Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
</entry>
<entry>
<title>xkb: fix shadow warnings</title>
<updated>2020-01-09T23:25:46+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-09T21:41:53+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=ae180b6b52640512fcf0bf6b05bba3449b409640'/>
<id>urn:sha1:ae180b6b52640512fcf0bf6b05bba3449b409640</id>
<content type='text'>
xkb.c: In function ‘ProcXkbSetCompatMap’:
xkb.c:2601:20: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local]
  register unsigned i,bit;
                    ^
xkb.c:2529:23: note: shadowed declaration is here
     register unsigned i,bit;
                       ^
xkb.c:2601:22: warning: declaration of ‘bit’ shadows a previous local [-Wshadow=compatible-local]
  register unsigned i,bit;
                      ^~~
xkb.c:2529:25: note: shadowed declaration is here
     register unsigned i,bit;
                         ^~~

Backport of this xorg upstream commit:

  commit 344eea237fc07dedfd733d14f95ed0ad26bb5f81
  Author: Yaakov Selkowitz &lt;yselkowitz@users.sourceforge.net&gt;
  Date:   Tue Oct 16 02:04:34 2012 -0500

    xkb: fix shadow warnings

    Signed-off-by: Yaakov Selkowitz &lt;yselkowitz@users.sourceforge.net&gt;
    Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
</entry>
<entry>
<title>CheckForEmptyMask does not need to declare int n twice</title>
<updated>2020-01-09T23:25:46+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-09T21:35:01+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=3c3e11cb02886d05694b72c29c3deca0e3170c71'/>
<id>urn:sha1:3c3e11cb02886d05694b72c29c3deca0e3170c71</id>
<content type='text'>
  commit 424dbde891486ad6a6c00c61a334031ff18f5556
  Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
  Date:   Fri Dec 9 10:08:55 2011 -0800

    CheckForEmptyMask does not need to declare int n twice

    Just use the existing n variable again in the ARGB_CURSOR loop
    instead of creating another one.

    Fixes gcc -Wshadow warning:
    cursor.c: In function 'CheckForEmptyMask':
    cursor.c:155:6: warning: declaration of 'n' shadows a previous local
    cursor.c:146:9: warning: shadowed declaration is here

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Jamey Sharp &lt;jamey@minilop.net&gt;
    Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</content>
</entry>
</feed>
