| 1 |
|
2008-09-14 Wakaba <[email protected]> |
| 2 |
|
|
| 3 |
|
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
| 4 |
|
and |manakai_getc_until| to |manakai_read_until| to |
| 5 |
|
reduce the number of string copies. |
| 6 |
|
|
| 7 |
|
2008-09-14 Wakaba <[email protected]> |
| 8 |
|
|
| 9 |
|
* HTML.pm.src (parse_char_string): Use newly created |
| 10 |
|
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
| 11 |
|
standard feature to |open| a string as a filehandle, |
| 12 |
|
since Perl's string filehandle seems not supporting |ungetc| |
| 13 |
|
method correctly. |
| 14 |
|
(parse_char_stream): Define |{getc_until}| method. |
| 15 |
|
(DATA_STATE): Experimental support for |getc_until| feature. |
| 16 |
|
|
| 17 |
|
2008-09-13 Wakaba <[email protected]> |
| 18 |
|
|
| 19 |
|
* HTML.pm.src: Check points added to newly added branches. |
| 20 |
|
|
| 21 |
|
2008-09-13 Wakaba <[email protected]> |
| 22 |
|
|
| 23 |
|
* HTML.pm.src: Remove |{char}|, which is no longer used. |
| 24 |
|
Remove |{entity_in_attr}| and |{last_attribute_value_state}| |
| 25 |
|
and replaced by |{prev_state}|. |
| 26 |
|
|
| 27 |
|
* mkhtmlparser.pl: Remove |{char}| feature. |
| 28 |
|
Remove |!!!back-next-input-character;| macro. |
| 29 |
|
|
| 30 |
|
2008-09-13 Wakaba <[email protected]> |
| 31 |
|
|
| 32 |
|
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |
| 33 |
|
entity related tokenizer states in favor of new states |
| 34 |
|
implementing the consume character reference algorithm. |
| 35 |
|
|
| 36 |
2008-09-13 Wakaba <[email protected]> |
2008-09-13 Wakaba <[email protected]> |
| 37 |
|
|
| 38 |
* HTML.pm: "Consume a character reference" algorithm is |
* HTML.pm.src: "Consume a character reference" algorithm is |
| 39 |
now implemented as a tokenizer's state, rather than |
now implemented as a tokenizer's state, rather than |
| 40 |
a method, with minimum changes (more changes will |
a method, with minimum changes (more changes will |
| 41 |
be made, in due course). "Bogus comment state"'s inner |
be made, in due course). "Bogus comment state"'s inner |
| 43 |
|
|
| 44 |
2008-09-13 Wakaba <[email protected]> |
2008-09-13 Wakaba <[email protected]> |
| 45 |
|
|
| 46 |
* HTML.pm: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
* HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
| 47 |
into their own tokenizer states. |
into their own tokenizer states. |
| 48 |
|
|
| 49 |
2008-09-13 Wakaba <[email protected]> |
2008-09-13 Wakaba <[email protected]> |