<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/dix/main.c, branch 3.5.99.8</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://openid.arctica-project.org/nx-libs/atom?h=3.5.99.8</id>
<link rel='self' href='https://openid.arctica-project.org/nx-libs/atom?h=3.5.99.8'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/'/>
<updated>2017-04-10T14:09:20+00:00</updated>
<entry>
<title>Xserver: Support building against libXfont2 (v2) API and old libXfont(1) API alike.</title>
<updated>2017-04-10T14:09:20+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-09T13:05:57+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=f4c80a78ce0e5648334fc43e5c93a068ed3ec5be'/>
<id>urn:sha1:f4c80a78ce0e5648334fc43e5c93a068ed3ec5be</id>
<content type='text'>
 Fixes ArcticaProject/nx-libs#296.

 Inspired by the following X.org commit. Other than X.org, we will continue
 support for building nx-libs against libXfont1 for a while.

 commit 05a793f5b3c40747d5a92a076def7f4fb673c7e7
 Author: Keith Packard &lt;keithp@keithp.com&gt;
 Date:   Tue Sep 1 18:50:55 2015 -0700

    dix: Switch to the libXfont2 API (v2)

    This new libXfont API eliminates exposing internal X server symbols to
    the font library, replacing those with a struct full of the entire API
    needed to use that library.

    v2: Use libXfont2 instead of libXfont_2

    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
    Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
</content>
</entry>
<entry>
<title>SetFontPath: set client-&gt;errorValue on failure.</title>
<updated>2017-04-10T14:03:10+00:00</updated>
<author>
<name>Jamey Sharp</name>
<email>jamey@minilop.net</email>
</author>
<published>2017-02-16T08:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=f743f9f743362c891f049a514cdcf3d39546194b'/>
<id>urn:sha1:f743f9f743362c891f049a514cdcf3d39546194b</id>
<content type='text'>
 Backported from X.org:

 commit 21ceae9002c6364deb3d074cf2da7d3864cf6879
 Author: Jamey Sharp &lt;jamey@minilop.net&gt;
 Date:   Tue May 11 10:24:00 2010 -0700

    SetFontPath: set client-&gt;errorValue on failure.

    Previously the callers were only setting errorValue on Success, when
    it's ignored, and leaving it alone on failure, when it's sent to the
    client.

    Since SetFontPath takes the ClientPtr, let it set client-&gt;errorValue
    instead of letting the callers continue to get it wrong.

    Signed-off-by: Jamey Sharp &lt;jamey@minilop.net&gt;
    Reviewed-by: Julien Cristau &lt;jcristau@debian.org&gt;
    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>dix: pass a valid ClientPtr to SetFontPath in all cases.</title>
<updated>2017-04-10T14:03:10+00:00</updated>
<author>
<name>Eamon Walsh</name>
<email>ewalsh@tycho.nsa.gov</email>
</author>
<published>2017-02-16T08:21:56+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=4768662b03067afbc122683d234205716ba3606e'/>
<id>urn:sha1:4768662b03067afbc122683d234205716ba3606e</id>
<content type='text'>
 Backported from X.org:

 commit 7e9e01a4a34fa45521067d43c5bbff942dd5d51a
 Author: Eamon Walsh &lt;ewalsh@tycho.nsa.gov&gt;
 Date:   Wed Oct 10 17:40:22 2007 -0400

    dix: pass a valid ClientPtr to SetFontPath in all cases.

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>dix: Move InitFonts up above screen initialization</title>
<updated>2017-04-10T14:03:10+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-09T22:31:19+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=6a06a6c81047a08ba35c3c4995ae8139d355f366'/>
<id>urn:sha1:6a06a6c81047a08ba35c3c4995ae8139d355f366</id>
<content type='text'>
 Backport from X.org:

 commit 91ea0965dd4dfeba0a914c47ad4a64768e983b1b
 Author: Keith Packard &lt;keithp@keithp.com&gt;
 Date:   Wed Nov 11 22:02:04 2015 -0800

    dix: Move InitFonts up above screen initialization

    Font initialization was split into two stages, the first was to set up
    font privates with a call to ResetFontPrivateIndex, then much later
    the call to InitFonts to set up all of the FPEs. Doing the full font
    initialization before initializing the video drivers means that we can
    move the call to ResetFontPrivateIndex inside InitFonts.

    Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>xserver: remove index from CloseScreen (API/ABI breakage)</title>
