Bug 3021 - Requests and Errors for XFixes are not in XErrorDB
Summary: Requests and Errors for XFixes are not in XErrorDB
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/other (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) FreeBSD
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1690
  Show dependency treegraph
 
Reported: 2005-04-13 14:47 UTC by Jonathan Lennox
Modified: 2005-10-08 22:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jonathan Lennox 2005-04-13 14:47:12 UTC
(This is X.Org 6.8.2, but it looks like XFixes bugs are supposed to be reported
in the xlibs product.)

When an XFixes request generates an error, the resulting error message (either
from _XDefaultError or from XGetErrorText in a custom handler) doesn't print the
error or request names.

This appears to be because no XFIXES entries in /usr/X11R6/lib/X11/XErrorDB.

If I'm correct, the additional lines should look something like this (not tested):

----------------------------
! XFIXES extension
XRequest.XFIXES.0: XFixesQueryVersion
XRequest.XFIXES.1: XFixesChangeSaveSet
XRequest.XFIXES.2: XFixesSelectSelectionInput
XRequest.XFIXES.3: XFixesSelectCursorInput
XRequest.XFIXES.4: XFixesGetCursorImage
XRequest.XFIXES.5: XFixesCreateRegion
XRequest.XFIXES.6: XFixesCreateRegionFromBitmap
XRequest.XFIXES.7: XFixesCreateRegionFromWindow
XRequest.XFIXES.8: XFixesCreateRegionFromGC
XRequest.XFIXES.9: XFixesCreateRegionFromPicture
XRequest.XFIXES.10: XFixesDestroyRegion
XRequest.XFIXES.11: XFixesSetRegion
XRequest.XFIXES.12: XFixesCopyRegion
XRequest.XFIXES.13: XFixesUnionRegion
XRequest.XFIXES.14: XFixesIntersectRegion
XRequest.XFIXES.15: XFixesSubtractRegion
XRequest.XFIXES.16: XFixesInvertRegion
XRequest.XFIXES.17: XFixesTranslateRegion
XRequest.XFIXES.18: XFixesRegionExtents
XRequest.XFIXES.19: XFixesFetchRegion
XRequest.XFIXES.20: XFixesSetGCClipRegion
XRequest.XFIXES.21: XFixesSetWindowShapeRegion
XRequest.XFIXES.22: XFixesSetPictureClipRegion
XRequest.XFIXES.23: XFixesSetCursorName
XRequest.XFIXES.24: XFixesGetCursorName
XRequest.XFIXES.25: XFixesGetCursorImageAndName
XRequest.XFIXES.26: XFixesChangeCursor
XRequest.XFIXES.27: XFixesChangeCursorByName
XRequest.XFIXES.28: XFixesExpandRegion
XProtoError.XFIXES.0: BadRegion (invalid Region parameter)
XlibMessage.XFIXES.0: Region id in failed request:  0x%lx
----------------------------

The XDamage extension may need similar work.
Comment 1 Alan Coopersmith 2005-10-09 15:30:31 UTC
Committed to CVS head - should be included in Xorg 6.9 RC1.  Thanks!

CVSROOT:	/cvs/xorg
Module name:	xc
Changes by:	alanc@gabe.freedesktop.org	05/10/09 15:28:39

Log message:
  2005-10-09  Alan Coopersmith  <alan.coopersmith@sun.com>
  
  	* lib/X11/XErrorDB:
  	Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021>
  	Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox)

Modified files:
      ./:
        ChangeLog 
      xc/lib/X11/:
        XErrorDB 
  
  Revision      Changes    Path
  1.1413        +6 -0      xc/ChangeLog
  http://cvs.freedesktop.org/xorg/xc/ChangeLog
  1.3           +34 -0     xc/lib/X11/XErrorDB
  http://cvs.freedesktop.org/xorg/xc/lib/X11/XErrorDB



Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.