| 1 |
wakaba |
1.18 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
|
| 3 |
|
|
* ContentChecker.pm: Descendant checking was incorrect. |
| 4 |
|
|
|
| 5 |
wakaba |
1.12 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 6 |
|
|
|
| 7 |
wakaba |
1.17 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
| 8 |
|
|
attributes. Report an error if |Element.prefix| |
| 9 |
|
|
is |xmlns|. |
| 10 |
|
|
|
| 11 |
|
|
* NanoDOM.pm (prefix): New attribute. |
| 12 |
|
|
|
| 13 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 14 |
|
|
|
| 15 |
wakaba |
1.16 |
* HTML.pm.src: In |main| phase, |in body| insertion |
| 16 |
|
|
mode, action for |<iframe>| was missing. |
| 17 |
|
|
|
| 18 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 19 |
|
|
|
| 20 |
wakaba |
1.15 |
* ContentChecker.pm: Support for many of HTML5 elements. |
| 21 |
|
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
| 22 |
|
|
|
| 23 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 24 |
|
|
|
| 25 |
wakaba |
1.14 |
* ContentChecker.pm: Support for most elements up to |progress|. |
| 26 |
|
|
($HTMLURIAttrChecker): Placeholder. |
| 27 |
|
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
| 28 |
|
|
New. |
| 29 |
|
|
|
| 30 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 31 |
|
|
|
| 32 |
wakaba |
1.13 |
* ContentChecker.pm: Attribute checkers |
| 33 |
|
|
for global attributes, |html|, |base|, |style|, and |meta|. |
| 34 |
|
|
|
| 35 |
|
|
* NanoDOM.pm (insert_before): Weaken reference |
| 36 |
|
|
to the parent node. |
| 37 |
|
|
(Attr::new): Set |owner_element| attribute. |
| 38 |
|
|
(namespace_uri, manakai_local_name): New attribute implementations. |
| 39 |
|
|
(owner_element): New attribute. |
| 40 |
|
|
|
| 41 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 42 |
|
|
|
| 43 |
wakaba |
1.12 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
| 44 |
|
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
| 45 |
|
|
$Element->{$HTML_NS}->{''}): New. |
| 46 |
|
|
(check_element): Invoke attrs_checker for each element. |
| 47 |
|
|
|
| 48 |
wakaba |
1.6 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 49 |
|
|
|
| 50 |
wakaba |
1.11 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
| 51 |
|
|
|
| 52 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 53 |
|
|
|
| 54 |
wakaba |
1.10 |
* ContentChecker.pm: Use hashs rather than lists for |
| 55 |
|
|
element type testings. |
| 56 |
|
|
|
| 57 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 58 |
|
|
|
| 59 |
wakaba |
1.9 |
* ContentChecker.pm: Don't generate duplicate |
| 60 |
|
|
error when an element type is put in the "minus" list |
| 61 |
|
|
and the element type is not allowed explicitly in the particular |
| 62 |
|
|
element content model. |
| 63 |
|
|
(html:a checker): New checker. |
| 64 |
|
|
(html:details, html:datagrid): New checkers. |
| 65 |
|
|
(html:legend): New checker. |
| 66 |
|
|
|
| 67 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 68 |
|
|
|
| 69 |
wakaba |
1.8 |
* ContentChecker.pm (html:li checker): Implemented. |
| 70 |
|
|
|
| 71 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 72 |
|
|
|
| 73 |
wakaba |
1.7 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
| 74 |
|
|
checker. |
| 75 |
|
|
(html:dd checker): New checker. |
| 76 |
|
|
(html:q, html:em, html:strong, html:small, |
| 77 |
|
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
| 78 |
|
|
|
| 79 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 80 |
|
|
|
| 81 |
wakaba |
1.6 |
* ContentChecker.pm ($AnyChecker): Renamed |
| 82 |
|
|
from |$ElementDefault->{checker}|. |
| 83 |
|
|
($ElementDefault->{checker}): Throw an error that |
| 84 |
|
|
the element type is not supported by the checker. |
| 85 |
|
|
($HTMLMetadataElement): |html:base| was missing. |
| 86 |
|
|
($HTMLEmptyChecker): Don't throw an error |
| 87 |
|
|
for inter-element whitespace nodes. |
| 88 |
|
|
(html:html checker): Errors were not |
| 89 |
|
|
thrown even if |html:head| and/or |html:body| |
| 90 |
|
|
children were missing. |
| 91 |
|
|
(html:head checker): An error was not |
| 92 |
|
|
thrown if <meta charset> appered after other |
| 93 |
|
|
elements. |
| 94 |
|
|
|
| 95 |
wakaba |
1.5 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
| 96 |
|
|
|
| 97 |
|
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
| 98 |
|
|
and |noscript| elements are implemented. |
| 99 |
|
|
(new): New method. |
| 100 |
|
|
|
| 101 |
wakaba |
1.3 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
| 102 |
|
|
|
| 103 |
wakaba |
1.4 |
* ContentChecker.pm: New module. |
| 104 |
|
|
|
| 105 |
|
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
| 106 |
|
|
|
| 107 |
wakaba |
1.3 |
* NanoDOM.pm (manakai_parent_element, |
| 108 |
|
|
document_element, manakai_local_name, |
| 109 |
|
|
manakai_element_type_match): New method. |
| 110 |
|
|
|
| 111 |
|
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
| 112 |
|
|
|
| 113 |
|
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
| 114 |
|
|
entities in C1 range using Windows-1252 mapping. Bare LF |
| 115 |
|
|
did not count as new line for error reporting. |
| 116 |
|
|
|
| 117 |
wakaba |
1.2 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
| 118 |
|
|
|
| 119 |
|
|
* NanoDOM.pm (DOMImplementation): New class. |
| 120 |
|
|
(append_child): Weaken the |parent_node| reference. |
| 121 |
|
|
(create_element_ns, Element new): Set the |owner_document| |
| 122 |
|
|
reference. |
| 123 |
|
|
(implementation): New attribute. |
| 124 |
|
|
(owner_document, local_name, namespace_uri): New attributes. |
| 125 |
|
|
|
| 126 |
|
|
* HTML.pm.src (parse_string): Line and column numbers |
| 127 |
|
|
are now provided to error handler. |
| 128 |
|
|
(!!!parse-error): Short descriptions are added. |
| 129 |
|
|
(_construct_tree): Split into three methods; support |
| 130 |
|
|
for innerHTML mode. |
| 131 |
|
|
(set_inner_html): New method. |
| 132 |
|
|
|
| 133 |
wakaba |
1.1 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
| 134 |
|
|
|
| 135 |
|
|
* NanoDOM.html: Documentation is added. |
| 136 |
|
|
|
| 137 |
|
|
* HTML.pod, ContentType.html: Documentation is revised. |
| 138 |
|
|
|
| 139 |
|
|
* .cvsignore: Pod2html temporary files are added. |
| 140 |
|
|
|
| 141 |
|
|
* Makefile: Make |NanoDOM.html|. |
| 142 |
|
|
|
| 143 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
| 144 |
|
|
|
| 145 |
|
|
* HTML.pm.src (parse_string): New method. |
| 146 |
|
|
(get_inner_html): Renamed from |inner_html|. |
| 147 |
|
|
|
| 148 |
|
|
* Makefile: A rule for |HTML.html| is added. |
| 149 |
|
|
|
| 150 |
|
|
* HTML.pod: New documentation. |
| 151 |
|
|
|
| 152 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
| 153 |
|
|
|
| 154 |
|
|
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
| 155 |
|
|
(clone_node): Attribute nodes were not completely copied. |
| 156 |
|
|
|
| 157 |
|
|
* HTML.pm.src: Many bugs are fixed. |
| 158 |
|
|
|
| 159 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
| 160 |
|
|
|
| 161 |
|
|
* HTML.pm.src: Some typos are fixed. |
| 162 |
|
|
|
| 163 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
| 164 |
|
|
|
| 165 |
|
|
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
| 166 |
|
|
are removed. |
| 167 |
|
|
|
| 168 |
|
|
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
| 169 |
|
|
|
| 170 |
|
|
* HTML-consume-entity.src: Removed. |
| 171 |
|
|
|
| 172 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
| 173 |
|
|
|
| 174 |
|
|
* HTML.pm.src: Tokenizer's handling on hexadecimal |
| 175 |
|
|
numeric entities are rewritten. |
| 176 |
|
|
|
| 177 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
| 178 |
|
|
|
| 179 |
|
|
* HTML.pm.src: Some tokenizer bugs are fixed. |
| 180 |
|
|
|
| 181 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
| 182 |
|
|
|
| 183 |
|
|
* HTML.pm.src: The tree construction stage is implemented. |
| 184 |
|
|
|
| 185 |
|
|
* mkhtmlparser.pl: New macros are added. |
| 186 |
|
|
|
| 187 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
| 188 |
|
|
|
| 189 |
|
|
* ContentType.pm: A note on bug in the specification |
| 190 |
|
|
is removed since it's been now fixed. |
| 191 |
|
|
|
| 192 |
|
|
* .cvsignore: New file. |
| 193 |
|
|
|
| 194 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
| 195 |
|
|
|
| 196 |
|
|
* HTML.pm.src, HTML-consume-entity.src: New files. |
| 197 |
|
|
|
| 198 |
|
|
* Makefile (HTML.pm): New rule. |
| 199 |
|
|
|
| 200 |
|
|
* mkhtmlparser.pl: New script. |
| 201 |
|
|
|
| 202 |
|
|
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
| 203 |
|
|
|
| 204 |
|
|
* Makefile: New file. |
| 205 |
|
|
|
| 206 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
| 207 |
|
|
|
| 208 |
|
|
* ContentType.pm: An error in pod is fixed. |
| 209 |
|
|
|
| 210 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
| 211 |
|
|
|
| 212 |
|
|
* ContentType.pm: Documentation is added. |
| 213 |
|
|
|
| 214 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
| 215 |
|
|
|
| 216 |
|
|
* ContentType.pm: New Perl module. |
| 217 |
|
|
|
| 218 |
|
|
* ChangeLog: New file. |
| 219 |
|
|
|
| 220 |
|
|
|