<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/os, branch 3.5.99.22</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.22</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.22'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2019-08-27T06:12:23+00:00</updated>
<entry>
<title>dix: add whiteroot flag</title>
<updated>2019-08-27T06:12:23+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-08-10T22:21:44+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a539aaa6aaa7a29023ef4c3d116fc2e1a11c82c1'/>
<id>urn:sha1:a539aaa6aaa7a29023ef4c3d116fc2e1a11c82c1</id>
<content type='text'>
Before there was no way of getting a white background despite having
the approriate code.

Backport of this commit:

  commit cb0a565d2b2cf8823abbd77b4426cc2237731dc1
  Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
  Date:   Fri Aug 18 17:04:48 2006 +0300

    dix: add whiteroot flag
    Add a -wr option to use a white root window, and use a BackPixel rather
    than BackPixmap for both white and black root windows.

Fixes ArcticaProject/nx-libs#832
</content>
</entry>
<entry>
<title>os/access.c: add missing }</title>
<updated>2019-06-22T09:30:47+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-19T23:35:22+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=3c0469971a5092781783b6a5c86b668047e475be'/>
<id>urn:sha1:3c0469971a5092781783b6a5c86b668047e475be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the Must_have_memory hack.</title>
<updated>2019-06-12T16:35:01+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-31T22:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a765857aaa450862f6a3dc5de811671fbc82ca61'/>
<id>urn:sha1:a765857aaa450862f6a3dc5de811671fbc82ca61</id>
<content type='text'>
We are not using any alloc function that respects that variable, so
lets drop it. Backport of this commit:

  commit 0ce61e21d6d7dcca0090e319bbcdb678570f2c3f
  Author: Adam Jackson &lt;ajax@redhat.com&gt;
  Date:   Fri Oct 3 16:05:19 2008 -0400

    Remove the Must_have_memory hack.

    Also remove an astonishing amount of misunderstanding of how casts work.
</content>
</entry>
<entry>
<title>os: fix BigReq ignoring when another request is pending</title>
<updated>2019-06-11T09:32:55+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-27T13:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a736122f5712d5d1b3b798ace3583a101c0cdf61'/>
<id>urn:sha1:a736122f5712d5d1b3b798ace3583a101c0cdf61</id>
<content type='text'>
Not sure how it came to this situation, but the following commit is
partly contained in our version of the code. Some lines had not been
removed, tough...

  commit c80c41767eb101e9dbd8393d8cca7764b4e248a4
  Author: Aaron Plattner &lt;aplattner@nvidia.com&gt;
  Date:   Mon Oct 25 22:01:32 2010 -0700

    os: Fix BigReq ignoring when another request is pending

    Commit cf88363db0ebb42df7cc286b85d30d7898aea840 fixed the handling of
    BigReq requests that are way too large and handles the case where the
    read() syscall returns a short read.  However, it neglected to handle
    the case where it returns a long read, which happens when the client
    has another request in the queue after the bogus large one.

    Handle the long read case by subtracting the smaller of 'needed' and
    'gotnow' from oci-&gt;ignoreBytes.  If needed &lt; gotnow, simply subtract
    the two, leaving gotnow equal to the number of extra bytes read.
    Since the code immediately following the (oci-&gt;ignoreBytes &gt; 0) block
    tries to handle the next request, advance oci-&gt;bufptr immediately
    instead of setting oci-&gt;lenLastReq and letting the next call to
    ReadRequestFromClient do it.

    Fixes the XTS pChangeKeyboardMapping-3 test.

             CASES TESTS  PASS UNSUP UNTST NOTIU  WARN   FIP  FAIL UNRES  UNIN ABORT
    -Xproto    122   389   367     2    19     0     0     0     1     0     0     0
    +Xproto    122   389   368     2    19     0     0     0     0     0     0     0

    Signed-off-by: Aaron Plattner &lt;aplattner@nvidia.com&gt;
    Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Die XTESTEXT1, die!</title>
<updated>2019-05-10T17:02:51+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-11-07T20:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=b32a984f8f34d34fcc4114028712367c47c545d7'/>
<id>urn:sha1:b32a984f8f34d34fcc4114028712367c47c545d7</id>
<content type='text'>
  commit a73e0f8cdfec1c9199ffe696146ba7d677c4c10d
  Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
  Date:   Thu Jun 1 18:47:47 2006 +0000

    Die XTESTEXT1, die!

Citing an email from the xorg-modular mailing list:

On Tuesday 21 February 2006 23:04, Enrico Weigelt wrote:
&gt; Hi folks,
&gt;
&gt; I'm wondering what's the difference between XTEST and XTESTEXT1
&gt; (the second one can be configured w/ my current patch ...)
&gt; Are they both the same ( -&gt; XTest extension ) ?
&gt; Can I put both symbols together ?

They're not the same extension.  XTest is the one you want, if you want
either.  The other hasn't been built by default in ages and I should probably
go ahead and nuke it from the tree.

- ajax
</content>
</entry>
<entry>
<title>nxagent: Fix an excessive request size limitation that broke big-requests.</title>
<updated>2018-10-06T19:17:30+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-10-06T18:59:25+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=da9d1a5298d34f36accfac0af3640d11e4f70543'/>
<id>urn:sha1:da9d1a5298d34f36accfac0af3640d11e4f70543</id>
<content type='text'>
Fixes ArcticaProject/nx-libs#301, #631

