summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* don't forget to set the UA sheet. add void cr_cascade_ref() entry point.Dodji Seketeli2004-01-273-3/+13
| | | | | | | | 2004-01-27 Dodji Seketeli <dodji@gnome.org> * src/cr-cascade.c: (cr_cascade_new) don't forget to set the UA sheet. * src/cr-cascade.h: add void cr_cascade_ref() entry point.
* COYPRIGHTS: new file addedDodji Seketeli2004-01-261-0/+4
| | | | | 2004-01-26 Dodji Seketeli <dodji@gnome.org> COYPRIGHTS: new file added
* new convenience function added these new parsing methods.Dodji Seketeli2004-01-265-15/+174
| | | | | | | | | | | 2004-01-26 Dodji Seketeli <dodji@gnome.org> * src/cr-cascade.[ch]: (cr_cascade_ref),(cr_cascade_unref): new convenience function * src/cr-om-parser.[ch]: (cr_om_parser_parse_paths_to_cascade), (cr_om_parser_simply_parse_paths_to_cascade): added these new parsing methods.
* added CR_FILE_NOT_FOUND_ERROR to the CRStatus enum.Dodji Seketeli2004-01-252-1/+7
| | | | | | | 2004-01-26 Dodji Seketeli <dodji@gnome.org> * src/cr-utils.h: added CR_FILE_NOT_FOUND_ERROR to the CRStatus enum.
* updated this to reflect this big change removed this test as it does notDodji Seketeli2004-01-243-1/+4
| | | | | | | | 2004-01-24 Dodji Seketeli <dodji@gnome.org> * autogen.sh: updated this to reflect this big change * tests/test-output-refs/test7.out: removed this test as it does not belong to libcroco anymore.
* separated the library into two projects. Libcroco is now the combinationDodji Seketeli2004-01-2464-4208/+149
| | | | | | | | | | | 2004-01-24 Dodji Seketeli <dodji@gnome.org> * all: separated the library into two projects. Libcroco is now the combination of the parser and the selection engine. A new project is born: sewfox. It is basically the xml rendering/layout engine. Libcroco now needs libxml2 and glib only. Sewfox need libgnomecanvas2.
* applied a patch from Rob BUIS to fix the rwlbuis@xs4all.nl class selectorDodji Seketeli2004-01-162-8/+23
| | | | | | | | 2004-01-16 Dodji Seketeli <dodji@gnome.org> * src/seleng/cr-sel-eng.c: applied a patch from Rob BUIS to fix the rwlbuis@xs4all.nl class selector evaluation.
* fixed a bug spoted by Rob BUIS.Dodji Seketeli2004-01-042-1/+9
| | | | | | | | 2004-01-04 Dodji Seketeli <dodji@gnome.org> * src/parser/cr-declaration.c: (cr_declaration_unlin): fixed a bug spoted by Rob BUIS.
* did some fixes/cleanup here. Make sure csslint --help shows a proper help.Dodji Seketeli2003-12-276-8/+33
| | | | | | | | | | | | | | 2003-12-27 Dodji Seketeli <dodji@gnome.org> * csslint/csslint.c: did some fixes/cleanup here. Make sure csslint --help shows a proper help. * src/parser/cr-statement.c: (cr_statement_dump): when a NULL statement is given, do not dump anything, instead considering this as an error. * src/parser/cr-stylesheet.c: (cr_stylesheet_dump): give the possibility to dump empty sheets, instead of considering this case as an error case.
* some light cosmetic changes. several fixes. Managed to make the pluggableDodji Seketeli2003-12-248-87/+212
| | | | | | | | | | | 2003-12-24 Dodji Seketeli <dodji@gnome.org> * src/parser/cr-additional-sel.h,src/parser/cr-pseudo.h, src/parser/cr-utils.h: some light cosmetic changes. * src/seleng/cr-sel-eng.c: several fixes. Managed to make the pluggable handler for pseudo class selectors evaluation work. Wrote a handler for the ":first-child" pseudo class selector. This class is now officially supported.
* pluggable pseudo class selection evaluation architecture is in place. IDodji Seketeli2003-12-242-2/+24
| | | | | | | | | | 2003-12-24 Dodji Seketeli <dodji@gnome.org> * src/seleng/cr-sel-eng.c: (pseudo_class_add_sel_matches_node) pluggable pseudo class selection evaluation architecture is in place. I still have to writte a real "handle" to handle say ":first-child" pseudo class so that I can test/debug the whole code.
* small cosmetic changes. started to work on the support of a pluggableDodji Seketeli2003-12-247-56/+220
| | | | | | | | | | 2003-12-24 Dodji Seketeli <dodji@gnome.org> * src/parser/cr-additional-sel.h: small cosmetic changes. * src/seleng/cr-sel-eng.c: started to work on the support of a pluggable handler for pseudo class selectors evaluation. Wrote facilities to register/unregister/lookup the handler.
* fixed some typos.Dodji Seketeli2003-12-212-4/+7
| | | | | | 2003-12-21 Dodji Seketeli <dodji@gnome.org> * docs/design/parser-architecture.txt: fixed some typos.
* added a test case for the A + B type of selectors. added added theseDodji Seketeli2003-12-147-26/+88
| | | | | | | | | | | | | | | | | 2003-12-14 Dodji Seketeli <dodji@gnome.org> * docs/examples/selection-example-1.c: * docs/examples/selection-example-1.xml: * docs/examples/selection-example-1.css: added a test case for the A + B type of selectors. added * src/seleng/cr-sel-eng.c: (get_next_element_node) (get_prev_element_node) (get_next_parent_element_node): added these helper functions to help ignore non element nodes in the selector matcher. (sel_matches_node_real): Do not consider non element nodes when evaluating a selector.
* *** empty log message ***libcroco-0-4Dodji Seketeli2003-12-132-17/+18
|
* ============= 0.4 release ================ updated this. make this compileDodji Seketeli2003-12-133-3/+51
| | | | | | | | 2003-12-13 Dodji Seketeli <dodji@gnome.org> ============= 0.4 release ================ * README: updated this. * docs/examples/sac-example-[12].c: make this compile with g++.
* added this function to factorise the evaluation of additional selectors.Dodji Seketeli2003-12-124-46/+89
| | | | | | | | | | 2003-12-12 Dodji Seketeli <dodji@gnome.org> * src/seleng/cr-sel-eng.c: (additional_selector_matches_node): added this function to factorise the evaluation of additional selectors. (sel_matches_node_real ): use additional_selector_matches_node(). This fixes a selector bug spotted by Stefan Seefeld.
* a bit of cleanup and bug fix here. added more test cases.Dodji Seketeli2003-12-123-9/+41
| | | | | | | | | 2003-12-12 Dodji Seketeli <dodji@gnome.org> * docs/examples/selection-example-1.c: a bit of cleanup and bug fix here. * docs/examples/selection-example-1.css: added more test cases.
* removed junked file.Dodji Seketeli2003-12-113-0/+0
| | | | Dodji.
* Fixed more build system stuffs here. Make these compile with g++. anotherDodji Seketeli2003-12-1110-16/+209
| | | | | | | | | | | | | 2003-12-11 Dodji Seketeli <dodji@gnome.org> * src/layeng/Makefile.am,src/seleng/Makefile.am: Fixed more build system stuffs here. * docs/examples/cssom-example-1.c,docs/examples/sac-example-1.c: Make these compile with g++. * src/layeng/Makefile.am: another build system cleanup. * docs/examples/selection-example-1.c,docs/examples/selection-example-1.css, docs/examples/selection-example-1.xml: added this code example from Stefan Seefeld.
* Fixed more build system stuffs here.Dodji Seketeli2003-12-113-12/+14
| | | | | | | 2003-12-11 Dodji Seketeli <dodji@gnome.org> * src/layeng/Makefile.am,src/seleng/Makefile.am: Fixed more build system stuffs here.
* Provides libcrseleng and libcrlayeng with version info different from theDodji Seketeli2003-12-114-3/+19
| | | | | | | | 2003-12-11 Dodji Seketeli <dodji@gnome.org> * configure.in,src/layeng/Makefile.am,src/seleng/Makefile.am: Provides libcrseleng and libcrlayeng with version info different from the one of libcroco.
* big cleanup here. make sure seleng, layeng and tests are disabled byDodji Seketeli2003-12-1122-234/+117
| | | | | | | | | | | | | | | | | | | | | | | | 2003-12-11 Dodji Seketeli <dodji@gnome.org> * Makefile.am: big cleanup here. * configure.in: make sure seleng, layeng and tests are disabled by default. Added makefiles in docs/ docs/example tests/ tests/test-inputs tests/test-output-refs * csslint/Makefile.am: cleaned this up. make sure to add seleng,layeng and glib compile flags whenever needed. * docs/Makefile.am,docs/examples/Makefile.am: new makefiles. * src/libcroco.h: removed references to cr-parser-input.h * src/layeng/Makefile.am: cleanup, make distcheck is happier. * src/parser/Makefile.am: cleanup, make distcheck is happier. * src/parser/cr-doc-handler.h: removed reference to cr-parser-input.h * src/parser/cr-layout-eng.h,src/parser/cr-parser-input.h: removed these. * src/parser/cr-parser.c: (cr_parser_new): fixed a typo here. * src/parser/cr-parser.h,src/parser/cr-tknzr.h: removed ref to cr-parser-input.h * src/seleng/Makefile.am: cleanup, make distcheck is happier. * tests/testctl: exclude makefiles when diffing outputs and re * outputs.
* updated version numbers for 0.4. added this so that the pango dependancyDodji Seketeli2003-12-1113-230/+264
| | | | | | | | | | | | | | | | | | | | 2003-12-11 Dodji Seketeli <dodji@gnome.org> * configure.in: updated version numbers for 0.4. * src/layeng/cr-lay-eng.[ch]: (cr_lay_eng_style_to_pango_font_attribute): added this so that the pango dependancy comes into the layout engine. * src/parser/cr-parser.c,src/parser/cr-selector.h, src/parser/cr-stylesheet.h,src/parser/cr-term.[ch], src/parser/cr-utils.h: made sure libcroco headers files are C++ compilers friendly. * src/seleng/Makefile.am: remove pango dependancy from the selection engine. Put it in the layout engine. * src/seleng/cr-style.[ch]: (cr_style_to_pango_font_attributes): removed this function from here and put it in src/layeng/cr-lay-eng.[ch]. This way, we seleng doesn't depend on pango. Only layout engine does.
* Applied a patch from Michael Culbertson <Michael.J.Culbertson@wheaton.edu>Gaël CHAMOULAUD2003-08-173-3/+12
| | | | | | | | * src/layeng/cr-lay-eng.c: (layout_block_box): * src/seleng/cr-sel-eng.c: (put_css_properties_in_hashtable): Applied a patch from Michael Culbertson <Michael.J.Culbertson@wheaton.edu> -> Compilation failed with gcc 2.95.4 due to declarations after calls to g_return_val_if_fail and the like.
* fixed some stupid error that was making gcc 2.9xxx cry.Dodji2003-07-153-42/+47
| | | | | | | | 2003-07-15 Dodji <dodji@gnome.org> * src/seleng/cr-sel-eng.c (id_add_sel_matches_node): fixed some stupid error that was making gcc 2.9xxx cry. Dodji.
* updatesChristian Fredrik Kalager Schaller2003-07-082-49/+57
|
* fixed the library versioning breakage I have introduced. This is a 0.3rel-0-3-0Dodji Seketeli2003-07-072-3/+8
| | | | | | | | | 2003-06-07 Dodji Seketeli <dodji at seketeli dot org> * configure.in: fixed the library versioning breakage I have introduced. This is a 0.3 release commit. Dodji.
* rearranged the enum CRNumProp values.Dodji Seketeli2003-07-0511-82/+229
| | | | | | | | | | | | | | | | | 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.
* *** empty log message ***rel_0_2Dodji Seketeli2003-06-291-0/+12
|
* *** empty log message ***Dodji Seketeli2003-06-292-3/+3
|
* touched all the files because of a time update.Dodji Seketeli2003-06-291-5/+1
| | | | | | | 2003-06-29 Dodji Seketeli <dodji seketeli org> touched all the files because of a time update. Dodji.
* configure.in: fixed a tiny typo.Dodji Seketeli2003-06-291-3/+3
| | | | | | | 2003-06-29 Dodji Seketeli <dodji () seketeli () org> configure.in: fixed a tiny typo. Dodji.
* updated this test reference output.Dodji Seketeli2003-06-297-98/+25
| | | | | | | | | | | | | | | | | 2003-06-30 Dodji Seketeli <dodji at seketeli dot org> * tests/test-output-refs/test4.1.css.out: updated this test reference output. * src/parser/cr-statement.c: fixed a typo that lead to a small regression detected by the non regression test suite. * tests/testctl: made sure no to consider the .cvsignore file during the final diff. * src/layeng/cr-box-view.[ch]: fixed some compiler warnings. Dodji.
* Updated man page csslint.1Gaël CHAMOULAUD2003-06-281-1/+1
|
* Added CROCO_LAYENG_ENABLED test in csslint_show_version function.Gaël CHAMOULAUD2003-06-283-0/+13
|
* modified this coding example.Dodji Seketeli2003-06-261-22/+11
| | | | | | | | 2003-06-26 Dodji Seketeli <dodji at seketeli dot org> * docs/examples/cssom-example-1.c : modified this coding example. Dodji.
* added this new file.Dodji Seketeli2003-06-251-0/+348
| | | | | | | | 2003-06-25 Dodji Seketeli <dodji at seketeli dot org> * docs/examples/sac-example-2.c: added this new file. Dodji.
* 2003-06-25 Dodji Seketeli <dodji at seketeli dot org>Dodji Seketeli2003-06-251-3/+3
|
* More bits on documentation.Dodji Seketeli2003-06-242-35/+42
| | | | | | | | 2003-06-24 Dodji Seketeli <dodji@spam_sucks.seketeli.org> * docs/design/parser-architecture.txt,docs/examples/sac-example-1.c: More bits on documentation. Dodji.
* mode bits on this the beginning of a code example on how to use the SACDodji Seketeli2003-06-233-6/+203
| | | | | | | | 2003-06-23 Dodji Seketeli <dodji 47 seketeli dot org> * docs/design/parser-architecture.txt : mode bits on this * the beginning of a code example on how to use the SAC api. Dodji.
* added parse_font_face_unrecoverable_error_cb(),Dodji Seketeli2003-06-2210-44/+185
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* More bits on the parser documentation front.Dodji Seketeli2003-06-221-2/+70
| | | | | | | | 2003-06-22 Dodji Seketeli <dodji at seketeli dot org> More bits on the parser documentation front. Dodji.
* An on going parser architecture document.Dodji Seketeli2003-06-221-0/+70
| | | | | | | 2003-06-22 Dodji Seketeli <dodji@seketeli.org> An on going parser architecture document. Dodji.
* Updated man pagesGaël CHAMOULAUD2003-06-212-4/+4
|
* Changed the prototype of cr_statement_unlink() to harmonize it withdodji2003-06-213-20/+46
| | | | | | | | | | 2003-06-21 dodji <dodji@seketeli.org> * src/parser/cr-statement.[ch]: Changed the prototype of cr_statement_unlink() to harmonize it with cr_declaration_unlink(). Dodji.
* added the cr_term_parse_expression_from_buf() function. this is new andDodji Seketeli2003-06-209-119/+183
| | | | | | | | | | | | | | | | | 2003-06-20 Dodji Seketeli <dodji@seketeli.org> * src/parser/cr-term.[ch]: added the cr_term_parse_expression_from_buf() function. this is new and still needs to be tested. * src/parser/cr-parser.[hc]: made cr_parser_parse_expr() public. * src/parser/cr-declaration.[ch]: changed cr_declaration_parse() into cr_declaration_parse_parse_from_buf(). Dodji.
* fixed some typos. added the functionDodji Seketeli2003-06-208-101/+272
| | | | | | | | | | | | | | | | | | | | 2003-06-20 Dodji Seketeli <dodji@seketeli.org> * src/parser/cr-statement.[ch]: fixed some typos. added the function cr_statement_does_buf_parses_against_core() and cr_statement_ruleset_get_declarations(). * src/parser/cr-parser.[ch]: made cr_parser_parse_statement_core() public. * src/parser/cr-om-parser.c: fixed a small typo. * src/parser/cr-declaration.[ch] added a new cr_declaration_unlink() function. Dodji.
* updated this to test cr_statement_parse_from_buf(). It seems to work now.Dodji Seketeli2003-06-195-21/+242
| | | | | | | | | | | | | | 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.
* added cr_statement_font_face_rule_parse_from_buf () . and a genericDodji Seketeli2003-06-186-15/+286
| | | | | | | | | | | | | | | 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.