| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-05 Dodji Seketeli <dodji at seketeli dot org>
* src/seleng/cr-style.h: rearranged the enum CRNumProp values.
* src/seleng/cr-style.c: fixed the border-x:<a number> bug.
This now support also number and not only symbolic border width
like thin,thick etc ...
* src/parser/cr-num.c: documented the apis here.
* src/layeng/cr-lay-eng.c: Fixed some subtle bugs and finally implemented
the width:15% (set percentage to width).
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-22 Dodji Seketeli <dodji at seketeli dot org>
* src/parser/cr-statement.c: added
parse_font_face_unrecoverable_error_cb(),
parse_page_unrecoverable_error_cb() ... to handle
parsing error in the cr_statement_xxx_parse() method.
These callback method are not called yet.
* src/parser/cr-tknzr.c: made the cr_tknzr_parse_important() look
somewhat better.
* src/parser/cr-parser.c: fixed some bugs in the parser.
It does now parse the w3c forward compatible parsing test sheet
at http://www.w3.org/Style/CSS/Test/CSS1/current/sec71.htm .
* docs/design/parser-architecture.txt: updated this doc.
A lot more is still needed.
* csslint/csslint.c: fixed some small bugs in csslint. Now, --cssom is
set by default.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-19 Dodji Seketeli <dodji@seketeli.org>
* tests/test4-main.[ch]: updated this to test
cr_statement_parse_from_buf(). It seems to work now.
Still some memleaks to fix.
* src/parser/cr-statement.[ch]:
some bug fixes in cr_statement_parse_from_buf() +
added a new cr_statement_at_import_rule_parse_from_buf() method.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-18 Dodji Seketeli <dodji@seketeli.org>
* src/parser/cr-statement.[ch]:
added cr_statement_font_face_rule_parse_from_buf () .
and a generic cr_statement_parse_from_buf () that knows
how to a parse virtually any css2 statement. This needs debugging
though.
* src/parser/cr-parser.c: fixed some possible sigsev
that could occur when trying to access a null sac handler.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-18 dodji <dodji@seketeli.org>
* tests/test4-main.c: fixed a small typo in the "@page" rule
embedded in gv_at_page_buf.
* src/parser/cr-parser.c: fixed a small bug in the
cr_parser_parse_page () function.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-17 dodji <dodji@seketeli.org>
* tests/test4-main.c: added test_cr_statement_at_page_rule_parse ()
to test the new cr_statement_at_page_rule_parse_from_buf() function.
* src/parser/cr-statement.[ch]:
added a first version of cr_statement_at_page_rule_parse_from_buf().
This doesn't work. I need to debug it first.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-17 dodji <dodji@seketeli.org>
* src/parser/cr-statement.[hc]:
coded a first version of cr_statement_at_media_rule_parse_from_buf().
This took the writing of a couple a SAC callback. Pfffew, SAC is a rather
tedious api. cr_statement_at_media_rule_parse_from_buf() does not
work yet, I still have to debug it.
* src/parser/cr-parser.c: use the new cr_tknzr_peek_byte2 () function
in the cr_parser_parse_import() method. This is a cleaner, smaller and
faster than the older approach.
* src/parser/cr-om-parser.c: use the
cr_dup_glist_of_string () helper fonction in the
start media callback.
* src/parser/cr-utils.[ch]: fixed some 'const' omissions here also.
* src/parser/cr-enc-handler.[ch]:
fixed some "const" omissions.
2003-06-16 dodji <dodji@seketeli.org>
* src/parser/cr-parser.[ch]: cr_parser_parse_charset(),
cr_parser_parse_import(), cr_parser_parse_page (),
cr_parser_parse_font_face(), cr_parser_parse_media(),
* src/parser/cr-tknzr.[ch]:
added cr_tknzr_peek_byte2() function to export the functionalities
of cr_input_peek_byte2().
Dodji.
|
|
|
|
|
|
| |
Kang Jeong-Hee <keizi@mail.co.kr>.
Dodji.
|
|
|
|
| |
Dodji.
|
| |
|
|
|
|
| |
Dodji.
|
|
|
|
|
|
| |
properties ... sitll a long way to go.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/test7-main.c: updated the test to reflect the new supported
css2 properties.
* src/layeng/cr-style.c:
(set_prop_border_x_width_from_value ()) debugged this.
(set_prop_border_x_style_from_value ()) debugged this.
* src/layeng/cr-box-view.c:
(draw_borders ()) debugged this a lot.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/test7-main.c: just added a test for the "background-color"
property.
* src/layeng/cr-box-view.c:
(set_color ()) added this function to manage the setting
of rgb color in an easier way than set_background/foreground().
(set_border_line_attrs ()) implemented the border-x-color
property setting in this function. This uses the new set_color ()
function.
(draw_padding ()) revisited this function to make it draw
a padding area that has "background" color.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/layeng/cr-style.[ch]: started to add the support of
the "color" and "background-color" properties.
* src/layeng/cr-lay-eng.c:
(style_specified_2_computed_value()) updated this function to
compute also the new colors properties (color and background-color).
* src/layeng/cr-box-view.c:
(set_background_color ())
(set_foreground_color ())added these functions to set the box
inner/padding edge color.
also started to use these two functions to test them.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/test7-main.c: small update for debug purposes.
* src/layeng/cr-style.h: cleanup.
* src/layeng/cr-lay-eng.c: put in here what is needed to support
border-x and border-style-x properties.
* src/layeng/cr-box.[ch]: make CRBoxModel inherits CRBox.
* src/layeng/cr-box-view.c: start to support the border-style-x and
border-x property. I must test this.
* configure.in: defined a personal environment where I can set
the CFLAGS I want.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/test7-main.c: woohoo, this now shows some text.
Okay, it is a crappy design sketch, but this is a milestone.
* src/layeng/cr-lay-eng.c: store the created label widget in the cache.
box content cache.
* src/layeng/cr-box.h:created a box content cache to store the label
widget used to calculate text box size.
* src/layeng/cr-box-view.[hc]: made this simpler and manage to
make it show someting on the screen. Now the box view
is just the view port. To render the box model, we just walk thru it
and draw each box in the box view.
Dodji.
|
|
|
|
|
| |
more layout code.
Dodji.
|
|
|
|
| |
Dodji.
|
|
|
|
|
| |
more layout code.
Dodji.
|
|
|
|
|
| |
more layout code.
Dodji.
|
|
|
|
|
| |
started to write the non regression test launcher.
Dodji.
|
|
|
|
|
| |
some fixes/improvements on the build system front.
Dodji.
|
|
|
|
|
| |
and turn them into strongly typed style information.
Dodji.
|
| |
|
| |
|
| |
|
|
|