1. 07 Dec, 2017 2 commits
    • Lars Knoll's avatar
      devPrivates fixes · e073093c
      Lars Knoll authored
      Backported from X.Org:
      
          commit 0693083335185ce05ee64546151f3fc43ce98575
          Author: Lars Knoll <lars@trolltech.com>
          Date:   Mon Mar 6 21:00:09 2006 +0000
      
          render/picture.c Correctly initialize devPrivates variable in source only
              pictures to 0
          miext/cw/cw.h Don't try to access devPrivates of source only pictures
      Backported-from-NX-by: 's avatarUlrich Sibiller <uli42@gmx.de>
      e073093c
    • Adam Jackson's avatar
      Coverity # 337: Remove useless NULL check. · 0a010adf
      Adam Jackson authored
      Backported from X.org:
      
         Commit 6bb2dc02a7cffd6ed7dd28e88d584920a4150749
         Author: Adam Jackson <ajax@nwnk.net>
         Date:   Wed Mar 15 16:01:47 2006 +0000
      
         Coverity # 337: Remove useless NULL check.
      Backported-to-NX-by: 's avatarUlrich Sibiller <uli42@gmx.de>
      0a010adf
  2. 10 Apr, 2017 3 commits
    • Mike Gabriel's avatar
      Regression fix for added libXfont2 API support: · d63b4a5b
      Mike Gabriel authored
       - Move FONT_DEFINES and XLIBFONT definition to from Server.tmpl to
         Imake.tmpl.
       - Add FONT_DEFINES to ALLDEFINES.
       - Drop SpecialCObjectRules with FONT_DEFINES from various Imakefiles
         again, FONT_DEFINES is now set "globally".
       - Hand over FONT_DEFINES from main Makefile to nx-X11's make BuildEnv
         to make gccmakedep happy.
      d63b4a5b
    • Mike Gabriel's avatar
      Xserver: Support building against libXfont2 (v2) API and old libXfont(1) API alike. · f4c80a78
      Mike Gabriel authored
       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 <keithp@keithp.com>
       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: 's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: 's avatarAdam Jackson <ajax@redhat.com>
      f4c80a78
    • Dave Airlie's avatar
      xserver: remove index from CloseScreen (API/ABI breakage) · 93ea74e5
      Dave Airlie authored
       Extracted from X.org bulk commit:
      
       commit 1f0e8bd5eb1a5539689cfc4f5a6b86b530907ec5
       Author: Dave Airlie <airlied@redhat.com>
       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 <airlied@gmail.com>
          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: 's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      Acked-by: 's avatarAaron Plattner <aplattner@nvidia.com>
      Reviewed-by: 's avatarAdam Jackson <ajax@redhat.com>
      Signed-off-by: 's avatarDave Airlie <airlied@redhat.com>
      93ea74e5
  3. 03 Mar, 2017 3 commits
    • Ulrich Sibiller's avatar
      replace (DE)ALLOCATE_LOCAL by malloc/free · 06bb154d
      Ulrich Sibiller authored
      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 <daniel@fooishbar.org>
         Date:   Mon Nov 5 14:03:26 2007 +0000
      
             OS: Remove usage of alloca
      
             Replace with heap allocations.
      
         commit 5e363500c86042c394595e1a6633581eb8fcd1bb
         Author: Daniel Stone <daniel@fooishbar.org>
         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.
      06bb154d
    • Ulrich Sibiller's avatar
      replace (DE)ALLOCATE_LOCAL by malloc/free · 09ef9991
      Ulrich Sibiller authored
      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 <daniel@fooishbar.org>
         Date:   Mon Nov 5 14:03:26 2007 +0000
      
             OS: Remove usage of alloca
      
             Replace with heap allocations.
      
         commit 5e363500c86042c394595e1a6633581eb8fcd1bb
         Author: Daniel Stone <daniel@fooishbar.org>
         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.
      09ef9991
    • Mihai Moldovan's avatar
      misc nx-X11/programs/Xserver/{hw/nxagent,miext,render}/: move code around so… · 1a7fc41c
      Mihai Moldovan authored
      misc nx-X11/programs/Xserver/{hw/nxagent,miext,render}/: move code around so that we can drop nx-X11/programs/Xserver/render/miglyph.c (and by extension nx-X11/programs/Xserver/hw/nxagent/NXmiglyph.c.)
      
      This is essentially a bastardized cross/backport of these X.Org commits - based
      on our current architecture:
      
      commit 4b14c9a9cd2033d3839c4ba364d41ab4c4b198ab
      Author: Eric Anholt <eric@anholt.net>
      Date:   Fri Oct 19 16:34:54 2007 -0700
      
          Replace calls to Glyphs screen hook with CompositeGlyphs and remove dead code.
      
          Not all of the DDX/miext Glyphs hook implementations have been removed, but
          they should be.
      
      and
      
      commit 2251572062b2c25643671b8d5070de1c3f7ae976
      Author: Aaron Plattner <aplattner@nvidia.com>
      Date:   Fri Oct 26 15:13:50 2007 -0700
      
          Restore the CompositeGlyphs -> ps->Glyphs -> miGlyphs callchain to allow acceleration architectures to wrap above miGlyphs.
      
      Conflicts:
      	nx-X11/programs/Xserver/render/miglyph.c
      	nx-X11/programs/Xserver/render/mipict.h
      	nx-X11/programs/Xserver/render/picture.c
      1a7fc41c
  4. 04 Dec, 2016 1 commit
  5. 02 Nov, 2016 1 commit
  6. 05 Jul, 2016 1 commit
  7. 02 Jul, 2016 2 commits
  8. 24 Jun, 2016 1 commit
  9. 02 May, 2016 2 commits
    • Mike Gabriel's avatar
    • Mike Gabriel's avatar
      Rename region macros to eliminate screen argument · 63f1fff8
      Mike Gabriel authored
      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 && ( 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 <keithp@keithp.com> (X.Org xserver commit: 2dc138922b7588515d5f2447e4b9dcdc0bef15e0)
      v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (apply fix-region script to nx-libs)
      63f1fff8
  10. 29 Dec, 2015 1 commit
  11. 28 Dec, 2015 1 commit
  12. 22 Apr, 2015 1 commit
  13. 02 Feb, 2015 1 commit
  14. 10 Oct, 2011 1 commit