Make it easier to work with DOM stack contexts outside of the callbacks
commita4831fef2d47b4d13c0829090a3c0a938ae6a6d0
authorJonas Fonseca <fonseca@diku.dk>
Tue, 27 Dec 2005 04:59:12 +0000 (27 05:59 +0100)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Tue, 27 Dec 2005 04:59:12 +0000 (27 05:59 +0100)
tree7c112617f343da237d1bf47ee6ae6e889608a7b5
parent774aa70c6f3a19cb5ac5db9c4fb5b813c94cfe2c
Make it easier to work with DOM stack contexts outside of the callbacks

The problem is to get access to the context when it is not the first one
and it has to happen outside of the context callbacks. This changes the
memory management so that the context adder returns the context. To further
improve the use of contexts add a context destructor which makes it
possible to unregister (temporary) contexts.
src/document/dom/renderer.c
src/document/dom/select.c
src/document/dom/stack.c
src/document/dom/stack.h
src/document/sgml/parser.c