1. 30 Mar, 2021 1 commit
  2. 21 Apr, 2015 1 commit
  3. 12 Nov, 2014 1 commit
  4. 18 Apr, 2014 1 commit
  5. 05 Nov, 2012 1 commit
  6. 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
  7. 15 Jul, 2011 1 commit
    • Daniel Stone's avatar
      XKB: Work around broken interps from old xkbcomp · 82f5521a
      Daniel Stone authored and Peter Hutterer's avatar Peter Hutterer committed
      
      
      Bugfix for broken xkbcomp: if we encounter an XFree86Private action with
      Any+AnyOfOrNone(All), then we skip the interp as broken.  Versions of
      xkbcomp below 1.2.2 had a bug where they would interpret a symbol that
      couldn't be found in an interpret as Any.  So, an
      XF86LogWindowTree+AnyOfOrNone(All) interp that triggered the PrWins
      action would make every key without an action trigger PrWins if libX11
      didn't yet know about the XF86LogWindowTree keysym.  None too useful.
      
      We only do this for XFree86 actions, as the current XKB dataset relies
      on Any+AnyOfOrNone(All) -> SetMods for Ctrl in particular.
      
      See xkbcomp commits 2a473b906943ffd807ad81960c47530ee7ae9a60 and
      3caab5aa37decb7b5dc1642a0452efc3e1f5100e for more details.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      82f5521a
  8. 15 Feb, 2011 1 commit
  9. 01 Sep, 2010 2 commits
  10. 06 Jun, 2010 1 commit
  11. 12 May, 2010 1 commit
  12. 02 Feb, 2010 2 commits
  13. 15 Jul, 2009 1 commit
  14. 10 Jul, 2009 1 commit
    • Peter Hutterer's avatar
      Revert "XKB: Sanitise * actions" commits (#19602) · 3711d68f
      Peter Hutterer authored
      Reverts the following four patches:
      
      feb757f3 "XKB: Sanitise vmods for redirected keys"
      b5f49382 "XKB: Sanitise ctrls action"
      1bd7fd19 "XKB: Sanitise pointer actions"
      61c508fa "XKB: Sanitise vmods in actions"
      
      Strictly speaking, the structs used in the server are not part of the client
      ABI. Practically, they are as we copy from the wire straight into the
      structs. Changing the struct sizes breaks various wire/server conversions.
      
      Even when the structs have the same size, some internal magic causes
      conversions to fail. Visible by diffing the output files of:
      setxkbmap -layout de; xkbcomp -xkb :0 busted.xkb
      setxkbmap -layout de -print | xkbcomp -xkb - correct.xkb
      
      Interestingly enough, busted.xkb is the working one although the output is
      incorrect. Revert the four offending patches until the exact cause of this
      breakage can be determined.
      
      This patch restores functionality to Level3 modifiers.
      
      X.Org Bug 19602 <http://bugs.freedesktop.org/show_bug.cgi?id=19602
      
      >
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      3711d68f
  15. 08 May, 2009 1 commit
  16. 03 Feb, 2009 1 commit
  17. 22 Jan, 2009 5 commits
  18. 12 Dec, 2008 1 commit
    • Peter Hutterer's avatar
      Remove #define NEED_EVENTS and NEED_REPLIES · cb95642d
      Peter Hutterer authored and Peter Hutterer's avatar Peter Hutterer committed
      
      
      A grep on xorg/* revealed there's no consumer of this define.
      
      Quote Alan Coopersmith:
      "The consumer was in past versions of the headers now located
      in proto/x11proto - for instance, in X11R6.0's xc/include/Xproto.h,
      all the event definitions were only available if NEED_EVENTS were
      defined, and all the reply definitions required NEED_REPLIES.
      
      Looks like Xproto.h dropped them by X11R6.3, which didn't have
      the #ifdef's anymore, so these are truly ancient now."
      Signed-off-by: default avatarPeter Hutterer <peter.hutterer@redhat.com>
      Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
      cb95642d
  19. 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
  20. 30 Nov, 2008 2 commits
    • Paulo Cesar Pereira de Andrade's avatar
      Correct static symbol XkmReadTOC and first pass on compile warning fixes. · 16b11cd0
      Paulo Cesar Pereira de Andrade authored
        The warnings corrected were only the ones that should correct
      real problems. The most common one is 64 bit integers as
      "printf %l" arguments.
        Note that there is a patch related to this at:
      http://bugs.freedesktop.org/show_bug.cgi?id=18204
      16b11cd0
    • 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
  21. 17 Feb, 2008 4 commits
    • Daniel Stone's avatar
      XKB: Ditch XkbFileInfo · fbd77689
      Daniel Stone authored
      Sorry about the megacommit, but this touches on a lot of stuff.
      
      Get rid of XkbFileInfo, which was pretty seriously redundant, and move the
      only useful thing it had (defined) into XkbDescRec.  defined will be removed
      pretty soon anyway.  Is the compat map pointer non-NULL? Then you have a
      compat map, congratulations! Anyhow, I digress.
      
      All functions that took an XkbFileInfoPtr now take an XkbDescPtr, _except_
      XkmReadFile, which returns an XkbDescPtr *, because people want to deal in
      XkbDescPtrs, not XkbDescRecs.
      fbd77689
    • Daniel Stone's avatar
      XKB: Remove usage of client-side types · 13323439
      Daniel Stone authored
      Since we're no longer sharing with Xlib, don't pass Displays and XPointers
      everywhere.
      13323439
    • Daniel Stone's avatar
      XKB: Remove a bunch of mad ifdefs · 534fc514
      Daniel Stone authored
      We have SEEK_SET and size_t, seriously.  Also use DebugF instead of
      ifdef DEBUG, and ditch a couple of random bits that were never used.
      534fc514
    • Daniel Stone's avatar
      XKB: Move headers into the server tree · 68bd7ac1
      Daniel Stone authored
      We need to start breaking the XKB API to enforce sanity, so drag whichever
      headers we need to do so into the server tree, as the client API is set in
      stone, being part of Xlib.
      68bd7ac1
  22. 20 Mar, 2007 1 commit
    • Adam Jackson's avatar
      Static markup and dead code cull over xkb/. · 021fc5cb
      Adam Jackson authored
      The former <X11/extensions/XKBsrv.h> has been pulled into the server now as
      include/xkbsrv.h, and the world updated to look for it in the new place,
      since it made no sense to define server API in an extension header.  Any
      further work along this line will need to do similar things with XKBgeom.h
      and friends.
      021fc5cb
  23. 28 Jul, 2006 1 commit
  24. 21 Jul, 2006 1 commit
  25. 27 Mar, 2006 1 commit
  26. 03 Jul, 2005 2 commits
  27. 13 Jun, 2005 1 commit
  28. 23 Apr, 2004 1 commit
  29. 14 Mar, 2004 1 commit