| 1 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* CharacterData.dis (length, insertData, substringData, |
| 4 |
|
appendData, deleteData, replaceData, splitText): Reimplemented. |
| 5 |
|
|
| 6 |
|
* DOMCore.dis (NEGATIVE_LENGTH_ERR): New error. |
| 7 |
|
(c:index): The definition was missing. |
| 8 |
|
(c:length): New property. |
| 9 |
|
|
| 10 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
| 11 |
|
|
| 12 |
|
* XMLParser.dis (close): Invoke |close| method |
| 13 |
|
rather than |close| function. |
| 14 |
|
|
| 15 |
|
2006-04-16 Wakaba <wakaba@suika.fam.cx> |
| 16 |
|
|
| 17 |
|
* CharacterData.dis: New module split from |TreeCore.dis|. |
| 18 |
|
|
| 19 |
|
* CharacterData.pm: Added to the CVS repository. |
| 20 |
|
|
| 21 |
|
* TreeCore.dis: The |CharacterData|, |Text|, and |Comment| |
| 22 |
|
interfaces are removed. |
| 23 |
|
(Require): A reference to the |MDOM:CharacterData| module |
| 24 |
|
is added. |
| 25 |
|
|
| 26 |
|
* DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed. |
| 27 |
|
|
| 28 |
|
* DOMCore.dis (StringOutOfBoundsException): New error. |
| 29 |
|
|
| 30 |
|
* Makefile: |CharacterData.pm| is added. |
| 31 |
|
|
| 32 |
|
2006-04-09 Wakaba <wakaba@suika.fam.cx> |
| 33 |
|
|
| 34 |
|
* XMLParser.dis (Require): Requires the |MCharset:Encode| |
| 35 |
|
module. |
| 36 |
|
(parse): Set the |inputEncoding| attribute of the generated document |
| 37 |
|
object. |
| 38 |
|
(resolveLSInput default implementation): The |byteStream| |
| 39 |
|
and |encoding| attributes of the |LSInput| interface |
| 40 |
|
are now supported. |
| 41 |
|
(resolveLSInput): Parameters |impl| and |parser| are added. |
| 42 |
|
(InputFile.inputEncoding): New attribute. |
| 43 |
|
|
| 44 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
| 45 |
|
|
| 46 |
|
* Document.dis (adoptNode test): Documents were |
| 47 |
|
made by different documents. |
| 48 |
|
|
| 49 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
| 50 |
|
|
| 51 |
|
* XMLParser.dis: The |cfg:dtd-default-attributes| configuration |
| 52 |
|
parameter is changed to |cfg:dtd-default-attribute|. |
| 53 |
|
|
| 54 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
| 55 |
|
|
| 56 |
|
* TreeCore.dis: The |DOMMain:raiseException| elements |
| 57 |
|
are replaced by |disPerl:EXCEPTION|s. |
| 58 |
|
|
| 59 |
|
2006-04-03 Wakaba <wakaba@suika.fam.cx> |
| 60 |
|
|
| 61 |
|
* DOMMain.dis (GetPropNode, CheckReadOnly): Removed. |
| 62 |
|
|
| 63 |
|
* Node.dis (cfg:dtd-default-attribute): The configuration |
| 64 |
|
parameter |cfg:dtd-default-attributes| is renamed |
| 65 |
|
as |cfg:dtd-default-attribute|. |
| 66 |
|
(Roles): Definitions are changed so that classes |
| 67 |
|
that implement those classes MUST implement the |Node| |
| 68 |
|
and its subinterfaces. |
| 69 |
|
(cfg:dtd-attribute-type): New configuration parameter. |
| 70 |
|
|
| 71 |
|
* Document.dis (adoptNode): Don't throw exception |
| 72 |
|
if |strictErrorChecking| is |false|. |
| 73 |
|
|
| 74 |
|
* Element.dis (setAttribute, setAttributeNS): Don't |
| 75 |
|
set [attribute type] if the |cfg:dtd-attribute-type| |
| 76 |
|
configuration parameter is set to |false|. |
| 77 |
|
(removeAttribute, removeAttributeNS, removeAttributeNode): Don't |
| 78 |
|
regenerate default attribute nodes if the |cfg:dtd-default-attribute| |
| 79 |
|
configuration parameter is set to |false|. |
| 80 |
|
|
| 81 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
| 82 |
|
|
| 83 |
|
* TreeStore.dis: New module. |
| 84 |
|
|
| 85 |
|
* Makefile: |TreeStore.dis| is added. |
| 86 |
|
|
| 87 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
| 88 |
|
|
| 89 |
|
* XMLParser.dis: Updated so that it can be used |
| 90 |
|
with |TreeCore.pm|, |Document.pm|, |Element.pm|, |
| 91 |
|
and |XML.pm|. Set the read-only flag to |
| 92 |
|
the |DocumentType|, |Entity|, and |EntityReference| noes. |
| 93 |
|
|
| 94 |
|
* Node.dis (textContent): It did not handle descendant |
| 95 |
|
element and entity reference nodes. |
| 96 |
|
|
| 97 |
|
* Element.dis, XML.dis (manakaiBaseURI.get): Its |
| 98 |
|
definition has been changed to return only explicit |
| 99 |
|
base URI specification. |
| 100 |
|
|
| 101 |
|
* DOMLS.dis (LSInput, LSOutput): They no longer |
| 102 |
|
inherits the |ManakaiDOM:ManakaiDOMObject| class. |
| 103 |
|
|
| 104 |
|
* Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed. |
| 105 |
|
|
| 106 |
|
* Tree.pm, DOMXML.pm: Removed. |
| 107 |
|
|
| 108 |
|
* TreeCore.pm, Document.pm, Element.pm: Added |
| 109 |
|
to the CVS repository since they are necessary to |
| 110 |
|
build the dis library. |
| 111 |
|
|
| 112 |
|
* Makefile: Sync'ed to new modules disposition. |
| 113 |
|
|
| 114 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
| 115 |
|
|
| 116 |
|
* Makefile: Rules for |Tree.pm| and |DOMXML.pm| are |
| 117 |
|
removed. For |Element.pm| and |Document.pm| are added. |
| 118 |
|
|
| 119 |
|
* Document.dis, Element.dis: New module split from |TreeCore.dis|. |
| 120 |
|
|
| 121 |
|
* TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed. |
| 122 |
|
|
| 123 |
|
2006-04-01 Wakaba <wakaba@suika.fam.cx> |
| 124 |
|
|
| 125 |
|
* DOMFeature.dis (getImplementation, getImplementationList): Support |
| 126 |
|
for new class information variables. |
| 127 |
|
(DOMLS:Generic): This old feature name is removed. |
| 128 |
|
|
| 129 |
|
* GenericLS.dis (createGLSParser, createGLSSerializer): Support |
| 130 |
|
for new class information variables. |
| 131 |
|
|
| 132 |
|
* TreeCore.dis (manakaiExpandedURI): New attribute. |
| 133 |
|
(Document, Element.___create_node_ref): New method |
| 134 |
|
implementations. |
| 135 |
|
|
| 136 |
|
2006-04-01 Wakaba <wakaba@suika.fam.cx> |
| 137 |
|
|
| 138 |
|
* TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode): |
| 139 |
|
Reimplemented. |
| 140 |
|
(isId): Setter is added. |
| 141 |
|
(Element.normalize): Definition copied from the |MDOM:Tree| |
| 142 |
|
module. |
| 143 |
|
|
| 144 |
|
2006-03-31 Wakaba <wakaba@suika.fam.cx> |
| 145 |
|
|
| 146 |
|
* Makefile (clean-db): New rule. |
| 147 |
|
|
| 148 |
|
* TreeCore.dis (setUserData): Schedule to invoke |
| 149 |
|
the user data handler when the node is removed |
| 150 |
|
from the memory. |
| 151 |
|
(setAttribute, setAttributeNS): Set the [attribute type] |
| 152 |
|
if DTD attribute definition is available. |
| 153 |
|
(CharacterData members): Definitions copied from |
| 154 |
|
the |MDOM:Tree| module. |
| 155 |
|
|
| 156 |
|
2006-03-31 Wakaba <wakaba@suika.fam.cx> |
| 157 |
|
|
| 158 |
|
* DOMCore.dis (DOMStringList.==): New overloaded operator. |
| 159 |
|
|
| 160 |
|
* DOMFeature.dis (ManakaiHasFeatureByGetFeature): The |
| 161 |
|
class did not implement the |GetFeature| interface. |
| 162 |
|
(hasFeature): The |+| prefix was not taken into account. |
| 163 |
|
|
| 164 |
|
* TreeCore.dis (Node): The class now inherits |
| 165 |
|
the |ManakaiHasFeatureByGetFeature| class. It now |
| 166 |
|
implements the |f:GetFeature| and |ecore:MUErrorTarget| |
| 167 |
|
interfaces. |
| 168 |
|
(CreateNodeRefMethod): The |mg:nodeRefInterfaces| option |
| 169 |
|
is supported. |
| 170 |
|
(lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented. |
| 171 |
|
(manakaiParentElement): New attribute. |
| 172 |
|
|
| 173 |
|
* XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype| |
| 174 |
|
is removed. |
| 175 |
|
(lookupPrefix): Old method implementation is removed. |
| 176 |
|
|
| 177 |
|
* XML.dis (CDATASection): The |mg:NodeRefRole| was |
| 178 |
|
missing because of the |DISCore:stopISARecursive| property. |
| 179 |
|
|
| 180 |
|
* TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis: |
| 181 |
|
They now pass all tests included in those modules! |
| 182 |
|
|
| 183 |
|
2006-03-30 Wakaba <wakaba@suika.fam.cx> |
| 184 |
|
|
| 185 |
|
* DOMCore.dis (Require): A reference to the |MURI:Generic| |
| 186 |
|
module is added. |
| 187 |
|
(ManakaiDOMStringList.DESTROY): Removed (no longer necessary). |
| 188 |
|
(ManakaiDOMImplementation): It now inherits |
| 189 |
|
the |urigen:ManakaiURIImplementation| class and |
| 190 |
|
implements the |ecore:MUErrorTarget| interface. It no |
| 191 |
|
longer inherits the |ManakaiDOM:ManakaiDOMObject| class. |
| 192 |
|
(ManakaiDOMImplementation.___report_error): New method. |
| 193 |
|
|
| 194 |
|
* DOMFeature.dis (Require): It now references the |Util:Grove| |
| 195 |
|
module instead of |Util:ManakaiNode| module. |
| 196 |
|
(DOMMetaImpl:ManakaiDOMImplementationRole): Removed. |
| 197 |
|
(f:ManakaiMinimumImplementationCompatible): New role. |
| 198 |
|
(ManakaiMinimumImplementation): Now it is built |
| 199 |
|
on the new |Util:Grove| module rather than the |Util:ManakaiNode| |
| 200 |
|
module. |
| 201 |
|
(f:getFeatureImpl): Moved from the |MDOM:TreeCore| module. |
| 202 |
|
(c:implementation): Removed. |
| 203 |
|
(f:implementation, f:revImplementation): New properties. |
| 204 |
|
|
| 205 |
|
* DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed. |
| 206 |
|
|
| 207 |
|
* Tree.dis (cfg:clone-entity-reference-subtree, |
| 208 |
|
cfg:dtd-default-attributes, cfg:xml-id, |
| 209 |
|
cfg:strict-document-children): Removed (moved |
| 210 |
|
to the |MDOM:TreeCore| module). |
| 211 |
|
|
| 212 |
|
* TreeCore.dis (Require): The reference to the |MURI:Generic| |
| 213 |
|
module is removed. |
| 214 |
|
(ManakaiDOMImplementationTC): Some members are removed |
| 215 |
|
since they are incorporated to the |c:ManakaiDOMImplementation| |
| 216 |
|
or the |f:ManakaiMinimumImplementation|. |
| 217 |
|
(tc:nodeRefClass): Removed (moved to the |Util:Grove| module). |
| 218 |
|
(replaceChildImpl1): A typo on the removing the parent node |
| 219 |
|
of the old child node is fixed. |
| 220 |
|
(f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature| |
| 221 |
|
module). |
| 222 |
|
(tc:implementation, tc:revImplementation): Removed (moved |
| 223 |
|
to the |MDOM:DOMFeature| module). |
| 224 |
|
(Document.appendChild, insertBefore, replaceChild): Sets |
| 225 |
|
the |ownerDocument| attribute of the |tx:DocumentType| nodes. |
| 226 |
|
(Attr.prefix, Element.prefix): Don't raise "uninitialized" |
| 227 |
|
when the new value is |null|. |
| 228 |
|
(Attr.___create_node_ref): Attribute name and |
| 229 |
|
owner element type specific classes are supported (it |
| 230 |
|
was partially implemented but was incorrect). |
| 231 |
|
(ManakaiDOMGetElementsNodeList.item): Don't return |
| 232 |
|
a node if the |index| is negative. |
| 233 |
|
(setNamedItem): Various typos are fixed. |
| 234 |
|
(removeNamedItem): The node was not removed orz |
| 235 |
|
(cfg:clone-entity-reference-subtree, |
| 236 |
|
cfg:dtd-default-attributes, cfg:xml-id, |
| 237 |
|
cfg:strict-document-children): Definitions are moved |
| 238 |
|
from the |MDOM:Tree| module. Note that the tests for default |
| 239 |
|
attributes still fail. |
| 240 |
|
(ErrDef, IntPropDef): Moved from the |MDOM:Tree| module. |
| 241 |
|
(Attr): Role name was incorrect. |
| 242 |
|
|
| 243 |
|
* XDoctype.dis (setDefinitionNode): Return value was |
| 244 |
|
not set. |
| 245 |
|
(AttributeDefinition): Role name was incorrect. |
| 246 |
|
|
| 247 |
|
* XML.dis (Require): A reference to the |DISlib:DISMarkup| |
| 248 |
|
module is added. |
| 249 |
|
(Notation.appendChild, insertBefore, replaceChild): New method |
| 250 |
|
implementations. |
| 251 |
|
(Entity.appendChild, insertBefore, replaceChild): New method |
| 252 |
|
implementations. |
| 253 |
|
(EntityReference.appendChild, insertBefore, replaceChild): Now |
| 254 |
|
they are defined as copies of ones in the |Entity| class. |
| 255 |
|
(XMLBaseAttribute, XMLIdAttribute): Now they are |
| 256 |
|
namespace unaware attributes. |
| 257 |
|
(XMLBaseAttributeNS, XMLIdAttributeNS): New attributes. |
| 258 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References |
| 259 |
|
to namespace aware attributes are added. |
| 260 |
|
|
| 261 |
|
2006-03-29 Wakaba <wakaba@suika.fam.cx> |
| 262 |
|
|
| 263 |
|
* DOMCore.dis: Namespace prefixes are changed to new ones. |
| 264 |
|
|
| 265 |
|
* TreeCore.dis (createDocument, createDocumentType): Reimplemented (but |
| 266 |
|
untested). |
| 267 |
|
(___report_error): Reimplemented (untested). |
| 268 |
|
(manakaiSetReadOnly): New method. |
| 269 |
|
(Attr.___create_node_ref): New method (untested). |
| 270 |
|
(Document.getFeature): |require|s the |MDOM:XML| Perl module. |
| 271 |
|
(createEntityReference, cloneNode): Support for |
| 272 |
|
the |cfg:entity-reference-read-only| configuration |
| 273 |
|
parameter is removed; newly created entity references |
| 274 |
|
are always read-only and use the |manakaiSetReadOnly| method |
| 275 |
|
if desired. |
| 276 |
|
(Element.manakaiBaseURI): Reimplemented (untested). |
| 277 |
|
|
| 278 |
|
* XDoctype.dis (createGeneralEntity, createNotation): |require|s |
| 279 |
|
the |MDOM:XML| Perl module. |
| 280 |
|
(DocumentTypeDefinition.___create_node_stem): Sets |
| 281 |
|
the |tc:implementation| internal property if its value |
| 282 |
|
is provided. The |infoset:content| internal property name |
| 283 |
|
was incorrect. |
| 284 |
|
(DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on |
| 285 |
|
read-only |NodeList| and |DOMStringList| are added |
| 286 |
|
for clarification. |
| 287 |
|
|
| 288 |
2006-03-26 Wakaba <wakaba@suika.fam.cx> |
2006-03-26 Wakaba <wakaba@suika.fam.cx> |
| 289 |
|
|
| 290 |
* DOMCore.dis (Require): Reference to the |MDOM:TreeCore| |
* DOMCore.dis (Require): Reference to the |MDOM:TreeCore| |