<updated>2017-04-10T12:56:29+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2017-03-10T23:53:01+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=93ea74e53e13890ea2f85ea57e9455d0eb2525f4'/>
<id>urn:sha1:93ea74e53e13890ea2f85ea57e9455d0eb2525f4</id>
<content type='text'>
 Extracted from X.org bulk commit:

 commit 1f0e8bd5eb1a5539689cfc4f5a6b86b530907ec5
 Author: Dave Airlie &lt;airlied@redhat.com&gt;
 Date:   Tue Jun 5 13:22:18 2012 +0100

    api: rework the X server driver API to avoid global arrays.

    This is a squash merge containing all the API changes, as
    well as the video ABI bump.

    Its been squashed to make bisection easier.

    Full patch log below:

    [...]

    commit 06729dbbc804a20242e6499f446acb5d94023c3c
    Author: Dave Airlie &lt;airlied@gmail.com&gt;
    Date:   Tue Apr 10 14:04:59 2012 +0100

        xserver: remove index from CloseScreen (API/ABI breakage)

        This drops the index from the CloseScreen callback,
        its always been useless really, since the pScreen contains it.

        Reviewed-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
        Acked-by: Aaron Plattner &lt;aplattner@nvidia.com&gt;
        Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
        Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>dix: Remove insane BC hacks</title>
<updated>2017-03-24T08:19:47+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-03-10T23:48:03+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=c1fc4ba7890728cd3afb0e9b6ae1c6c41e0d5376'/>
<id>urn:sha1:c1fc4ba7890728cd3afb0e9b6ae1c6c41e0d5376</id>
<content type='text'>
 commit 6b5206e7cb8e5279816b48f014d47d3f03f16972
 Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
 Date:   Fri Jul 18 15:38:10 2008 +0300

    dix: Remove insane BC hacks

    If your DDX needs a 1bpp mode and doesn't set it up, your DDX is
    incompetent.

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>dix: Move AddScreen() over into dispatch.c and introduce init_screen()</title>
<updated>2017-03-24T08:19:30+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-03-10T15:29:24+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=52872a0de67226eff6100d8353f5c712e94e9e9d'/>
<id>urn:sha1:52872a0de67226eff6100d8353f5c712e94e9e9d</id>
<content type='text'>
 Partially pruned out of X.org commits:

 commit 987579c930bda803427a28cb82773c389f5110d6
 Author: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
 Date:   Wed Apr 22 13:26:40 2009 +1000

    dix: remove all but main() from main.c

    All other functions are pushed into where they seemed to fit.
    main.c is now linked separately into libmain.a and linked in by the various
    DDXs.

    Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

 commit 3478af3374abffa0c226ee077fda1fcfc0751e74
 Author: Dave Airlie &lt;airlied@redhat.com&gt;
 Date:   Tue Jun 5 17:01:21 2012 +0100

    screen: split out screen init code. (v2)

    This is a precursor for reusing this code to init gpu screens.

    v2: fixup int check as per Keith's review.

    Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
    Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>Move SIGUSR1 notification as late as possible.</title>
