1 |
|
2006-04-04 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* TreeCore.dis: The |DOMMain:raiseException| elements |
4 |
|
are replaced by |disPerl:EXCEPTION|s. |
5 |
|
|
6 |
|
2006-04-03 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* DOMMain.dis (GetPropNode, CheckReadOnly): Removed. |
9 |
|
|
10 |
|
* Node.dis (cfg:dtd-default-attribute): The configuration |
11 |
|
parameter |cfg:dtd-default-attributes| is renamed |
12 |
|
as |cfg:dtd-default-attribute|. |
13 |
|
(Roles): Definitions are changed so that classes |
14 |
|
that implement those classes MUST implement the |Node| |
15 |
|
and its subinterfaces. |
16 |
|
(cfg:dtd-attribute-type): New configuration parameter. |
17 |
|
|
18 |
|
* Document.dis (adoptNode): Don't throw exception |
19 |
|
if |strictErrorChecking| is |false|. |
20 |
|
|
21 |
|
* Element.dis (setAttribute, setAttributeNS): Don't |
22 |
|
set [attribute type] if the |cfg:dtd-attribute-type| |
23 |
|
configuration parameter is set to |false|. |
24 |
|
(removeAttribute, removeAttributeNS, removeAttributeNode): Don't |
25 |
|
regenerate default attribute nodes if the |cfg:dtd-default-attribute| |
26 |
|
configuration parameter is set to |false|. |
27 |
|
|
28 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
29 |
|
|
30 |
|
* TreeStore.dis: New module. |
31 |
|
|
32 |
|
* Makefile: |TreeStore.dis| is added. |
33 |
|
|
34 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* XMLParser.dis: Updated so that it can be used |
37 |
|
with |TreeCore.pm|, |Document.pm|, |Element.pm|, |
38 |
|
and |XML.pm|. Set the read-only flag to |
39 |
|
the |DocumentType|, |Entity|, and |EntityReference| noes. |
40 |
|
|
41 |
|
* Node.dis (textContent): It did not handle descendant |
42 |
|
element and entity reference nodes. |
43 |
|
|
44 |
|
* Element.dis, XML.dis (manakaiBaseURI.get): Its |
45 |
|
definition has been changed to return only explicit |
46 |
|
base URI specification. |
47 |
|
|
48 |
|
* DOMLS.dis (LSInput, LSOutput): They no longer |
49 |
|
inherits the |ManakaiDOM:ManakaiDOMObject| class. |
50 |
|
|
51 |
|
* Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed. |
52 |
|
|
53 |
|
* Tree.pm, DOMXML.pm: Removed. |
54 |
|
|
55 |
|
* TreeCore.pm, Document.pm, Element.pm: Added |
56 |
|
to the CVS repository since they are necessary to |
57 |
|
build the dis library. |
58 |
|
|
59 |
|
* Makefile: Sync'ed to new modules disposition. |
60 |
|
|
61 |
|
2006-04-02 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* Makefile: Rules for |Tree.pm| and |DOMXML.pm| are |
64 |
|
removed. For |Element.pm| and |Document.pm| are added. |
65 |
|
|
66 |
|
* Document.dis, Element.dis: New module split from |TreeCore.dis|. |
67 |
|
|
68 |
|
* TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed. |
69 |
|
|
70 |
|
2006-04-01 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* DOMFeature.dis (getImplementation, getImplementationList): Support |
73 |
|
for new class information variables. |
74 |
|
(DOMLS:Generic): This old feature name is removed. |
75 |
|
|
76 |
|
* GenericLS.dis (createGLSParser, createGLSSerializer): Support |
77 |
|
for new class information variables. |
78 |
|
|
79 |
|
* TreeCore.dis (manakaiExpandedURI): New attribute. |
80 |
|
(Document, Element.___create_node_ref): New method |
81 |
|
implementations. |
82 |
|
|
83 |
|
2006-04-01 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode): |
86 |
|
Reimplemented. |
87 |
|
(isId): Setter is added. |
88 |
|
(Element.normalize): Definition copied from the |MDOM:Tree| |
89 |
|
module. |
90 |
|
|
91 |
|
2006-03-31 Wakaba <wakaba@suika.fam.cx> |
92 |
|
|
93 |
|
* Makefile (clean-db): New rule. |
94 |
|
|
95 |
|
* TreeCore.dis (setUserData): Schedule to invoke |
96 |
|
the user data handler when the node is removed |
97 |
|
from the memory. |
98 |
|
(setAttribute, setAttributeNS): Set the [attribute type] |
99 |
|
if DTD attribute definition is available. |
100 |
|
(CharacterData members): Definitions copied from |
101 |
|
the |MDOM:Tree| module. |
102 |
|
|
103 |
|
2006-03-31 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* DOMCore.dis (DOMStringList.==): New overloaded operator. |
106 |
|
|
107 |
|
* DOMFeature.dis (ManakaiHasFeatureByGetFeature): The |
108 |
|
class did not implement the |GetFeature| interface. |
109 |
|
(hasFeature): The |+| prefix was not taken into account. |
110 |
|
|
111 |
|
* TreeCore.dis (Node): The class now inherits |
112 |
|
the |ManakaiHasFeatureByGetFeature| class. It now |
113 |
|
implements the |f:GetFeature| and |ecore:MUErrorTarget| |
114 |
|
interfaces. |
115 |
|
(CreateNodeRefMethod): The |mg:nodeRefInterfaces| option |
116 |
|
is supported. |
117 |
|
(lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented. |
118 |
|
(manakaiParentElement): New attribute. |
119 |
|
|
120 |
|
* XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype| |
121 |
|
is removed. |
122 |
|
(lookupPrefix): Old method implementation is removed. |
123 |
|
|
124 |
|
* XML.dis (CDATASection): The |mg:NodeRefRole| was |
125 |
|
missing because of the |DISCore:stopISARecursive| property. |
126 |
|
|
127 |
|
* TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis: |
128 |
|
They now pass all tests included in those modules! |
129 |
|
|
130 |
|
2006-03-30 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* DOMCore.dis (Require): A reference to the |MURI:Generic| |
133 |
|
module is added. |
134 |
|
(ManakaiDOMStringList.DESTROY): Removed (no longer necessary). |
135 |
|
(ManakaiDOMImplementation): It now inherits |
136 |
|
the |urigen:ManakaiURIImplementation| class and |
137 |
|
implements the |ecore:MUErrorTarget| interface. It no |
138 |
|
longer inherits the |ManakaiDOM:ManakaiDOMObject| class. |
139 |
|
(ManakaiDOMImplementation.___report_error): New method. |
140 |
|
|
141 |
|
* DOMFeature.dis (Require): It now references the |Util:Grove| |
142 |
|
module instead of |Util:ManakaiNode| module. |
143 |
|
(DOMMetaImpl:ManakaiDOMImplementationRole): Removed. |
144 |
|
(f:ManakaiMinimumImplementationCompatible): New role. |
145 |
|
(ManakaiMinimumImplementation): Now it is built |
146 |
|
on the new |Util:Grove| module rather than the |Util:ManakaiNode| |
147 |
|
module. |
148 |
|
(f:getFeatureImpl): Moved from the |MDOM:TreeCore| module. |
149 |
|
(c:implementation): Removed. |
150 |
|
(f:implementation, f:revImplementation): New properties. |
151 |
|
|
152 |
|
* DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed. |
153 |
|
|
154 |
|
* Tree.dis (cfg:clone-entity-reference-subtree, |
155 |
|
cfg:dtd-default-attributes, cfg:xml-id, |
156 |
|
cfg:strict-document-children): Removed (moved |
157 |
|
to the |MDOM:TreeCore| module). |
158 |
|
|
159 |
|
* TreeCore.dis (Require): The reference to the |MURI:Generic| |
160 |
|
module is removed. |
161 |
|
(ManakaiDOMImplementationTC): Some members are removed |
162 |
|
since they are incorporated to the |c:ManakaiDOMImplementation| |
163 |
|
or the |f:ManakaiMinimumImplementation|. |
164 |
|
(tc:nodeRefClass): Removed (moved to the |Util:Grove| module). |
165 |
|
(replaceChildImpl1): A typo on the removing the parent node |
166 |
|
of the old child node is fixed. |
167 |
|
(f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature| |
168 |
|
module). |
169 |
|
(tc:implementation, tc:revImplementation): Removed (moved |
170 |
|
to the |MDOM:DOMFeature| module). |
171 |
|
(Document.appendChild, insertBefore, replaceChild): Sets |
172 |
|
the |ownerDocument| attribute of the |tx:DocumentType| nodes. |
173 |
|
(Attr.prefix, Element.prefix): Don't raise "uninitialized" |
174 |
|
when the new value is |null|. |
175 |
|
(Attr.___create_node_ref): Attribute name and |
176 |
|
owner element type specific classes are supported (it |
177 |
|
was partially implemented but was incorrect). |
178 |
|
(ManakaiDOMGetElementsNodeList.item): Don't return |
179 |
|
a node if the |index| is negative. |
180 |
|
(setNamedItem): Various typos are fixed. |
181 |
|
(removeNamedItem): The node was not removed orz |
182 |
|
(cfg:clone-entity-reference-subtree, |
183 |
|
cfg:dtd-default-attributes, cfg:xml-id, |
184 |
|
cfg:strict-document-children): Definitions are moved |
185 |
|
from the |MDOM:Tree| module. Note that the tests for default |
186 |
|
attributes still fail. |
187 |
|
(ErrDef, IntPropDef): Moved from the |MDOM:Tree| module. |
188 |
|
(Attr): Role name was incorrect. |
189 |
|
|
190 |
|
* XDoctype.dis (setDefinitionNode): Return value was |
191 |
|
not set. |
192 |
|
(AttributeDefinition): Role name was incorrect. |
193 |
|
|
194 |
|
* XML.dis (Require): A reference to the |DISlib:DISMarkup| |
195 |
|
module is added. |
196 |
|
(Notation.appendChild, insertBefore, replaceChild): New method |
197 |
|
implementations. |
198 |
|
(Entity.appendChild, insertBefore, replaceChild): New method |
199 |
|
implementations. |
200 |
|
(EntityReference.appendChild, insertBefore, replaceChild): Now |
201 |
|
they are defined as copies of ones in the |Entity| class. |
202 |
|
(XMLBaseAttribute, XMLIdAttribute): Now they are |
203 |
|
namespace unaware attributes. |
204 |
|
(XMLBaseAttributeNS, XMLIdAttributeNS): New attributes. |
205 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References |
206 |
|
to namespace aware attributes are added. |
207 |
|
|
208 |
|
2006-03-29 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* DOMCore.dis: Namespace prefixes are changed to new ones. |
211 |
|
|
212 |
|
* TreeCore.dis (createDocument, createDocumentType): Reimplemented (but |
213 |
|
untested). |
214 |
|
(___report_error): Reimplemented (untested). |
215 |
|
(manakaiSetReadOnly): New method. |
216 |
|
(Attr.___create_node_ref): New method (untested). |
217 |
|
(Document.getFeature): |require|s the |MDOM:XML| Perl module. |
218 |
|
(createEntityReference, cloneNode): Support for |
219 |
|
the |cfg:entity-reference-read-only| configuration |
220 |
|
parameter is removed; newly created entity references |
221 |
|
are always read-only and use the |manakaiSetReadOnly| method |
222 |
|
if desired. |
223 |
|
(Element.manakaiBaseURI): Reimplemented (untested). |
224 |
|
|
225 |
|
* XDoctype.dis (createGeneralEntity, createNotation): |require|s |
226 |
|
the |MDOM:XML| Perl module. |
227 |
|
(DocumentTypeDefinition.___create_node_stem): Sets |
228 |
|
the |tc:implementation| internal property if its value |
229 |
|
is provided. The |infoset:content| internal property name |
230 |
|
was incorrect. |
231 |
|
(DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on |
232 |
|
read-only |NodeList| and |DOMStringList| are added |
233 |
|
for clarification. |
234 |
|
|
235 |
|
2006-03-26 Wakaba <wakaba@suika.fam.cx> |
236 |
|
|
237 |
|
* DOMCore.dis (Require): Reference to the |MDOM:TreeCore| |
238 |
|
module is added. |
239 |
|
(DOMStringList): Reimplemented for new |d:AttributeDefinition| |
240 |
|
implementation (untested). |
241 |
|
|
242 |
|
* TreeCore.dis (baseURI): Reimplemented (untested). |
243 |
|
(Roles): Definitions added. |
244 |
|
|
245 |
|
* XDoctype.dis (Require): References to the |MDOM:TreeCore| |
246 |
|
and |MDOM:XML| modules are added. Reference to the |MDOM:Tree| |
247 |
|
module is removed. |
248 |
|
(DocumentXDoctype): Reimplemented (untested). |
249 |
|
(DocumentTypeDefinition, DocumentTypeDeclaration): |
250 |
|
Reimlemented (untested). |
251 |
|
(ElementTypeDefinition, AttributeDefinition): Reimplemented (untested). |
252 |
|
|
253 |
|
* XML.dis (FeatureDef): New features (definitions copied |
254 |
|
from the |MDOM:DOMXML| module). |
255 |
|
(DocumentType): New interface (definition copied from |
256 |
|
the |MDOM:DOMXML| module). |
257 |
|
(CDATASection, Notation, Entity, EntityReference, ProcessingInstruction): |
258 |
|
Reimplemented (untested). |
259 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested). |
260 |
|
|
261 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
262 |
|
|
263 |
|
* TreeCore.dis (Document): Most methods are reimplemented (untested). |
264 |
|
|
265 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
266 |
|
|
267 |
|
* TreeCore.dis (Document): Attributes are reimplemented (untested). |
268 |
|
(Text, DocumentFragment, Comment): Most members are |
269 |
|
reimplemented (untested). |
270 |
|
|
271 |
|
2006-03-24 Wakaba <wakaba@suika.fam.cx> |
272 |
|
|
273 |
|
* DOMMain.dis (checkXMLNamesQName): Some checks are |
274 |
|
removed to sync with DOM Level 3 Core specification. |
275 |
|
|
276 |
|
* TreeCore.dis (Element): Most methods are reimplemented (untested). |
277 |
|
(GetElementsNodeList): Reimplemented (untested). |
278 |
|
|
279 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
280 |
|
|
281 |
|
* Tree.dis (cfg:strict-document-children): The configuration |
282 |
|
parameter must also affect on |manakaiAppendText| |
283 |
|
and |textContent| on |Document| nodes. |
284 |
|
|
285 |
|
* TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass| |
286 |
|
parameter changes the class to |bless|. |
287 |
|
(Node): Most methods are reimplemented. (Untested) |
288 |
|
(CharacterData, Attr): Most methods and attributes are |
289 |
|
reimplemented. (Untested) |
290 |
|
|
291 |
|
* XML.dis, XDoctype.dis: Most |Node| methods are |
292 |
|
reimplemented (untested). |
293 |
|
|
294 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
295 |
|
|
296 |
|
* TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented |
297 |
|
(untested). |
298 |
|
|
299 |
|
2006-03-22 Wakaba <wakaba@suika.fam.cx> |
300 |
|
|
301 |
|
* DOMCore.dis (DOMSTRING_SIZE_ERR): It now has |
302 |
|
a qualified name. |
303 |
|
|
304 |
|
* DOMMain.dis (ensureNamespacePrefix): Undefines |
305 |
|
the prefix if it is an empty string. (Note that |
306 |
|
it is defined as implementation dependent in |
307 |
|
DOM Level 3 Core specification). |
308 |
|
|
309 |
|
* TreeCore.dis (Require): It now references the |MDOM:XDoctype| |
310 |
|
module. |
311 |
|
(Node): Attributes are reimplemented (untested). |
312 |
|
|
313 |
|
* XML.dis (Require): It now references the |MDOMX:XDoctype| |
314 |
|
module. |
315 |
|
(Node): Attributes are reimplemented (untested). |
316 |
|
(Entity, Notation): New interfaces. |
317 |
|
|
318 |
|
* XDoctype.dis (Node): Attributes are reimplemented (untested). |
319 |
|
|
320 |
|
2006-03-19 Wakaba <wakaba@suika.fam.cx> |
321 |
|
|
322 |
|
* TreeCore.dis (childNodes, firstChild, lastChild, |
323 |
|
nextSibling, previousSibling, appendChild, insertBefore, |
324 |
|
replaceChild, removeChild, createDocumentFragment, |
325 |
|
createEntityReference, createProcessingInstruction, |
326 |
|
domConfig, documentElement, implementation, manakaiAppendText): New. |
327 |
|
(NodeList, DocumentFragment): New interfaces. |
328 |
|
|
329 |
|
* XML.dis (EntityReference, ProcessingInstruction): New interface. |
330 |
|
|
331 |
|
2006-03-18 Wakaba <wakaba@suika.fam.cx> |
332 |
|
|
333 |
|
* TreeCore.dis (Require): The |MDOM:XML| module is added. |
334 |
|
(createAttributeNS, createTextNode, createComment, |
335 |
|
createCDATASection): New methods. |
336 |
|
(Attr, Text, Comment, CharacterData): New interfaces. |
337 |
|
|
338 |
|
* Makefile: |XML.dis| is added. |
339 |
|
|
340 |
|
* XML.dis: New module. |
341 |
|
|
342 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
343 |
|
|
344 |
|
* TreeCore.dis (manakaiReadOnly): New attribute. |
345 |
|
|
346 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
347 |
|
|
348 |
|
* TreeCore.dis (NodeType, nodeType, localName, namespaceURI, |
349 |
|
prefix, isSameNode, ownerDocument, parentNode): New. |
350 |
|
(Element): New interface. |
351 |
|
(createElementNS): New method. |
352 |
|
(strictErrorChecking): New. |
353 |
|
|
354 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
355 |
|
|
356 |
|
* Makefile: |TreeCore.dis| is added. |
357 |
|
|
358 |
|
* TreeCore.dis: New module. |
359 |
|
|
360 |
|
2006-03-16 Wakaba <wakaba@suika.fam.cx> |
361 |
|
|
362 |
|
* XMLParser.dis (cfg:entity-replacement-tree): New configuration |
363 |
|
parameter. |
364 |
|
|
365 |
|
* DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|. |
366 |
|
|
367 |
|
* DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical |
368 |
|
data types added to configuration parameters. |
369 |
|
|
370 |
|
2006-03-15 Wakaba <wakaba@suika.fam.cx> |
371 |
|
|
372 |
|
* DOMCore.dis (c:DOMConfigurationParameter): Now it is |
373 |
|
a |DISSource:ResourceProperty|. |
374 |
|
(c:anyDOMConfigurationParameter): New property. |
375 |
|
(CParam, boolCParam): Now they are all |dis:subsetOf| |
376 |
|
the |c:anyDOMConfigurationParameter| property. |
377 |
|
(ForDocument, ForParser, ForSerializer): Removed. |
378 |
|
|
379 |
|
* DOMLS.dis, XMLParser.dis: Likewise. |
380 |
|
|
381 |
|
2006-03-12 Wakaba <wakaba@suika.fam.cx> |
382 |
|
|
383 |
|
* DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties |
384 |
|
are removed. |
385 |
|
|
386 |
|
* GenericLS.pm: Added to the CVS repository since |
387 |
|
it is necessary to create the |Message::Util::DIS::DPG| module. |
388 |
|
|
389 |
|
2006-03-10 Wakaba <wakaba@suika.fam.cx> |
390 |
|
|
391 |
|
* DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New |
392 |
|
method. |
393 |
|
|
394 |
|
* XMLParser.dis: Don't create adjacent text nodes. |
395 |
|
|
396 |
|
2006-03-09 Wakaba <wakaba@suika.fam.cx> |
397 |
|
|
398 |
|
* DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error. |
399 |
|
|
400 |
|
* DOMXML.dis (appendChild, insertBefore, replaceChild): Method |
401 |
|
implementations are added. |
402 |
|
|
403 |
|
* XDoctype.dis (appendChild, insertBefore, replaceChild): Method |
404 |
|
implementations are added. |
405 |
|
|
406 |
|
* Tree.dis (appendChild, insertBefore, replaceChild): Method |
407 |
|
implementations are added. |
408 |
|
(IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass| |
409 |
|
resources unless for |ManakaiDOM:ManakaiDOMLatest|. |
410 |
|
(cfg:strict-document-children): New configuration parameter. |
411 |
|
|
412 |
|
2006-03-08 Wakaba <wakaba@suika.fam.cx> |
413 |
|
|
414 |
|
* XDoctype.dis (replaceChild): Method implementations are added. |
415 |
|
|
416 |
|
* Tree.dis (replaceChild): Method implementations are added. |
417 |
|
|
418 |
|
* DOMXML.dis (replaceChild): Method implementations are added. |
419 |
|
|
420 |
|
2006-03-07 Wakaba <wakaba@suika.fam.cx> |
421 |
|
|
422 |
|
* Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for| |
423 |
|
definitions. |
424 |
|
|
425 |
|
* XDoctype.dis (insertBefore): New method implementation. |
426 |
|
|
427 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
428 |
|
|
429 |
|
* DOMXML.dis (insertBefore): Method implementations |
430 |
|
for |ProcessingInstruction| and |Notation| nodes are added. |
431 |
|
|
432 |
|
* Tree.dis (insertBefore): Method implementation |
433 |
|
for |CharacterData| nodes is added. |
434 |
|
|
435 |
|
* XDoctype.dis (insertBefore): Method implementation |
436 |
|
for |ElementTypeDefinition| nodes is added. |
437 |
|
|
438 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
439 |
|
|
440 |
|
* XDoctype.dis (appendChild): New method implementation. |
441 |
|
|
442 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
443 |
|
|
444 |
|
* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error. |
445 |
|
(REMOVE_DOCUMENT_ELEMENT_ERR): New error. |
446 |
|
(REMOVE_DOCUMENT_TYPE_ERR): New error. |
447 |
|
|
448 |
|
* DOMXML.dis (ManakaiDOMDocumentType): Removed. |
449 |
|
(ProcessingInstruction.appendChild, CDATASection.appendChild, |
450 |
|
Notation.appendChild): New method implementation. |
451 |
|
|
452 |
|
* Tree.dis (CharacterData.appendChild): New method implementation. |
453 |
|
|
454 |
|
* XDoctype.dis: Tests moved from |MDOM:DOMXML| module. |
455 |
|
|
456 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
457 |
|
|
458 |
|
* DOMXML.dis (ManakaiDOMXMLIdAttr): New class. |
459 |
|
|
460 |
|
* Tree.dis (createAttribute, createAttributeNS, |
461 |
|
setAttribute, setAttributeNS): They now supports |
462 |
|
the |cfg:xml-id| configuration parameter. |
463 |
|
(cfg:xml-id): New configuration parameter. |
464 |
|
|
465 |
|
* XDoctype.dis (createAttributeDefinition): It now |
466 |
|
supports the |cfg:xml-id| configuration parameter. |
467 |
|
|
468 |
|
* XMLParser.dis (parse): It now supports |
469 |
|
the |cfg:xml-id| configuration parameter. |
470 |
|
|
471 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
472 |
|
|
473 |
|
* XMLParser.dis (parse): Sets |Document.documentURI| |
474 |
|
and |Document.manakaiEntityBaseURI| attributes of the |
475 |
|
document created. |
476 |
|
(_ProcessingInstructionDTD): Sets the |manakaiBaseURI| |
477 |
|
property of the created node. |
478 |
|
(_SystemLiteral): Sets the |manakaiDeclarationBaseURI| |
479 |
|
of the created node. |
480 |
|
(ls-input-to-input-file.default): Sets the resolved |
481 |
|
system identifier to the |documentURI| attribute if available. |
482 |
|
Sets the |baseURI| attribute if available. |
483 |
|
|
484 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
485 |
|
|
486 |
|
* XDoctype.dis (DocumentTypeDefinition.implementation): New attribute. |
487 |
|
(Node.baseURI): New attribute implementations. |
488 |
|
(declarationBaseURI): Setter is added. |
489 |
|
(manakaiDeclarationBaseURI): New attribute. |
490 |
|
|
491 |
|
* Tree.dis (Require): A reference to the |MURI:Generic| |
492 |
|
module is added. |
493 |
|
(Node.baseURI): The implementation is revised. |
494 |
|
(getNodeReference): Attribute node classes specialized |
495 |
|
to attribute names are supported. |
496 |
|
(contentBaseURI, htmlBaseURI): Removed. |
497 |
|
(manakaiEntityBaseURI): New attribute. |
498 |
|
(ManakaiDOMImplementationDocument): It now inherits |
499 |
|
the |urigen:URIImplementation| class. |
500 |
|
|
501 |
|
* DOMMain.dis (isRelativeDOMURI): The definition |
502 |
|
of the URI scheme is synced with |Message::URI::Generic|'s |
503 |
|
one. |
504 |
|
|
505 |
|
* DOMXML.dis (Require): A reference to |DISlib:DISMarkup| |
506 |
|
module is added. |
507 |
|
(DocumentType.implementation): New attribute. |
508 |
|
(Node.baseURI): Implementations are added. |
509 |
|
(manakaiDeclarationBaseURI): New attributes. |
510 |
|
(manakaiEntityBaseURI): New attributes. |
511 |
|
(manakaiEntityURI): New attribute. |
512 |
|
(manakaiExternal): New attribute. |
513 |
|
(manakaiBaseURI): New attribute. |
514 |
|
(ManakaiDOMXMLBaseAttr): New class. |
515 |
|
|
516 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
517 |
|
|
518 |
|
* SimpleLS.dis (Require): Reference to the |MDOM:Tree| |
519 |
|
module was missing. |
520 |
|
|
521 |
|
* ManakaiDOMLS2003.dis: Some property names was incorrect. |
522 |
|
|
523 |
|
* Makefile (distclean): New rule. |
524 |
|
|
525 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
526 |
|
|
527 |
|
* DOMLS.dis: Removed from the CVS repository, since |
528 |
|
it has been no longer required to make the |daf| system |
529 |
|
itself. |
530 |
|
|
531 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
532 |
|
|
533 |
|
* Makefile: Revised for new |daf| database format. |
534 |
|
|
535 |
|
2006-02-25 Wakaba <wakaba@suika.fam.cx> |
536 |
|
|
537 |
|
* DOMFeature.dis (Require): Missing reference to |DISlib:Test| |
538 |
|
module is added. |
539 |
|
|
540 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
541 |
|
|
542 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
543 |
|
by mistake. |
544 |
|
|
545 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
546 |
|
|
547 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
548 |
|
feature. |
549 |
|
|
550 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
551 |
|
|
552 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
553 |
|
(DOMImplementationLS.createLSParser): Implemented. |
554 |
|
(DOMImplementationLS.createLSInput): Revised. |
555 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
556 |
|
|
557 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
558 |
|
|
559 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
560 |
|
|
561 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
562 |
|
is introduced. |
563 |
|
(async, busy): Implemented. |
564 |
|
(parseString): Removed. |
565 |
|
(parse, parseURI): Implemented. |
566 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
567 |
|
(shiftChar): Gets character from current file handle |
568 |
|
rather than replacement text. Don't normalize |
569 |
|
line break characters for internal entities. Don't |
570 |
|
throw |xp:wf-legal-literal-character| error |
571 |
|
for |RestrictedChar| appearing in internal entities. |
572 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
573 |
|
(_EntityDeclaration): Copy document URI and base URI |
574 |
|
to the entity's |$decl| object. |
575 |
|
(ParseError): New code fragment. |
576 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
577 |
|
text. |
578 |
|
(xp-error-lines): Don't appends text if no replacement |
579 |
|
text is available. |
580 |
|
(error-handler): New configuration parameter application resource. |
581 |
|
(ManakaiDOMLSInputToInputFile): New class. |
582 |
|
(ManakaiDOMInputFile): New class. |
583 |
|
|
584 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
585 |
|
|
586 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
587 |
|
|
588 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
589 |
|
|
590 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
591 |
|
(parseString): Don't output |Document| warnings |
592 |
|
during tree construction to standard error output. |
593 |
|
|
594 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
595 |
|
|
596 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
597 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
598 |
|
error detection is implemented. Generates |Notation| nodes |
599 |
|
from notation declarations. |
600 |
|
(checkNCName, checkQName): New code fragments. |
601 |
|
|
602 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
603 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
604 |
|
is |false|. |
605 |
|
|
606 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
607 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
608 |
|
|
609 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
610 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
611 |
|
(Attr.specified): Setter added. |
612 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
613 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
614 |
|
if |Document.strictErrorChecking| is |false|. |
615 |
|
|
616 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
617 |
|
|
618 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
619 |
|
attribute of the |Document| node. Don't process entity |
620 |
|
and attribute definition list declarations after |
621 |
|
unread parameter entity reference. Warns if an attribute definition is |
622 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
623 |
|
flags whether predefined entities are declared or not. |
624 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
625 |
|
|
626 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
627 |
|
|
628 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
629 |
|
if a predefined entity declaration references an external entity. |
630 |
|
Issues |xp:error-malformed-predefined-entity| error if |
631 |
|
a predefined entity declaration defines different thing than |
632 |
|
one as in XML specification. |
633 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
634 |
|
more than one entity declarations for an entity is found. |
635 |
|
(WFErrDef): Now all well-formedness errors are marked |
636 |
|
as |SEVERITY_FATAL_ERROR|. |
637 |
|
|
638 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
639 |
|
predefined entity declarations. |
640 |
|
(DocumentXDoctype.createNotation): New method. |
641 |
|
(DocumentTypeDefinition.notations): New attribute. |
642 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
643 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
644 |
|
(newNotationForTest): New code fragment. |
645 |
|
|
646 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
647 |
|
(c:ManakaiDOMNotationMap): New class. |
648 |
|
(c:ManakaiDOMNotationMapArray): New class. |
649 |
|
(Document.allDeclarationsProcessed): New attribute. |
650 |
|
|
651 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
652 |
|
(Notation): Revised. |
653 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
654 |
|
|
655 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
656 |
|
|
657 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
658 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
659 |
|
if a parameter entity declaration contains |NDATA| keyword. |
660 |
|
(setEmptyEntityState): Set |name| attribute. |
661 |
|
|
662 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
663 |
|
loop even if entity replacement tree contains recursive |
664 |
|
reference directly or indirectly. |
665 |
|
|
666 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
667 |
|
|
668 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
669 |
|
WFC error is implemented. |
670 |
|
|
671 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
672 |
|
|
673 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
674 |
|
configuration parameter |true| during tree construction |
675 |
|
to ensure default attribute value is cloned as is |
676 |
|
including entity reference subtree. |
677 |
|
|
678 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
679 |
|
parameter. |
680 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
681 |
|
configuration parameter support is added. |
682 |
|
|
683 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
684 |
|
|
685 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
686 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
687 |
|
content before constructing |Entity| replacement tree. |
688 |
|
The |xp:wf-entity-declared| well-formedness constraint |
689 |
|
for entity references in attribute value literal is implemented. |
690 |
|
|
691 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
692 |
|
|
693 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
694 |
|
constaraint for entity references that appear in |
695 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
696 |
|
attribute. |
697 |
|
(getEmptyEntityState): New code. |
698 |
|
|
699 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
700 |
|
definition is removed. |
701 |
|
|
702 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
703 |
|
(EntityReference.isExpanded): Setter is added. |
704 |
|
|
705 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
706 |
|
|
707 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
708 |
|
and |xp:wf-no-external-entity-references| well-formedness |
709 |
|
constraints are implemented. |
710 |
|
|
711 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
712 |
|
|
713 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
714 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
715 |
|
errors (including well-formedness constraint errors) are |
716 |
|
traped by the error handler. |
717 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
718 |
|
attribute of the node. Reports an error if |publidLiteral| |
719 |
|
contains a non-|pubidChar|. |
720 |
|
|
721 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
722 |
|
version |3.0|). |
723 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
724 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
725 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
726 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
727 |
|
interface (except unimplemented |notations| and |internalSubset| |
728 |
|
attributes). |
729 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
730 |
|
for compatibility with |x:DocumentType| interface. |
731 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
732 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
733 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
734 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
735 |
|
(DocumentTypeDeclaration): New interface. |
736 |
|
|
737 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
738 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
739 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
740 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
741 |
|
instead of obsolete |DocumentType.newObject|. |
742 |
|
|
743 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
744 |
|
DocumentType.publicId, DocumentType.systemId, |
745 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
746 |
|
as clones of similar attributes or methods |
747 |
|
in |MDOM:XDoctype| module. |
748 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
749 |
|
instead). |
750 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
751 |
|
is used). |
752 |
|
|
753 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
754 |
|
|
755 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
756 |
|
fatal error. |
757 |
|
|
758 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
759 |
|
|
760 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
761 |
|
defined as a |?default-token|. |
762 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
763 |
|
comment declarations, cdata sections, and |MSE| in |content| |
764 |
|
added. |
765 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
766 |
|
(get-location-from-token): |$token->{location_d}| |
767 |
|
for |?default-token| column counting support added. |
768 |
|
|
769 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
770 |
|
|
771 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
772 |
|
|
773 |
|
* Tree.dis (createProcessingInstruction): Don't |
774 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
775 |
|
is |false|. |
776 |
|
|
777 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
778 |
|
It enables improved error position report. |
779 |
|
(XDO): It now includes |S+| following target name |xml| as |
780 |
|
part of the token. (PI with target starting with |xml| |
781 |
|
was unable to be placed at the beginning of the document entity.) |
782 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
783 |
|
a processing instruction node with |#INVALID| node name |
784 |
|
if target name is not given and recovered from the error. |
785 |
|
(S): Variable |$s| added. |
786 |
|
(XMLTests): Tests for XML declarations and processing |
787 |
|
instructions are added. Prints error type name if unexpected |
788 |
|
error with severity of error or fatal error has been reported. |
789 |
|
Catch unexpected exceptions thrown in parser (different |
790 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
791 |
|
for the ease of testing. |
792 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
793 |
|
stack into acount. |
794 |
|
|
795 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
796 |
|
|
797 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
798 |
|
is fixed. Although the DOM Level 3 Core specification |
799 |
|
is unclear about whether the first number is zero or one, |
800 |
|
in most programs the first line is "one" and |
801 |
|
the first column is "one", manakai follows the practice. |
802 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
803 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
804 |
|
tests (successful cases) added. |
805 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
806 |
|
properties. |
807 |
|
|
808 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
809 |
|
|
810 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
811 |
|
|
812 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
813 |
|
|
814 |
|
* DOMCore.dis (c:erred): New property. |
815 |
|
(c:DOMErrorType): It should have been a subset |
816 |
|
of |ecore:AnyErrorCode|. |
817 |
|
|
818 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
819 |
|
|
820 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
821 |
|
|
822 |
|
* XDoctype.dis (d:Feature): New canonical feature |
823 |
|
name |fe:XDoctype| is added. |
824 |
|
|
825 |
|
* XMLParser.dis: Predefined general entity references |
826 |
|
are implemented. Creates |Entity| nodes from general entities |
827 |
|
declared in internal subset. |Entity| nodes created from internal |
828 |
|
general parsed entities now have replacement tree. |
829 |
|
Sets |cfg:entity-reference-read-only| flag off during |
830 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
831 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
832 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
833 |
|
introduced. General entity references in attribute value literal |
834 |
|
are supported. |
835 |
|
|
836 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
837 |
|
|
838 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
839 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
840 |
|
(createEntityReference): Set |c:read-only| flag of |
841 |
|
the created entity reference, too. |
842 |
|
|
843 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
844 |
|
|
845 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
846 |
|
from |DOMFeature| module instead. Use |idl:Object| |
847 |
|
instead of |DOMMain:DOMObject| as well. |
848 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
849 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
850 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
851 |
|
respectively. |
852 |
|
|
853 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
854 |
|
It will be reimplemented using |DocumentTypeDefinition| |
855 |
|
class from |XDoctype| module. |
856 |
|
|
857 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
858 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
859 |
|
SimpleLS.dis: Cleaned up unused definitions. |
860 |
|
|
861 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
862 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
863 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
864 |
|
|
865 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
866 |
|
|
867 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
868 |
|
(feature.dae): Include |GenericLS| module. |
869 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
870 |
|
(ls.dae): Include |DOMLS| module. |
871 |
|
|
872 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
873 |
|
|
874 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
875 |
|
attribute are added. |
876 |
|
|
877 |
|
* XDoctype.dis (createGeneralEntity): New method. |
878 |
|
(generalEntities): New attribute. |
879 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
880 |
|
|
881 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
882 |
|
(ManakaiDOMEntityMap): New class. |
883 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
884 |
|
(createEntityReference): If there is a corresponding |Entity| |
885 |
|
node in the document type definition, then copies its |
886 |
|
subtree. |
887 |
|
|
888 |
|
* DOMXML.dis (Entity): Documentation updated. |
889 |
|
(publicId, systemId, notationName, xmlEncoding, |
890 |
|
xmlVersion): These attributes are now settable |
891 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
892 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
893 |
|
mode. |
894 |
|
(ownerDocumentTypeDefinition): New attribute |
895 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
896 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
897 |
|
|
898 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
899 |
|
|
900 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
901 |
|
|
902 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
903 |
|
|
904 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
905 |
|
(ManakaiDOMAttributes): Removed. |
906 |
|
(ManakaiDOMAttrMap): New class. |
907 |
|
(ManakaiDOMAttrMapArray): New class. |
908 |
|
(namespaceURI): Bug to return a string representation |
909 |
|
of a reference to the namespace URI string is fixed. |
910 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
911 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
912 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
913 |
|
if there is no attribute node. |
914 |
|
(createElement, createElementNS): DTD default attributes are supported. |
915 |
|
(setAttributeNode): Reimplemented. |
916 |
|
|
917 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
918 |
|
|
919 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
920 |
|
|
921 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
922 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
923 |
|
(schemaTypeInfo): Implemented for XML DTD. |
924 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
925 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
926 |
|
of the newly created |Attr| node (if any) when attribute |
927 |
|
definition is available. |
928 |
|
(doctype, documentElement): Reimplemented with tests. |
929 |
|
|
930 |
|
* XMLParser.dis: Sets [attribute type] information |
931 |
|
to created |Attr| nodes. Normalize namespace URIs |
932 |
|
when such information are available (unlikely but legal). |
933 |
|
(_HexadecimalCharacterReference): Number to character |
934 |
|
convertion bug fixed. |
935 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
936 |
|
configuration parameter to XML DTD URI. |
937 |
|
|
938 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
939 |
|
|
940 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
941 |
|
attribute definition nodes. |
942 |
|
|
943 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
944 |
|
and another |UNKNOWN_ATTR| constant is introduced |
945 |
|
for consistency with XML Infoset. |
946 |
|
|
947 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
948 |
|
|
949 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
950 |
|
|
951 |
|
* XDoctype.dis: A bug in test code fixed. |
952 |
|
|
953 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
954 |
|
definition named node maps now can be dereferenced |
955 |
|
as if they are array or hash references. |
956 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
957 |
|
or attribute definitions. |
958 |
|
(length): Tests added. |
959 |
|
(NamedNodeMapArray): New classes. |
960 |
|
|
961 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
962 |
|
|
963 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
964 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
965 |
|
if the new node is already used for another definition. |
966 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
967 |
|
property name was incorrect. |
968 |
|
(elementTypes, attributeDefinitions): Checks to |
969 |
|
ensure the collection is empty added. |
970 |
|
|
971 |
|
* Tree.dis: Property name typos fixed. |
972 |
|
(setNamedItem, setAttributeNode): Don't return any node |
973 |
|
if it replace itself. |
974 |
|
(c:userDeterminedId): Missing definition added. |
975 |
|
|
976 |
|
* DOMXML.dis (Notation): Missing property specification |
977 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
978 |
|
|
979 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
980 |
|
|
981 |
|
* DOMCore.dis (Test): Missing argument added. |
982 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
983 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
984 |
|
error conditions were incorrect. |
985 |
|
|
986 |
|
* .cvsignore: Dummy files added. |
987 |
|
|
988 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
989 |
|
|
990 |
|
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
991 |
|
INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes. |
992 |
|
|
993 |
|
* DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION| |
994 |
|
to avoid uninitialized value warning. |
995 |
|
|
996 |
|
* Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New |
997 |
|
classes (work in progress). |
998 |
|
|
999 |
|
* XDoctype.dis (elementTypes, attributeDefinitions): New attributes. |
1000 |
|
|
1001 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
1002 |
|
|
1003 |
|
* Tree.dis (getAttribute): Returns |null| if there |
1004 |
|
is no attribute in |ManakaiDOM:DOMLatest| for compatibility |
1005 |
|
with Web browser implementations. |
1006 |
|
(getAttributeNS): It returned |null| if there |
1007 |
|
is no attribute in any |For| unintentionally. It now |
1008 |
|
returns an empty string in DOM levels less than or equals |
1009 |
|
to three. |
1010 |
|
|
1011 |
|
* XMLParser.dis (shiftChar): Fixed not to be warned as |
1012 |
|
uninitialized value or substring out of range. |
1013 |
|
|
1014 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
1015 |
|
|
1016 |
|
* DOMXML.dis (DocumentType.childNodes): Removed |
1017 |
|
from |ManakaiDOM:ManakaiDOMLatest| variant. |
1018 |
|
|
1019 |
|
* XMLParser.dis: Parsing of general internal entities implemented. |
1020 |
|
(_DocumentTypeDeclaration): Appends a document type definition |
1021 |
|
node to the document. |
1022 |
|
(_ProcessingInstructionDTD): Appends a processing |
1023 |
|
instruction node to the document type definition. |
1024 |
|
(Element_): Document element could not be an |EmptyElemTag|. |
1025 |
|
|
1026 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
1027 |
|
|
1028 |
|
* DOMFeature.dis (featuresParamToFeaturesHash): New block |
1029 |
|
code (seprated from |InputProcessor|). Now |
1030 |
|
a |features| parameter's version can be specified by |
1031 |
|
an array reference that contains a set of version |
1032 |
|
numbers. A test added. |
1033 |
|
|
1034 |
|
* XMLParser.dis: A test added. |
1035 |
|
|
1036 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
1037 |
|
|
1038 |
|
* DOMCore.dis (Test): Don't invoke |DESTROY| method |
1039 |
|
because it does not work with dummy object used in the test code. |
1040 |
|
|
1041 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
1042 |
|
|
1043 |
|
* DOMMain.dis (checkXMLNamesQName): Checks whether |
1044 |
|
namespace URI is defined for not being warned. |
1045 |
|
|
1046 |
|
* XDoctype.dis: New module. |
1047 |
|
|
1048 |
|
* DOMCore.dis (DOMStringList): Test added. |
1049 |
|
|
1050 |
|
* Makefile: |XDoctype.pm| added. |
1051 |
|
|
1052 |
|
* Tree.dis (Require): Requires |XDoctype.dis|. |
1053 |
|
(ManakaiDOMNodeObjectNode.eq): Added. |
1054 |
|
(Test): |DOMError.location| must return a |DOMLocator| |
1055 |
|
object (it was incorrectly tested to return |null|). |
1056 |
|
(EmptyNodeList.DESTROY): Removed. |
1057 |
|
|
1058 |
|
2006-01-04 Wakaba <wakaba@suika.fam.cx> |
1059 |
|
|
1060 |
|
* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and |
1061 |
|
|ATTRIBUTE_DEFINITION_NODE| node types added. |
1062 |
|
(appendChild, insertBefore, replaceChild): New |
1063 |
|
two node types added and processing instruction nodes |
1064 |
|
as document type definition node child is allowed |
1065 |
|
in |ManakaiDOM:ManakaiDOMLatest| mode. |
1066 |
|
(getNodeReference): New |interface| parameter |
1067 |
|
to filter classes by interface is added. |
1068 |
|
(ElementTypeDefinitionRole): New role. |
1069 |
|
(AttributeDefinitionRole): New role. |
1070 |
|
|
1071 |
|
2006-01-02 Wakaba <wakaba@suika.fam.cx> |
1072 |
|
|
1073 |
|
* DOMCore.dis (DOMStringList): Reimplemented as tied array. |
1074 |
|
|
1075 |
|
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
1076 |
|
|
1077 |
|
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |
1078 |
|
if it is not provided. |
1079 |
|
|
1080 |
|
* XMLParser.dis: Parsing methods to skip document |
1081 |
|
type declaration is added. |
1082 |
|
|
1083 |
|
2005-12-29 Wakaba <wakaba@suika.fam.cx> |
1084 |
|
|
1085 |
|
* XMLParser.dis (shiftChar): Checks characters are legal |
1086 |
|
or not. Normalize end-of-lines. |
1087 |
|
(rule _XMLDeclaration_): Implemented. |
1088 |
|
(WFErrDef): Well-formedness error |wf-syntax-error|, |
1089 |
|
|wf-pi-target-is-xml|, |wf-no-end-tag|, |
1090 |
|
|wf-unsupported-xml-version|, |wf-malformed-enc-name|, |
1091 |
|
|wf-malformed-xml-standalone|, |wf-legal-literal-character|, |
1092 |
|
|wf-element-type-match|, |wf-unique-att-spec|, |
1093 |
|
|wf-legal-character| added. |
1094 |
|
(%character-code-point): New formatter rule. |
1095 |
|
|
1096 |
|
* Tree.dis (Document.xmlEncoding): It is now read-write attribute. |
1097 |
|
|
1098 |
|
* DOMCore.dis (DOMError.stringify): Added. |
1099 |
|
(error-handler.default): Returns |false| (don't continue) |
1100 |
|
when the error severity is |SEVERITY_FATAL_ERROR|. |
1101 |
|
|
1102 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
1103 |
|
|
1104 |
|
* XMLParser.dis (DocumentEntity): Typos fixed. |
1105 |
|
(|lexmode|s): New |?default-token| statements are used |
1106 |
|
so that tokenizer description has been simplified |
1107 |
|
and CDATA sections now can be parsed. |
1108 |
|
|
1109 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
1110 |
|
|
1111 |
|
* XMLParser.dis: Some modifications made. |
1112 |
|
|
1113 |
|
2005-12-27 Wakaba <wakaba@suika.fam.cx> |
1114 |
|
|
1115 |
|
* DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a |
1116 |
|
global named resource. |
1117 |
|
|
1118 |
|
* Makefile: Rules to make |XMLParser.pm| is added. |
1119 |
|
|
1120 |
|
* XMLParser.dis: New file. |
1121 |
|
|
1122 |
|
2005-12-24 Wakaba <wakaba@suika.fam.cx> |
1123 |
|
|
1124 |
|
* DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error |
1125 |
|
message formatter can now vary by error types. |
1126 |
|
(DOMLocator.utf32Offset): New (manakai extended) attribute. |
1127 |
|
|
1128 |
|
2005-12-23 Wakaba <wakaba@suika.fam.cx> |
1129 |
|
|
1130 |
|
* DOMCore.dis (DOMLocator): Implemented. |
1131 |
|
|
1132 |
|
2005-12-21 Wakaba <wakaba@suika.fam.cx> |
1133 |
|
|
1134 |
|
* DOMCore.dis (DOMConfigurationParameterApplication, |
1135 |
|
domConfigurationParameter): New resources. |
1136 |
|
|
1137 |
|
2005-11-25 Wakaba <wakaba@suika.fam.cx> |
1138 |
|
|
1139 |
|
* Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error): |
1140 |
|
New methods. |
1141 |
|
|
1142 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
1143 |
|
|
1144 |
|
* DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__| |
1145 |
|
blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks. |
1146 |
|
|
1147 |
|
* DOMMain.dis (___report_error): Throws the error unkess |
1148 |
|
it is a |DOMCore:DOMError| object. |
1149 |
|
|
1150 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
1151 |
|
|
1152 |
|
* DOMCore.dis (severity, type): Getters return value from |
1153 |
|
the definition of the current error (i.e. |-def| hash). |
1154 |
|
(___error_def): New method. |
1155 |
|
(errorType): |dis:dataType| changed to |DISCore:TFQNames| |
1156 |
|
to ease natural reference to constant value. |
1157 |
|
(error-handler.default): Prints the error message by |warn|. |
1158 |
|
|
1159 |
|
* Tree.dis (nodeValue.set): Reimplemented so that it |
1160 |
|
warns as setting has no effect. |
1161 |
|
(___report_error): New method. (It had been only implemented |
1162 |
|
in superclass.) |
1163 |
|
(setting-node-value-no-effect): New error type. |
1164 |
|
|
1165 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
1166 |
|
|
1167 |
|
* DOMCore.dis: Error codes added. |
1168 |
|
|
1169 |
|
* Tree.dis (destroyNodeStem): New method implementation. |
1170 |
|
|
1171 |
|
2005-11-22 Wakaba <wakaba@suika.fam.cx> |
1172 |
|
|
1173 |
|
* Tree.dis (cloneNode): User data handlers implemented. |
1174 |
|
(adoptNode): User data handlers implemented. |
1175 |
|
|
1176 |
|
2005-11-21 Wakaba <wakaba@suika.fam.cx> |
1177 |
|
|
1178 |
|
* DOMCore.dis (UserDataHandler): A constraint for Perl binding |
1179 |
|
added. |
1180 |
|
|
1181 |
|
* Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented. |
1182 |
|
(getUserData, setUserData): Implemented. |
1183 |
|
|
1184 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
1185 |
|
|
1186 |
|
* DOMCore.dis (UserDataHandler): Implemented. |
1187 |
|
(DOMErrorHandler): Blessed package name bug fixed. |
1188 |
|
|
1189 |
|
* ManakaiDOMLS2003.dis: Reference to |Node| subclasses |
1190 |
|
changed to |Tree.dis|. |
1191 |
|
|
1192 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
1193 |
|
|
1194 |
|
* DOMMain.dis: Unused declarations and definitions removed. |
1195 |
|
|
1196 |
|
* DOMCore.dis: DOM document tree related interfaces removed. |
1197 |
|
|
1198 |
|
* Tree.dis: New module separated from |DOMCore.dis|. |
1199 |
|
|
1200 |
|
* DOMXML.dis: Some referent changed to |Tree.dis|. |
1201 |
|
|
1202 |
|
* Makefile: |Tree.dis| added. |
1203 |
|
|
1204 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
1205 |
|
|
1206 |
|
* .cvsignore: Revised. |
1207 |
|
|
1208 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
1209 |
|
|
1210 |
|
* ManakaiDOMLS2003.dis: Tests added. |
1211 |
|
(domConfig): Method name in the code fixed to |flag|. |
1212 |
|
|
1213 |
|
* DOMMain.dis (findOffset32): Missing |^| in regular expressions |
1214 |
|
added. |
1215 |
|
|
1216 |
|
* DOMCore.dis (hasChildNodes): Returns |false| if the node type |
1217 |
|
is defined not to have any children. |
1218 |
|
(CharacterData): Typos in element type names and function names fixed. |
1219 |
|
|
1220 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
1221 |
|
|
1222 |
|
* DOMFeature.dis (MinimumImplementation.eq): Added. |
1223 |
|
|
1224 |
|
* DOMMain.dis: |DISPerl:ISA| reference fixed. |
1225 |
|
|
1226 |
|
* Generic.dis: Implements new |DOMLS:Generic| feature. |
1227 |
|
|
1228 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
1229 |
|
|
1230 |
|
* DOMFeature.dis (stringifyFeatures): Don't double |SPACE| |
1231 |
|
characters between feature names and versions. |
1232 |
|
|
1233 |
|
2005-11-13 Wakaba <wakaba@suika.fam.cx> |
1234 |
|
|
1235 |
|
* DOMFeature.dis (stringifyFeatures): A test code added. |
1236 |
|
|
1237 |
|
2005-10-26 Wakaba <wakaba@suika.fam.cx> |
1238 |
|
|
1239 |
|
* SimpleLS.dis (writeToString): Don't stop serializing |
1240 |
|
when an |false| value appears in |@src|. |
1241 |
|
|
1242 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
1243 |
|
|
1244 |
|
* DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented. |
1245 |
|
(ErrDef): Redefined. |
1246 |
|
|
1247 |
|
* DOMLS.dis (ErrDef): Redefined. |
1248 |
|
|
1249 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
1250 |
|
|
1251 |
|
* DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject". |
1252 |
|
|
1253 |
|
2005-10-15 Wakaba <wakaba@suika.fam.cx> |
1254 |
|
|
1255 |
|
* DOMCore.dis (Require): References "DOMLS.dis" module. |
1256 |
|
(CParam): Definitions for LS module added. |
1257 |
|
|
1258 |
|
* DOMLS.dis (ManakaiDOMLSInput): The input processor |
1259 |
|
is also an output processor now. |
1260 |
|
(ManakaiDOMLSResourceResolver): Implemented. |
1261 |
|
(CParam): Definitions updated. |
1262 |
|
|
1263 |
|
2005-10-14 Wakaba <wakaba@suika.fam.cx> |
1264 |
|
|
1265 |
|
* DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR, |
1266 |
|
NOT_SUPPORTED_CONFIG_VALUE_ERR, |
1267 |
|
INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes. |
1268 |
|
(DOMConfiguration): Implemented. |
1269 |
|
(CParam): Definitions updated. |
1270 |
|
|
1271 |
|
* DOMMain.dis (DOMURIs): New data type. |
1272 |
|
|
1273 |
|
2005-10-13 Wakaba <wakaba@suika.fam.cx> |
1274 |
|
|
1275 |
|
* DOMCore.dis (setAttrValueNS): New code. |
1276 |
|
|
1277 |
|
2005-10-12 Wakaba <wakaba@suika.fam.cx> |
1278 |
|
|
1279 |
|
* DOMCore.dis: Don't set "infoset:prefix" internal |
1280 |
|
property unless it has non-null value. |
1281 |
|
(newObject): "refNode" parameter introduced. |
1282 |
|
(ManakaiDOMNode.newObject): Calls "NodeStem.newNode" |
1283 |
|
method if "refNode" parameter is specified. |
1284 |
|
(cloneNode): Don't set "read-only" flag. |
1285 |
|
(getNodeReference): Caches the result. |
1286 |
|
(selectAttributeNodeForRemove): Don't removes any other |
1287 |
|
non-namespace-aware attribute nodes. |
1288 |
|
|
1289 |
|
2005-10-11 Wakaba <wakaba@suika.fam.cx> |
1290 |
|
|
1291 |
|
* DOMCore.dis (appendChild, createElementNS, createAttributeNS, |
1292 |
|
setAttribute, setAttributeNS): "strictErrorChecking" attribute supported. |
1293 |
|
(doStrictErrorChecking): New code. |
1294 |
|
|
1295 |
|
* DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute |
1296 |
|
supported. |
1297 |
|
|
1298 |
|
* Makefile: Rule to make "DOMFeature.pm" restored. |
1299 |
|
|
1300 |
|
2005-10-10 Wakaba <wakaba@suika.fam.cx> |
1301 |
|
|
1302 |
|
* DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode. |
1303 |
|
(adoptNode): Implemented. |
1304 |
|
|
1305 |
|
2005-10-09 Wakaba <wakaba@suika.fam.cx> |
1306 |
|
|
1307 |
|
* DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed. |
1308 |
|
|
1309 |
|
* DOMFeature.dis (DOMCore:implementation): Short name added. |
1310 |
|
|
1311 |
|
* DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode. |
1312 |
|
(DOMCore:node): New error parameter. |
1313 |
|
(DOMCore:ownerDocument): Changed from "mn:irefnode0" |
1314 |
|
to "mn:xrefnode0". For this reason, all assignments |
1315 |
|
to this property have been rewritten to references |
1316 |
|
to code "mn:setXRefNode". |
1317 |
|
(cloneNode): Implemented. |
1318 |
|
(setAttributeNode): A missing "importTree" method call added. |
1319 |
|
(setAttributeNodeNS): Perl code removed and changed |
1320 |
|
to a reference to "setAttributeNode" method code. |
1321 |
|
|
1322 |
|
* DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0" |
1323 |
|
property to "mn:xrefnode0" property. |
1324 |
|
|
1325 |
|
2005-10-08 Wakaba <wakaba@suika.fam.cx> |
1326 |
|
|
1327 |
|
* DOMCore.dis, DOMLS.dis: Now constant values are defined only |
1328 |
|
in interfaces. |
1329 |
|
|
1330 |
|
2005-10-06 Wakaba <wakaba@suika.fam.cx> |
1331 |
|
|
1332 |
|
* DOMCore.dis (ManakaiDOMEmptyNodeList): New class. |
1333 |
|
(ManakaiDOMCharacterData): Methods reimplemented. |
1334 |
|
(splitText): Reimplemented. |
1335 |
|
(childNodes): Returns a "ManakaiDOMEmptyNodeList" |
1336 |
|
for non-parent node types. |
1337 |
|
|
1338 |
|
* DOMXML.dis (childNodes): Returns a "ManakaiDOMEmptyNodeList" |
1339 |
|
for non-parent node types. |
1340 |
|
|
1341 |
|
2005-10-05 Wakaba <wakaba@suika.fam.cx> |
1342 |
|
|
1343 |
|
* ManakaiDOMLS2003.dis: Revised to new format. |
1344 |
|
|
1345 |
|
* GenericLS.dis (DOMLS:ParseString): New feature. |
1346 |
|
|
1347 |
|
2005-10-05 Wakaba <wakaba@suika.fam.cx> |
1348 |
|
|
1349 |
|
* DOMFeature.dis: Description added and revised. (Still more |
1350 |
|
work required.) |
1351 |
|
|
1352 |
|
2005-10-04 Wakaba <wakaba@suika.fam.cx> |
1353 |
|
|
1354 |
|
* DOMMain.dis (DOMString): The "idl:perl" attribute |
1355 |
|
value has been changed from "DISPerl:String" |
1356 |
|
to "DISPerl:CharacterString" to clarify its semantics. |
1357 |
|
|
1358 |
|
2005-10-03 Wakaba <wakaba@suika.fam.cx> |
1359 |
|
|
1360 |
|
* DOMFeature.dis (MIString): Java, ECMAScript, and Perl bound |
1361 |
|
type properties added. |
1362 |
|
|
1363 |
|
* DOMMain.dis (DataType): Java, ECMAScript, and Perl bound |
1364 |
|
type properties added. |
1365 |
|
|
1366 |
|
2005-10-02 Wakaba <wakaba@suika.fam.cx> |
1367 |
|
|
1368 |
|
* DOMFeature.dis (Module): "idl:prefix" and "idl:moduleName" |
1369 |
|
properties added. |
1370 |
|
|
1371 |
|
2005-10-01 Wakaba <wakaba@suika.fam.cx> |
1372 |
|
|
1373 |
|
* DOMFeature.dis: Documentation added (still work in progress). |
1374 |
|
(MIString): New type. |
1375 |
|
|
1376 |
|
* DOMCore.dis (namespaceURI): Fixed to return the namespace |
1377 |
|
URI value, not a reference to it. |
1378 |
|
|
1379 |
|
2005-09-30 Wakaba <wakaba@suika.fam.cx> |
1380 |
|
|
1381 |
|
* DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local |
1382 |
|
names where possible. |
1383 |
|
|
1384 |
|
* DOMFeature.dis: Documentation for DOM Minimum Implementation |
1385 |
|
added (still work in progress). |
1386 |
|
|
1387 |
|
* Makefile (feature.dae, feature-spec.dae): New rules. |
1388 |
|
|
1389 |
|
2005-09-27 Wakaba <wakaba@suika.fam.cx> |
1390 |
|
|
1391 |
|
* DOMCore.dis (DOMCore:nodeProp): New property. |
1392 |
|
|
1393 |
|
* DOMCore.dis, DOMXML.dis: Codes to set properties "TreeCore:*" |
1394 |
|
is removed. |
1395 |
|
|
1396 |
|
2005-09-26 Wakaba <wakaba@suika.fam.cx> |
1397 |
|
|
1398 |
|
* DOMCore.dis, DOMXML.dis: New mn:* properties added. |
1399 |
|
|
1400 |
|
2005-09-25 Wakaba <wakaba@suika.fam.cx> |
1401 |
|
|
1402 |
|
* Makefile (DAC_SUFFIX): Changed to ".dae". |
1403 |
|
(DAEM_SUFFIX): New. |
1404 |
|
|
1405 |
|
2005-09-24 Wakaba <wakaba@suika.fam.cx> |
1406 |
|
|
1407 |
|
* DOMMain.dis (MDOM:): Reintroduced for "ManakaiDOM:ManakaiDOM1" |
1408 |
|
and "ManakaiDOM:ManakaiDOM2". |
1409 |
|
|
1410 |
|
* DOMFeature.dis, DOMMain.dis, DOMCore.dis, DOMXML.dis, |
1411 |
|
DOMLS.dis, SimpleLS.dis, GenericLS.dis: Use disPerl:H |
1412 |
|
instead of disPerl:Q for internal property hash keys. |
1413 |
|
|
1414 |
|
* DOMFeature.dis, DOMCore.dis, DOMXML.dis: Missing property |
1415 |
|
definitions added. |
1416 |
|
|
1417 |
|
* DOMCore.dis (DOMCore:TextNode, DOMCore:DocumentFragmentNode): |
1418 |
|
New resources. |
1419 |
|
|
1420 |
|
* DOMXML.dis (DOMXML:EntityNode, DOMXML:EntityReferenceNode): New |
1421 |
|
resources. |
1422 |
|
|
1423 |
|
2005-09-23 Wakaba <wakaba@suika.fam.cx> |
1424 |
|
|
1425 |
|
* GenericLS.dis, SimpleLS.dis: New modules separated |
1426 |
|
from DOMLS.dis. |
1427 |
|
|
1428 |
|
* DOMFeature.dis, DOMMain.dis: "MDOM:" and "for" definitions |
1429 |
|
moved from DOMMain to DOMFeature. Now DOMFeature |
1430 |
|
has no dependency on DOMMain. |
1431 |
|
|
1432 |
|
* DOMFeature.dis (DEBUG): New variable. |
1433 |
|
|
1434 |
|
2005-09-22 Wakaba <wakaba@suika.fam.cx> |
1435 |
|
|
1436 |
|
* Makefile: DAC_SUFFIX changed to ".dad". |
1437 |
|
|
1438 |
|
2005-09-21 Wakaba <wakaba@suika.fam.cx> |
1439 |
|
|
1440 |
|
* DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion" |
1441 |
|
features if it is "for" ManakaiDOM:DOMXMLFeature. |
1442 |
|
|
1443 |
|
* DOMMain.pm (StringExtend): Code portions of raising |
1444 |
|
StringOutOfBoundsException is temporary disabled since |
1445 |
|
it is not a DOM-style exception supported by |
1446 |
|
current implementation of ManakaiNode - it will be |
1447 |
|
recovered in later revision. |
1448 |
|
|
1449 |
|
2005-09-20 Wakaba <wakaba@suika.fam.cx> |
1450 |
|
|
1451 |
|
* DOMFeature.pm: Debug output code copied |
1452 |
|
from Attic/DOMMetaImpl.pm (Should these code incorporated |
1453 |
|
to source dis file?). |
1454 |
|
|
1455 |
|
2005-09-19 Wakaba <wakaba@suika.fam.cx> |
1456 |
|
|
1457 |
|
* DOMMain.dis (ManakaiDOM:DOMMethod, ManakaiDOM:DOMMethodReturn, |
1458 |
|
ManakaiDOM:DOMAttribute, ManakaiDOM:DOMAttrGet, |
1459 |
|
ManakaiDOM:DOMAttrSet, ManakaiDOM:DOMMethodParam): Removed. |
1460 |
|
(ManakaiDOMTimeStamp): Removed. |
1461 |
|
|
1462 |
|
* DOMBoot.dis, DOMMetaImpl.dis, DOMMetaImpl.pm: Removed (they are no |
1463 |
|
longer in use). |
1464 |
|
|
1465 |
|
2005-09-18 Wakaba <wakaba@suika.fam.cx> |
1466 |
|
|
1467 |
|
* DOMMain.dis (StringOutOfBoundsException): New exception. |
1468 |
|
|
1469 |
|
2005-09-15 Wakaba <wakaba@suika.fam.cx> |
1470 |
|
|
1471 |
|
* DOMFeature.dis: dis:dataType and dis:multipleProperties |
1472 |
|
properties added to properties. |
1473 |
|
|
1474 |
|
2005-09-08 Wakaba <wakaba@suika.fam.cx> |
1475 |
|
|
1476 |
|
* Makefile: Rules renewaled. |
1477 |
|
|
1478 |
|
2005-09-07 Wakaba <wakaba@suika.fam.cx> |
1479 |
|
|
1480 |
|
* DOMCore.dis, DOMXML.dis, DOMLS.dis: Inheritance information fixed. |
1481 |
|
|
1482 |
|
2005-09-05 Wakaba <wakaba@suika.fam.cx> |
1483 |
|
|
1484 |
|
* DOMMain.dis (DOMImplementationRegistry, |
1485 |
|
DOMImplementationRegistryVar): New. |
1486 |
|
|
1487 |
|
* DOMFeature.dis (DOMImplementationRegistry, |
1488 |
|
DOMImplementationRegistryVar): Removed. |
1489 |
|
(ImplementationRegistry): New class. |
1490 |
|
|
1491 |
|
2005-09-04 Wakaba <wakaba@suika.fam.cx> |
1492 |
|
|
1493 |
|
* DOMFeature.dis: New module. |
1494 |
|
|
1495 |
|
* DOMMetaImpl.dis (ManakaiDOM:ManakaiDOMObject): Removed. |
1496 |
|
|
1497 |
|
* DOMMain.dis (ManakaiDOM:ManakaiDOMObject): New. |
1498 |
|
(DOMString, DOMTimeStamp): Now they are not interfaces |
1499 |
|
but datatypes. |
1500 |
|
(DOMUserData, DOMObject, DOMUserData): Now they |
1501 |
|
are subtypes rather than aliases of their "real" type in IDL. |
1502 |
|
|
1503 |
|
* DOMCore.dis (DOMImplementationList, DOMImplementationSource): |
1504 |
|
New interfaces and classes. |
1505 |
|
|
1506 |
|
2005-09-01 Wakaba <wakaba@suika.fam.cx> |
1507 |
|
|
1508 |
|
* DOMCore.dis (setTextNodeContent): Sets the infoset:parent |
1509 |
|
property of the new Text node. |
1510 |
|
|
1511 |
|
2005-08-29 Wakaba <wakaba@suika.fam.cx> |
1512 |
|
|
1513 |
|
* Makefile: Loads "NaturalLanguage.dis". |
1514 |
|
|
1515 |
|
2005-08-26 Wakaba <wakaba@suika.fam.cx> |
1516 |
|
|
1517 |
|
* DOMCore.dis (createDocument): Set "ownerDocument" attribute |
1518 |
|
to the root element created by the method. (It was forgotten!!) |
1519 |
|
|
1520 |
|
2005-08-15 Wakaba <wakaba@suika.fam.cx> |
1521 |
|
|
1522 |
|
* DOMCore.dis (appendChild, insertBefore, replaceChild): Typo |
1523 |
|
in the code of removing the newChild from the previous |
1524 |
|
parent of that node is fixed. |
1525 |
|
|
1526 |
|
2005-05-29 Wakaba <wakaba@suika.fam.cx> |
1527 |
|
|
1528 |
|
* DOMLS.dis (SimpleSerializer): End tag was sometimes missing. Use |
1529 |
|
namespace prefix of element type if it is not declared |
1530 |
|
but not used else. A shift is replaced by pop:). |
1531 |
|
|
1532 |
|
* DOMCore.dis (getFeature): The getFeature method |
1533 |
|
for Node-derived classes implemented. |
1534 |
|
* DOMXML.dis (getFeature): Ditto. |
1535 |
|
|
1536 |
|
2005-05-21 Wakaba <wakaba@suika.fam.cx> |
1537 |
|
|
1538 |
|
* DOMCore.dis (getNodeReference): Use HTMLDocument class |
1539 |
|
if a document node has no document element node but |
1540 |
|
has support for the "HTML" feature. |
1541 |
|
|
1542 |
|
2005-03-03 Wakaba <wakaba@suika.fam.cx> |
1543 |
|
|
1544 |
|
* DOMMetaImpl.dis (features input normalizer): Variable name |
1545 |
|
typo fixed. |
1546 |
|
(ManakaiDOMImplementationSource.getDOMImplementation): Fixed bug |
1547 |
|
so that version specification for "+"'ed feature name does work now. |
1548 |
|
|
1549 |
|
2005-03-02 Wakaba <wakaba@suika.fam.cx> |
1550 |
|
|
1551 |
|
* DOMBoot.dis (ResourceDef): Definitions for DOMFeature are |
1552 |
|
removed (now defined in DOMMetaImpl). |
1553 |
|
|
1554 |
|
2005-02-21 Wakaba <wakaba@suika.fam.cx> |
1555 |
|
|
1556 |
|
* DOMMetaImpl.dis (IFClsDef[ManakaiDOMMinimumImplementation]): New. |
1557 |
|
|
1558 |
|
* Makefile: Rules for DOMMetaImpl module added. |
1559 |
|
|
1560 |
|
2005-02-20 Wakaba <wakaba@suika.fam.cx> |
1561 |
|
|
1562 |
|
* DOMMetaImpl.dis: New module (split from DOMCore and DOMMain). |
1563 |
|
|
1564 |
|
2005-02-18 Wakaba <wakaba@suika.fam.cx> |
1565 |
|
|
1566 |
|
* DOMCore.dis (getFeature): ManakaiDOM:ManakaiDOMNodeObject.newReference |
1567 |
|
is an instance method, not a class method. |
1568 |
|
|
1569 |
|
* DOMMain.dis (ResourceTypeDef[ManakaiDOM:Const, |
1570 |
|
ManakaiDOM:ConstGroup]): Removed (moved to "lib/manakai/DISLang.dis"). |
1571 |
|
(Exception-related definitions): Removed (moved to |
1572 |
|
"lib/Message/Util/Error/DOMException.dis"). |
1573 |
|
(ForDef[ManakaiDOM:ForIF, ManakaiDOM:ForClass]): Removed (moved |
1574 |
|
to DISLang). |
1575 |
|
|
1576 |
|
2005-02-17 Wakaba <wakaba@suika.fam.cx> |
1577 |
|
|
1578 |
|
* DOMMain.dis: Definitions for "ManakaiDOM:ManakaiDOMNodeObject" and |
1579 |
|
"ManakaiDOM:ManakaiDOMNodeReference" are removed (moved to |
1580 |
|
"lib/Message/Util/ManakaiNode.dis"). |
1581 |
|
(ResourceDef[ManakaiDOM:DataType]): Removed (moved to |
1582 |
|
"lib/manakai/DISCore.dis"). |
1583 |
|
(ResourceTypeDef[ManakaiDOM:IF, ManakaiDOM:Class, |
1584 |
|
ManakaiDOM:PrimitiveTypeClass]): Removed (moved to |
1585 |
|
"lib/manakai/DISLang.dis"). |
1586 |
|
|
1587 |
|
2005-02-16 Wakaba <wakaba@suika.fam.cx> |
1588 |
|
|
1589 |
|
* DOMMain.dis (ForDef[ManakaiDOM:Perl]): Removed (moved to |
1590 |
|
DISPerl module). |
1591 |
|
|
1592 |
|
2005-01-07 Wakaba <wakaba@suika.fam.cx> |
1593 |
|
|
1594 |
|
* DOMCore.dis: Each "delete array-item" replaced to a "splice". |
1595 |
|
|
1596 |
|
2005-01-06 Wakaba <wakaba@suika.fam.cx> |
1597 |
|
|
1598 |
|
* DOMMain.dis (ensureXMLName): Test as if XML 1.0 if it is not an |
1599 |
|
XML document. |
1600 |
|
|
1601 |
|
2005-01-05 Wakaba <wakaba@suika.fam.cx> |
1602 |
|
|
1603 |
|
* DOMMain.dis (ManakaiDOMExceptionOrWarning.stringify): New method. |
1604 |
|
(IntMethod[isExternallyReferred]): Rewritten. |
1605 |
|
(IntMethod[isExternallyReferredDownward]): Removed. |
1606 |
|
(Checking XML name legallity): Fix true or false mistakes. |
1607 |
|
(destroy, importTree, orphanate): Rewritten. |
1608 |
|
(destroyDownward, changeTreeIDDownward): Removed. |
1609 |
|
(TreeCore:urefnode property): Removed since not used. |
1610 |
|
|
1611 |
|
* DOMCore.dis: Tying array for NodeList implemented. |
1612 |
|
|
1613 |
|
2005-01-02 Wakaba <wakaba@suika.fam.cx> |
1614 |
|
|
1615 |
|
* DOMHTML.dis (HTMLDOMImplementation): New interface. |
1616 |
|
|
1617 |
|
* DOMViews.dis: Documentation for properties are added. |
1618 |
|
|
1619 |
|
2004-12-29 Wakaba <wakaba@suika.fam.cx> |
1620 |
|
|
1621 |
|
* Makefile: DOMXML, DOMEvents, DOMLS and ManakaiDOMLS2003 added. |
1622 |
|
|
1623 |
|
* ManakaiDOMCore.dis: Removed (merged with DOMCore.dis). |
1624 |
|
|
1625 |
|
2004-12-28 Wakaba <wakaba@suika.fam.cx> |
1626 |
|
|
1627 |
|
* ManakaiDOMXML.dis: Removed (merged with DOMXML.dis). |
1628 |
|
|
1629 |
|
2004-12-01 Wakaba <wakaba@suika.fam.cx> |
1630 |
|
|
1631 |
|
* ManakaiDOMMain.dis: Removed (merged with DOMMain.dis). |
1632 |
|
|
1633 |
|
2004-11-03 Wakaba <wakaba@suika.fam.cx> |
1634 |
|
|
1635 |
|
* .cvsignore: Ignore pod files. |
1636 |
|
|
1637 |
|
2004-10-31 Wakaba <wakaba@suika.fam.cx> |
1638 |
|
|
1639 |
|
* DOMXML.dis (ProcessingInstruction.data): Property name error fixed. |
1640 |
|
|
1641 |
|
* DOMMain.dis: Don't call DOMString->__INT{length}__ - it should |
1642 |
|
be DOMString->length. |
1643 |
|
|
1644 |
|
* DOMCore.dis (Element.getElementsByTagName, |
1645 |
|
Node.getElementsByTagName, Element.getElementsByTagNameNS, |
1646 |
|
Node.getElementsByTagNameNS): Implemented. |
1647 |
|
(Element.getAttributeNode, Element.getAttributeNodeNS): |
1648 |
|
Check whether defined. |
1649 |
|
|
1650 |
|
2004-10-18 Wakaba <wakaba@suika.fam.cx> |
1651 |
|
|
1652 |
|
* DOMWebForms.dis: New module. |
1653 |
|
|
1654 |
|
2004-10-17 Wakaba <wakaba@suika.fam.cx> |
1655 |
|
|
1656 |
|
* DOMBasicEvents.dis, DOMHTMLEvents.dis, DOMViews.dis, |
1657 |
|
DOMHTML.dis: New modules. |
1658 |
|
|
1659 |
|
2004-10-16 Wakaba <wakaba@suika.fam.cx> |
1660 |
|
|
1661 |
|
* DOMMouseEvents.dis, DOMTextEvents.dis: New module. |
1662 |
|
|
1663 |
2004-10-11 Wakaba <wakaba@suika.fam.cx> |
2004-10-11 Wakaba <wakaba@suika.fam.cx> |
1664 |
|
|
1665 |
* ManakaiDOMMain.dis: 'TreeCore:anydata2' property type added. |
* ManakaiDOMMain.dis: 'TreeCore:anydata2' property type added. |