<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/xfixes, branch 3.5.99.7</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.7</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.7'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2017-04-10T12:56:29+00:00</updated>
<entry>
<title>xserver: remove index from CloseScreen (API/ABI breakage)</title>
<updated>2017-04-10T12:56:29+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2017-03-10T23:53:01+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=93ea74e53e13890ea2f85ea57e9455d0eb2525f4'/>
<id>urn:sha1:93ea74e53e13890ea2f85ea57e9455d0eb2525f4</id>
<content type='text'>
 Extracted from X.org bulk commit:

 commit 1f0e8bd5eb1a5539689cfc4f5a6b86b530907ec5
 Author: Dave Airlie &lt;airlied@redhat.com&gt;
 Date:   Tue Jun 5 13:22:18 2012 +0100

    api: rework the X server driver API to avoid global arrays.

    This is a squash merge containing all the API changes, as
    well as the video ABI bump.

    Its been squashed to make bisection easier.

    Full patch log below:

    [...]

    commit 06729dbbc804a20242e6499f446acb5d94023c3c
    Author: Dave Airlie &lt;airlied@gmail.com&gt;
    Date:   Tue Apr 10 14:04:59 2012 +0100

        xserver: remove index from CloseScreen (API/ABI breakage)

        This drops the index from the CloseScreen callback,
        its always been useless really, since the pScreen contains it.

        Reviewed-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
        Acked-by: Aaron Plattner &lt;aplattner@nvidia.com&gt;
        Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
        Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>xfixes: fix compiler warning</title>
<updated>2017-03-10T18:44:22+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-03-03T23:28:01+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=e021bc231fae81137226a74d16f13b8168fe670d'/>
<id>urn:sha1:e021bc231fae81137226a74d16f13b8168fe670d</id>
<content type='text'>
cursor.c: In function ‘TestForCursorName’:
cursor.c:649:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     return (pCursor-&gt;name == (Atom) closure);
                              ^
cursor.c: In function ‘ProcXFixesChangeCursorByName’:
cursor.c:665:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  ReplaceCursor (pSource, TestForCursorName, (void *) name);
                                             ^

Backport of

   commit 019ad5acd20e34dc2aa3b89cc426138db5164c48
   Author: Eamon Walsh &lt;ewalsh@tycho.nsa.gov&gt;
   Date:   Tue Feb 5 15:44:41 2008 -0500

       XFixes: squash a pointer/integer size mismatch warning.
</content>
</entry>
<entry>
<title>xfixes: fix compiler warnings</title>
<updated>2017-03-10T18:44:22+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-03-03T23:24:12+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=914f78a23e91f9cb545e122c55c2381f47e3740c'/>
<id>urn:sha1:914f78a23e91f9cb545e122c55c2381f47e3740c</id>
<content type='text'>
cursor.c: In function ‘ProcXFixesGetCursorName’:
cursor.c:399:6: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  str = NameForAtom (pCursor-&gt;name);
      ^
cursor.c: In function ‘ProcXFixesGetCursorImageAndName’:
cursor.c:453:10: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
     name = pCursor-&gt;name ? NameForAtom (pCursor-&gt;name) : "";
          ^
</content>
</entry>
<entry>
<title>Naming change: Security*Access -&gt; Dix*Access</title>
<updated>2017-02-20T09:23:59+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-15T08:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=104a3e9e2dbafd31e7b1def3686d052a356fc74a'/>
<id>urn:sha1:104a3e9e2dbafd31e7b1def3686d052a356fc74a</id>
<content type='text'>
 Backported from X.org:

 commit 6c46645cfc1afda8aeabfe0ed4d9342673b702f1
 Author: Eamon Walsh &lt;ewalsh@tycho.nsa.gov&gt;
 Date:   Thu Dec 14 14:45:42 2006 -0500

    Naming change: Security*Access -&gt; Dix*Access

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>xfixes: Remove unused variable.</title>
<updated>2016-10-20T08:16:35+00:00</updated>
<author>
<name>Cyril Brulebois</name>
<email>kibi@debian.org</email>
</author>
<published>2011-05-24T16:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=151e0b16da708f54a03cf50e104f2ac43ec16a5b'/>
<id>urn:sha1:151e0b16da708f54a03cf50e104f2ac43ec16a5b</id>
<content type='text'>
The last use of pScreen in ProcXFixesSetPictureClipRegion was removed in
aa7096ca6f108e399d9916639cf20c57f9776305 so remove it entirely.

Reviewed-by: Jeremy Huddleston &lt;jeremyhu@apple.com&gt;
Signed-off-by: Cyril Brulebois &lt;kibi@debian.org&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</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://cgit.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://cgit.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>File permission fixes: No executable bit on Imakefile files, *.c and *.h files.</title>
<updated>2016-07-05T08:47:55+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-07-05T08:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=ee02822071a75d9a7d52a0fc6485b257a91ec16a'/>
<id>urn:sha1:ee02822071a75d9a7d52a0fc6485b257a91ec16a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Set event sequence number in WriteEventsToClient instead of at callers.</title>
<updated>2016-07-05T06:38:36+00:00</updated>
<author>
<name>Jamey Sharp</name>
<email>jamey@minilop.net</email>
</author>
<published>2016-07-03T20:52:13+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=cb0089bad114e79d5c6e4577da59fa8911d0ee8d'/>
<id>urn:sha1:cb0089bad114e79d5c6e4577da59fa8911d0ee8d</id>
<content type='text'>
 TryClientEvents already did this; this commit just moves the assignment
 one level down so that no event source has to worry about sequence
 numbers.

 ...No event source, that is, except XKB, which inexplicably calls
 WriteToClient directly for several events.

 Signed-off-by: Jamey Sharp &lt;jamey@minilop.net&gt;
 Reviewed-by: Julien Cristau &lt;jcristau@debian.org&gt;
 Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
 Backport to nx-libs: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>Make WriteEventsToClient/WriteToClient no-op on fake or dead clients.</title>
<updated>2016-07-05T06:38:36+00:00</updated>
<author>
<name>Jamey Sharp</name>
<email>jamey@minilop.net</email>
</author>
<published>2016-07-03T20:06:43+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=9ea88717db376b54b2c821ab67e846918acc616a'/>
<id>urn:sha1:9ea88717db376b54b2c821ab67e846918acc616a</id>
<content type='text'>
 This matches the test in TryClientEvents, and is a superset of tests
 done by the callers of these functions. The consequence of forgetting
 these tests is a server crash, so they're always desirable. In my
 opinion, it's better to not require the callers to remember to do these
 checks.

 For callers that don't do very much work before calling WriteToClient or
 WriteEventsToClient, I've removed the redundant checks.

 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=27497
 Signed-off-by: Jamey Sharp &lt;jamey@minilop.net&gt;
 Cc: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
 Reviewed-by: Julien Cristau &lt;jcristau@debian.org&gt;
 Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
 Backport to nx-libs: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
</feed>
