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