diff options
Diffstat (limited to 'specs/appD')
-rw-r--r-- | specs/appD | 602 |
1 files changed, 602 insertions, 0 deletions
diff --git a/specs/appD b/specs/appD new file mode 100644 index 0000000..5322ff9 --- /dev/null +++ b/specs/appD @@ -0,0 +1,602 @@ +.\" $Xorg: appD,v 1.3 2000/08/17 19:42:48 cpqbld Exp $ +.\" Copyright \(co 1985, 1986, 1987, 1988, 1991, 1994 +.\" X Consortium +.\" +.\" Permission is hereby granted, free of charge, to any person obtaining +.\" a copy of this software and associated documentation files (the +.\" "Software"), to deal in the Software without restriction, including +.\" without limitation the rights to use, copy, modify, merge, publish, +.\" distribute, sublicense, and/or sell copies of the Software, and to +.\" permit persons to whom the Software is furnished to do so, subject to +.\" the following conditions: +.\" +.\" The above copyright notice and this permission notice shall be included +.\" in all copies or substantial portions of the Software. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR +.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +.\" OTHER DEALINGS IN THE SOFTWARE. +.\" +.\" Except as contained in this notice, the name of the X Consortium shall +.\" not be used in advertising or otherwise to promote the sale, use or +.\" other dealings in this Software without prior written authorization +.\" from the X Consortium. +.\" +.\" Copyright \(co 1985, 1986, 1987, 1988, 1991, 1994 +.\" Digital Equipment Corporation, Maynard, Massachusetts. +.\" +.\" Permission to use, copy, modify and distribute this documentation for any +.\" purpose and without fee is hereby granted, provided that the above copyright +.\" notice appears in all copies and that both that copyright notice and this +.\" permission notice appear in supporting documentation, and that the name of +.\" Digital not be used in in advertising or publicity pertaining +.\" to distribution of the software without specific, written prior permission. +.\" Digital makes no representations about the suitability of the +.\" software described herein for any purpose. +.\" It is provided ``as is'' without express or implied warranty. +.\" +.bp +\& +.sp 1 +.ce 3 +\s+1\fBAppendix D\fP\s-1 + +\s+1\fBIntrinsics Error Messages\fP\s-1 +.sp 2 +.LP +.XS +\fBAppendix D \(em Intrinsics Error Messages\fP +.XE +.LP +All \*(xI errors and warnings have class +``XtToolkitError''. +The following two tables summarize the common errors and warnings that can be +generated by the \*(xI. +Additional implementation-dependent messages are permitted. +.SH +Error Messages +.LP +.ps 9 +.nr PS 9 +.TS +lw(1.3i) lw(1.4i) lw(2.9i). +_ +.sp 6p +Name Type Default Message +.sp 6p +_ +.sp 6p +allocError calloc T{ +Cannot perform calloc +T} +allocError malloc T{ +Cannot perform malloc +T} +allocError realloc T{ +Cannot perform realloc +T} +internalError xtMakeGeometryRequest T{ +internal error; ShellClassExtension is NULL +T} +invalidArgCount xtGetValues T{ +Argument count > 0 on NULL argument list in XtGetValues +T} +invalidArgCount xtSetValues T{ +Argument count > 0 on NULL argument list in XtSetValues +T} +invalidClass applicationShellInsertChild T{ +ApplicationShell does not accept RectObj children; ignored +T} +invalidClass constraintSetValue T{ +Subclass of Constraint required in CallConstraintSetValues +T} +invalidClass xtAppCreateShell T{ +XtAppCreateShell requires non-NULL widget class +T} +invalidClass xtCreatePopupShell T{ +XtCreatePopupShell requires non-NULL widget class +T} +invalidClass xtCreateWidget T{ +XtCreateWidget requires non-NULL widget class +T} +invalidClass xtPopdown T{ +XtPopdown requires a subclass of shellWidgetClass +T} +invalidClass xtPopup T{ +XtPopup requires a subclass of shellWidgetClass +T} +invalidDimension xtCreateWindow T{ +Widget %s has zero width and/or height +T} +invalidDimension shellRealize T{ +Shell widget %s has zero width and/or height +T} +invalidDisplay xtInitialize T{ +Can't open display: %s +T} +invalidGetValues xtGetValues T{ +NULL ArgVal in XtGetValues +T} +invalidExtension shellClassPartInitialize T{ +widget class %s has invalid ShellClassExtension record +T} +invalidExtension xtMakeGeometryRequest T{ +widget class %s has invalid ShellClassExtension record +T} +invalidGeometryManager xtMakeGeometryRequest T{ +XtMakeGeometryRequest - parent has no geometry manager +T} +invalidParameter xtAddInput T{ +invalid condition passed to XtAddInput +T} +invalidParameter xtAddInput T{ +invalid condition passed to XtAppAddInput +T} +invalidParent xtChangeManagedSet T{ +Attempt to manage a child when parent is not Composite +T} +invalidParent xtChangeManagedSet T{ +Attempt to unmanage a child when parent is not Composite +T} +invalidParent xtCreatePopupShell T{ +XtCreatePopupShell requires non-NULL parent +T} +invalidParent xtCreateWidget T{ +XtCreateWidget requires non-NULL parent +T} +invalidParent xtMakeGeometryRequest T{ +non-shell has no parent in XtMakeGeometryRequest +T} +invalidParent xtMakeGeometryRequest T{ +XtMakeGeometryRequest - parent not composite +T} +invalidParent xtManageChildren T{ +Attempt to manage a child when parent is not Composite +T} +invalidParent xtUnmanageChildren T{ +Attempt to unmanage a child when parent is not Composite +T} +invalidProcedure inheritanceProc T{ +Unresolved inheritance operation +T} +invalidProcedure realizeProc T{ +No realize class procedure defined +T} +invalidWindow eventHandler T{ +Event with wrong window +T} +missingWidget fetchDisplayArg T{ +FetchDisplayArg called without a widget to reference +T} +nonWidget xtCreateWidget T{ +attempt to add non-widget child "%s" to parent "%s" which supports only widgets +T} +noPerDisplay closeDisplay T{ +Couldn't find per display information +T} +noPerDisplay getPerDisplay T{ +Couldn't find per display information +T} +noSelectionProperties freeSelectionProperty T{ +internal error: no selection property context for display +T} +noWidgetAncestor windowedAncestor T{ +Object "%s" does not have windowed ancestor +T} +nullDisplay xtRegisterExtensionSelector T{ +XtRegisterExtensionSelector requires a non-NULL display +T} +nullProc insertChild T{ +"%s" parent has NULL insert_child method +T} +r2versionMismatch widget T{ +Widget class %s must be re-compiled. +T} +R3versionMismatch widget T{ +Widget class %s must be re-compiled. +T} +R4orR5versionMismatch widget T{ +Widget class %s must be re-compiled. +T} +rangeError xtRegisterExtensionSelector T{ +Attempt to register multiple selectors for one extension event type +T} +sessionManagement SmcOpenConnection T{ +Tried to connect to session manager, %s +T} +subclassMismatch xtCheckSubclass T{ +Widget class %s found when subclass of %s expected: %s +T} +.sp 6p +_ +.TE +.ps 11 +.nr PS 11 +.SH +Warning Messages +.LP +.ps 9 +.nr PS 9 +.TS +lw(1.3i) lw(1.4i) lw(2.9i). +_ +.sp 6p +Name Type Default Message +.sp 6p +_ +.sp 6p +ambiguousParent xtChangeManagedSet T{ +Not all children have same parent +T} +ambiguousParent xtManageChildren T{ +Not all children have same parent in XtManageChildren +T} +ambiguousParent xtUnmanageChildren T{ +Not all children have same parent in XtUnmanageChildren +T} +badFormat xtGetSelectionValue T{ +Selection owner returned type INCR property with format != 32 +T} +badGeometry shellRealize T{ +Shell widget "%s" has an invalid geometry specification: "%s" +T} +badValue cvtStringToPixel T{ +Color name "%s" is not defined +T} +communicationError select T{ +Select failed; error code %s +T} +conversionError string T{ +Cannot convert string "%s" to type %s +T} +conversionError stringToVisual T{ +Cannot find Visual of class %s for display %s +T} +conversionFailed xtConvertVarToArgList T{ +Type conversion failed +T} +conversionFailed xtGetTypedArg T{ +Type conversion (%s to %s) failed for widget '%s' +T} +displayError invalidDisplay T{ +Can't find display structure +T} +grabError xtAddGrab T{ +XtAddGrab requires exclusive grab if spring_loaded is TRUE +T} +grabError xtRemoveGrab T{ +XtRemoveGrab asked to remove a widget not on the list +T} +.TE +.TS +lw(1.3i) lw(1.4i) lw(2.9i). +initializationError xtInitialize T{ +Initializing Resource Lists twice +T} +insufficientSpace xtGetTypedArg T{ +Insufficient space for converted type '%s' in widget '%s' +T} +internalError shell T{ +Shell's window manager interaction is broken +T} +invalidAddressMode computeArgs T{ +Conversion arguments for widget '%s' contain an unsupported address mode +T} +invalidArgCount getResources T{ +argument count > 0 on NULL argument list +T} +invalidCallbackList xtAddCallback T{ +Cannot find callback list in XtAddCallback +T} +invalidCallbackList xtAddCallback T{ +Cannot find callback list in XtAddCallbacks +T} +invalidCallbackList xtCallCallback T{ +Cannot find callback list in XtCallCallbacks +T} +invalidCallbackList xtRemoveAllCallback T{ +Cannot find callback list in XtRemoveAllCallbacks +T} +invalidCallbackList xtRemoveCallback T{ +Cannot find callback list in XtRemoveCallbacks +T} +invalidChild xtChangeManagedSet T{ +Null child passed to UnmanageChildren +T} +invalidChild xtManageChildren T{ +null child passed to ManageChildren +T} +invalidChild xtManageChildren T{ +null child passed to XtManageChildren +T} +invalidChild xtUnmanageChildren T{ +Null child passed to XtUnmanageChildren +T} +invalidChild xtUnmanageChildren T{ +Null child found in argument list to unmanage +T} +invalidDepth setValues T{ +Can't change widget depth +T} +invalidExtension xtCreateWidget T{ +widget "%s" class %s has invalid CompositeClassExtension record +T} +invalidExtension xtCreateWidget T{ +widget class %s has invalid ConstraintClassExtension record +T} +invalidGrab ungrabKeyOrButton T{ +Attempt to remove nonexistent passive grab +T} +invalidGrabKind xtPopup T{ +grab kind argument has invalid value; XtGrabNone assumed +T} +invalidParameters freeTranslations T{ +Freeing XtTranslations requires no extra arguments +T} +invalidParameters mergeTranslations T{ +MergeTM to TranslationTable needs no extra arguments +T} +invalidParameters xtMenuPopdown T{ +XtMenuPopdown called with num_params != 0 or 1 +T} +invalidParameters xtMenuPopupAction T{ +MenuPopup wants exactly one argument +T} +invalidParent xtCopyFromParent T{ +CopyFromParent must have non-NULL parent +T} +invalidPopup xtMenuPopup T{ +Can't find popup widget "%s" in XtMenuPopup +T} +invalidPopup xtMenuPopdown T{ +Can't find popup in widget "%s" in XtMenuPopdown +T} +invalidPopup unsupportedOperation T{ +Pop-up menu creation is only supported on ButtonPress, KeyPress or EnterNotify events. +T} +invalidPopup unsupportedOperation T{ +Pop-up menu creation is only supported on Button, Key or EnterNotify events. +T} +invalidProcedure deleteChild T{ +null delete_child procedure for class %s in XtDestroy +T} +invalidProcedure inputHandler T{ +XtRemoveInput: Input handler not found +T} +invalidProcedure set_values_almost T{ +set_values_almost procedure shouldn't be NULL +T} +invalidResourceCount getResources T{ +resource count > 0 on NULL resource list +T} +invalidResourceName computeArgs T{ +Cannot find resource name %s as argument to conversion +T} +invalidShell xtTranslateCoords T{ +Widget has no shell ancestor +T} +invalidSizeOverride xtDependencies T{ +Representation size %d must match superclass's to override %s +T} +missingCharsetList cvtStringToFontSet T{ +Missing charsets in String to FontSet conversion +T} +noActionProc xtCallActionProc T{ +No action proc named "%s" is registered for widget "%s" +T} +noColormap cvtStringToPixel T{ +Cannot allocate colormap entry for "%s" +T} +noFont cvtStringToFont T{ +Unable to load any usable ISO8859-1 font +T} +noFont cvtStringToFontSet T{ +Unable to load any usable fontset +T} +noFont cvtStringToFontStruct T{ +Unable to load any usable ISO8859-1 font +T} +.TE +.TS +lw(1.3i) lw(1.4i) lw(2.9i). +notInConvertSelection xtGetSelectionRequest T{ +XtGetSelectionRequest or XtGetSelectionParameters called for widget "%s" outside of ConvertSelection proc +T} +notRectObj xtChangeManagedSet T{ +child "%s", class %s is not a RectObj +T} +notRectObj xtManageChildren T{ +child "%s", class %s is not a RectObj +T} +nullWidget xtConvertVarToArgList T{ +XtVaTypedArg conversion needs non-NULL widget handle +T} +r3versionMismatch widget T{ +Shell Widget class %s binary compiled for R3 +T} +translationError nullTable T{ +Can't remove accelerators from NULL table +T} +translationError nullTable T{ +Tried to remove nonexistent accelerators +T} +translationError ambiguousActions T{ +Overriding earlier translation manager actions. +T} +translationError newActions T{ +New actions are:%s +T} +translationError nullTable T{ +table to (un)merge must not be null +T} +translationError nullTable T{ +Can't translate event through NULL table +T} +translationError oldActions T{ +Previous entry was: %s %s +T} +translationError unboundActions T{ +Actions not found: %s +T} +translationError xtTranslateInitialize T{ +Initializing Translation manager twice. +T} +translationParseError missingComma T{ + ... possibly due to missing ',' in event sequence. +T} +translationParseError nonLatin1 T{ + ... probably due to non-Latin1 character in quoted string +T} +translationParseError parseError T{ +translation table syntax error: %s +T} +translationParseError parseString T{ +Missing '"'. +T} +translationParseError showLine T{ + ... found while parsing '%s' +T} +typeConversionError noConverter T{ +No type converter registered for '%s' to '%s' conversion. +T} +unknownType xtConvertVarToArgList T{ +Unable to find type of resource for conversion +T} +unknownType xtGetTypedArg T{ +Unable to find type of resource for conversion +T} +versionMismatch widget T{ +Widget class %s version mismatch (recompilation needed):\\n widget %d vs. intrinsics %d. +T} +wrongParameters cvtIntOrPixelToXColor T{ +Pixel to color conversion needs screen and colormap arguments +T} +wrongParameters cvtIntToBool T{ +Integer to Bool conversion needs no extra arguments +T} +wrongParameters cvtIntToBoolean T{ +Integer to Boolean conversion needs no extra arguments +T} +wrongParameters cvtIntToFloat T{ +Integer to Float conversion needs no extra arguments +T} +wrongParameters cvtIntToFont T{ +Integer to Font conversion needs no extra arguments +T} +wrongParameters cvtIntToPixel T{ +Integer to Pixel conversion needs no extra arguments +T} +wrongParameters cvtIntToPixmap T{ +Integer to Pixmap conversion needs no extra arguments +T} +wrongParameters cvtIntToShort T{ +Integer to Short conversion needs no extra arguments +T} +wrongParameters cvtIntToUnsignedChar T{ +Integer to UnsignedChar conversion needs no extra arguments +T} +wrongParameters cvtStringToAcceleratorTable T{ +String to AcceleratorTable conversion needs no extra arguments +T} +wrongParameters cvtStringToAtom T{ +String to Atom conversion needs Display argument +T} +wrongParameters cvtStringToBool T{ +String to Bool conversion needs no extra arguments +T} +wrongParameters cvtStringToBoolean T{ +String to Boolean conversion needs no extra arguments +T} +wrongParameters cvtStringToCommandArgArray T{ +String to CommandArgArray conversion needs no extra arguments +T} +wrongParameters cvtStringToCursor T{ +String to cursor conversion needs display argument +T} +wrongParameters cvtStringToDimension T{ +String to Dimension conversion needs no extra arguments +T} +wrongParameters cvtStringToDirectoryString T{ +String to DirectoryString conversion needs no extra arguments +T} +.TE +.TS +lw(1.3i) lw(1.4i) lw(2.9i). +wrongParameters cvtStringToDisplay T{ +String to Display conversion needs no extra arguments +T} +wrongParameters cvtStringToFile T{ +String to File conversion needs no extra arguments +T} +wrongParameters cvtStringToFloat T{ +String to Float conversion needs no extra arguments +T} +wrongParameters cvtStringToFont T{ +String to font conversion needs display argument +T} +wrongParameters cvtStringToFontSet T{ +String to FontSet conversion needs display and locale arguments +T} +wrongParameters cvtStringToFontStruct T{ +String to font conversion needs display argument +T} +wrongParameters cvtStringToGravity T{ +String to Gravity conversion needs no extra arguments +T} +wrongParameters cvtStringToInitialState T{ +String to InitialState conversion needs no extra arguments +T} +wrongParameters cvtStringToInt T{ +String to Integer conversion needs no extra arguments +T} +wrongParameters cvtStringToPixel T{ +String to pixel conversion needs screen and colormap arguments +T} +wrongParameters cvtStringToRestartStyle T{ +String to RestartStyle conversion needs no extra arguments +T} +wrongParameters cvtStringToShort T{ +String to Integer conversion needs no extra arguments +T} +wrongParameters cvtStringToTranslationTable T{ +String to TranslationTable conversion needs no extra arguments +T} +wrongParameters cvtStringToUnsignedChar T{ +String to Integer conversion needs no extra arguments +T} +wrongParameters cvtStringToVisual T{ +String to Visual conversion needs screen and depth arguments +T} +wrongParameters cvtXColorToPixel T{ +Color to Pixel conversion needs no extra arguments +T} +wrongParameters freeCursor T{ +Free Cursor requires display argument +T} +wrongParameters freeDirectoryString T{ +Free Directory String requires no extra arguments +T} +wrongParameters freeFile T{ +Free File requires no extra arguments +T} +wrongParameters freeFont T{ +Free Font needs display argument +T} +wrongParameters freeFontSet T{ +FreeFontSet needs display and locale arguments +T} +wrongParameters freeFontStruct T{ +Free FontStruct requires display argument +T} +wrongParameters freePixel T{ +Freeing a pixel requires screen and colormap arguments +T} +.sp 6p +_ +.TE +.ps 11 +.nr PS 11 |