<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/os, branch 3.5.99.12</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.12</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.12'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2017-12-13T03:50:24+00:00</updated>
<entry>
<title>nx-X11/programs/Xserver/os/xprintf.c: completely drop NX-related changes.</title>
<updated>2017-12-13T03:50:24+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2017-12-13T03:50:24+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=73c113ce64bb454361f4a145e4880651af7707f7'/>
<id>urn:sha1:73c113ce64bb454361f4a145e4880651af7707f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Xserver/os/xprintf.c: Drop NoMachine's own implementation of Xvasprintf(). Use stock implementation instead.</title>
<updated>2017-12-11T08:31:46+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-12-11T08:22:49+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=cf2e07657e974d443283ce0a401210561ff9236c'/>
<id>urn:sha1:cf2e07657e974d443283ce0a401210561ff9236c</id>
<content type='text'>
 * Reason from NoMachine's NX CHANGELOG for having its own implementation
   of Xvasprintf() (from around nxagent 3.3.0):

    - Fixed TR06G02225. The implementation of Xvprintf() has been reviewed
      to work on more platforms. Previous implementation caused a failure
      in the build of keyboard map on some platform like Solaris 8 and 9.
    - Fixed TR03G02198. Reimplemented Xvprintf() in Xserver/os to handle
      the case in which vsnprintf returned -1.

 * Reason for removing it again:

    - Fixes segfaults in SetDefaultFontPath when launching nxagent.
    - All locations in Xserver/** using the code check for return value
      of -1.
    - Solaris 8 and 9 are beyond of our support scope.
    - Keep more in sync with X.org.
    - Good moment to drop more GPL-2 code from Xserver's code base.
</content>
</entry>
<entry>
<title>nx-X11/programs/Xserver/os/xprintf.c: remove doubly-defined Xscnprintf function, add missing header includes.</title>
<updated>2017-12-11T00:05:52+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2017-12-11T00:05:50+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=c31cd7737461cdab0dd9f78518147c826d53c606'/>
<id>urn:sha1:c31cd7737461cdab0dd9f78518147c826d53c606</id>
<content type='text'>
Fix up for 1e3a97482840401af9ffcf73db6008ebfe6c1d52, which has been
faulty in this regard.
</content>
</entry>
<entry>
<title>os/xprintf: add Xvscnprintf and Xscnprintf</title>
<updated>2017-12-10T11:17:10+00:00</updated>
<author>
<name>Daniel Kurtz</name>
<email>djkurtz@chromium.org</email>
</author>
<published>2017-12-07T11:11:53+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a6e632aac9a013fbae6e8b6a17688e8b1a81e12d'/>
<id>urn:sha1:a6e632aac9a013fbae6e8b6a17688e8b1a81e12d</id>
<content type='text'>
Backported from X.org:

commit 5c2e2a164d615ab06be28a663734e782614b5cc7
Author: Daniel Kurtz &lt;djkurtz@chromium.org&gt;
Date:   Wed Apr 18 09:51:51 2012 +0000

    os/xprintf: add Xvscnprintf and Xscnprintf

    Normal snprintf() usually returns the number of bytes that would have been
    written into a buffer had the buffer been long enough.

    The scnprintf() variants return the actual number of bytes written,
    excluding the trailing '\0'.

    Signed-off-by: Daniel Kurtz &lt;djkurtz@chromium.org&gt;
    Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
    Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

Backported-to-NX-by: Mihai Moldovan &lt;ionic@ionic.de&gt;
</content>
</entry>
<entry>
<title>Typo in xserver Xvasprintf()</title>
<updated>2017-12-10T11:17:10+00:00</updated>
<author>
<name>Colin Harrison</name>
<email>colin.harrison@virgin.net</email>
</author>
<published>2017-12-07T09:57:06+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=c281c6e06a1c9ff65e5ea00d172ea42806fb677f'/>
<id>urn:sha1:c281c6e06a1c9ff65e5ea00d172ea42806fb677f</id>
<content type='text'>
Backported from X.org:

commit 1324b0ca9f8a7fdaf03b374c75eb3c9df407c2f1
Author: Colin Harrison &lt;colin.harrison@virgin.net&gt;
Date:   Fri Dec 10 00:08:24 2010 +0000

    Typo in xserver Xvasprintf()

    I needed this patch in the wrapper around vsnprintf() in os/xprintf.c
    (MinGW for Windows build) to correct various crashes.

    Reviewed-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;

Backported-to-NX-by: Mihai Moldovan &lt;ionic@ionic.de&gt;
</content>
</entry>
<entry>
<title>Add asprintf() implementation for platforms without it</title>
<updated>2017-12-10T11:17:10+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2017-12-07T09:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=1e3a97482840401af9ffcf73db6008ebfe6c1d52'/>
<id>urn:sha1:1e3a97482840401af9ffcf73db6008ebfe6c1d52</id>
<content type='text'>
Backported from X.org:

commit c95c1d338fdb62dbe3dba934b97324fa778b7fce
Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Date:   Sat Nov 27 18:43:12 2010 -0800

    Add asprintf() implementation for platforms without it

    Provides a portable implementation of this common allocating sprintf()
    API found in many, but not yet all, of the platforms we support.
    If the platform provides vasprintf() we simply wrap it, otherwise we
    implement it - either way callers can use it regardless of platform.

    Since not all platforms guarantee to NULL out the return pointer on
    failure, we don't either, and require callers to check the return
    value for -1.

    The old Xprintf() API is deprecated, but left for compatibility for now.

    The new API is added in a new header so that it can be used in parts of
    the server such as hw/xfree86/parser that don't include all the server
    headers.

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Mikhail Gusarov &lt;dottedmag@dottedmag.net&gt;

Includes re-indentation changes from
9838b7032ea9792bec21af424c53c07078636d21.

Backported-to-NX-by: Mihai Moldovan &lt;ionic@ionic.de&gt;
</content>
</entry>
<entry>
<title>Reintroduce -co as no-op</title>
<updated>2017-12-07T21:04:18+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-12-04T22:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=eff0f366db57783c49a19420a2351b5501ec9f1b'/>
<id>urn:sha1:eff0f366db57783c49a19420a2351b5501ec9f1b</id>
<content type='text'>
nxagent will abort if it encounters an unknown command line option. As
we want 3.6 to be a drop-in replacement for 3.5 we cannot simply drop old
options but must accept them as no-op.
</content>
</entry>
<entry>
<title>nx-X11/programs/Xserver/os/connection.c: compact display autodetection code.</title>
<updated>2017-04-20T16:27:11+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2017-04-20T16:27:11+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=f3d406109310404f14c9f489e89e70dfe8ed1119'/>
<id>urn:sha1:f3d406109310404f14c9f489e89e70dfe8ed1119</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Xserver/os/connection.c: If -displayfd and an explicit display port number are given, use the explicit display number as a starting point for auto-detecting the next available display number.</title>
<updated>2017-04-20T12:21:53+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-04-07T13:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=ec185d7f7a5697d946c10c2dc58101dfe2d6aabf'/>
<id>urn:sha1:ec185d7f7a5697d946c10c2dc58101dfe2d6aabf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Xserver/os/connection.c: Accompany display number with some human-readable (machine-parseable) text when -displayfd is set to STDERR.</title>
<updated>2017-04-20T12:21:53+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-04-07T13:26:45+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=f4d7863f81e8314e6fc1fac1ea6ac54da89eea56'/>
<id>urn:sha1:f4d7863f81e8314e6fc1fac1ea6ac54da89eea56</id>
<content type='text'>
</content>
</entry>
</feed>
