1. 21 Apr, 2015 1 commit
  2. 30 Apr, 2013 1 commit
  3. 22 Jun, 2012 1 commit
  4. 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: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Acked-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9838b703
  5. 23 Nov, 2011 1 commit
  6. 23 Feb, 2011 1 commit
  7. 07 Dec, 2010 1 commit
  8. 12 May, 2010 1 commit
  9. 19 Apr, 2010 1 commit
  10. 31 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. 30 Nov, 2008 1 commit
    • Paulo Cesar Pereira de Andrade's avatar
      Export symbols defined in the sdk. · d6cbd451
      Paulo Cesar Pereira de Andrade authored
        This is the biggest "visibility" patch. Instead of doing a "export"
      symbol on demand, export everything in the sdk, so that if some module
      fails due to an unresolved symbol, it is because it is using a symbol
      not in the sdk.
      
        Most exported symbols shouldn't really be made visible, neither
      advertised in the sdk, as they are only used by a single shared object.
      
        Symbols in the sdk (or referenced in sdk macros), but not defined
      anywhere include:
      XkbBuildCoreState()
      XkbInitialMap
      XkbXIUnsupported
      XkbCheckActionVMods()
      XkbSendCompatNotify()
      XkbDDXFakePointerButton()
      XkbDDXApplyConfig()
      _XkbStrCaseCmp()
      _XkbErrMessages[]
      _XkbErrCode
      _XkbErrLocation
      _XkbErrData
      XkbAccessXDetailText()
      XkbNKNDetailMaskText()
      XkbLookupGroupAndLevel()
      XkbInitAtoms()
      XkbGetOrderedDrawables()
      XkbFreeOrderedDrawables()
      XkbConvertXkbComponents()
      XkbWriteXKBSemantics()
      XkbWriteXKBLayout()
      XkbWriteXKBKeymap()
      XkbWriteXKBFile()
      XkbWriteCFile()
      XkbWriteXKMFile()
      XkbWriteToServer()
      XkbMergeFile()
      XkmFindTOCEntry()
      XkmReadFileSection()
      XkmReadFileSectionName()
      InitExtInput()
      xf86CheckButton()
      xf86SwitchCoreDevice()
      RamDacSetGamma()
      RamDacRestoreDACValues()
      xf86Bpp
      xf86ConfigPix24
      xf86MouseCflags[]
      xf86SupportedMouseTypes[]
      xf86NumMouseTypes
      xf86ChangeBusIndex()
      xf86EntityEnter()
      xf86EntityLeave()
      xf86WrapperInit()
      xf86RingBell()
      xf86findOptionBoolean()
      xf86debugListOptions()
      LoadSubModuleLocal()
      LoaderSymbolLocal()
      getInt10Rec()
      xf86CurrentScreen
      xf86ReallocatePciResources()
      xf86NewSerialNumber()
      xf86RandRSetInitialMode()
      fbCompositeSolidMask_nx1xn
      fbCompositeSolidMask_nx8888x0565C
      fbCompositeSolidMask_nx8888x8888C
      fbCompositeSolidMask_nx8x0565
      fbCompositeSolidMask_nx8x0888
      fbCompositeSolidMask_nx8x8888
      fbCompositeSrc_0565x0565
      fbCompositeSrc_8888x0565
      fbCompositeSrc_8888x0888
      fbCompositeSrc_8888x8888
      fbCompositeSrcAdd_1000x1000
      fbCompositeSrcAdd_8000x8000
      fbCompositeSrcAdd_8888x8888
      fbGeneration
      fbIn
      fbOver
      fbOver24
      fbOverlayGeneration
      fbRasterizeEdges
      fbRestoreAreas
      fbSaveAreas
      composeFunctions
      VBEBuildVbeModeList()
      VBECalcVbeModeIndex()
      TIramdac3030CalculateMNPForClock()
      shadowBufPtr
      shadowFindBuf()
      miRRGetScreenInfo()
      RRSetScreenConfig()
      RRModePruneUnused()
      PixmanImageFromPicture()
      extern int miPointerGetMotionEvents()
      miClipPicture()
      miRasterizeTriangle()
      fbPush1toN()
      fbInitializeBackingStore()
      ddxBeforeReset()
      SetupSprite()
      InitSprite()
      DGADeliverEvent()
      
        SPECIAL CASES
      o defined as _X_INTERNAL
      	xf86NewInputDevice()
      o defined as static
      	fbGCPrivateKey
      	fbOverlayScreenPrivateKey
      	fbScreenPrivateKey
      	fbWinPrivateKey
      o defined in libXfont.so, but declared in xorg/dixfont.h
      	GetGlyphs()
      	QueryGlyphExtents()
      	QueryTextExtents()
      	ParseGlyphCachingMode()
      	InitGlyphCaching()
      	SetGlyphCachingMode()
      d6cbd451
  13. 24 Nov, 2008 1 commit
  14. 08 Aug, 2007 1 commit
  15. 07 Aug, 2007 1 commit
  16. 25 Jul, 2007 1 commit
  17. 23 Jul, 2007 1 commit
  18. 24 Mar, 2007 1 commit
    • Keith Packard's avatar
      Make pending properties force mode set. And, remove AttachScreen calls. · 804080a7
      Keith Packard authored
      Yes, two changes in one commit. Sorry 'bout that.
      
      The first change ensures that when pending property values have been
      changed, a mode set to the current mode will actually do something, rather
      than being identified as a no-op. In addition, the driver no longer needs to
      manage the migration of pending to current values, that is handled both
      within the xf86 mode setting code (to deal with non-RandR changes) as well
      as within the RandR extension itself.
      
      The second change eliminates the two-call Create/AttachScreen stuff that was
      done in a failed attempt to create RandR resources before the screen
      structures were allocated. Merging these back into the Create function is
      cleaner.
      (cherry picked from commit 57e87e0d)
      
      Conflicts:
      
      	randr/randrstr.h
      	randr/rrcrtc.c
      
      I think master and server-1.3-branch are more in sync now.
      804080a7
  19. 18 Mar, 2007 1 commit
    • Keith Packard's avatar
      Add support for user-defined modelines in RandR. · 2c93083e
      Keith Packard authored
      The RandR protocol spec has several requests in support of user-defined
      modes, but the implementation was stubbed out inside the X server. Fill out
      the DIX portion and start on the xf86 DDX portion. It might be necessary to
      add more code to the DDX to insert the user-defined modes into the output
      mode list.
      (cherry picked from commit 63cc2a51)
      
      Conflicts:
      
      	randr/randrstr.h
      
      Updated code to work in master with recent security API changes.
      2c93083e
  20. 01 Jan, 2007 1 commit
    • Keith Packard's avatar
      Use RRScreenSetSizeRange in 1.0 compat. Check RRGetInfo for error. · e79602fc
      Keith Packard authored
      The RRScreenSizeSetRange function is used externally for 1.2 API drivers,
      but can also be used in the 1.0 compatibility code. This also ensures that
      the right changed bits are set so that clients are correctly notified when
      the range changes.
      
      RRGetInfo can return an error, use that to return BadAlloc to clients
      instead of blindly going on with various requests.
      (cherry picked from f05dd384 commit)
      e79602fc
  21. 15 Dec, 2006 1 commit
  22. 09 Nov, 2006 1 commit
    • Keith Packard's avatar
      Allow RandR objects to be created before the associated ScreenRec. · ec77a95a
      Keith Packard authored
      xf86 drivers need to create RandR object in the PreInit stage,
      before the ScreenRec is allocated. Changing the RandR DIX code
      to permit this required the addition of functions that later associate the
      objects with the related screen.
      
      An additional change is that modes are now global, and no longer associated
      with a specific screen. This change actually makes mode management cleaner
      as there is no more per-screen list of modes to deal with.
      
      This changes the RandR 1.2 ABI/API for drivers.
      ec77a95a
  23. 01 Nov, 2006 1 commit
  24. 04 Oct, 2006 1 commit
  25. 21 Sep, 2006 1 commit
    • Keith Packard's avatar
      Steal Xinerama code from SiS driver. Add missing files. · 219546fd
      Keith Packard authored
      Provide a Xinerama implementation when DIX version isn't enabled. This
      version exposes each crtc as a separate 'screen' and reports the size of
      that patch. The extension also sends ConfigureNotify events to the root
      window whenever crtcs change so that applications will re-fetch xinerama
      information. This actually works for metacity.
      219546fd