Commit 91d06723 authored by Mike Gabriel's avatar Mike Gabriel

New helper script: regenerate-symbol-docs.sh. Plus update symbols usage of…

New helper script: regenerate-symbol-docs.sh. Plus update symbols usage of libNX_X11 and nxcompext in nxagent, nxcompext and libNX_X11.
parent 8c5a1b07
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
### as found in libX11 1.6.3 (20160315)
### as found in libNX_X11 (rebased against libX11 1.6.4) (20161115)
###
KeySymToUcs4
XActivateScreenSaver
XAddConnectionWatch
......@@ -39,6 +39,7 @@ XChangeProperty
XChangeSaveSet
XChangeWindowAttributes
XCheckIfEvent
XCheckIfEventNoFlush
XCheckMaskEvent
XCheckTypedEvent
XCheckTypedWindowEvent
......@@ -468,6 +469,10 @@ XWindowEvent
XWithdrawWindow
XWriteBitmapFile
XXorRegion
XauDisposeAuth
XauFileName
XauGetBestAuthByAddr
XauReadAuth
XcmsAddColorSpace
XcmsAddFunctionSet
XcmsAllocColor
......@@ -780,6 +785,31 @@ XwcTextListToTextProperty
XwcTextPerCharExtents
XwcTextPropertyToTextList
_Utf8GetConvByName
_X11TransBytesReadable
_X11TransClose
_X11TransCloseForCloning
_X11TransConnect
_X11TransConnectDisplay
_X11TransConvertAddress
_X11TransDisconnect
_X11TransFreeConnInfo
_X11TransGetConnectionNumber
_X11TransGetHostname
_X11TransGetMyAddr
_X11TransGetPeerAddr
_X11TransIsLocal
_X11TransOpenCOTSClient
_X11TransRead
_X11TransReadv
_X11TransSetOption
_X11TransSocketINET6Funcs
_X11TransSocketINETFuncs
_X11TransSocketLocalFuncs
_X11TransSocketProxyConnInfo
_X11TransSocketTCPFuncs
_X11TransSocketUNIXFuncs
_X11TransWrite
_X11TransWritev
_XAllocID
_XAllocIDs
_XAllocScratch
......@@ -787,18 +817,17 @@ _XAllocTemp
_XAsyncErrorHandler
_XCloseLC
_XColor_to_XcmsRGB
_XConnectXCB
_XConnectDisplay
_XCopyEventCookie
_XCopyToArg
_XCreateMutex_fn
_XData32
(arch=amd64 ia64 alpha ppc64 arm64)_XData32
_XDefaultError
_XDefaultIOError
_XDefaultOpenIM
_XDefaultOpenOM
_XDefaultWireError
_XDeq
_XDeqAsyncHandler
_XDisconnectDisplay
_XEatData
_XEatDataWords
_XEnq
......@@ -818,7 +847,6 @@ _XFreeEventCookies
_XFreeExtData
_XFreeMutex_fn
_XFreeTemp
_XFreeX11XCBStructure
_XGetAsyncData
_XGetAsyncReply
_XGetBitsPerPixel
......@@ -854,7 +882,7 @@ _XPollfdCacheInit
_XProcessInternalConnection
_XProcessWindowAttributes
_XPutBackEvent
_XRead32
(arch=amd64 ia64 alpha ppc64 arm64)_XRead32
_XRead
_XReadEvents
_XReadPad
......@@ -865,7 +893,9 @@ _XRegisterInternalConnection
_XReply
_XReverse_Bytes
_XScreenOfWindow
_XSelect
_XSend
_XSendClientPrefix
_XSetClipRectangles
_XSetImage
_XSetLastRequestRead
......@@ -1073,10 +1103,8 @@ _XimXTransDisconnect
_XimXTransFreeConnInfo
_XimXTransGetConnectionNumber
_XimXTransGetHostname
_XimXTransGetMyAddr
_XimXTransGetPeerAddr
_XimXTransIsLocal
_XimXTransOpenCLTSClient
_XimXTransOpenCOTSClient
_XimXTransRead
_XimXTransReadv
......@@ -1102,9 +1130,9 @@ _XkbInitReadBuffer
_XkbInternAtomFunc
_XkbNoteCoreMapChanges
_XkbPeekAtReadBuffer
_XkbReadBufferCopy32
(arch=amd64 ia64 alpha ppc64 arm64)_XkbReadBufferCopy32
_XkbReadBufferCopyKeySyms
_XkbReadCopyData32
(arch=amd64 ia64 alpha ppc64 arm64)_XkbReadCopyData32
_XkbReadCopyKeySyms
_XkbReadGetCompatMapReply
_XkbReadGetGeometryReply
......@@ -1113,7 +1141,7 @@ _XkbReadGetMapReply
_XkbReadGetNamesReply
_XkbReloadDpy
_XkbSkipReadBufferData
_XkbWriteCopyData32
(arch=amd64 ia64 alpha ppc64 arm64)_XkbWriteCopyData32
_XkbWriteCopyKeySyms
_XkeyTable
_XlcAddCT
......
AlphaCompressData
BitmapCompressData
CleanXYImage
CleanZImage
ColormapCompressData
CopyAndCleanImage
FindLSB
JpegCompressData
MaskImage
MaskInPlaceImage
NXAbortSplit
NXAllocColors
NXAllocSplit
NXAllocUnpack
NXCacheAddImage
NXCacheFindImage
NXCleanImage
NXCollectGrabPointer
NXCollectImage
NXCollectInputFocus
NXCollectProperty
NXCommitSplit
NXCreatePackedImage
NXCreatePalette16
NXCreatePalette32
NXDestroyPackedImage
NXDisplayCongestion
NXDisplayError
NXDisplayFlushable
NXDisplayReadable
NXEncodeAlpha
NXEncodeBitmap
NXEncodeColormap
NXEncodeColors
NXEncodeJpeg
NXEncodePng
NXEncodeRgb
NXEncodeRle
NXEndSplit
NXFinishSplit
NXFlushDisplay
NXForceDisplayError
NXFreeCache
NXFreeSplit
NXFreeUnpack
NXGetCollectGrabPointerResource
NXGetCollectImageResource
NXGetCollectInputFocusResource
NXGetCollectPropertyResource
NXGetCollectedGrabPointer
NXGetCollectedImage
NXGetCollectedInputFocus
NXGetCollectedProperty
NXGetControlParameters
NXGetFontParameters
NXGetShmemParameters
NXGetUnpackParameters
NXHandleDisplayError
NXImageCache
NXImageCacheHits
NXImageCacheOps
NXImageCacheSize
NXInPlacePackImage
NXInitCache
NXInitDisplay
NXMaskImage
NXPackImage
NXPutPackedImage
NXResetDisplay
NXSetCacheParameters
NXSetDisplayBlockHandler
NXSetDisplayBuffer
NXSetDisplayErrorPredicate
NXSetDisplayFlushHandler
NXSetDisplayPolicy
NXSetDisplayStatisticsHandler
NXSetDisplayWriteHandler
NXSetExposeParameters
NXSetLostSequenceHandler
NXSetUnpackAlpha
NXSetUnpackAlphaCompat
NXSetUnpackColormap
NXSetUnpackColormapCompat
NXSetUnpackGeometry
NXStartSplit
NXUnsetLibraryPath
PackImage
PngCompareColorTable
PngCompressData
RgbCompressData
RleCompressData
ZCompressData
ZInitEncoder
ZResetEncoder
_NXInternalInitEncoders
_NXInternalInitResources
_NXInternalResetEncoders
_NXInternalResetResources
color_type
info_ptr
palette
png_ptr
#!/bin/bash
# libNX_X11
SYMBOLS_FILE="doc/libNX_X11/symbols/libNX_X11::symbols.txt"
DOC_FILE="doc/libNX_X11/symbols/libNX_X11::symbol-usage_internally.txt"
echo "Scanning for libNX_X11 symbols: in libNX_X11 internally: $DOC_FILE"
cd nx-X11/lib/X11/
cat "../../../$SYMBOLS_FILE" | grep -v -E "^#" | while read symbol; do
echo
echo "#### $symbol ####"
grep -n $symbol *.{c,h} 2>/dev/null
done > "../../../$DOC_FILE"
cd - 1>/dev/null
DOC_FILE="doc/libNX_X11/symbols/libNX_X11::symbol-usage_nxagent.txt"
echo "Scanning for libNX_X11 symbols: in hw/nxagent: $DOC_FILE"
cd nx-X11/programs/Xserver/hw/nxagent/
cat "../../../../../$SYMBOLS_FILE" | grep -v -E "^#" | while read symbol; do
echo
echo "#### $symbol ####"
grep -n $symbol *.{c,h} 2>/dev/null
done > "../../../../../$DOC_FILE"
cd - 1>/dev/null
DOC_FILE="doc/libNX_X11/symbols/libNX_X11::symbol-usage_nxcompext.txt"
echo "Scanning for libNX_X11 symbols: in hw/nxagent/compext: $DOC_FILE"
cd nx-X11/programs/Xserver/hw/nxagent/compext/
cat "../../../../../../$SYMBOLS_FILE" | grep -v -E "^#" | while read symbol; do
echo
echo "#### $symbol ####"
grep -n $symbol *.{c,h} 2>/dev/null
done > "../../../../../../$DOC_FILE"
cd - 1>/dev/null
# nxcompext
SYMBOLS_FILE="doc/nxcompext/symbols/nxcompext::symbols.txt"
DOC_FILE="doc/nxcompext/symbols/nxcompext::symbol-usage_internally.txt"
echo "Scanning for nxcompext symbols: in hw/nxagent/compext internally: $DOC_FILE"
cd nx-X11/programs/Xserver/hw/nxagent/compext/
cat "../../../../../../$SYMBOLS_FILE" | grep -v -E "^#" | while read symbol; do
echo
echo "#### $symbol ####"
grep -n $symbol *.{c,h} 2>/dev/null
done > "../../../../../../$DOC_FILE"
cd - 1>/dev/null
DOC_FILE="doc/nxcompext/symbols/nxcompext::symbol-usage_nxagent.txt"
echo "Scanning for nxcompext symbols: in hw/nxagent: $DOC_FILE"
cd nx-X11/programs/Xserver/hw/nxagent/
cat ../../../../../$SYMBOLS_FILE | grep -v -E "^#" | while read symbol; do
echo
echo "#### $symbol ####"
grep -n $symbol *.{c,h} 2>/dev/null
done > "../../../../../$DOC_FILE"
cd - 1>/dev/null
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment