Skip to content
Snippets Groups Projects
  1. Jun 01, 2018
  2. Mar 21, 2018
  3. Feb 26, 2018
  4. Apr 26, 2017
    • Emma Anholt's avatar
      Add a Meson build system alongside autotools. · 1549e303
      Emma Anholt authored
      
      This is a work in progress that builds Xvfb, Xephyr, Xwayland, Xnest,
      and Xdmx so far.  The outline of Xquartz/Xwin support is in tree, but
      hasn't been built yet.  The unit tests are also not done.
      
      The intent is to build this as a complete replacement for the
      autotools system, then eventually replace autotools.  meson is faster
      to generate the build, faster to run the bulid, shorter to write the
      build files in, and less error-prone than autotools.
      
      v2: Fix indentation nits, move version declaration to project(), use
          existing meson_options for version-config.h's vendor name/web.
      
      Signed-off-by: default avatarEric Anholt <eric@anholt.net>
      Acked-by: default avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      1549e303
  5. Mar 17, 2017
  6. Jul 18, 2016
  7. Jun 17, 2016
  8. May 09, 2016
  9. Oct 27, 2015
  10. Sep 23, 2015
  11. Apr 21, 2015
  12. Nov 12, 2014
  13. Oct 27, 2014
  14. Oct 08, 2014
  15. Jun 25, 2014
  16. Jan 23, 2014
  17. Jan 12, 2014
  18. Nov 14, 2013
  19. Oct 15, 2013
    • Alan Coopersmith's avatar
      Skip damage calls if DamageCreate fails in exa functions · 6c06c268
      Alan Coopersmith authored
      Fixes parfait errors such as:
         Null pointer dereference (CWE 476): Write to null pointer pDamage
              at line 1833 of miext/damage/damage.c in function 'DamageRegister'.
                Function DamageCreate may return constant 'NULL' at line 1775,
                    called at line 232 of exa/exa_migration_mixed.c
                    in function 'exaPrepareAccessReg_mixed'.
                Constant 'NULL' passed into function DamageRegister,
                    argument pDamage, from call at line 237.
                Null pointer introduced at line 1775 of miext/damage/damage.c
                    in function 'DamageCreate'.
         Null pointer dereference (CWE 476): Write to null pointer pDamage
              at line 1833 of miext/damage/damage.c in function 'DamageRegister'.
                Function DamageCreate may return constant 'NULL' at line 1775,
                    called at line 104 of exa/exa_mixed.c
                    in function 'exaCreatePixmap_mixed'.
                Constant 'NULL' passed into function DamageRegister,
                    argument pDamage, from call at line 109.
                Null pointer introduced at line 1775 of miext/damage/damage.c
                    in function 'DamageCreate'.
      
      Checks are similar to handling results of other calls to DamageCreate.
      
      [ This bug was found by the Parfait 1.3.0 bug checking tool.
        http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13
      
       ]
      
      Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      6c06c268
  20. Sep 10, 2013
  21. Aug 06, 2013
  22. Dec 06, 2012
  23. Oct 29, 2012
  24. Sep 23, 2012
  25. Jul 07, 2012
  26. Jul 05, 2012
  27. Jun 05, 2012
  28. May 21, 2012
  29. May 14, 2012
  30. Mar 21, 2012
    • Keith Packard's avatar
      Introduce a consistent coding style · 9838b703
      Keith Packard authored
      
      This is strictly the application of the script 'x-indent-all.sh'
      from util/modular. Compared to the patch that Daniel posted in
      January, I've added a few indent flags:
      
      	-bap
      	-psl
      	-T PrivatePtr
      	-T pmWait
      	-T _XFUNCPROTOBEGIN
      	-T _XFUNCPROTOEND
      	-T _X_EXPORT
      
      The typedefs were needed to make the output of sdksyms.sh match the
      previous output, otherwise, the code is formatted badly enough that
      sdksyms.sh generates incorrect output.
      
      The generated code was compared with the previous version and found to
      be essentially identical -- "assert" line numbers and BUILD_TIME were
      the only differences found.
      
      The comparison was done with this script:
      
      dir1=$1
      dir2=$2
      
      for dir in $dir1 $dir2; do
      	(cd $dir && find . -name '*.o' | while read file; do
      		dir=`dirname $file`
      		base=`basename $file .o`
      		dump=$dir/$base.dump
      		objdump -d $file > $dump
      	done)
      done
      
      find $dir1 -name '*.dump' | while read dump; do
      	otherdump=`echo $dump | sed "s;$dir1;$dir2;"`
      	diff -u $dump $otherdump
      done
      
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      Acked-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9838b703
  31. Nov 23, 2011
  32. Aug 10, 2011
  33. Jun 30, 2011
  34. Jun 19, 2011
  35. Apr 23, 2011
    • Søren Sandmann Pedersen's avatar
      Add RegionInitBoxes(), and fix some buggy callers of RegionInit(). · 61a92a78
      Søren Sandmann Pedersen authored
      
      The interface to RegionInit():
      
          RegionInit (RegionPtr pReg, BoxPtr rect, int size);
      
      is very confusing because it doesn't take a list of boxes, it takes
      *one* box, but if that box is NULL, it initializes an empty region
      with 'size' rectangles preallocated.
      
      Most callers of this function were correctly passing either NULL or
      just one box, but there were three confused cases, where the code
      seems to expect a region to be created from a list of boxes.
      
      This patch adds a new function RegionInitBoxes() and fixes those
      instances to call that instead.
      
      And yes, the pixman function to initialize a region from a list of
      boxes is called init_rects() because pixman is also awesome.
      
      V2: Make RegionInitBoxes() return a Bool indicating whether the call
          succeeded, and fix the callers to check this return value.
      
      Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarSøren Sandmann <ssp@redhat.com>
      61a92a78
  36. Mar 28, 2011
  37. Mar 18, 2011
  38. Mar 08, 2011
  39. Feb 25, 2011
Loading