summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Dodji Seketeli2003-06-082-94/+95
|
* *** empty log message ***Dodji Seketeli2003-06-081-1/+1
|
* updated the test to reflect all the changes that happened today.Dodji Seketeli2003-06-081-157/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* just added a scrollbar to the croco renderer test window.Dodji Seketeli2003-06-071-5/+8
| | | | Dodji.
* created a new xml/css document to bring the test to a broader extend. ItDodji Seketeli2003-06-031-0/+102
| | | | | | | | | | | | | | | | | | | | * 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.
* beginning of a font selection support.Dodji Seketeli2003-05-251-3/+6
| | | | Dodji.
* fixed a small (but nasty) rendering bug.Dodji Seketeli2003-05-241-9/+25
| | | | Dodji.
* coded a brand new "style gathering"/cascading subsystem.Dodji Seketeli2003-05-242-22/+2
| | | | | Still have to test/debug it. Dodji.
* Added the support of "padding" and "margin" shorthand properties.Dodji Seketeli2003-05-171-5/+8
| | | | Dodji.
* *** empty log message ***Dodji Seketeli2003-05-161-1/+1
|
* went forward in border-color properties support.Dodji Seketeli2003-05-161-1/+4
| | | | Dodji.
* *** empty log message ***Dodji Seketeli2003-05-121-5/+5
|
* updated the test to reflect the new supported css2 properties.Dodji Seketeli2003-05-111-1/+18
| | | | | | | | | | | | | | * 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.
* .cvsignore addedKang Jeong-Hee2003-05-111-0/+1
|
* just added a test for the "background-color" property.Dodji Seketeli2003-05-061-1/+1
| | | | | | | | | | | | | | | | * 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.
* small update for debug purposes.Dodji Seketeli2003-05-041-2/+9
| | | | | | | | | | | | | | | | | | | * 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.
* woohoo, this now shows some text. Okay, it is a crappy design sketch, butDodji Seketeli2003-04-271-1/+2
| | | | | | | | | | | | | | | | | * 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.
* *configure.in: made sure to include the libgnomeui clflags andDodji Seketeli2003-04-262-5/+75
| | | | | | | | | | | | | | 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.Dodji Seketeli2003-04-241-12/+12
| | | | | more layout code. Dodji.
* *Doxyfile: fixed a small bug due to the new source tree layout.Dodji Seketeli2003-04-211-1/+1
| | | | | *src/parser/cr-input.c, src/parser/cr-token.c: killed a memleak . Dodji
* updated the test7 code to see the layout in action.Dodji Seketeli2003-04-201-6/+10
| | | | | | | | | | | | | | | | | | | | | | * 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.
* a big tree cleanup to organised the sources component-wise.Dodji Seketeli2003-04-121-1/+13
| | | | Dodji.
* more box debuging code.Dodji Seketeli2003-04-081-0/+7
| | | | Dodji.
* went forward in writing the design sketch of the box model.Dodji Seketeli2003-04-061-6/+12
| | | | Dodji.
* updated the reference output of the non regression tests.rel_0_1rel-0-2Dodji Seketeli2003-04-0410-14/+3
| | | | Dodji.
* more work on the test framework.Dodji Seketeli2003-04-034-178/+147
| | | | | made sure to build rpms via a new "make rpm" target. Dodji.
* added the non regression tests reference output file into cvs.Dodji Seketeli2003-04-0213-0/+4741
| | | | Dodji.
* Went forward on the testctl front.Dodji Seketeli2003-04-017-92/+149
| | | | | Can now run non regression tests and get simple ok/ko report. Dodji.
* started went forward on the test annotated tree building front.Dodji Seketeli2003-03-314-773/+333
| | | | | started to write the non regression test launcher. Dodji.
* *** empty log message ***Dodji Seketeli2003-03-291-189/+0
|
* more code on the layout/cascade front.Dodji Seketeli2003-03-292-5/+13
| | | | | some fixes/improvements on the build system front. Dodji.
* "loosely-typed style info gathering" on progress ...Dodji Seketeli2003-03-231-1/+1
| | | | Dodji.
* fixed a couple of minor bugs in the parser core.Dodji Seketeli2003-03-211-0/+9
|
* added documentation for test5 and test6.Dodji Seketeli2003-03-212-0/+121
| | | | | Cleaned up test6-main.c Dodji.
* fixed a small bug in the tokenizer.Dodji Seketeli2003-03-203-5/+8
| | | | Provided better support for in memory data parsing.
* Added conditional compilation of the unit tests in tests/ subdirGaël CHAMOULAUD2003-03-191-4/+8
|
* Relicense from GPL -> LGPLGaël CHAMOULAUD2003-03-198-120/+111
|
* update autogen.sh to build libtoolDom Lachowicz2003-03-181-4/+4
| | | | | better libxml2 checks, seleng checks disable test5 until a better solution is found
* revisited the way the CRTerm and CRNum classes were handling their types andDodji Seketeli2003-03-151-4/+4
| | | | | especially numeric types. Did also the necessary modifs in all the impacted code.
* Added test1.css, a css file for tests/test1Gaël CHAMOULAUD2003-03-091-0/+314
|
* Added test0.1.css, a css file for tests/test0Gaël CHAMOULAUD2003-03-091-0/+258
|
* added non regression test for the id and class selection evaluation.Dodji Seketeli2003-03-092-1/+5
|
* added non regression tests for dashmatch attr selection. Dodji.Dodji Seketeli2003-03-082-2/+4
|
* made sure "OK" and "KO" strings are dumped on stderr. Dodji.Dodji Seketeli2003-03-081-2/+2
|
* fixed a couple of small bugs. Dodji.Dodji Seketeli2003-03-082-1/+2
|
* added some non regression test for "EQUAL" attribute selectorsDodji Seketeli2003-03-082-1/+3
| | | | in the selection engine.
* went forward in the selectors stuff debugging.Dodji Seketeli2003-03-062-8/+67
|
* added the test5 to test the selection engine.Dodji Seketeli2003-03-052-405/+233
|
* started to debug the selection engine.Dodji Seketeli2003-03-052-6/+17
|
* Turned on compilation with goddamit warning options.Dodji Seketeli2003-03-025-59/+113
| | | | | | 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().