1. 21 Jun, 2012 1 commit
  2. 17 May, 2012 1 commit
  3. 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
      do...
      9838b703
  4. 22 Aug, 2011 1 commit
    • Lennart Poettering's avatar
      config: add udev/systemd multi-seat support · 159b03e1
      Lennart Poettering authored and Peter Hutterer's avatar Peter Hutterer committed
      Add support for multi-seat-aware input device hotplugging. This
      implements the multi-seat scheme explained here:
      
      http://www.freedesktop.org/wiki/Software/systemd/multiseat
      
      
      
      This introduces a new X server switch "-seat" which allows configuration
      of the seat to enumerate hotplugging devices on. If specified the value
      of this parameter will also be exported as root window property
      Xorg_Seat.
      
      To properly support input hotplugging devices need to be tagged in udev
      according to the seat they are on. Untagged devices are assumed to be on
      the default seat "seat0". If no "-seat" parameter is passed only devices
      on "seat0" are used. This means that the new scheme is perfectly
      compatible with existing setups which have no tagged input devices.
      
      Note that the -seat switch takes a completely generic identifier, and
      that it has no effect on non-Linux systems. In fact, on other OSes a
      completely different identifier scheme for seats could be used but still
      be exposed with the Xorg_Seat and -seat.
      
      I tried to follow the coding style of the surrounding code blocks if
      there was any one could follow.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      159b03e1
  5. 03 Jun, 2010 2 commits
    • Jamey Sharp's avatar
      Move each screen's x/y origin into ScreenRec. · a83cff9f
      Jamey Sharp authored
      
      
      Many references to the dixScreenOrigins array already had the
      corresponding screen pointer handy, which meant they usually looked like
      "dixScreenOrigins[pScreen->myNum]". Adding a field to ScreenRec instead
      of keeping this information in a parallel array simplifies those
      expressions, and eliminates a MAXSCREENS-sized array.
      
      Since dix declared the dixScreenOrigins array, I figure allocating a
      screen private for these values is overkill.
      Signed-off-by: Jamey Sharp's avatarJamey Sharp <jamey@minilop.net>
      Reviewed-by: default avatarTiago Vignatti <tiago.vignatti@nokia.com>
      Tested-by: Tiago Vignatti <tiago.vignatti@nokia.com> (i686 GNU/Linux)
      a83cff9f
    • Jamey Sharp's avatar
      Move each screen's root-window pointer into ScreenRec. · e7fae9ec
      Jamey Sharp authored
      
      
      Many references to the WindowTable array already had the corresponding
      screen pointer handy, which meant they usually looked like
      "WindowTable[pScreen->myNum]". Adding a field to ScreenRec instead of
      keeping this information in a parallel array simplifies those
      expressions, and eliminates a MAXSCREENS-sized array.
      
      Since dix uses this data, a screen private entry isn't appropriate.
      
      xf86-video-dummy currently uses WindowTable, so it needs to be updated
      to reflect this change.
      Signed-off-by: Jamey Sharp's avatarJamey Sharp <jamey@minilop.net>
      Reviewed-by: default avatarTiago Vignatti <tiago.vignatti@nokia.com>
      Tested-by: Tiago Vignatti <tiago.vignatti@nokia.com> (i686 GNU/Linux)
      e7fae9ec
  6. 21 Apr, 2010 1 commit
  7. 19 Apr, 2010 1 commit
  8. 04 Apr, 2009 1 commit
  9. 03 Apr, 2009 3 commits
  10. 22 Jan, 2009 1 commit
  11. 03 Dec, 2008 1 commit
    • Paulo Cesar Pereira de Andrade's avatar
      Rework symbol visibility for easier maintenance · 49f77fff
      Paulo Cesar Pereira de Andrade authored
        Save in a few special cases, _X_EXPORT should not be used in C source
      files. Instead, it should be used in headers, and the proper C source
      include that header. Some special cases are symbols that need to be
      shared between modules, but not expected to be used by external drivers,
      and symbols that are accessible via LoaderSymbol/dlopen.
      
        This patch also adds conditionally some new sdk header files, depending
      on extensions enabled. These files were added to match pattern for
      other extensions/modules, that is, have the headers "deciding" symbol
      visibility in the sdk. These headers are:
      o Xext/panoramiXsrv.h, Xext/panoramiX.h
      o fbpict.h (unconditionally)
      o vidmodeproc.h
      o mioverlay.h (unconditionally, used only by xaa)
      o xfixes.h (unconditionally, symbols required by dri2)
      
        LoaderSymbol and similar functions now don't have different prototypes,
      in loaderProcs.h and xf86Module.h, so that both headers can be included,
      without the need of defining IN_LOADER.
      
        xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
      not exported (and with a comment about it).
      49f77fff
  12. 04 Nov, 2008 2 commits
  13. 03 Oct, 2008 1 commit
  14. 20 Aug, 2008 1 commit
  15. 04 Aug, 2008 1 commit
  16. 31 Jul, 2008 1 commit
  17. 24 Jul, 2008 4 commits
  18. 18 Jul, 2008 1 commit
  19. 16 Jul, 2008 1 commit
  20. 14 May, 2008 1 commit
  21. 25 Apr, 2008 1 commit
  22. 18 Apr, 2008 4 commits
  23. 28 Mar, 2008 1 commit
  24. 05 Nov, 2007 1 commit
  25. 25 Mar, 2007 1 commit
  26. 18 Dec, 2006 1 commit
  27. 29 Nov, 2006 1 commit
  28. 21 Jul, 2006 1 commit
  29. 07 Jun, 2006 1 commit
  30. 01 Jun, 2006 1 commit