<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/hw/nxagent/NXdamage.c, branch pr/various9</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://openid.arctica-project.org/nx-libs/atom?h=pr%2Fvarious9</id>
<link rel='self' href='https://openid.arctica-project.org/nx-libs/atom?h=pr%2Fvarious9'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/'/>
<updated>2019-11-01T15:42:55+00:00</updated>
<entry>
<title>Drop NXdamage.c</title>
<updated>2019-11-01T15:42:55+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-10-30T17:34:05+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=2a0994122ff23cdcb852596a457ce3e57e48f9df'/>
<id>urn:sha1:2a0994122ff23cdcb852596a457ce3e57e48f9df</id>
<content type='text'>
With the previous commits this file finally becomes obsolete.
</content>
</entry>
<entry>
<title>damage: Don't rewrite Text ops to GlyphBlt ops</title>
<updated>2019-11-01T15:42:55+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-10-30T17:26:31+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=83d9cd4e96824a7533e19b596efd6f159254557f'/>
<id>urn:sha1:83d9cd4e96824a7533e19b596efd6f159254557f</id>
<content type='text'>
This backport of a 2013 Xorg fix changes miext/damage.c so that the
text functions (damageText, damage{Poly,Image}Text{8,16}) finally are
very similar to the changes that NX introduced in 2007 with
nxagent-3.0.0-28.

Fun fact: the original freedesktop bug mentioned below is from 2005
and the fix came in 2013...

Next commit will be the complete drop of NXdamage.c.

  commit 0f3f8e4295d4c05f33b93e0ffd2f6f8cd5759bf7
  Author: Adam Jackson &lt;ajax@redhat.com&gt;
  Date:   Wed Aug 21 11:13:11 2013 -0400

    damage: Don't rewrite Text ops to GlyphBlt ops

    There's no particularly good reason to, and it breaks Xnest.

    Bugzilla: http://bugs.freedesktop.org/2454
    Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
    Reviewed-by: Eric Anholt &lt;eric@anholt.net&gt;
    Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
</content>
</entry>
<entry>
<title>NXdamage.x fix wrong backport</title>
<updated>2019-11-01T15:42:55+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-10-30T16:50:44+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=ca7c1c86155a26ee7779a78cfc09900942eab4ff'/>
<id>urn:sha1:ca7c1c86155a26ee7779a78cfc09900942eab4ff</id>
<content type='text'>
f0ba303d48439e0ebb572d56db972995388ac865 errornously added the "else"
which had been explicitly removed in NX 3.0.0-28 with this comment:

- Changed damage's GCOps functions drawing text. This was needed be-
  cause the original functions didn't call agent GCOps if the drawable
  was registered for damage events.
</content>
</entry>
<entry>
<title>NXdamage.c: add missing upstream fixes</title>
<updated>2019-05-10T17:02:51+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-01T13:04:26+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=f0ba303d48439e0ebb572d56db972995388ac865'/>
<id>urn:sha1:f0ba303d48439e0ebb572d56db972995388ac865</id>
<content type='text'>
Some of those fixes have been part of xorg's INITIAL damage.c from
2004. They where missing in NX nevertheless. The other fixes come from
this commit:

commit fec868bf0f67a8f62fc69d55e2ff72b6cacea6f8
  Author: Roland Mainz &lt;roland.mainz@nrubsig.org&gt;
  Date:   Tue Nov 23 17:10:55 2004 +0000

    //freedesktop.org/bugzilla/show_bug.cgi?id=1204): Fix X11 test suite
        (caused by DAMAGE layer) failure with Xvfb when rendering text using
        |XDrawText*()| (XDrawText() tests 1, 3, 4, 27, 28,
    29, 30, 34, 37, 39, 41, 43 and XDrawText16() tests 1, 3, 9, 10, 11, 12,
    13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 34,
    37, 39, 41, 43). Patch by Hong Bo Peng &lt;penghb@cn.ibm.com&gt; and Stefan
        Dirsch &lt;sndirsch@suse.de&gt;.
</content>
</entry>
<entry>
<title>replace (DE)ALLOCATE_LOCAL by malloc/free</title>
<updated>2017-03-03T17:58:43+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-03-02T14:38:08+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=09ef99919c010801bd4220d482a867035b6f4f25'/>
<id>urn:sha1:09ef99919c010801bd4220d482a867035b6f4f25</id>
<content type='text'>
This is basically a backport of the following commits + replacing
xalloc/xfree by malloc/free. Fixes ArcticaProject/nx-libs#358.

   commit 2761c103311a1160bc483fd0367d654733df8598
   Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
   Date:   Mon Nov 5 14:03:26 2007 +0000

       OS: Remove usage of alloca

       Replace with heap allocations.

   commit 5e363500c86042c394595e1a6633581eb8fcd1bb
   Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
   Date:   Mon Nov 5 14:38:28 2007 +0000

       OS: Remove ALLOCATE_LOCAL from os.h

       Remove ALLOCATE_LOCAL_FALLBACK and DEALLOCATE_LOCAL_FALLBACK from os.h, and
       remove the include of Xalloca.h as well.
</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>hw/nxagent/NXdamage.c: Shrink file, drop duplicate code that can identically be found in miext/damage/damage.c.</title>
<updated>2016-06-24T22:39:26+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-04-07T10:22:51+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=148f750678eba0208341bb6aded9c2a766acccd3'/>
<id>urn:sha1:148f750678eba0208341bb6aded9c2a766acccd3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename region macros to eliminate screen argument</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-16T10:11:43+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=63f1fff8fe1e7f94ebc0a72df773c6f77531f7a4'/>
<id>urn:sha1:63f1fff8fe1e7f94ebc0a72df773c6f77531f7a4</id>
<content type='text'>
This is a huge mechanical patch and a few small fixups required to finish
the job. They were reviewed separately, but because the server does not
build without both pieces, I've merged them together at this time.

The mechanical changes were performed by running the included
'fix-region' script over the whole nx-X11/programs/Xserver tree:

$ cd nx-X11/programs/Xserver &amp;&amp; ( git ls-files | grep -v '^fix-' | xargs ./fix-region; )

And then, the white space errors in the resulting patch were fixed
using the provided fix-patch-whitespace script.

$ sh ./fix-patch-whitespace

Thanks to Jamey Sharp for the mighty fine sed-generating sed script.

v1: Keith Packard &lt;keithp@keithp.com&gt; (X.Org xserver commit: 2dc138922b7588515d5f2447e4b9dcdc0bef15e0)
v2: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt; (apply fix-region script to nx-libs)
</content>
</entry>
<entry>
<title>X11/nx-X11 clear-up: More places where we need to explicitly distinguish between X11 and nx-X11 namespace regarding header include paths.</title>
<updated>2015-12-29T16:41:24+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2015-12-29T16:27:47+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=9618380bde0b1e9bdc757055b378d93cac9d377f'/>
<id>urn:sha1:9618380bde0b1e9bdc757055b378d93cac9d377f</id>
<content type='text'>
</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>
</feed>
