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

Contents of /markup/html/whatpm/Whatpm/CSS/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.71 - (hide annotations) (download)
Sat Jan 26 09:30:47 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.70: +7 -0 lines
++ whatpm/Whatpm/CSS/ChangeLog	26 Jan 2008 09:30:35 -0000
	* Parser.pm (get_char): Use argument to avoid self reference.

	* Tokenizer.pm: Set the tokenizer itself as the first
	argument to the |get_char| function.

2008-01-26  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.67 2008-01-26 Wakaba <wakaba@suika.fam.cx>
2    
3 wakaba 1.71 * Parser.pm (get_char): Use argument to avoid self reference.
4    
5     * Tokenizer.pm: Set the tokenizer itself as the first
6     argument to the |get_char| function.
7    
8     2008-01-26 Wakaba <wakaba@suika.fam.cx>
9    
10 wakaba 1.70 * Parser.pm ('border' serialize_multiple): Reimplement
11     to take 'inherit' and 'important' into account.
12    
13     2008-01-26 Wakaba <wakaba@suika.fam.cx>
14    
15 wakaba 1.69 * Parser.pm (serialize_shorthand, serialize_multiple): The
16     leading | ! |s in the priority part were removed (now they
17     are added by |css_text| attribute implementation).
18     (border-width, border-style, border-color serialize_shorthand): Typo
19     fixed.
20    
21     2008-01-26 Wakaba <wakaba@suika.fam.cx>
22    
23 wakaba 1.68 * Parser.pm (font serialize_shorthand): Implemented.
24     ($generic_font_keywords): Typo fixed.
25    
26     2008-01-26 Wakaba <wakaba@suika.fam.cx>
27    
28 wakaba 1.67 * Parser.pm: Return value of |serialize_multiple| methods
29     are changed.
30     ('margin' serialize_multiple, 'padding' serialize_multiple):
31     Implemented.
32     ('border-style' serialize_shorthand, 'border-color'
33     serialize_shorthand, 'border-width' serialize_shorthand,
34     'border-left' serialize_shorthand, 'border-top' serialize_shorthand,
35     'border-bottom' serialize_shorthand, 'border-right'
36     serialize_shorthand): New.
37    
38 wakaba 1.65 2008-01-24 Wakaba <wakaba@suika.fam.cx>
39    
40 wakaba 1.66 * Parser.pm (parse_char_string): Treatement for non-important
41     duplicate declarations was incorrect.
42     (margin): Use 'margin' shorthand property for serializing
43     margin-related properties if possible. Support for the |+|
44     sign in <'margin'> is added.
45    
46     2008-01-24 Wakaba <wakaba@suika.fam.cx>
47    
48 wakaba 1.65 * Parser.pm: Support for the |+| sign in 'margin-top' and
49     similar properties.
50    
51 wakaba 1.64 2008-01-22 Wakaba <wakaba@suika.fam.cx>
52    
53     * Parser.pm (new {onerror}): The default error handler (outputting
54     to the standard error output) is defined.
55     (parse_char_string {get_char}): Set the next number to the
56     column number of the last character as the column of the
57     end of file pseudo-character.
58    
59 wakaba 1.61 2008-01-20 Wakaba <wakaba@suika.fam.cx>
60    
61 wakaba 1.63 * Parser.pm, SelectorsParser.pm: Error type strings are revised.
62    
63     2008-01-20 Wakaba <wakaba@suika.fam.cx>
64    
65 wakaba 1.62 * Parser.pm, SelectorsParser.pm: |{href}| parameter added
66     to all the onerror invocations. The |{onerror}| function
67     is no longer called with |{line}| and |{column}| parameters.
68    
69     * Tokenizer.pm: All token are now given |{line}| and |{column}|
70     values.
71    
72     2008-01-20 Wakaba <wakaba@suika.fam.cx>
73    
74 wakaba 1.61 * Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback
75     so that it sets |$tt->{line}| and |$tt->{column}| options. Some
76     error handler calling codes are modified for the experimental
77     support for more precious reporting of error location.
78    
79     * Tokenizer.pm (new): The |onerror| option has been removed, since
80     it was never used.
81     (get_next_token): Limited and experimental support for token
82     emittion with the information on the position where it occurs.
83     (serialize_token): New function.
84    
85 wakaba 1.56 2008-01-14 Wakaba <wakaba@suika.fam.cx>
86    
87 wakaba 1.60 * Parser.pm (-moz-opacity): DOM attribute name was wrong.
88    
89     2008-01-14 Wakaba <wakaba@suika.fam.cx>
90    
91 wakaba 1.59 * Cascade.pm (get_cascaded_value): No longer have to test
92     whether priority is defined.
93    
94     * Parser.pm (parse_char_string): Set an empty string as the priority
95     if no priority was specified.
96    
97     2008-01-14 Wakaba <wakaba@suika.fam.cx>
98    
99 wakaba 1.58 * Parser.pm (serialize, serialize_multiple): Return an empty
100     string (not undef) if the property has no assigned value.
101    
102     2008-01-14 Wakaba <wakaba@suika.fam.cx>
103    
104 wakaba 1.57 * Parser.pm (parse_char_string): Namespace support is revised so
105     that more Gecko-like namespace serialization can be implemented.
106    
107     * SelectorsSerializer.pm (serialize_selector_text): Revised.
108     Now it does almost same as what Gecko does for namespace
109     tratements, what Gecko does for universal selector omittion, and what
110     Opera does for ordering (i.e. no sorting). Only one COLON
111     for pseudo-elements since Gecko and Opera do so.
112    
113     2008-01-14 Wakaba <wakaba@suika.fam.cx>
114    
115 wakaba 1.56 * SelectorsSerializer.pm (serialize_selector_text): New method.
116    
117 wakaba 1.52 2008-01-12 Wakaba <wakaba@suika.fam.cx>
118    
119 wakaba 1.55 * Parser.pm: 'opacity' and '-moz-opacity' are implemented.
120    
121     2008-01-12 Wakaba <wakaba@suika.fam.cx>
122    
123 wakaba 1.54 * Parser.pm: 'font' is implemented.
124    
125     2008-01-12 Wakaba <wakaba@suika.fam.cx>
126    
127 wakaba 1.53 * Parser.pm: 'background' is implemented.
128    
129     2008-01-12 Wakaba <wakaba@suika.fam.cx>
130    
131 wakaba 1.52 * Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom',
132     'border-left', and 'outline' are implemented. White space characters
133 wakaba 1.53 were not allowed between property name and COLON. NUMBER and
134     DIMENSION are not allowed as color in quirks mode.
135 wakaba 1.52
136 wakaba 1.48 2008-01-06 Wakaba <wakaba@suika.fam.cx>
137    
138 wakaba 1.51 * Cascade.pm: The object now has new device-dependent
139     parameter, |has_invert|.
140    
141     * Parser.pm: The object now has new device-dependent
142     parameter, |clip_color| function.
143     (parse_char_string): Inifinite-loop fixed for ignoring
144     states. No longer check for '(' and '[' matchings for
145     compatibility with browsers.
146     ($default_serializer): Support for 'RGBA' data type.
147     (color): Reimplemented.
148     (backbround-color, border-top-color, border-right-color,
149     border-bottom-color, border-left-color, outline-color): Implemented.
150    
151     2008-01-06 Wakaba <wakaba@suika.fam.cx>
152    
153 wakaba 1.50 * Parser.pm (background-position, background-position-x,
154     background-position-y): Implemented.
155    
156     2008-01-06 Wakaba <wakaba@suika.fam.cx>
157    
158 wakaba 1.49 * Parser.pm (border-spacing serialize_multiple): Implemented.
159    
160     2008-01-06 Wakaba <wakaba@suika.fam.cx>
161    
162 wakaba 1.48 * Parser.pm: Disallow '-' without following NUMBER or DIMENSION.
163     (border-width serialize): Was incorrect.
164    
165     2008-01-05 Wakaba <wakaba@suika.fam.cx>
166    
167     * Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y,
168     border-spacing): Implemented.
169    
170 wakaba 1.46 2008-01-04 Wakaba <wakaba@suika.fam.cx>
171    
172 wakaba 1.47 * Parser.pm (letter-spacing, word-specing, text-indent,
173     outline-width): Implemented.
174     (outline-style): Don't allow 'hidden'.
175    
176     2008-01-04 Wakaba <wakaba@suika.fam.cx>
177    
178 wakaba 1.46 * Parser.pm ($default_serializer): Support for
179     the |PERCENTAGE| data type.
180     (padding-top, border-top-width): The parser now
181     refers the parser of the 'margin-top'.
182     (width, height, min-width, min-height, max-width, max-height,
183     vertical-align, line-height): Implemented.
184    
185 wakaba 1.42 2008-01-03 Wakaba <wakaba@suika.fam.cx>
186    
187 wakaba 1.45 * Cascade.pm (get_specified_value_no_inherit): New function.
188     (get_computed_value): New way to get computed value,
189     the |{compute_multiple}| code, is now supported.
190    
191     * Parser.pm (top, bottom, left, right): Implemented.
192    
193     2008-01-03 Wakaba <wakaba@suika.fam.cx>
194    
195 wakaba 1.44 * Parser.pm: Some condition operators were incorrect.
196     The 'border-width' property family is implemented.
197    
198     2008-01-03 Wakaba <wakaba@suika.fam.cx>
199    
200 wakaba 1.43 * Parser.pm: Support for the 'margin' and 'padding'
201     property families.
202    
203     2008-01-03 Wakaba <wakaba@suika.fam.cx>
204    
205 wakaba 1.42 * Parser.pm: 'font-size' support.
206    
207     * Cascade.pm (new): Set default value for 'font-size'
208     relative- and absolute- value computations.
209    
210 wakaba 1.38 2008-01-02 Wakaba <wakaba@suika.fam.cx>
211    
212 wakaba 1.41 * Cascade.pm (get_cascaded_value): "*"-only declaration blocks
213     were ignored.
214    
215     * Parser.pm (cursor): Implemented.
216    
217     2008-01-02 Wakaba <wakaba@suika.fam.cx>
218    
219 wakaba 1.40 * Parser.pm (text-align, text-transform, white-space,
220     caption-side, table-layout, border-collapse, empty-cells,
221     outline-style, text-decoration): Implemented.
222    
223     2008-01-02 Wakaba <wakaba@suika.fam.cx>
224    
225 wakaba 1.39 * Cascade.pm (get_computed_value): Even when |inherit| is specified
226     the value is resolved into the computed value by the |{compute}|
227     code to support edge cases not mentioned in the CSS 2.1 spec (see
228     <http://suika.fam.cx/gate/2005/sw/inherit>).
229    
230     2008-01-02 Wakaba <wakaba@suika.fam.cx>
231    
232 wakaba 1.38 * Cascade.pm (get_computed_value): Resolve initial value referred
233     when |inherit| is specified as if it were the specified value.
234    
235     * Parser.pm: Some properties were incorrectly marked as
236     inherited.
237     (background-repeat, background-attachment, font-style,
238     font-variant, font-weight, background-image, font-family): Implemented.
239    
240 wakaba 1.31 2008-01-01 Wakaba <wakaba@suika.fam.cx>
241    
242 wakaba 1.37 * Parser.pm: Give |list-style-image|'s compute function a name.
243    
244     2008-01-01 Wakaba <wakaba@suika.fam.cx>
245    
246 wakaba 1.36 * Parser.pm: Give |list-style-image|'s parser a name. Bug fix
247     on base URI scalar reference.
248    
249     2008-01-01 Wakaba <wakaba@suika.fam.cx>
250    
251 wakaba 1.35 * Parser.pm (page-break-before, page-break-after, page-break-inside,
252     orphans, widows, list-style): Added.
253     (z-index): Support for negative values.
254    
255     2008-01-01 Wakaba <wakaba@suika.fam.cx>
256    
257 wakaba 1.34 * Parser.pm: Set |manakai_base_uri| attribute of the
258     created |CSSStyleSheet| object.
259     More properties from CSS 2.1 are implemented.
260    
261     2008-01-01 Wakaba <wakaba@suika.fam.cx>
262    
263 wakaba 1.33 * Cascade.pm: The |use strict| line was missing!!!!!!!!!11
264     (get_computed_value): Support for the |inherit| value.
265    
266     * Parser.pm: The |inherit| value is represented by new |INHERIT|
267     value type, rather than |KEYWORD|.
268     (position): The initial value was incorrect.
269    
270     2008-01-01 Wakaba <wakaba@suika.fam.cx>
271    
272 wakaba 1.32 * Cascade.pm (get_cascaded_value): It now should return |undef|
273     for shorthand properties.
274     (get_specified_value, get_computed_value): New methods.
275    
276     * Parser.pm: |initial|, |inherited|, and |compute| properties
277     are added to property definitions.
278    
279     2008-01-01 Wakaba <wakaba@suika.fam.cx>
280    
281 wakaba 1.31 * Cascade.pm: Specificity and priority are now supported.
282    
283     * Parser.pm (get_selector_specificity): New method.
284    
285 wakaba 1.27 2007-12-31 Wakaba <wakaba@suika.fam.cx>
286    
287 wakaba 1.30 * Cascade.pm: New Perl module.
288    
289     * Parser.pm: |@namespace| prohibbitted immediately
290     following |@namespace| rules by mistake.
291    
292     2007-12-31 Wakaba <wakaba@suika.fam.cx>
293    
294 wakaba 1.29 * Parser.pm: Support for border-style properties, as a model case
295     for shorthand properties.
296    
297     2007-12-31 Wakaba <wakaba@suika.fam.cx>
298    
299 wakaba 1.28 * Parser.pm: Ignore property which is not supported by the
300     application. Support for properties with a keyword being
301     able to be specified is added.
302    
303     2007-12-31 Wakaba <wakaba@suika.fam.cx>
304    
305 wakaba 1.27 * Parser.pm: At-keywords were not case-insensitive.
306     Support for property value parsing. Empty declarations
307     were not supported. Raise errors for broken declarations.
308     Parser and serializer definition for |color| is added.
309    
310 wakaba 1.26 2007-12-24 Wakaba <wakaba@suika.fam.cx>
311    
312     * Parser.pm: Support for |@namespace| rule.
313    
314     * SelectorsSerializer.pm: Support for |lookup_namespace_prefix|
315     parameter is added.
316    
317 wakaba 1.23 2007-12-23 Wakaba <wakaba@suika.fam.cx>
318    
319 wakaba 1.25 * Parser.pm: Support for the |@charset| rule.
320    
321     2007-12-23 Wakaba <wakaba@suika.fam.cx>
322    
323 wakaba 1.24 * Parser.pm (parse_char_string): A poor support for error
324     line/column reporting is added. Support for pseudo-element
325     and pseudo-class.
326    
327     2007-12-23 Wakaba <wakaba@suika.fam.cx>
328    
329 wakaba 1.23 * Parser.pm: New module.
330    
331     * SelectorsParser.pm (parse_string): Split into |parse_string|
332     and |_parse_selectors_with_tokenizer|. Support for "end by
333     token T" option. Return the last token as well as the
334     parsed selectors pbject.
335    
336 wakaba 1.22 2007-11-24 Wakaba <wakaba@suika.fam.cx>
337    
338     * SelectorsParser.pm (parse_string): Raise errors if appropriate.
339    
340 wakaba 1.21 2007-10-28 Wakaba <wakaba@suika.fam.cx>
341    
342     * SelectorsSerializer.pm (serialize_test): Namespace prefix
343     IS namespace URI for sorting stability (attribute and :not()
344     selectors).
345    
346     * selectors-object.en.html: Namespace URI cannot be empty.
347    
348 wakaba 1.20 2007-10-22 Wakaba <wakaba@suika.fam.cx>
349    
350     * SelectorsSerializer.pm ($ident): Non-ascii name start
351     characters after leading |-| was escaped. An IDENT
352     of |-| was not escaped.
353    
354 wakaba 1.18 2007-10-17 Wakaba <wakaba@suika.fam.cx>
355    
356 wakaba 1.19 * selectors-object.en.html: New documentation.
357    
358     2007-10-17 Wakaba <wakaba@suika.fam.cx>
359    
360 wakaba 1.18 * SelectorsParser.pod, Makefile: New files.
361    
362 wakaba 1.16 2007-10-07 Wakaba <wakaba@suika.fam.cx>
363    
364 wakaba 1.17 * SelectorsParser.pm (parse_string): An |IDENT|
365     can be specified as the argument for |-manakai-contains|,
366     as defined in Selectors CR (2001).
367    
368     2007-10-07 Wakaba <wakaba@suika.fam.cx>
369    
370 wakaba 1.16 * SelectorsParser.pm (BEFORE_CONTAINS_STRING_STATE): New state.
371     (parse_string): Support for |-manakai-current|
372     and |-manakai-contains| pseudo-classes.
373    
374     * SelectorsSerializer.pm: Support for |-manakai-current|
375     and |-manakai-contains| pseudo-classes.
376    
377 wakaba 1.15 2007-09-30 Wakaba <wakaba@suika.fam.cx>
378    
379     * Tokenizer.pm: |\\{nl}| incorrectly appended |{nl}| to
380     the string value of the token.
381 wakaba 1.16
382     2007-09-24 Wakaba <wakaba@suika.fam.cx>
383    
384     * SelectorsParser.pm: Pass an empty string as a prefix
385     for lookup namespace prefix callback, for loose compatibility
386     with the |NSResolver| interface.
387 wakaba 1.15
388 wakaba 1.14 2007-09-22 Wakaba <wakaba@suika.fam.cx>
389    
390     * SelectorsParser.pm, SelectorsSerializer.pm: New Perl modules.
391    
392     * Tokenizer.pm: Token type constants are exportable.
393    
394 wakaba 1.12 2007-09-09 Wakaba <wakaba@suika.fam.cx>
395    
396 wakaba 1.13 * Tokenizer.pm: Delimiters frequently used in CSS
397     now have different |type|s than |DELIM_TOKEN|.
398    
399     2007-09-09 Wakaba <wakaba@suika.fam.cx>
400    
401 wakaba 1.12 * Tokenizer.pm: |UNICODE_RANGE| token's |value| no longer
402     includes |U+| prefix.
403    
404 wakaba 1.3 2007-09-08 Wakaba <wakaba@suika.fam.cx>
405    
406 wakaba 1.11 * Tokenizer.pm: |URI| bugs are fixed.
407    
408     2007-09-08 Wakaba <wakaba@suika.fam.cx>
409    
410 wakaba 1.10 * Tokenizer.pm: |DIMENSION| and |NUMBER| related
411     bugs are fixed.
412    
413     2007-09-08 Wakaba <wakaba@suika.fam.cx>
414    
415 wakaba 1.9 * Tokenizer.pm: |NUMBER|-related bugs are fixed.
416    
417     2007-09-08 Wakaba <wakaba@suika.fam.cx>
418    
419 wakaba 1.8 * Tokenizer.pm: |STRING|-related bugs are fixed.
420    
421     2007-09-08 Wakaba <wakaba@suika.fam.cx>
422    
423 wakaba 1.7 * Tokenizer.pm: Bug fixes.
424    
425     2007-09-08 Wakaba <wakaba@suika.fam.cx>
426    
427 wakaba 1.6 * Tokenizer.pm: |UNICODE-RANGE| is implemented.
428    
429     2007-09-08 Wakaba <wakaba@suika.fam.cx>
430    
431 wakaba 1.5 * Tokenizer.pm: |COMMENT| is implemented.
432     A bug for treatement for |@-->| is fixed.
433    
434     2007-09-08 Wakaba <wakaba@suika.fam.cx>
435    
436 wakaba 1.4 * Tokenizer.pm: |url()| and |url-prefix()| are implemented.
437     Bug for treatement for |@-| is fixed.
438    
439     2007-09-08 Wakaba <wakaba@suika.fam.cx>
440    
441 wakaba 1.3 * Tokenizer.pm: First working version.
442    
443 wakaba 1.2 2007-08-17 Wakaba <wakaba@suika.fam.cx>
444    
445     * Tokenizer.pm: New module.
446    
447     * ChangeLog: New file.
448    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24