<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/randr/rrcrtc.c, branch update-workflows</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://openid.arctica-project.org/nx-libs/atom?h=update-workflows</id>
<link rel='self' href='https://openid.arctica-project.org/nx-libs/atom?h=update-workflows'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/'/>
<updated>2023-04-28T12:39:16+00:00</updated>
<entry>
<title>Update Copyright years</title>
<updated>2023-04-28T12:39:16+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2022-04-29T19:12:35+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=390887b7487e5a769b2fe2a038404ed47e5c8e91'/>
<id>urn:sha1:390887b7487e5a769b2fe2a038404ed47e5c8e91</id>
<content type='text'>
Addresses ArcticaProject/nx-libs#985
</content>
</entry>
<entry>
<title>randr: free crtc-&gt;outputs on destroy</title>
<updated>2017-12-07T06:20:55+00:00</updated>
<author>
<name>Giuseppe Bilotta</name>
<email>giuseppe.bilotta@gmail.com</email>
</author>
<published>2017-11-09T09:21:21+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=6f9a6aacd70685ae0c468df2441cf77627c3e5ee'/>
<id>urn:sha1:6f9a6aacd70685ae0c468df2441cf77627c3e5ee</id>
<content type='text'>
Backported from X.org:

   commit fc7fb5bbe1c8f787e53500b9a2ca4af815f310d1
   Author: Giuseppe Bilotta giuseppe.bilotta@gmail.com
   Date: Thu Nov 9 10:21:21 2017 +0100

   randr: free crtc-&gt;outputs on destroy

   Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
   Signed-off-by: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;

Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;

Fixes ArcticaProject/nx-libs#558
</content>
</entry>
<entry>
<title>randr: always realloc crtcs and outputs</title>
<updated>2017-12-07T06:20:55+00:00</updated>
<author>
<name>Giuseppe Bilotta</name>
<email>giuseppe.bilotta@gmail.com</email>
</author>
<published>2017-11-09T09:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=4e059d5798f8c0f686c4ef5cec0f6c98ff6d5646'/>
<id>urn:sha1:4e059d5798f8c0f686c4ef5cec0f6c98ff6d5646</id>
<content type='text'>
Backported from X.org:

   commit 16381d186e7c791031392ed8afcfd33009854e9e
   Author: Giuseppe Bilotta giuseppe.bilotta@gmail.com
   Date: Thu Nov 9 10:21:20 2017 +0100

   randr: always realloc crtcs and outputs

   When the last crtc (resp. output) is destroyed, the rrScrPriv crtcs
   (resp. outputs) fields do not get cleared, which can lead to a situation
   where the private's numCrtcs (resp. numOutputs) field is zero, but the
   associated memory is still allocated. Just checking if numCrtcs (resp.
   numOutputs) is zero is thus not a good criteria to determine whetehr to
   use a realloc or a malloc.

   Since crtcs (resp. outputs) are NULL-initialized anyway, relying on
   numCrtcs (resp. numOutputs) is actually unnecessary, because
   reallocation of a NULL ptr is equivalent to a malloc anyway.

   Therefore, just use realloc() unconditionally, and ensure that the
   fields are properly initialized.

   Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
   Signed-off-by: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;

Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;

Fixes ArcticaProject/nx-libs#558
</content>
</entry>
<entry>
<title>misc nx-X11/programs/Xserver/randr/: switch to using xreallocarray, since it has been ported now.</title>
<updated>2017-03-03T11:20:20+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ïonic@ionic.de</email>
</author>
<published>2016-09-16T23:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=7011de155a1063a77cbab2f4d1ca599e23d7b102'/>
<id>urn:sha1:7011de155a1063a77cbab2f4d1ca599e23d7b102</id>
<content type='text'>
</content>
</entry>
<entry>
<title>misc nx-X11/programs/Xserver/{composite,dix,randr}/: switch to using reallocarray, since it has been ported now.</title>
<updated>2017-03-03T11:20:20+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ïonic@ionic.de</email>
</author>
<published>2016-09-12T02:59:02+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=5413c5ec8b17dcc223b31f9d08fa3f3c3665d83e'/>
<id>urn:sha1:5413c5ec8b17dcc223b31f9d08fa3f3c3665d83e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix "uninitialised byte(s)" complaints from valgrind</title>
<updated>2017-03-02T11:22:40+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-02-25T01:17:18+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=3e315cd17a519dbcafff18d4294a6f7bb8070767'/>
<id>urn:sha1:3e315cd17a519dbcafff18d4294a6f7bb8070767</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Xserver/randr: Regression fix introduced by c2b1f48. Re-introduce RegisterResourceName() calls after each CreateNewResourceType() call.</title>
<updated>2017-02-04T14:30:00+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-04T14:22:20+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=ff6126f44005388bbb2fc2fc2946891162abb3c0'/>
<id>urn:sha1:ff6126f44005388bbb2fc2fc2946891162abb3c0</id>
<content type='text'>
 Fixes ArcticaProject/nx-libs#309.
</content>
</entry>
<entry>
<title>Per-file copyright notices: Update copyright information in file headers that NoMachine placed there own copyright statement in.</title>
<updated>2016-07-05T23:07:24+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-07-05T14:22:51+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=51c3d42f3d15b181d58a0df1e5abac8d298d4484'/>
<id>urn:sha1:51c3d42f3d15b181d58a0df1e5abac8d298d4484</id>
<content type='text'>
</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>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://openid.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>
</feed>
