1 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
4 |
|
are added. |
5 |
|
|
6 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
9 |
|
are set. Cases that are unlikely reached are noted as so. |
10 |
|
|
11 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
14 |
|
|
15 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
16 |
|
|
17 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
20 |
|
for simplicity. |
21 |
|
|
22 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
25 |
|
revision 1307). |
26 |
|
|
27 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
30 |
|
is set are changed (HTML5 revision 1305). |
31 |
|
|
32 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
33 |
|
|
34 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
35 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
36 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
37 |
|
of attribute value literals (HTML5 revision 1296). More |
38 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
39 |
|
between attributes and ban attribute names or unquoted |
40 |
|
attribute values containing single or double quotes (HTML5 |
41 |
|
revision 1303). |
42 |
|
|
43 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
46 |
|
and related errors unless it is an HTML document (though the spec |
47 |
|
is unclear on whether it is applied to XHTML document). |
48 |
|
|
49 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
50 |
|
are added. |
51 |
|
|
52 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
53 |
|
|
54 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
55 |
|
|
56 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
59 |
|
|
60 |
|
* HTML.pm.src: |charset| in |content| attribute is |
61 |
|
case-insensitive (HTML5 revision 1270). |
62 |
|
|
63 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
65 |
|
* ContentChecker.pm: New status constants are added. |
66 |
|
($ElementDefault): |status| added. |
67 |
|
(check_element): Err for non-standard or deprecated elements. |
68 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
69 |
|
|
70 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
73 |
|
|
74 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* ContentChecker.pm (check_element): Element standardized |
77 |
|
status information is now dispatched. |
78 |
|
|
79 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
82 |
|
problem by adding some more arguments. |
83 |
|
|
84 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* ContentChecker.pm (check_element): Use context of |
87 |
|
container-for-the-purpose-of-content-model element (not transparent |
88 |
|
element) for |check_child_element| calling and significant |
89 |
|
text flag marking. This reintroduces |<del>|-and-significant |
90 |
|
problem again. |
91 |
|
|
92 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
95 |
|
elements ignored for the purpose of phase changes in |
96 |
|
content model checking. |
97 |
|
|
98 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
|
* ContentChecker.pm (check_element): In-element state |
101 |
|
was not properly managed for transparent cases. |
102 |
|
|
103 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* ContentChecker.pm (check_element): Support for |video| |
106 |
|
and |audio| as semi-transparent elements. |
107 |
|
|
108 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
111 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
112 |
|
Support for |html:object| as a semi-transparent element. |
113 |
|
|
114 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* ContentChecker.pm (check_element): The way to traverse |
117 |
|
the tree is entirely revised to make it easier to track |
118 |
|
the state of ancestors/descendants. As a result of this |
119 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
120 |
|
support for content model checking for HTML elements |figure|, |
121 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
122 |
|
some XMLNS checkings) are dropped for now. They will be |
123 |
|
reimplemented in due cource. |
124 |
|
|
125 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
126 |
|
|
127 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
128 |
|
token (HTML5 revision 1225). |
129 |
|
|
130 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
133 |
|
|
134 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
135 |
|
contains character references or not. |
136 |
|
|
137 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
140 |
|
imlement significant content checking for contents |
141 |
|
with |del| elements. |
142 |
|
|
143 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
144 |
|
|
145 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
146 |
|
elements are added. |
147 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
148 |
|
|
149 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
150 |
|
|
151 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
152 |
|
|
153 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
154 |
|
|
155 |
|
* CacheManifest.pod: Updated. |
156 |
|
|
157 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* ContentChecker.pm (check_document, check_element): Support |
160 |
|
for second argument ($onsubdoc). |
161 |
|
(_get_css_parser): Removed (now it is part of WDCC). |
162 |
|
|
163 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
164 |
|
|
165 |
|
* ContentChecker.pm (_get_css_parser): New. |
166 |
|
|
167 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
169 |
|
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
170 |
|
for checking had been used. |
171 |
|
|
172 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
173 |
|
|
174 |
|
* ContentChecker.pm (check_element): New todo item type |descendant|. |
175 |
|
|
176 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
177 |
|
|
178 |
|
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
179 |
|
specced in RFC 2046 and RFC 4288. |
180 |
|
(application/atom+xml): Definition added. |
181 |
|
|
182 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* URIChecker.pm: Make RFC 3986 should-level errors |
185 |
|
warnings (rather than SHOULD-level errors). |
186 |
|
|
187 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
188 |
|
|
189 |
|
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
190 |
|
|
191 |
|
* HTML.pm.src: A flag for character references in attribute |
192 |
|
values are added. Set |manakai_has_reference| user data |
193 |
|
to |charset| attribute. |
194 |
|
|
195 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
198 |
|
attributes. |
199 |
|
|
200 |
|
* ContentChecker.pm (check_document): Warn if charset requirements |
201 |
|
cannot be tested. |
202 |
|
|
203 |
|
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
205 |
|
* HTML.pm.src (parse_byte_string): Detect charset |
206 |
|
by universalchardet if charset parameter is not specified. |
207 |
|
|
208 |
|
* Makefile (Charset-all, Charset-clean): New rules. |
209 |
|
|
210 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
211 |
|
|
212 |
|
* ContentChecker.pm (check_document): Check the existence |
213 |
|
of character encoding declaration and selection of encoding |
214 |
|
for HTML document. |
215 |
|
|
216 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* ContentType.pm (get_sniffed_type): Return also the official |
219 |
|
type in list context. |
220 |
|
|
221 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
222 |
|
|
223 |
|
* ContentType.pm: Sniffing with leading white space |
224 |
|
ignoring (HTML5 revisions 1013 and 1016). |
225 |
|
|
226 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
228 |
|
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
229 |
|
white spaces, are implemented. |
230 |
|
|
231 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
232 |
|
|
233 |
|
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
234 |
|
attribute if possible. |
235 |
|
|
236 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
237 |
|
|
238 |
|
* HTML.pm.src (parse_byte_string): New method. |
239 |
|
(parse_char_string): New alias for |parse_string|. |
240 |
|
(main phase): Invoking "change the encoding" algorithm if desired. |
241 |
|
|
242 |
|
* HTML.pod: Updated. |
243 |
|
|
244 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
245 |
|
|
246 |
* HTML.pod (get_inner_html): Removed. |
* HTML.pod (get_inner_html): Removed. |