Backport from xorg-xserver:

  commit ca82d4bddf235c9b68d51d68636bab40eafb9889
  Author: Eric Anholt &lt;eric@anholt.net&gt;
  Date:   Fri Aug 31 13:00:23 2007 -0700

    Bug #7186: Fix an excessive request size limitation that broke big-requests.

    MAXBUFSIZE appears to be a leftover of some previous time.  Instead, just
    use maxBigRequestSize when bigreqs are available (limiting buffers to ~16MB).
    When bigreqs are not available, needed won't be larger than the maximum
    size of a non-bigreqs request (256kB).
</content>
</entry>
<entry>
<title>Use min() [defined in include/misc.h] instead of MIN() [not defined in any Xorg header].</title>
<updated>2018-08-21T16:50:22+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>Alan.Coopersmith@sun.com</email>
</author>
<published>2018-08-21T16:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=489c17313090b58b5a4f898a47f23d50372923f2'/>
<id>urn:sha1:489c17313090b58b5a4f898a47f23d50372923f2</id>
<content type='text'>
 Backport from X.org:

 commit 724dbc2f8bbe2f21bf16f20ca7b8bb555516626c
 Author: Alan Coopersmith &lt;Alan.Coopersmith@sun.com&gt;
 Date:   Tue May 2 01:30:37 2006 +0000

    Use min() [defined in include/misc.h] instead of MIN() [not defined in any
        Xorg header].

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] os: XDMCP options like -query etc. should imply -listen tcp</title>
<updated>2018-07-18T01:36:10+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2018-07-18T00:17:44+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=1e1693929eca32333885d76ddabbea965d14b45f'/>
<id>urn:sha1:1e1693929eca32333885d76ddabbea965d14b45f</id>
<content type='text'>
Backported from X.org:

  commit 491cf02e191e70c5ce24c19da880bb79bebfc03c
  Author: Jon TURNEY &lt;jon.turney@dronecode.org.uk&gt;
  Date:   Tue Feb 10 2015 14:37:26 +0000

    [PATCH] os: XDMCP options like -query etc. should imply -listen tcp

    In X server 1.17, the default configuration is now -nolisten tcp.  In this
    configuration, XDMCP options don't work usefully, as the X server is not
    listening on the port for the display that it tells the display manager to
    connect to.

    Signed-off-by: Jon TURNEY &lt;jon.turney@dronecode.org.uk&gt;
    Reviewed-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Colin Harrison &lt;colin.harrison@virgin.net&gt;

Backported-to-NX-by: Mihai Moldovan &lt;ionic@ionic.de
</content>
</entry>
<entry>
<title>os/io.c: fix unitialised bytes</title>
<updated>2018-07-03T14:13:43+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-06-21T21:05:05+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=e5975a70e8e03e58f102e8e238143d22cd4d1ed5'/>
<id>urn:sha1:e5975a70e8e03e58f102e8e238143d22cd4d1ed5</id>
<content type='text'>
... by implementing some kind of recalloc (mix of realloc and calloc).

Fixes this valgrind finding:

==7061== Syscall param writev(vector[...]) points to uninitialised byte(s)
==7061==    at 0x781EFE0: __writev_nocancel (syscall-template.S:84)
==7061==    by 0x488974: _XSERVTransSocketWritev (Xtranssock.c:2914)
==7061==    by 0x47DBD3: FlushClient (io.c:1080)
==7061==    by 0x47DBD3: FlushAllOutput.part.0 (io.c:817)
==7061==    by 0x477304: WaitForSomething (WaitFor.c:246)
==7061==    by 0x434369: Dispatch (NXdispatch.c:360)
==7061==    by 0x40EB92: main (main.c:353)
==7061==  Address 0x102106f3 is 50,211 bytes inside a block of size 54,308 alloc'd
==7061==    at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==7061==    by 0x47F08F: FlushClient (io.c:1123)
==7061==    by 0x47F307: WriteToClient (io.c:991)
==7061==    by 0x42903C: doListFontsAndAliases (NXdixfonts.c:660)
==7061==    by 0x42B7D6: ListFonts (NXdixfonts.c:735)
==7061==    by 0x433A6D: ProcListFonts (NXdispatch.c:989)
==7061==    by 0x4344A5: Dispatch (NXdispatch.c:482)
==7061==    by 0x40EB92: main (main.c:353)
==7061==  Uninitialised value was created by a heap allocation
==7061==    at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==7061==    by 0x47F08F: FlushClient (io.c:1123)
==7061==    by 0x47F307: WriteToClient (io.c:991)
==7061==    by 0x42903C: doListFontsAndAliases (NXdixfonts.c:660)
==7061==    by 0x42B7D6: ListFonts (NXdixfonts.c:735)
==7061==    by 0x433A6D: ProcListFonts (NXdispatch.c:989)
==7061==    by 0x4344A5: Dispatch (NXdispatch.c:482)
==7061==    by 0x40EB92: main (main.c:353)
==7061==
</content>
</entry>
<entry>
<title>nx-X11/programs/Xserver/{,os/}Imakefile: implement libtirpc forcing via UseTIRPC.</title>
<updated>2018-03-15T11:20:05+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2018-03-09T08:08:35+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=25cc6fce5402549afdea25f9b4a7102d7ec04eaf'/>
<id>urn:sha1:25cc6fce5402549afdea25f9b4a7102d7ec04eaf</id>
<content type='text'>
</content>
</entry>
</feed>
