<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/xkb/xkbLEDs.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>2020-01-09T23:25:46+00:00</updated>
<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://openid.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>Lift xkb to XORG-1.3.0.0 state</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-07-07T21:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=3fbef7da756b15640d1bd7828da68b5ddb0ca848'/>
<id>urn:sha1:3fbef7da756b15640d1bd7828da68b5ddb0ca848</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lift xkb to XORG-1.2.0 state</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-06-29T20:34:32+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=9808c66ec37d5d99f58bdb6136ae96381cb9cfc8'/>
<id>urn:sha1:9808c66ec37d5d99f58bdb6136ae96381cb9cfc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removal of dead code in Xserver/xkb. Follow-up commit for 3739a9b.</title>
<updated>2018-07-03T14:29:17+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-16T20:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=e734ca2175ffeafcce0e1435d304880cebe7561c'/>
<id>urn:sha1:e734ca2175ffeafcce0e1435d304880cebe7561c</id>
<content type='text'>
 Spotted in and backported from X.org:

 commit 021fc5cb2cb4a7972b4a6fcb570c1da92787d68d
 Author: Adam Jackson &lt;ajax@benzedrine.nwnk.net&gt;
 Date:   Sun Mar 18 16:31:19 2007 -0400

    Static markup and dead code cull over xkb/.

    The former &lt;X11/extensions/XKBsrv.h&gt; has been pulled into the server now as
    include/xkbsrv.h, and the world updated to look for it in the new place,
    since it made no sense to define server API in an extension header.  Any
    further work along this line will need to do similar things with XKBgeom.h
    and friends.

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>xserver: use own copy of XKBsrv.h header</title>
<updated>2016-10-06T19:16:16+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2016-09-26T18:43:23+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=3739a9b3033ccaf139a296f8647f7c6cddc9db75'/>
<id>urn:sha1:3739a9b3033ccaf139a296f8647f7c6cddc9db75</id>
<content type='text'>
just like upstream does
</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>Clear header file namespace separation (&lt;X11/...&gt; vs. &lt;nx-X11/...&gt;).</title>
<updated>2015-12-28T12:15:24+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2015-07-08T14:16:40+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=433d8186588698ce6a435fbff5e9d40a37b78be9'/>
<id>urn:sha1:433d8186588698ce6a435fbff5e9d40a37b78be9</id>
<content type='text'>
 In the process of building nxagent against more and more system-wide installed
 X.org libraries, we come to the limit of including structs from this (bundled
 nx-X11) and that (system-wide X.Org) library.

 This commit introduces a clear namespace separation of headers provided by
 nx-X11 and headers provided by X.Org. This approach is only temporary as we
 want to drop all nx-X11 bundled libraries from nx-libs.

 However, for a while we need to make this separation clear and also ship
 some reduced fake X.Org headers that avoid pulling in libX* and libNX_X*
 symbols at the same time.

 This patch has been tested on Debian jessie and unstable and requires no
 overall testing on various distros and distro versions, as we finally will
 drop all libNX_X* libraries and build against X.org's client libs.

 For now, this hack eases our development / cleanup process.
</content>
</entry>
<entry>
<title>Imported nx-X11-3.1.0-1.tar.gz</title>
<updated>2011-10-10T15:43:39+00:00</updated>
<author>
<name>Reinhard Tartler</name>
<email>siretart@tauware.de</email>
</author>
<published>2011-10-10T15:43:39+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=f4092abdf94af6a99aff944d6264bc1284e8bdd4'/>
<id>urn:sha1:f4092abdf94af6a99aff944d6264bc1284e8bdd4</id>
<content type='text'>
Summary: Imported nx-X11-3.1.0-1.tar.gz
Keywords:

Imported nx-X11-3.1.0-1.tar.gz
into Git repository
</content>
</entry>
</feed>
