summaryrefslogtreecommitdiff
path: root/csslint
Commit message (Collapse)AuthorAgeFilesLines
* Fix unused status variable in main()Руслан Ижбулатов2015-11-011-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710076
* Fix unused status variable in evaluate_selectors()Руслан Ижбулатов2015-11-011-8/+32
| | | | | | | | | | * Add an end label to go to on error * Clean up xml_doc at the end * Fix a miscleaning of xpath_object * Unref sheets after they are given to a cascade * Return status at the end https://bugzilla.gnome.org/show_bug.cgi?id=710076
* Replace deprecated INCLUDES with CPPFLAGSIgnacio Casal Quinteiro2015-10-311-4/+5
|
* char/xmlChar castingРуслан Ижбулатов2014-08-051-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710076
* gchar/guchar types and castingРуслан Ижбулатов2014-08-051-9/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710076
* Modernise and simplify configureChristian Persch2011-12-111-3/+2
|
* Remove redundant .cvsignore filesThomas Wood2009-02-091-3/+0
| | | | svn path=/trunk/; revision=322
* Fix 3 "dereferencing type-punned pointer will break strict-aliasing rules"Dom Lachowicz2006-05-021-3/+3
| | | | * csslint/csslint.c: Fix 3 "dereferencing type-punned pointer will break strict-aliasing rules" warnings
* Hush now baby, baby don't you cry...Kjartan Maraas2006-01-271-1/+1
|
* applied the following patches:CEST 2005 Dodji Seketeli2005-05-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue May 10 21:49:05 CEST 2005 Dodji Seketeli <dodji@seketeli.org> applied the following patches: dodji@gnome.org--xml-style-2004/libcroco--mainline--0.6--patch-29 2004-06-09 00:09:41 GMT updated NEWS file for 0.6.0 [Dodji Seketeli] dodji@gnome.org--xml-style-2004/libcroco--mainline--0.6--patch-30 2004-09-20 16:13:02 GMT fixed a nasty memory management bug [Dodji Seketeli] dodji@gnome.org--xml-style-2004/libcroco--mainline--0.6--patch-31 2005-02-10 21:41:04 GMT rm test output upon 'make clean' [Peter Moulder] dodji@gnome.org--xml-style-2004/libcroco--mainline--0.6--patch-32 2005-02-13 13:14:16 GMT make 'all' target a prerequisite of the 'test' target [Peter Moulder] dodji@gnome.org--xml-style-2004/libcroco--mainline--0.6--patch-33 2005-02-13 19:24:25 GMT allow building/testing in a directory different from srcdir [Peter Moulder/Dodji Seketeli] dodji@gnome.org--xml-style-2004/libcroco--mainline--0.6--patch-34 2005-02-13 19:42:48 GMT added better api documentation [Peter Moulder] dodji@gnome.org--xml-style-2004/libcroco--mainline--0.6--patch-35 2005-05-05 16:38:07 GMT initial port to gtk-doc, switch to automake 1.7 [Sven Herzberg, Dodji Seketeli] dodji@gnome.org--xml-style-2004/libcroco--mainline--0.6--patch-36 2005-05-05 16:51:38 GMT more gtk-doc stuffs [Dodji Seketeli] dodji@gnome.org--xml-style-2004/libcroco--mainline--0.6--patch-37 2005-05-06 14:20:20 GMT typos and c++ compilation fixes [Peter Moulder]
* synchronize with libcroco--mainline--0.6--patch-28.tla-cvs-synch-06-09-2004-0Dodji Seketeli2004-06-081-5/+5
| | | | | | 2004-06-09 Dodji Seketeli <dodji@gnome.org> synchronize with libcroco--mainline--0.6--patch-28.
* Synchronize with libcroco--mainline--0.6--patch-25.Dodji Seketeli2004-05-291-3/+1
| | | | | | 2004-05-29 Dodji Seketeli <dodji@gnome.org> Synchronize with libcroco--mainline--0.6--patch-25.
* Changes from arch/CVS synchronizationDodji Seketeli2004-04-181-350/+846
|
* ignore stuffThomas Vander Stichele2004-04-011-0/+3
|
* applied a patch from Rob BUIS to fix some bugs/memleaks here. Did someDodji Seketeli2004-03-051-13/+28
| | | | | | | | | | | | | | | 2004-03-06 Dodji Seketeli <dodji@gnome.org> * csslint/csslint.c: applied a patch from Rob BUIS to fix some bugs/memleaks here. Did some cleanups too. * src/cr-sel-eng.c: (cr_sel_eng_get_matched_rulesets_real): handle the case where the sheet is empty (has no rules). That can happen ! (it actually happened to me during some tests). (put_css_properties_in_props_list): handle the !important keyword in the cascading algorithm. Rob BUIS (again) started this.
* fixed silly bug in there. added the support of the "!important" keyword atDodji Seketeli2004-03-041-1/+0
| | | | | | | | | | | | | | | | | | 2004-03-05 Dodji Seketeli <dodji@gnome.org> * csslint/csslint.c: (parse_cmd_line) fixed silly bug in there. * src/cr-declaration.[ch],src/cr-om-parser.c, src/cr-parser.[ch],src/cr-statement.c,tests/test2-main.c, tests/test3-main.c: added the support of the "!important" keyword at the parsing level. * tests/test-inputs/test4.1.css: update nr tests to reflect the new !important thing. * src/cr-sel-eng.c: (put_css_properties_in_props_list): fix a small subtle bug in here. Selection engine is becoming more and more reliable ;).
* applied a patch from Kjartan Maraas to replace the g_strup()Dodji Seketeli2004-03-041-2/+1
| | | | | | | | | | | | | | | | | | | | 2004-03-04 Dodji Seketeli <dodji@gnome.org> * src/cr-enc-handler.c: (cr_enc_handler_resolve_enc_alias): applied a patch from Kjartan Maraas to replace the g_strup() g_ascii_strup(). This closes * csslint/Makefile.am,src/cr-simple-sel.h,src/cr-term.h src/cr-token.h,tests/Makefile.am: Applied patch http://bugzilla.gnome.org/showattachment.cgi?attach_id=23422. Modified the patch a little bit so that I use prog_LDFLAGS instead of AM_LDFLAGS. AM_LDFLAGS just seems not to be supported by my automake-1.4. This fixes http://bugzilla.gnome.org/show_bug.cgi?id=131643 . * tests/test-output-refs/test4.2.css.out: updated this non regresstion test reference output due to a small modification in the @page rule dump format.
* put a '\n' after dumping the sheet on screen. fixed a small bug in here.Dodji Seketeli2004-03-031-0/+1
| | | | | | | | | | | | | 2004-03-03 Dodji Seketeli <dodji@gnome.org> * csslint/csslint.c: (cssom_parse) put a '\n' after dumping the sheet on screen. * src/cr-parser.c: (cr_parser_parse_page): fixed a small bug in here. This should fix http://bugzilla.gnome.org/show_bug.cgi?id=136109. * src/cr-statement.c: (cr_statement_dump_page): added a white space before dumping the pseudo part of the @page rule.
* added the support of selectors evaluation in csslint. Now, one can doDodji Seketeli2004-03-031-65/+318
| | | | | | | | | | | | | | | | | | | 2004-03-03 Dodji Seketeli <dodji@gnome.org> * csslint/csslint.c: added the support of selectors evaluation in csslint. Now, one can do csslint --evaluate --xml <an xml file> --author-sheet <a-css-sheet> --xpath <an xpath expression> . This will show the css properties associated to the xml node(s) refered to by the xpath expression. * src/cr-declaration.[ch]: (cr_declaration_dump_one) added this new api entry to dump the first declaration of the declaration list. * src/cr-prop-list.c: (cr_prop_list_unlink): fixed a stupid bug in there. * src/cr-stylesheet.[ch]: (cr_stylesheets_nr_rules): there is a typo in this function name. Stylesheet's' should not take a leading 's'. Changed that into cr_stylesheet_nr_rules().
* Made smallish cleanupGael CHAMOULAUD2004-01-271-0/+4
| | | | | | 2004-01-27 Gael CHAMOULAUD <strider@gnome.org> * csslint/csslint.c: (csslint_show_version): Made smallish cleanup
* Removed the old references with libgnomeui and pango ! Made smallishGael CHAMOULAUD2004-01-271-8/+2
| | | | | | | 2004-01-27 Gael CHAMOULAUD <strider@gnome.org> * configure.in: Removed the old references with libgnomeui and pango ! * csslint/csslint.c: (csslint_show_version): Made smallish cleanup
* separated the library into two projects. Libcroco is now the combinationDodji Seketeli2004-01-241-17/+4
| | | | | | | | | | | 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.
* did some fixes/cleanup here. Make sure csslint --help shows a proper help.Dodji Seketeli2003-12-271-2/+12
| | | | | | | | | | | | | | 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.
* big cleanup here. make sure seleng, layeng and tests are disabled byDodji Seketeli2003-12-111-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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 man page csslint.1Gaël CHAMOULAUD2003-06-281-1/+1
|
* Added CROCO_LAYENG_ENABLED test in csslint_show_version function.Gaël CHAMOULAUD2003-06-282-0/+8
|
* added parse_font_face_unrecoverable_error_cb(),Dodji Seketeli2003-06-221-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Updated man pagesGaël CHAMOULAUD2003-06-211-2/+2
|
* went forward in the cascading support. I still have a long way to go.Dodji Seketeli2003-05-201-1/+2
| | | | Dodji.
* Fixed a configure related bug:Dodji Seketeli2003-05-141-4/+4
| | | | | | Made sure libcroco-config.h contains protected macros. Made a big cleanup in the distribution configuration management. Dodji.
* fixed #111895 Dodji.Dodji Seketeli2003-04-301-4/+14
| | | | | | * configure.in, csslint/Makefile.am, src/parser/Makefile.am, src/seleng/Makefile.am, src/layeng/Makefile.am: fixed #111895 Dodji.
* *configure.in: made sure to include the libgnomeui clflags andDodji Seketeli2003-04-261-2/+2
| | | | | | | | | | | | | | 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.
* a big tree cleanup to organised the sources component-wise.Dodji Seketeli2003-04-121-1/+4
| | | | Dodji.
* Updated man pageGaël CHAMOULAUD2003-04-022-2/+21
|
* - Misc. buildfixes and added spec.in fileChristian Schaller2003-03-302-419/+2
| | | | | 2003-30-03 Christian Schaller <Uraeus@gnome.org> - Misc. buildfixes and added spec.in file
* more code on the layout/cascade front.Dodji Seketeli2003-03-291-0/+1
| | | | | some fixes/improvements on the build system front. Dodji.
* started to add some new files ...Dodji Seketeli2003-03-261-2/+2
| | | | more work is to come.
* updated the style a bit to comply withDodji Seketeli2003-03-251-10/+16
| | | | | libcroco style. Dodji.
* Added feature: Parse CSS files and builds a CSS object modelGaël CHAMOULAUD2003-03-243-23/+147
|
* Re-indentationGaël CHAMOULAUD2003-03-231-2/+4
|
* Re-indentationGaël CHAMOULAUD2003-03-231-8/+15
|
* added a command CSS tool. CSSLINTGaël CHAMOULAUD2003-03-235-0/+573