1 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |
4 |
|
entity related tokenizer states in favor of new states |
5 |
|
implementing the consume character reference algorithm. |
6 |
|
|
7 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
8 |
|
|
9 |
|
* HTML.pm.src: "Consume a character reference" algorithm is |
10 |
|
now implemented as a tokenizer's state, rather than |
11 |
|
a method, with minimum changes (more changes will |
12 |
|
be made, in due course). "Bogus comment state"'s inner |
13 |
|
loop gets removed. |
14 |
|
|
15 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
18 |
|
into their own tokenizer states. |
19 |
|
|
20 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE| |
23 |
|
is split into three states. |
24 |
|
|
25 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
27 |
|
* HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into |
28 |
|
itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that |
29 |
|
no longer does the tokenizer have to push back next input |
30 |
|
characters in those states. |
31 |
|
|
32 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
33 |
|
|
34 |
|
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |
35 |
|
into four states so that no longer does the tokenizer have to push |
36 |
|
back next input characters in that state. |
37 |
|
|
38 |
|
2008-09-11 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* HTML.pm.src: Methods now accept additional parameter, $get_wrapper, |
41 |
|
which can be used to insert some wrapper between the character |
42 |
|
stream handle and the tokenizer. (It is currently not supported |
43 |
|
for |set_inner_html| for |Element|s). |
44 |
|
|
45 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* HTML.pm.src: Ignore punctuations in charset names. |
48 |
|
|
49 |
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
* ContentChecker.pm: Support for charset-layer error levels. |
* ContentChecker.pm: Support for charset-layer error levels. |