1. 23 Sep, 2015 1 commit
  2. 21 Apr, 2015 1 commit
  3. 12 Nov, 2014 1 commit
  4. 27 Oct, 2014 1 commit
  5. 08 Oct, 2014 1 commit
  6. 25 Jun, 2014 1 commit
  7. 23 Jan, 2014 1 commit
  8. 12 Jan, 2014 2 commits
  9. 14 Nov, 2013 1 commit
    • Alan Coopersmith's avatar
      Stop including inline assembly .il file for Solaris Studio builds · 0ba7fc84
      Alan Coopersmith authored
      Since all the inb/outb/etc. use in the X server itself (except for
      xf86SlowBcopy) has been replaced by calls to libpciaccess, we no
      longer need to pass inline assembly files to replace the gcc inline
      assembly from hw/xfree86/common/compiler.h when building Xorg itself.
      
      The .il files are still generated and installed in the SDK for the
      benefit of drivers who may use them.
      
      Binary diff of before and after showed that xf86SlowBcopy was the
      only function changed across the Xorg binary and all modules built
      in the Xserver build, it just calls the outb() function now instead
      of having the outb instructions inlined, making it a slightly slower
      bcopy.
      Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      0ba7fc84
  10. 15 Oct, 2013 1 commit
    • 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
  11. 10 Sep, 2013 1 commit
  12. 06 Aug, 2013 1 commit
  13. 06 Dec, 2012 1 commit
  14. 29 Oct, 2012 1 commit
  15. 23 Sep, 2012 1 commit
  16. 07 Jul, 2012 1 commit
  17. 05 Jul, 2012 1 commit
  18. 05 Jun, 2012 1 commit
  19. 21 May, 2012 1 commit
  20. 14 May, 2012 1 commit
  21. 21 Mar, 2012 1 commit
    • 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: default avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9838b703
  22. 23 Nov, 2011 1 commit
  23. 10 Aug, 2011 1 commit
  24. 30 Jun, 2011 1 commit
  25. 19 Jun, 2011 1 commit
  26. 23 Apr, 2011 1 commit
    • 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
  27. 28 Mar, 2011 1 commit
  28. 18 Mar, 2011 1 commit
  29. 08 Mar, 2011 1 commit
  30. 25 Feb, 2011 1 commit
  31. 20 Feb, 2011 1 commit
  32. 02 Feb, 2011 3 commits
  33. 06 Jan, 2011 1 commit
  34. 05 Jan, 2011 1 commit
  35. 22 Dec, 2010 1 commit
  36. 10 Nov, 2010 1 commit
  37. 13 Jul, 2010 1 commit