1 |
wakaba |
1.12 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
|
3 |
|
|
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
4 |
|
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
5 |
|
|
$Element->{$HTML_NS}->{''}): New. |
6 |
|
|
(check_element): Invoke attrs_checker for each element. |
7 |
|
|
|
8 |
wakaba |
1.6 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
9 |
|
|
|
10 |
wakaba |
1.11 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
11 |
|
|
|
12 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
|
14 |
wakaba |
1.10 |
* ContentChecker.pm: Use hashs rather than lists for |
15 |
|
|
element type testings. |
16 |
|
|
|
17 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
|
19 |
wakaba |
1.9 |
* ContentChecker.pm: Don't generate duplicate |
20 |
|
|
error when an element type is put in the "minus" list |
21 |
|
|
and the element type is not allowed explicitly in the particular |
22 |
|
|
element content model. |
23 |
|
|
(html:a checker): New checker. |
24 |
|
|
(html:details, html:datagrid): New checkers. |
25 |
|
|
(html:legend): New checker. |
26 |
|
|
|
27 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
|
29 |
wakaba |
1.8 |
* ContentChecker.pm (html:li checker): Implemented. |
30 |
|
|
|
31 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
|
33 |
wakaba |
1.7 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
34 |
|
|
checker. |
35 |
|
|
(html:dd checker): New checker. |
36 |
|
|
(html:q, html:em, html:strong, html:small, |
37 |
|
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
38 |
|
|
|
39 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
|
41 |
wakaba |
1.6 |
* ContentChecker.pm ($AnyChecker): Renamed |
42 |
|
|
from |$ElementDefault->{checker}|. |
43 |
|
|
($ElementDefault->{checker}): Throw an error that |
44 |
|
|
the element type is not supported by the checker. |
45 |
|
|
($HTMLMetadataElement): |html:base| was missing. |
46 |
|
|
($HTMLEmptyChecker): Don't throw an error |
47 |
|
|
for inter-element whitespace nodes. |
48 |
|
|
(html:html checker): Errors were not |
49 |
|
|
thrown even if |html:head| and/or |html:body| |
50 |
|
|
children were missing. |
51 |
|
|
(html:head checker): An error was not |
52 |
|
|
thrown if <meta charset> appered after other |
53 |
|
|
elements. |
54 |
|
|
|
55 |
wakaba |
1.5 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
|
57 |
|
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
58 |
|
|
and |noscript| elements are implemented. |
59 |
|
|
(new): New method. |
60 |
|
|
|
61 |
wakaba |
1.3 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
|
63 |
wakaba |
1.4 |
* ContentChecker.pm: New module. |
64 |
|
|
|
65 |
|
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
|
67 |
wakaba |
1.3 |
* NanoDOM.pm (manakai_parent_element, |
68 |
|
|
document_element, manakai_local_name, |
69 |
|
|
manakai_element_type_match): New method. |
70 |
|
|
|
71 |
|
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
72 |
|
|
|
73 |
|
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
74 |
|
|
entities in C1 range using Windows-1252 mapping. Bare LF |
75 |
|
|
did not count as new line for error reporting. |
76 |
|
|
|
77 |
wakaba |
1.2 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
|
79 |
|
|
* NanoDOM.pm (DOMImplementation): New class. |
80 |
|
|
(append_child): Weaken the |parent_node| reference. |
81 |
|
|
(create_element_ns, Element new): Set the |owner_document| |
82 |
|
|
reference. |
83 |
|
|
(implementation): New attribute. |
84 |
|
|
(owner_document, local_name, namespace_uri): New attributes. |
85 |
|
|
|
86 |
|
|
* HTML.pm.src (parse_string): Line and column numbers |
87 |
|
|
are now provided to error handler. |
88 |
|
|
(!!!parse-error): Short descriptions are added. |
89 |
|
|
(_construct_tree): Split into three methods; support |
90 |
|
|
for innerHTML mode. |
91 |
|
|
(set_inner_html): New method. |
92 |
|
|
|
93 |
wakaba |
1.1 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
94 |
|
|
|
95 |
|
|
* NanoDOM.html: Documentation is added. |
96 |
|
|
|
97 |
|
|
* HTML.pod, ContentType.html: Documentation is revised. |
98 |
|
|
|
99 |
|
|
* .cvsignore: Pod2html temporary files are added. |
100 |
|
|
|
101 |
|
|
* Makefile: Make |NanoDOM.html|. |
102 |
|
|
|
103 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
|
105 |
|
|
* HTML.pm.src (parse_string): New method. |
106 |
|
|
(get_inner_html): Renamed from |inner_html|. |
107 |
|
|
|
108 |
|
|
* Makefile: A rule for |HTML.html| is added. |
109 |
|
|
|
110 |
|
|
* HTML.pod: New documentation. |
111 |
|
|
|
112 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
113 |
|
|
|
114 |
|
|
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
115 |
|
|
(clone_node): Attribute nodes were not completely copied. |
116 |
|
|
|
117 |
|
|
* HTML.pm.src: Many bugs are fixed. |
118 |
|
|
|
119 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
120 |
|
|
|
121 |
|
|
* HTML.pm.src: Some typos are fixed. |
122 |
|
|
|
123 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
|
125 |
|
|
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
126 |
|
|
are removed. |
127 |
|
|
|
128 |
|
|
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
129 |
|
|
|
130 |
|
|
* HTML-consume-entity.src: Removed. |
131 |
|
|
|
132 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
|
134 |
|
|
* HTML.pm.src: Tokenizer's handling on hexadecimal |
135 |
|
|
numeric entities are rewritten. |
136 |
|
|
|
137 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
|
139 |
|
|
* HTML.pm.src: Some tokenizer bugs are fixed. |
140 |
|
|
|
141 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
142 |
|
|
|
143 |
|
|
* HTML.pm.src: The tree construction stage is implemented. |
144 |
|
|
|
145 |
|
|
* mkhtmlparser.pl: New macros are added. |
146 |
|
|
|
147 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
|
149 |
|
|
* ContentType.pm: A note on bug in the specification |
150 |
|
|
is removed since it's been now fixed. |
151 |
|
|
|
152 |
|
|
* .cvsignore: New file. |
153 |
|
|
|
154 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
|
156 |
|
|
* HTML.pm.src, HTML-consume-entity.src: New files. |
157 |
|
|
|
158 |
|
|
* Makefile (HTML.pm): New rule. |
159 |
|
|
|
160 |
|
|
* mkhtmlparser.pl: New script. |
161 |
|
|
|
162 |
|
|
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
163 |
|
|
|
164 |
|
|
* Makefile: New file. |
165 |
|
|
|
166 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
|
168 |
|
|
* ContentType.pm: An error in pod is fixed. |
169 |
|
|
|
170 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
|
172 |
|
|
* ContentType.pm: Documentation is added. |
173 |
|
|
|
174 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
175 |
|
|
|
176 |
|
|
* ContentType.pm: New Perl module. |
177 |
|
|
|
178 |
|
|
* ChangeLog: New file. |
179 |
|
|
|
180 |
|
|
|