1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fixed a problem in the generator where the way functions are remapped as

* python/generator.py: fixed a problem in the generator where
  the way functions are remapped as methods on classes was
  not symetric and dependant on python internal hash order,
  as reported by Stphane Bidoul
Daniel
This commit is contained in:
Daniel Veillard
2003-04-26 12:03:54 +00:00
parent 8aff3b7d20
commit 2b32e6f34c
3 changed files with 71 additions and 2 deletions

View File

@ -1,3 +1,10 @@
Sat Apr 26 14:00:58 CEST 2003 Daniel Veillard <daniel@veillard.com>
* python/generator.py: fixed a problem in the generator where
the way functions are remapped as methods on classes was
not symetric and dependant on python internal hash order,
as reported by St<53>phane Bidoul
Fri Apr 25 21:52:33 MDT 2003 John Fleck <jfleck@inkstain.net> Fri Apr 25 21:52:33 MDT 2003 John Fleck <jfleck@inkstain.net>
* doc/tutorial: * doc/tutorial:

View File

@ -865,8 +865,6 @@ def buildWrappers():
func = nameFixup(name, classe, type, file) func = nameFixup(name, classe, type, file)
info = (1, func, name, ret, args, file) info = (1, func, name, ret, args, file)
function_classes[classe].append(info) function_classes[classe].append(info)
if found == 1:
break
if found == 1: if found == 1:
continue continue
if name[0:8] == "xmlXPath": if name[0:8] == "xmlXPath":

View File

@ -482,6 +482,7 @@ Class xmlDoc(xmlNode)
# functions from module tree # functions from module tree
copyDoc() copyDoc()
copyNode()
createIntSubset() createIntSubset()
docCompressMode() docCompressMode()
dump() dump()
@ -504,21 +505,33 @@ Class xmlDoc(xmlNode)
newGlobalNs() newGlobalNs()
newReference() newReference()
nodeDumpOutput() nodeDumpOutput()
nodeGetBase()
nodeListGetRawString()
nodeListGetString()
reconciliateNs()
saveFile() saveFile()
saveFileEnc() saveFileEnc()
saveFileTo() saveFileTo()
saveFormatFile() saveFormatFile()
saveFormatFileEnc() saveFormatFileEnc()
saveFormatFileTo() saveFormatFileTo()
searchNs()
searchNsByHref()
setDocCompressMode() setDocCompressMode()
setListDoc()
setRootElement()
setTreeDoc()
stringGetNodeList() stringGetNodeList()
stringLenGetNodeList() stringLenGetNodeList()
# functions from module valid # functions from module valid
ID() ID()
isID()
isMixedElement() isMixedElement()
isRef()
removeID() removeID()
removeRef() removeRef()
validNormalizeAttributeValue()
# functions from module xinclude # functions from module xinclude
xincludeProcess() xincludeProcess()
@ -526,6 +539,9 @@ Class xmlDoc(xmlNode)
# functions from module xpath # functions from module xpath
xpathNewContext() xpathNewContext()
xpathOrderDocElems() xpathOrderDocElems()
# functions from module xpointer
xpointerNewContext()
Class xpathContext() Class xpathContext()
# accessors # accessors
contextDoc() contextDoc()
@ -586,10 +602,16 @@ Class xmlAttr(xmlNode)
debugDumpAttrList() debugDumpAttrList()
# functions from module tree # functions from module tree
copyProp()
copyPropList()
freeProp() freeProp()
freePropList() freePropList()
removeProp() removeProp()
# functions from module valid
removeID()
removeRef()
Class xmlTextReader(xmlTextReaderCore) Class xmlTextReader(xmlTextReaderCore)
@ -657,11 +679,18 @@ Class relaxNgSchema()
relaxNGDumpTree() relaxNGDumpTree()
relaxNGFree() relaxNGFree()
relaxNGNewValidCtxt() relaxNGNewValidCtxt()
# functions from module xmlreader
RelaxNGSetSchema()
Class relaxNgValidCtxt() Class relaxNgValidCtxt()
# functions from module relaxng # functions from module relaxng
relaxNGFreeValidCtxt() relaxNGFreeValidCtxt()
relaxNGValidateDoc()
relaxNGValidateFullElement()
relaxNGValidatePopElement()
relaxNGValidatePushCData() relaxNGValidatePushCData()
relaxNGValidatePushElement()
Class xpathParserContext() Class xpathParserContext()
# accessors # accessors
context() context()
@ -687,6 +716,19 @@ Class xpathParserContext()
xpathModValues() xpathModValues()
xpathMultValues() xpathMultValues()
xpathNamespaceURIFunction() xpathNamespaceURIFunction()
xpathNextAncestor()
xpathNextAncestorOrSelf()
xpathNextAttribute()
xpathNextChild()
xpathNextDescendant()
xpathNextDescendantOrSelf()
xpathNextFollowing()
xpathNextFollowingSibling()
xpathNextNamespace()
xpathNextParent()
xpathNextPreceding()
xpathNextPrecedingSibling()
xpathNextSelf()
xpathNormalizeFunction() xpathNormalizeFunction()
xpathNotEqualValues() xpathNotEqualValues()
xpathNotFunction() xpathNotFunction()
@ -746,6 +788,7 @@ Class parserCtxt(parserCtxtCore)
# functions from module parserInternals # functions from module parserInternals
decodeEntities() decodeEntities()
handleEntity()
namespaceParseNCName() namespaceParseNCName()
namespaceParseNSDef() namespaceParseNSDef()
nextChar() nextChar()
@ -815,7 +858,17 @@ Class xmlNs(xmlNode)
copyNamespaceList() copyNamespaceList()
freeNs() freeNs()
freeNsList() freeNsList()
newChild()
newDocNode()
newDocNodeEatName()
newDocRawNode()
newNodeEatName() newNodeEatName()
newNsProp()
newNsPropEatName()
newTextChild()
setNs()
setNsProp()
unsetNsProp()
# functions from module xpathInternals # functions from module xpathInternals
xpathNodeSetFreeNs() xpathNodeSetFreeNs()
@ -840,6 +893,17 @@ Class relaxNgParserCtxt()
Class outputBuffer(ioWriteWrapper) Class outputBuffer(ioWriteWrapper)
# functions from module HTMLtree
htmlDocContentDumpFormatOutput()
htmlDocContentDumpOutput()
htmlNodeDumpFormatOutput()
htmlNodeDumpOutput()
# functions from module tree
nodeDumpOutput()
saveFileTo()
saveFormatFileTo()
# functions from module xmlIO # functions from module xmlIO
close() close()
flush() flush()