| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/test7-main.c: updated the test to reflect all the changes
that happened today.
* src/parser/cr-enc-handler.[ch], src/parser/cr-input.[ch],
src/parser/cr-om-parser.[hc], src/parser/cr-parser.[ch].
Add the 'const' keyword in to function prototypes.
* src/layeng/cr-lay-eng.c:
(compute_text_box_inner_edge_size ()) revisied this function to
make it append the text label to it's container so that
the size of the text label can be computed. I don't know how
to do this otherwise. I would have liked this not to happen since
compute_text_box_inner_edge_size () is part of the layout process
not the rendering process. Now these two processes are much more
tied than I would like.
* src/layeng/cr-box.c:
updated the cr_box_to_string () method to make it serialise
CRBox->inner_edge.max_width for debug purposes.
* src/layeng/cr-box-view.c:
1/now, the layout code is called
in the "expose-event" signal callback. Trying to isolate the
layout from the rendering appears to be too difficult
if not impossible.
2/created a cr_box_view_new_from_xml_css_bufs () method to create
a box view directly from a css buffer and an xml buffer.
Dodji.
|
|
|
|
| |
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/test7-main.c: created a new xml/css document to bring the test to
a broader extend. It appeared that libcroco's layout code is
damned bugged... I am debugging it...
* src/seleng/cr-style.c:changed the default element display property
to "block" and not "inline" anymore.
Also made the set_prop_background_color () function support
hex strings (e.g.: #ffffff or #ee)
* src/parser/cr-rgb.[ch]: added cr_rgb_set_from_hex_str ()
to support hash (hex) strings (#ffffff or #eee).
* src/parser/cr-num.c:support of fixed/variable length numbers.
* src/layeng/cr-lay-eng.c: a lot of layout fixes.
Dodji.
|
|
|
|
| |
Dodji.
|
|
|
|
| |
Dodji.
|
|
|
|
|
| |
Still have to test/debug it.
Dodji.
|
|
|
|
| |
Dodji.
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libsflags to croco libs and croco cflags when the layeng is turned
on.
*csslint/Makefile.am: made sure to use the CROCO_LIBS and CROCO_CLFAGS
variables.
*src/libcroco.h: added the cr-box-view.h include file
*src/layeng/cr-box-view.c: started to write a draw_box() function that
will draw the box tree on the screen.
*src/layeng/cr-lay-eng.c: removed the adjust_edges_on_inner_edge () function.
*tests/Makefile.am: made sure to include libgnomeui clfags and libs
when layeng is turned on.
*tests/test7-main.c: made started to include a cr-box-view.c test.
|
|
|
|
|
| |
more layout code.
Dodji.
|
|
|
|
|
| |
*src/parser/cr-input.c, src/parser/cr-token.c: killed a memleak .
Dodji
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/test7-main.c: updated the test7 code to see the layout in
action.
* src/layeng/cr-style.[ch]: just modified some rule
names for convenience.
* src/layeng/cr-lay-eng.[ch]:
when forward in normal flow layout code. Have now very basic layout code.
Still have to write a canvas code to render the layed out box.
* src/layeng/cr-lay-eng.c (compute_text_box_inner_edge_size): started to work on the
the inner edge size computation based on pango.
* src/layeng/Makefile.am: updated to compile/link against libgnomeui.
* configure.in: updated it to test the presence
of libgnomeui if and only if the layout engine is enabled.
Dodji.
|
|
|
|
| |
Dodji.
|
|
|
|
| |
Dodji.
|
|
|
|
| |
Dodji.
|
|
|
|
| |
Dodji.
|
|
|
|
|
| |
made sure to build rpms via a new "make rpm" target.
Dodji.
|
|
|
|
| |
Dodji.
|
|
|
|
|
| |
Can now run non regression tests and get simple ok/ko report.
Dodji.
|
|
|
|
|
| |
started to write the non regression test launcher.
Dodji.
|
| |
|
|
|
|
|
| |
some fixes/improvements on the build system front.
Dodji.
|
|
|
|
| |
Dodji.
|
| |
|
|
|
|
|
| |
Cleaned up test6-main.c
Dodji.
|
|
|
|
| |
Provided better support for in memory data parsing.
|
| |
|
| |
|
|
|
|
|
| |
better libxml2 checks, seleng checks
disable test5 until a better solution is found
|
|
|
|
|
| |
especially numeric types. Did also the necessary modifs in all
the impacted code.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
in the selection engine.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
So I killed an awfully great number of warnings messages.
Also fixed some small regressions that occured during
the rewrite of cr_tknzr_get_next_toke().
|