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éphane Bidoul
Fri Apr 25 21:52:33 MDT 2003 John Fleck <jfleck@inkstain.net>
* doc/tutorial:

View File

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

View File

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