<updated>2017-03-21T09:58:08+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@nwnk.net</email>
</author>
<published>2017-03-15T11:08:46+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=f5301dee4e400698f5b8ea324686b8daba75152d'/>
<id>urn:sha1:f5301dee4e400698f5b8ea324686b8daba75152d</id>
<content type='text'>
 commit f01e149d1af14ef9ee0e8a6743ab6a08f3bb677c
 Author: Adam Jackson &lt;ajax@redhat.com&gt;
 Date:   Thu Nov 1 15:41:11 2007 -0400

    Move SIGUSR1 notification as late as possible.

    If we inherited a signal mask from the parent process that ignores SIGUSR1,
    then we will send SIGUSR1 to the parent to indicate when we're ready to
    accept connections.  Unfortunately, we send this notification way too
    early, right after creating the sockets rather than just before entering
    the main loop.

    Move it to just before Dispatch() so we're not lying quite so much.

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>os: Add facilities for client ID tracking.</title>
<updated>2017-03-21T09:58:07+00:00</updated>
<author>
<name>Rami Ylimäki</name>
<email>rami.ylimaki@vincit.fi</email>
</author>
<published>2017-02-15T15:42:14+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=239fe3d0802b12ce8947741693244ff8154fa559'/>
<id>urn:sha1:239fe3d0802b12ce8947741693244ff8154fa559</id>
<content type='text'>
 commit 6d6d4cb6043905d850834946e9bfc526ed5a9ef7
 Author: Matthieu Herrb &lt;matthieu.herrb@laas.fr&gt;
 Date:   Mon Jan 2 13:23:59 2012 +0000

    Add OpenBSD support to DetermineClientCmd()

    Uses kvm_getargv() from libkvm.

    Signed-off-by: Matthieu Herrb &lt;matthieu.herrb@laas.fr&gt;
    Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

 commit cfc4c3d7fa8bd4da4c08b2ab8e6f85435f75353a
 Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
 Date:   Sat Dec 24 10:00:56 2011 -0800

    Add Solaris support to DetermineClientCmd

    Uses /proc/pid/psinfo to read command &amp; partial arguments.

    Moves cmdsize &amp; argsize variables into non-Solaris #else clause
    to avoid unused variable warnings.

    Fixes format mismatch errors when building with DEBUG defined on
    a 64-bit platform (where Mask is defined as CARD32).

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Rami Ylimäki &lt;rami.ylimaki@vincit.fi&gt;
    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

 commit 780133f9ae7fada462714b47e79d26075bbd9abe
 Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
 Date:   Fri Oct 28 21:29:50 2011 -0700

    Convert DetermineClientCmd to use strdup instead of malloc+strncpy

    *cmdname is initialized to NULL earlier in the function, so it's
    okay to overwrite it with NULL if strdup fails, don't need that
    extra check.

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Jeremy Huddleston &lt;jeremyhu@apple.com&gt;

 commit 2ef4ff45ef1fcfc4967ebe3d550408769e5f6500
 Author: Erkki Seppälä &lt;erkki.seppala@vincit.fi&gt;
 Date:   Fri Mar 25 10:38:23 2011 +0200

    os/client: Prevent rare fd leak in DetermineClientPid

    DetermineClientPid didn't close file descriptor if read on
    /proc/pid/cmdline failed. Adjusted the code to disregard the close
    return value and perform the return after that, if the read failed or
    returned EOF.

    Signed-off-by: Mark Kettenis &lt;mark.kettenis@xs4all.nl&gt;
    Signed-off-by: Erkki Seppälä &lt;erkki.seppala@vincit.fi&gt;
    Reviewed-by: Rami Ylimäki &lt;rami.ylimaki@vincit.fi&gt;
    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

 commit 1e933665bef26c74196bb7c59910e6a78bcacf0e
 Author: Rami Ylimäki &lt;rami.ylimaki@vincit.fi&gt;
 Date:   Wed Dec 22 16:51:09 2010 +0200

    os: Add facilities for client ID tracking.

    An interface is provided for figuring out the PID and process name of
    a client. Make some existing functionality from SELinux and IA
    extensions available for general use.

    Signed-off-by: Rami Ylimäki &lt;rami.ylimaki@vincit.fi&gt;
    Reviewed-by: Tiago Vignatti &lt;tiago.vignatti@nokia.com&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>Xserver/dix/main.c: ErrorF requires a string to end with an EOL char.</title>
<updated>2017-02-27T11:07:30+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-05T21:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=82a7f72ca53054d3c1be1cf0b83d7e6245ed7ca6'/>
<id>urn:sha1:82a7f72ca53054d3c1be1cf0b83d7e6245ed7ca6</id>
<content type='text'>
</content>
</entry>
</feed>
