<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/include/misc.h, branch 3713346f</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://openid.arctica-project.org/nx-libs/atom?h=3713346f</id>
<link rel='self' href='https://openid.arctica-project.org/nx-libs/atom?h=3713346f'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/'/>
<updated>2016-05-02T12:53:06+00:00</updated>
<entry>
<title>Change region implementation from macros to inline functions.</title>
<updated>2016-05-02T12:53:06+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-03-18T04:11:40+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=4a8d6eca395e1ec0490e20e7971177f688da18ec'/>
<id>urn:sha1:4a8d6eca395e1ec0490e20e7971177f688da18ec</id>
<content type='text'>
This makes all of the previous macros into inline functions and also
turns all of the direct calls to pixman region code into inline
functions as well.

v1: Keith Packard &lt;keithp@keithp.com&gt;
v2: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>pointer typedef in Xdefs.h: also catch Xdefs.h include in include/misc.h, make undoing the FIXME more obvious.</title>
<updated>2015-12-28T21:32:52+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2015-12-28T21:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=b7f155654ae2c5b8e91f06f3a8542ef588efefd2'/>
<id>urn:sha1:b7f155654ae2c5b8e91f06f3a8542ef588efefd2</id>
<content type='text'>
</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>Replace 'pointer' type with 'void *'</title>
<updated>2015-12-28T11:54:40+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-06-22T07:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=68dd0b52e13c844d662192654fb10cb993257a59'/>
<id>urn:sha1:68dd0b52e13c844d662192654fb10cb993257a59</id>
<content type='text'>
 This lets us stop using the 'pointer' typedef in Xdefs.h as 'pointer'
 is used throughout the X server for other things, and having duplicate
 names generates compiler warnings.

 Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
 Reviewed-by: Eric Anholt &lt;eric@anholt.net&gt;
 Rebased against NX: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>include: introduce byte counting functions.</title>
<updated>2015-02-18T02:23:43+00:00</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2009-06-29T03:09:57+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=3937db18a203f9936387286b95328f27013a5ffe'/>
<id>urn:sha1:3937db18a203f9936387286b95328f27013a5ffe</id>
<content type='text'>
This patch adds the following three functions:
 bits_to_bytes(bits) - the number of bytes needed to hold 'bits'
 bytes_to_int32(bytes) - the number of 4-byte units to hold 'bytes'
 pad_to_int32(bytes) - the closest multiple of 4 equal to or larger than
                        'bytes'.

All three operations are common in protocol processing and currently the
server has ((foo + 7)/8 + 3)/4 operations all over the place. A common set
of functions reduce the error rate of these (albeit simple) calculations and
improve readability of the code.

The functions do not check for overflow.

v2: backport to nx-libs 3.6.x as a prereq for
the CVE-2015-0255 fix (Mike DePaulo)

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
</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>
