| 1 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
| 4 |
|
|
| 5 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
| 6 |
|
|
| 7 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
| 8 |
|
|
| 9 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
| 10 |
|
for simplicity. |
| 11 |
|
|
| 12 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
| 13 |
|
|
| 14 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
| 15 |
|
revision 1307). |
| 16 |
|
|
| 17 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
| 18 |
|
|
| 19 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
| 20 |
|
is set are changed (HTML5 revision 1305). |
| 21 |
|
|
| 22 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
| 23 |
|
|
| 24 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
| 25 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
| 26 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
| 27 |
|
of attribute value literals (HTML5 revision 1296). More |
| 28 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
| 29 |
|
between attributes and ban attribute names or unquoted |
| 30 |
|
attribute values containing single or double quotes (HTML5 |
| 31 |
|
revision 1303). |
| 32 |
|
|
| 33 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
| 34 |
|
|
| 35 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
| 36 |
|
and related errors unless it is an HTML document (though the spec |
| 37 |
|
is unclear on whether it is applied to XHTML document). |
| 38 |
|
|
| 39 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
| 40 |
|
are added. |
| 41 |
|
|
| 42 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
| 43 |
|
|
| 44 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
| 45 |
|
|
| 46 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
| 47 |
|
|
| 48 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
| 49 |
|
|
| 50 |
|
* HTML.pm.src: |charset| in |content| attribute is |
| 51 |
|
case-insensitive (HTML5 revision 1270). |
| 52 |
|
|
| 53 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
| 54 |
|
|
| 55 |
|
* ContentChecker.pm: New status constants are added. |
| 56 |
|
($ElementDefault): |status| added. |
| 57 |
|
(check_element): Err for non-standard or deprecated elements. |
| 58 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
| 59 |
|
|
| 60 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
| 61 |
|
|
| 62 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
| 63 |
|
|
| 64 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
| 65 |
|
|
| 66 |
|
* ContentChecker.pm (check_element): Element standardized |
| 67 |
|
status information is now dispatched. |
| 68 |
|
|
| 69 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
| 70 |
|
|
| 71 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
| 72 |
|
problem by adding some more arguments. |
| 73 |
|
|
| 74 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
| 75 |
|
|
| 76 |
|
* ContentChecker.pm (check_element): Use context of |
| 77 |
|
container-for-the-purpose-of-content-model element (not transparent |
| 78 |
|
element) for |check_child_element| calling and significant |
| 79 |
|
text flag marking. This reintroduces |<del>|-and-significant |
| 80 |
|
problem again. |
| 81 |
|
|
| 82 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
| 83 |
|
|
| 84 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
| 85 |
|
elements ignored for the purpose of phase changes in |
| 86 |
|
content model checking. |
| 87 |
|
|
| 88 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
| 89 |
|
|
| 90 |
|
* ContentChecker.pm (check_element): In-element state |
| 91 |
|
was not properly managed for transparent cases. |
| 92 |
|
|
| 93 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
| 94 |
|
|
| 95 |
|
* ContentChecker.pm (check_element): Support for |video| |
| 96 |
|
and |audio| as semi-transparent elements. |
| 97 |
|
|
| 98 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
| 99 |
|
|
| 100 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
| 101 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
| 102 |
|
Support for |html:object| as a semi-transparent element. |
| 103 |
|
|
| 104 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
| 105 |
|
|
| 106 |
|
* ContentChecker.pm (check_element): The way to traverse |
| 107 |
|
the tree is entirely revised to make it easier to track |
| 108 |
|
the state of ancestors/descendants. As a result of this |
| 109 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
| 110 |
|
support for content model checking for HTML elements |figure|, |
| 111 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
| 112 |
|
some XMLNS checkings) are dropped for now. They will be |
| 113 |
|
reimplemented in due cource. |
| 114 |
|
|
| 115 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
| 116 |
|
|
| 117 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
| 118 |
|
token (HTML5 revision 1225). |
| 119 |
|
|
| 120 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
| 121 |
|
|
| 122 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
| 123 |
|
|
| 124 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
| 125 |
|
contains character references or not. |
| 126 |
|
|
| 127 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
| 128 |
|
|
| 129 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
| 130 |
|
imlement significant content checking for contents |
| 131 |
|
with |del| elements. |
| 132 |
|
|
| 133 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
| 134 |
|
|
| 135 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
| 136 |
|
elements are added. |
| 137 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
| 138 |
|
|
| 139 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
| 140 |
|
|
| 141 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
| 142 |
|
|
| 143 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
| 144 |
|
|
| 145 |
|
* CacheManifest.pod: Updated. |
| 146 |
|
|
| 147 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
| 148 |
|
|
| 149 |
|
* ContentChecker.pm (check_document, check_element): Support |
| 150 |
|
for second argument ($onsubdoc). |
| 151 |
|
(_get_css_parser): Removed (now it is part of WDCC). |
| 152 |
|
|
| 153 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
| 154 |
|
|
| 155 |
|
* ContentChecker.pm (_get_css_parser): New. |
| 156 |
|
|
| 157 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
| 158 |
|
|
| 159 |
|
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
| 160 |
|
for checking had been used. |
| 161 |
|
|
| 162 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
| 163 |
|
|
| 164 |
|
* ContentChecker.pm (check_element): New todo item type |descendant|. |
| 165 |
|
|
| 166 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
| 167 |
|
|
| 168 |
|
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
| 169 |
|
specced in RFC 2046 and RFC 4288. |
| 170 |
|
(application/atom+xml): Definition added. |
| 171 |
|
|
| 172 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
| 173 |
|
|
| 174 |
|
* URIChecker.pm: Make RFC 3986 should-level errors |
| 175 |
|
warnings (rather than SHOULD-level errors). |
| 176 |
|
|
| 177 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
| 178 |
|
|
| 179 |
|
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
| 180 |
|
|
| 181 |
|
* HTML.pm.src: A flag for character references in attribute |
| 182 |
|
values are added. Set |manakai_has_reference| user data |
| 183 |
|
to |charset| attribute. |
| 184 |
|
|
| 185 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
| 186 |
|
|
| 187 |
|
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
| 188 |
|
attributes. |
| 189 |
|
|
| 190 |
|
* ContentChecker.pm (check_document): Warn if charset requirements |
| 191 |
|
cannot be tested. |
| 192 |
|
|
| 193 |
|
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
| 194 |
|
|
| 195 |
|
* HTML.pm.src (parse_byte_string): Detect charset |
| 196 |
|
by universalchardet if charset parameter is not specified. |
| 197 |
|
|
| 198 |
|
* Makefile (Charset-all, Charset-clean): New rules. |
| 199 |
|
|
| 200 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
| 201 |
|
|
| 202 |
|
* ContentChecker.pm (check_document): Check the existence |
| 203 |
|
of character encoding declaration and selection of encoding |
| 204 |
|
for HTML document. |
| 205 |
|
|
| 206 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
| 207 |
|
|
| 208 |
|
* ContentType.pm (get_sniffed_type): Return also the official |
| 209 |
|
type in list context. |
| 210 |
|
|
| 211 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
| 212 |
|
|
| 213 |
|
* ContentType.pm: Sniffing with leading white space |
| 214 |
|
ignoring (HTML5 revisions 1013 and 1016). |
| 215 |
|
|
| 216 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
| 217 |
|
|
| 218 |
|
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
| 219 |
|
white spaces, are implemented. |
| 220 |
|
|
| 221 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
| 222 |
|
|
| 223 |
|
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
| 224 |
|
attribute if possible. |
| 225 |
|
|
| 226 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
| 227 |
|
|
| 228 |
|
* HTML.pm.src (parse_byte_string): New method. |
| 229 |
|
(parse_char_string): New alias for |parse_string|. |
| 230 |
|
(main phase): Invoking "change the encoding" algorithm if desired. |
| 231 |
|
|
| 232 |
|
* HTML.pod: Updated. |
| 233 |
|
|
| 234 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
| 235 |
|
|
| 236 |
|
* HTML.pod (get_inner_html): Removed. |
| 237 |
|
|
| 238 |
|
* Makefile (HTML-all, HTML-clean): New. |
| 239 |
|
|
| 240 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
| 241 |
|
|
| 242 |
|
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
| 243 |
|
|
| 244 |
|
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
| 245 |
|
|
| 246 |
|
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
| 247 |
|
|
| 248 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
| 249 |
|
|
| 250 |
|
* Makefile: |CacheManifest.html| is added. |
| 251 |
|
|
| 252 |
|
* CacheManifest.pod: New file. |
| 253 |
|
|
| 254 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
| 255 |
|
|
| 256 |
|
* CacheManifest.pm: New module. |
| 257 |
|
|
| 258 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
| 259 |
|
|
| 260 |
|
* HTML.pm.src: Support for application cache selection algorithm |
| 261 |
|
callback. |
| 262 |
|
|
| 263 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
| 264 |
|
|
| 265 |
|
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
| 266 |
|
|
| 267 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
| 268 |
|
|
| 269 |
|
* Makefile (clean): New rule. |
| 270 |
|
|
| 271 |
|
* NanoDOM.pm (public_id, system_id): New attributes. |
| 272 |
|
|
| 273 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
| 274 |
|
|
| 275 |
|
* Makefile (CSS-all, CSS-clean, clean): New rules. |
| 276 |
|
|
| 277 |
|
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
| 278 |
|
|
| 279 |
|
* ContentChecker.pm (check_document): Support for |
| 280 |
|
new |is_xml_root| flag. |
| 281 |
|
(check_element): Support for new |pluses| state. |
| 282 |
|
(_add_pluses): New method. |
| 283 |
|
(_remove_minuses): Support for new |minus| item. |
| 284 |
|
|
| 285 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
| 286 |
|
|
| 287 |
|
* ContentChecker.pm: Raise specific error for invalid |
| 288 |
|
root element. |
| 289 |
|
|
| 290 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
| 291 |
|
|
| 292 |
|
* ContentChecker.pm: Set level values for later uses. |
| 293 |
|
|
| 294 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
| 295 |
|
|
| 296 |
|
* ContentChecker.pm: Support for language tag validation. |
| 297 |
|
|
| 298 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
| 299 |
|
|
| 300 |
|
* LangTag.pm (check_rfc3066_language_tag): New method. |
| 301 |
|
|
| 302 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
| 303 |
|
|
| 304 |
|
* LangTag.pm: New module. |
| 305 |
|
|
| 306 |
|
2007-09-04 Wakaba <wakaba@suika.fam.cx> |
| 307 |
|
|
| 308 |
|
* HTML.pm.src: Some error types were wrong. |
| 309 |
|
|
| 310 |
|
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
| 311 |
|
|
| 312 |
|
* CSS/: New directory. |
| 313 |
|
|
| 314 |
|
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
| 315 |
|
|
| 316 |
|
* ContentChecker.pm (_check_get_children): Support |
| 317 |
|
for |noscript| in |head|. |
| 318 |
|
|
| 319 |
|
2007-08-12 Wakaba <wakaba@suika.fam.cx> |
| 320 |
|
|
| 321 |
|
* URI/: New directory. |
| 322 |
|
|
| 323 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
| 324 |
|
|
| 325 |
|
* HTML.pm.src: Tokenizer's states are now represented in |
| 326 |
|
number. |
| 327 |
|
|
| 328 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
| 329 |
|
|
| 330 |
|
* HTML.pm.src: |or|s for insertion modes are replaced |
| 331 |
|
by |&|s. |
| 332 |
|
|
| 333 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
| 334 |
|
|
| 335 |
|
* HTML.pm.src: Token types are now represented in number. |
| 336 |
|
|
| 337 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
| 338 |
|
|
| 339 |
|
* ContentType.pm (SEE ALSO): Updated. |
| 340 |
|
|
| 341 |
|
* HTML.pm.src: Insertion modes are now represented in number. |
| 342 |
|
|
| 343 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
| 344 |
|
|
| 345 |
|
* ContentType.pm: Sniffing for bitmap images (HTML5 revision |
| 346 |
|
999) is implemented. |
| 347 |
|
|
| 348 |
|
2007-08-08 Wakaba <wakaba@suika.fam.cx> |
| 349 |
|
|
| 350 |
|
* ContentType.pm: Sniffing for |<script| (HTML5 revision |
| 351 |
|
983) is implemented. |
| 352 |
|
|
| 353 |
|
2007-08-06 Wakaba <wakaba@suika.fam.cx> |
| 354 |
|
|
| 355 |
|
* ContentChecker.pod: New documentation. |
| 356 |
|
|
| 357 |
|
* Makefile: A rule for |ContentChecker.html| is added. |
| 358 |
|
|
| 359 |
|
* ContentChecker.pm: A pod "LICENSE" section is added. |
| 360 |
|
|
| 361 |
|
* NanoDOM.pm ($VERSION): New variable. |
| 362 |
|
|
| 363 |
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
| 364 |
|
|
| 365 |
|
* H2H.pm: |b|, |i|, and |sub| are added to the |
| 366 |
|
list of allowed HTML elements. |
| 367 |
|
|
| 368 |
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
| 369 |
|
|
| 370 |
|
* H2H.pm: |samp| is added to the list of allowed |
| 371 |
|
HTML elements. |
| 372 |
|
|
| 373 |
|
* URIChecker.pm (check_iri): New. |
| 374 |
|
(check_iri_reference): Error type for IRI reference |
| 375 |
|
syntax error is changed. |
| 376 |
|
|
| 377 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
| 378 |
|
|
| 379 |
|
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
| 380 |
|
is added. |
| 381 |
|
(check_document): Load appropriate module before validation. |
| 382 |
|
|
| 383 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
| 384 |
|
|
| 385 |
|
* ContentChecker/: New directory. |
| 386 |
|
|
| 387 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
| 388 |
|
|
| 389 |
|
* ContentChecker.pm: HTML |time| element is implemented. |
| 390 |
|
|
| 391 |
|
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
| 392 |
|
|
| 393 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 394 |
|
|
| 395 |
|
* ContentChecker.pm (check_document): Return value |
| 396 |
|
even if no document element is found. |
| 397 |
|
|
| 398 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 399 |
|
|
| 400 |
|
* HTML.pm.src: |$in_body| is no longer a function. |
| 401 |
|
|
| 402 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 403 |
|
|
| 404 |
|
* HTML.pm.src: The |$in_body| code has been moved down. |
| 405 |
|
|
| 406 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 407 |
|
|
| 408 |
|
* HTML.pm.src: The "trailing end" insertion mode |
| 409 |
|
is split into "after html body" and "after html frameset" |
| 410 |
|
insertion modes. Their codes are merged with "after body" |
| 411 |
|
and "after frameset" codes. |$previous_insertion_mode| |
| 412 |
|
has been removed. "after frameset" code is |
| 413 |
|
merged with "in frameset" code. |
| 414 |
|
|
| 415 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 416 |
|
|
| 417 |
|
* HTML.pm.src: The "before head" insertion mode is |
| 418 |
|
merged with the "in head" insertion mode. |
| 419 |
|
|
| 420 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 421 |
|
|
| 422 |
|
* HTML.pm.src: Cases in "in head" insertion mode are |
| 423 |
|
reorganized. |
| 424 |
|
|
| 425 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 426 |
|
|
| 427 |
|
* HTML.pm.src: Some cases in "in table" insertion mode |
| 428 |
|
are merged. |
| 429 |
|
|
| 430 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 431 |
|
|
| 432 |
|
* HTML.pm.src: The "in row" insertion mode is merged |
| 433 |
|
with "in table" insertion mode. |
| 434 |
|
|
| 435 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 436 |
|
|
| 437 |
|
* HTML.pm.src: The "in table" and "in table body" insertion |
| 438 |
|
modes are merged. |
| 439 |
|
|
| 440 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 441 |
|
|
| 442 |
|
* HTML.pm.src: There is no "in table head" or "in table foot" |
| 443 |
|
insertion mode! |
| 444 |
|
|
| 445 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
| 446 |
|
|
| 447 |
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |