/[suikacvs]/markup/html/whatpm/Whatpm/ChangeLog
Suika

Diff of /markup/html/whatpm/Whatpm/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.132 by wakaba, Sun Feb 10 04:09:57 2008 UTC revision 1.231 by wakaba, Sat May 10 12:13:43 2008 UTC
# Line 1  Line 1 
1    2008-05-10  Wakaba  <wakaba@suika.fam.cx>
2    
3            * Makefile (Entities.html): URI has changed.
4    
5    2008-05-10  Wakaba  <wakaba@suika.fam.cx>
6    
7            * CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision
8            1553).
9    
10    2008-05-06  Wakaba  <wakaba@suika.fam.cx>
11    
12            * ContentChecker.pm: Noted that those returned in |table| are
13            no longer table elements, but table objects returned
14            by Whatpm::HTMLTable.
15    
16            * HTMLTable.pm (form_table): Return table element node
17            as |$table->{element}|.
18            (assign_header): Support for the |headers=""| attribute.
19    
20    2008-05-06  Wakaba  <wakaba@suika.fam.cx>
21    
22            * HTMLTable.pm (assign_header): New function; first version
23            with no support for headers="".
24            (form_table): Include table width and height to the returned
25            table object for covenience.  Indexing in column assignement was wrong.
26            Set whether a data cell is empty or not for convenience.
27    
28    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
29    
30            * HTMLTable.pm: Robuster caption support (HTML5 revision 1393).
31    
32    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
33    
34            * HTMLTable.pm: How table model errors are detected is
35            changed (HTML5 revision 1387).
36    
37    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
38    
39            * HTMLTable.pm: The algorithm now moves |tfoot| elements
40            to the end of the table (HTML5 revision 1380).
41    
42    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
43    
44            * HTMLTable.pm: The algorithm is now 0-based indexing, instead
45            of 1-based (HTML5 revision 1376).
46    
47    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
48    
49            * ContentType.pm: "Content-Type: text/plain; charset=UTF-8"
50            and "Content-Encoding" no longer prevent sniffing (HTML5
51            revision 1288).
52    
53    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
54    
55            * ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision
56            1282).
57    
58    2008-05-03  Wakaba  <wakaba@suika.fam.cx>
59    
60            * ContentChecker.pm: Support for global attributes.
61            Status of XML specs are added.
62    
63    2008-05-03  Wakaba  <wakaba@suika.fam.cx>
64    
65            * ContentChecker.pm (check_element): Support for |template=""|
66            and |ref=""| attribute (referent element type checking).
67    
68    2008-04-29  Wakaba  <wakaba@suika.fam.cx>
69    
70            * CacheManifest.pm (_parse): New same origin definition (HTML5 revision
71            1500) is implemented (except for IDNA part and URI-scheme-specific
72            knowledge).  Line number counting was wrong for LF-only
73            documents.
74    
75    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
76    
77            * HTML.pm.src: Raise an parse error for any disallowed
78            character (HTML5 revision 1263).
79    
80    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
81    
82            * mkentitylist.pl: Support for new HTML5 entity table format (the
83            definition for |AElig;| was missing).
84    
85    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
86    
87            * HTML.pm.src, mkhtmlparser.pl: Support for element/attribute
88            name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417).
89    
90    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
91    
92            * HTML.pm.src: List of element names that close foreign content
93            insertion mode is added (HTML5 revisions 1412 and 1418).
94    
95    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
96    
97            * HTML.pm.src: Support for |mglyph| and |malignmark|
98            elements (HTML5 revision 1410).
99    
100    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
101    
102            * HTML.pm.src: Support for new long MathML entities (HTML5
103            revision 1406).
104    
105    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
106    
107            * HTML.pm.src: CDATA section support for MathML and SVG
108            elements (HTML5 revision 1404 and 1420).
109    
110    2008-04-12  Wakaba  <wakaba@suika.fam.cx>
111    
112            * HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG
113            elements (HTML5 revision 1404).  Unused !!!macro definitions
114            are removed.
115    
116    2008-04-12  Wakaba  <wakaba@suika.fam.cx>
117    
118            * HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors
119            are raised is changed (HTML5 revision 1404).
120    
121    2008-04-06  Wakaba  <wakaba@suika.fam.cx>
122    
123            * HTML.pm.src: Category sets that are no longer used are removed.
124    
125    2008-04-06  Wakaba  <wakaba@suika.fam.cx>
126    
127            * HTML.pm.src: The ->[1] property of stack entries are now
128            replaced by constants representing element category.
129    
130    2008-04-06  Wakaba  <wakaba@suika.fam.cx>
131    
132            * HTML.pm.src: Don't use local name stored in stack (i.e. ->[1])
133            for error reporting.  (This is a preparation for using constant
134            value for ->[1].)
135    
136    2008-03-22  Wakaba  <wakaba@suika.fam.cx>
137    
138            * RDFXML.pm: Typo fixed.
139    
140    2008-03-22  Wakaba  <wakaba@suika.fam.cx>
141    
142            * ContentChecker.pm: |fact_level| is now treated
143            as same as |must_level|, i.e. level = |m|.
144            (check_element): Make list of URIs in the DOM.
145    
146    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
147    
148            * RDFXML.pm: Language accessor implemented.
149            Local (null-namespace) attribute support.
150    
151    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
152    
153            * RDFXML.pm: Factored out ID checking code.
154    
155    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
156    
157            * RDFXML.pm: TODO items noted.  Validation of ID
158            and URI attributes is implemented.  Warn if unknown
159            value is used in rdf:parseType="" attribute.
160    
161            * URIChecker.pm (check_rdf_uri_reference): New function.
162    
163    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
164    
165            * RDFXML.pm: bnodeid implemented.  Relative references
166            are now resolved.
167    
168    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
169    
170            * ContentChecker.pm: RDF reification implemented.
171    
172            * RDFXML.pm: undef vs false bug fixed.
173            Reification implemented.
174    
175    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
176    
177            * RDFXML.pm: s/id/ID/ for attribute name.
178            The |node| arguments are added for |ontriple| calls.
179            Too many "attribute not allowed" errors were raised.
180    
181            * ContentChecker.pm: Initial experimental support for rdf:RDF
182            element.
183    
184    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
185    
186            * RDFXML.pm: New module.
187    
188    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
189    
190            * HTML.pm.src (set_inner_html): Line/column number
191            code was old one yet.
192    
193    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
194    
195            * HTML.pm.src: Better line/column reporting for "duplicate attribute"
196            errors.  Line/column markings for DOCTYPE, comment, and
197            character tokens are reintroduced; otherwise,
198            error location for "not HTML5" error and errors
199            for implied elements are not attached.
200    
201    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
202    
203            * HTML.pm.src: Set line/column numbers to attributes.
204    
205            * NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added.
206            (value): Setter implemented.
207    
208            * mkhtmlparser.pl: Set line/column numbers to Attr nodes.
209    
210    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
211    
212            * HTML.pm.src: Unused line/column markings are removed.
213    
214    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
215    
216            * HTML.pm.src (_get_next_token): Remove |first_start_tag|
217            flag, which is no longer used.
218    
219    2008-03-17  Wakaba  <wakaba@suika.fam.cx>
220    
221            * HTML.pm.src: Set line/column information to element nodes.
222    
223            * mkhtmlparser.pl (!!!create-element, !!!insert-element,
224            and !!!insert-element-t): Set line/column information to
225            element nodes.
226    
227    2008-03-17  Wakaba  <wakaba@suika.fam.cx>
228    
229            * HTML.pm.src (_get_next_token): The first "<" character
230            in "<?", "<>", or "</>" should be the error point.
231    
232    2008-03-16  Wakaba  <wakaba@suika.fam.cx>
233    
234            * HTML.pm.src: Some more fixes on error position reporting.
235    
236    2008-03-16  Wakaba  <wakaba@suika.fam.cx>
237    
238            * HTML.pm.src: Token-level precious error reporting.
239    
240    2008-03-16  Wakaba  <wakaba@suika.fam.cx>
241    
242            * HTML.pm.src: Preparation for more precious error point
243            reporting.
244    
245    2008-03-11  Wakaba  <wakaba@suika.fam.cx>
246    
247            * HTML.pm.src: Error type revised.
248    
249    2008-03-11  Wakaba  <wakaba@suika.fam.cx>
250    
251            * HTML.pm.src: Similar codes are merged together, again.
252    
253    2008-03-11  Wakaba  <wakaba@suika.fam.cx>
254    
255            * HTML.pm.src: Similar codes are merged together.
256    
257    2008-03-10  Wakaba  <wakaba@suika.fam.cx>
258    
259            * mkhtmlparser.pl: Set "level" parameter to parse errors.
260    
261            * HTML.pm.src: Code refined.
262    
263    2008-03-09  Wakaba  <wakaba@suika.fam.cx>
264    
265            * HTML.pm.src: |</body>| treatement has been changed (HTML5
266            revision 1348).  Note that I really don't know this makes
267            any difference in the black-box behavior of the parser.
268    
269    2008-03-09  Wakaba  <wakaba@suika.fam.cx>
270    
271            * HTML.pm.src: New end-of-file token implementation (HTML5
272            revision 1348).
273    
274    2008-03-09  Wakaba  <wakaba@suika.fam.cx>
275    
276            * HTML.pm.src: |applet| support (HTML5 revision 1347).
277    
278    2008-03-09  Wakaba  <wakaba@suika.fam.cx>
279    
280            * HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343).
281    
282    2008-03-09  Wakaba  <wakaba@suika.fam.cx>
283    
284            * HTML.pm.src: Support for |<input>| in the "in select" insertion
285            mode and support for the "in select in table" insertion mode (HTML5
286            revision 1342).
287    
288    2008-03-09  Wakaba  <wakaba@suika.fam.cx>
289    
290            * HTML.pm.src: No foster parenting for <script> and <script>
291            in non-tainted <table>s (HTML5 revision 1336).
292    
293    2008-03-09  Wakaba  <wakaba@suika.fam.cx>
294    
295            * HTML.pm.src: Ignore white space characters between <html>
296            and <head> (HTML5 revision 1332).
297    
298    2008-03-09  Wakaba  <wakaba@suika.fam.cx>
299    
300            * HTML.pm.src: Treat <input type=hidden> as if it were a
301            white space (HTML5 revision 1331).
302    
303    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
304    
305            * HTML.pm.src: Ignore U+000A at the beginning of a |listing|
306            element (HTML5 revision 1330).
307    
308    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
309    
310            * HTML.pm.src: <title> is always appended to the current
311            element (HTML5 revision 1328).
312    
313    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
314    
315            * HTML.pm.src: White space in tainted tables are moved
316            into foster parents (HTML5 revision 1326).
317    
318    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
319    
320            * HTML.pm.src: Reduce errors from foster parenting cases (HTML5
321            revision 1321).
322    
323    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
324    
325            * HTML.pm.src: |</h/n/>| case code rearranged to align with
326            the spec (HTML5 revision 1320).  Note that we finally complete
327            all of HTML5 revision 1320 changes.
328    
329    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
330    
331            * HTML.pm.src: |</form>| now works similar to |</div>| for unclosed
332            tags (HTML5 revision 1320).
333    
334    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
335    
336            * HTML.pm.src: |</p>| case rearranged with no actual change in fact.
337    
338    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
339    
340            * HTML.pm.src: A "generate implied end tags" code (t409.1)
341            could not be reached so that it is now removed (HTML5 revision
342            1320).
343    
344    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
345    
346            * HTML.pm.src: Code for the case of |</div>| and so on are revised
347            to align with new spec text (HTML5 revision 1320).
348    
349    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
350    
351            * HTML.pm.src: Remove strange |if| condition; however, it should
352            have had no harm in theory.
353    
354    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
355    
356            * HTML.pm.src (_tree_construction_main): '</p>' in body
357            case is split from other end tags for the preparation
358            of implementing HTML revision 1320.
359    
360    2008-03-07  Wakaba  <wakaba@suika.fam.cx>
361    
362            * HTML.pm.src: Simplified "generate implied end tag" (HTML5
363            revision 1320).
364    
365    2008-03-07  Wakaba  <wakaba@suika.fam.cx>
366    
367            * HTML.pm.src (_tree_construction_main): Merge rules for "h1"
368            and "div" (HTML5 revision 1318).  Add comments to where
369            |form| pointer association codes should be inserted (HTML5 revision
370            1319).
371    
372    2008-03-06  Wakaba  <wakaba@suika.fam.cx>
373    
374            * HTML.pm.src: <html> treatement refined (HTML5 revision 1314).
375    
376    2008-03-05  Wakaba  <wakaba@suika.fam.cx>
377    
378            * HTML.pm.src: Since the case t268 should never be reached (no
379            other token type, there are), it is replaced by a |die| statement.
380    
381    2008-03-05  Wakaba  <wakaba@suika.fam.cx>
382    
383            * HTML.pm.src: Typo fixed.
384    
385    2008-03-04  Wakaba  <wakaba@suika.fam.cx>
386    
387            * HTML.pm.src (_tree_construction_initial): Some limited quirks
388            doctypes were not uppercased for comparison.
389    
390    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
391    
392            * HTML.pm.src (tree construction and set_inner_html): Checkpoints
393            are added.
394    
395    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
396    
397            * HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints
398            are set.  Cases that are unlikely reached are noted as so.
399    
400    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
401    
402            * HTML.pm.src: Checkpoints for debugging are added.
403    
404            * mkhtmlparser.pl: Support for |!!!cp| syntax.
405    
406    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
407    
408            * HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g
409            for simplicity.
410    
411    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
412    
413            * HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5
414            revision 1307).
415    
416    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
417    
418            * HTML.pm.src (_get_next_token): Where the /incorrect/ flag
419            is set are changed (HTML5 revision 1305).
420    
421    2008-03-02  Wakaba  <wakaba@suika.fam.cx>
422    
423            * HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision
424            1292).  Entities are not parsed in comment-like part in RCDATA
425            elements (HTML5 revision 1294).  Allow bare & at the end
426            of attribute value literals (HTML5 revision 1296).  More
427            quirks mode doctypes (HTML5 revision 1302).  Requires spaces
428            between attributes and ban attribute names or unquoted
429            attribute values containing single or double quotes (HTML5
430            revision 1303).
431    
432    2008-03-02  Wakaba  <wakaba@suika.fam.cx>
433    
434            * ContentChecker.pm: Typo fixed.  Don't raise "character encoding"
435            and related errors unless it is an HTML document (though the spec
436            is unclear on whether it is applied to XHTML document).
437    
438            * HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes
439            are added.
440    
441    2008-03-02  Wakaba  <wakaba@suika.fam.cx>
442    
443            * HTML.pm.src: s/local_name/manakai_local_name/g.
444    
445    2008-03-01  Wakaba  <wakaba@suika.fam.cx>
446    
447            * _NamedEntityList.pm: Updated (HTML5 revision 1286).
448    
449            * HTML.pm.src: |charset| in |content| attribute is
450            case-insensitive (HTML5 revision 1270).
451    
452    2008-02-26  Wakaba  <wakaba@suika.fam.cx>
453    
454            * ContentChecker.pm: New status constants are added.
455            ($ElementDefault): |status| added.
456            (check_element): Err for non-standard or deprecated elements.
457            (_attr_status_info): For non-standard or deprecated attributes.
458    
459    2008-02-24  Wakaba  <wakaba@suika.fam.cx>
460    
461            * ContentChecker.pm (_attr_status_info): New internal method.
462    
463    2008-02-24  Wakaba  <wakaba@suika.fam.cx>
464    
465            * ContentChecker.pm (check_element): Element standardized
466            status information is now dispatched.
467    
468    2008-02-24  Wakaba  <wakaba@suika.fam.cx>
469    
470            * ContentChecker.pm (check_element): Fix |del|-and-significant
471            problem by adding some more arguments.
472    
473    2008-02-24  Wakaba  <wakaba@suika.fam.cx>
474    
475            * ContentChecker.pm (check_element): Use context of
476            container-for-the-purpose-of-content-model element (not transparent
477            element) for |check_child_element| calling and significant
478            text flag marking.  This reintroduces |<del>|-and-significant
479            problem again.
480    
481    2008-02-24  Wakaba  <wakaba@suika.fam.cx>
482    
483            * ContentChecker.pm (check_element): Make semi-transparent
484            elements ignored for the purpose of phase changes in
485            content model checking.
486    
487    2008-02-23  Wakaba  <wakaba@suika.fam.cx>
488    
489            * ContentChecker.pm (check_element): In-element state
490            was not properly managed for transparent cases.
491    
492    2008-02-23  Wakaba  <wakaba@suika.fam.cx>
493    
494            * ContentChecker.pm (check_element): Support for |video|
495            and |audio| as semi-transparent elements.
496    
497    2008-02-23  Wakaba  <wakaba@suika.fam.cx>
498    
499            * ContentChecker.pm ($HTMLSemiTransparentElements): New.
500            (check_element): s/minuses/minus_elements/, s/pluses/plus_elements/.
501            Support for |html:object| as a semi-transparent element.
502    
503    2008-02-23  Wakaba  <wakaba@suika.fam.cx>
504    
505            * ContentChecker.pm (check_element): The way to traverse
506            the tree is entirely revised to make it easier to track
507            the state of ancestors/descendants.  As a result of this
508            revision (which rewrites almost all of Whatpm::ContentChecker::HTML),
509            support for content model checking for HTML elements |figure|,
510            |object|, |video|, and |audio| and checking for XML elements (and
511            some XMLNS checkings) are dropped for now.  They will be
512            reimplemented in due cource.
513    
514    2008-02-17  Wakaba  <wakaba@suika.fam.cx>
515    
516            * HTML.pm.src: |>| in public or system literal closes the DOCTYPE
517            token (HTML5 revision 1225).
518    
519    2008-02-17  Wakaba  <wakaba@suika.fam.cx>
520    
521            * ContentChecker.pm ({unsupported_level}): New value.
522    
523            * HTML.pm.src: Save whether |meta| |content| attribute
524            contains character references or not.
525    
526    2008-02-17  Wakaba  <wakaba@suika.fam.cx>
527    
528            * ContentChecker.pm (_get_children): (Incompleted) attempt to
529            imlement significant content checking for contents
530            with |del| elements.
531    
532    2008-02-17  Wakaba  <wakaba@suika.fam.cx>
533    
534            * ContenteChecker.pm ($HTMLTransparentElements): More
535            elements are added.
536            (_get_children): HTML |object| elements are now semi-transparent.
537    
538            * NanoDOM.pm (manakai_html, manakai_head): New methods.
539    
540    2008-02-16  Wakaba  <wakaba@suika.fam.cx>
541    
542            * CacheManifest.pm: HTML5 revision 1211 implemented.
543    
544            * CacheManifest.pod: Updated.
545    
546  2008-02-10  Wakaba  <wakaba@suika.fam.cx>  2008-02-10  Wakaba  <wakaba@suika.fam.cx>
547    
548          * ContentChecker.pm (check_document, check_element): Support          * ContentChecker.pm (check_document, check_element): Support

Legend:
Removed from v.1.132  
changed lines
  Added in v.1.231

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24