<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/dix/dixfonts.c, branch 3.5.99.22</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://openid.arctica-project.org/nx-libs/atom?h=3.5.99.22</id>
<link rel='self' href='https://openid.arctica-project.org/nx-libs/atom?h=3.5.99.22'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/'/>
<updated>2018-07-03T14:19:21+00:00</updated>
<entry>
<title>dixfonts.c: use calloc for LFclosurePtr</title>
<updated>2018-07-03T14:19:21+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2018-07-03T14:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=b394eac8f79773dbe8e40f62e2aeb5c49bf7f65d'/>
<id>urn:sha1:b394eac8f79773dbe8e40f62e2aeb5c49bf7f65d</id>
<content type='text'>
    ... to keep dix/dixfonts and hw/nxagnet/NXdixfonts.c in sync.
</content>
</entry>
<entry>
<title>dix/dixfonts.c: free() can handle NULL</title>
<updated>2018-07-03T14:17:56+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2018-07-03T14:17:56+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=59e46dc54e4fa7590a058e58bb121c1e4de992eb'/>
<id>urn:sha1:59e46dc54e4fa7590a058e58bb121c1e4de992eb</id>
<content type='text'>
so let's remove some superflous tests
</content>
</entry>
<entry>
<title>Support building with legacy (pre-1.4.2) libXfont(1) versions.</title>
<updated>2017-12-16T03:05:34+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2017-12-16T02:55:58+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=fe011b55df68b7419a8042db94fc3fd1bcaca497'/>
<id>urn:sha1:fe011b55df68b7419a8042db94fc3fd1bcaca497</id>
<content type='text'>
Partly reverts ec30a857eb0d67b232f8d43e63a6370023f4c4d0, but in a
forward-compatible manner.

Legacy libXfont1 versions are automatically detected by the main
Makefile.
</content>
</entry>
<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: 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>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>dix: use one single function to register fpe fonts</title>
<updated>2017-02-27T11:25:33+00:00</updated>
<author>
<name>Tiago Vignatti</name>
<email>tiago.vignatti@nokia.com</email>
</author>
<published>2017-02-09T07:55:07+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=cb760f14d69c33b8617787ebcca6c4477ed33598'/>
<id>urn:sha1:cb760f14d69c33b8617787ebcca6c4477ed33598</id>
<content type='text'>
 In NXAGENT_SERVER we can also fully rely on libXfont
 for handling fpe internals.

 Backported from X.org:

 commit 75536ee80595c79bba95a1fb6844126ee08486d4
 Author: Tiago Vignatti &lt;tiago.vignatti@nokia.com&gt;
 Date:   Wed Jun 23 15:18:03 2010 +0300

    dix: use one single function to register fpe fonts

    X server doesn't need to understand fpe internals, so use
    register_fpe_functions from libXfont.

    It's required to get new version of libXfont, therefore adjust it to be passed
    to autoconf.

    Signed-off-by: Tiago Vignatti &lt;tiago.vignatti@nokia.com&gt;
    Reviewed-by: Mikhail Gusarov &lt;dottedmag@dottedmag.net&gt;
    Reviewed-by: Alex Deucher &lt;alexdeucher@gmail.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>For consistency, apply patch from previous commit (630a7c3) to the original Xserver/dix/dixfonts.c file, although the code is undef'ed when NXAGENT_SERVER is defined.</title>
<updated>2017-02-27T11:25:28+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-05T21:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=2ba23b3bcf8f51d12c34582c8e0c51abebad6fda'/>
<id>urn:sha1:2ba23b3bcf8f51d12c34582c8e0c51abebad6fda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>{dix/,hw/nxagent/NX}dixfont.{c,h}: Support using builtin-fonts. Makes dependency on X11's misc fonts package obsolete.</title>
<updated>2017-02-27T11:20:53+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-05T17:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=ed40c3db1d5d6a58523c49d733678af10515460d'/>
<id>urn:sha1:ed40c3db1d5d6a58523c49d733678af10515460d</id>
<content type='text'>
 This backports a mixture of these X.org commits (only focusing
 on SetDefaultFontPath() function):

 commit 03e8bfa1d122f7dea905d48c93cfd54afd991dfd
 Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
 Date:   Sat Nov 27 20:09:04 2010 -0800

    Convert existing Xprintf style calls to asprintf style

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

 commit 12e46e83733b47d2704e1509960192365102af46
 Author: Tiago Vignatti &lt;tiago.vignatti@nokia.com&gt;
 Date:   Fri Mar 25 22:07:31 2011 +0200

    dix: fix memory leak in SetDefaultFontPath

    Signed-off-by: Tiago Vignatti &lt;tiago.vignatti@nokia.com&gt;
    Reviewed-by: Nicolas Peninguy &lt;nico@lostgeeks.org&gt;
    Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

 commit 6592db6bb526f0c43b4c7b55859c629709e039b4
 Author: Mikhail Gusarov &lt;dottedmag@dottedmag.net&gt;
 Date:   Fri Jun 4 16:58:58 2010 +0700

    Get rid of xstrdup when argument is definitely non-NULL

    Replace xstrdup with strdup when either constant string is
    being duplicated or argument is guarded by conditionals and
    obviously can't be NULL

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

 commit f56cbe1ef24415d0142b9a7d0ab0a031069ccb52
 Author: Rémi Cardona &lt;remi@gentoo.org&gt;
 Date:   Mon Sep 14 17:09:59 2009 +0200

    dix: append "built-ins" to the font path in SetDefaultFontPath

    49b93df8a3002db7196aa3fc1fd8dca1c12a55d6 made the hard dependency on
    a "fixed" font go away but only Xorg could use the built-ins fonts by
    default.

    With this commit, all DDXs get "built-ins" appended to their FontPath, not
    just Xorg.

    Tested with Xorg, Xvfb and Xnest.

    Signed-off-by: Rémi Cardona &lt;remi@gentoo.org&gt;
    Signed-off-by: Jon TURNEY &lt;jon.turney@dronecode.org.uk&gt;
    Tested-by: Jon TURNEY &lt;jon.turney@dronecode.org.uk&gt;
    Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

 commit 49b93df8a3002db7196aa3fc1fd8dca1c12a55d6
 Author: Paulo Cesar Pereira de Andrade &lt;pcpa@mandriva.com.br&gt;
 Date:   Wed Jan 7 19:37:03 2009 -0200

    Default to use standard bitmap fonts, with builtins as fallback

      The builtin-fonts configure option was removed, as it at best should
    have been a runtime option. Instead, now it always register all "font
    path element" backends, and adds built-ins fonts at the end of the
    default font path.
      This should be a more reasonable solution, to "correct" the most
    common Xorg FAQ (could not open default font 'fixed'), and also don't
    break by default applications that use only the standard/historical
    X Font rendering.

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;

 Fixes ArcticaProject/nx-libs#84.
 Fixes ArcticaProject/nx-libs#285.
</content>
</entry>
</feed>
