| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
2004-06-09 Dodji Seketeli <dodji@gnome.org>
* NEWS: updated this for 0.5.2
* configure: bumped version number to 0.5.2 and updated lib
version info.
|
|
|
|
|
|
|
|
|
|
| |
2004-05-31 Dodji Seketeli <dodji@gnome.org>
synchronized with mlview--mainline--0.1--patch-32:
* docs/examples/selection-example-1.c:
(print_properties_real):
fix some ansi C compilation errors.
|
|
|
|
|
|
| |
2004-05-29 Dodji Seketeli <dodji@gnome.org>
Synched with libcroco--mainline--patch-34 .
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
2004-04-18 Dodji Seketeli <dodji@gnome.org>
* tests/Makefile.am: added test-several-media.sh to archive.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
2004-04-18 Dodji Seketeli <dodji@gnome.org>
* src/libcroco-config.h: removed this from CVS.
|
|
|
|
|
|
| |
2004-03-15 Dodji <dodji@gnome.org>
Merged with libcroco--mainline--0.1--patch-21
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-13 Dodji <dodji@gnome.org>
* ====
merge point of dodji@gnome.org--xml-style-2004/libcroco--snapshots--0.1--patch-1
===
* configure.in: bumped version number to 0.5 and bumped version-info.
* src/cr-sel-eng.c,src/cr-stylesheet.c,
src/cr-tknzr.c,tests/test5-main.c,tests/testctl:
massive mem leaks/corruption killing.
* vg.supp: added this to suppress glib normal leaks
from the leak report.
2004-03-12 Dodji <dodji@gnome.org>
* src/cr-declaration.c,src/cr-doc-handler.c,
src/cr-input.[ch],src/cr-parser.c,src/cr-rgb.c,
src/cr-selector.c,src/cr-term.c,src/cr-token.c,
tests/test1-main.c,tests/test4-main.c: started to kill mem leaks
and corruptions.
* tests/testctl: added the --show-reachable=yes flag to valgrind.
* tests/testctl: added better valgrind error reporting.
2004-03-11 Dodji <dodji@gnome.org>
* Makefile.am: now, tests are to be run by doing "make test".
Also, cleans up the previous test output before actually running.
* global-vars.sh: added this sh script that sets variable used
in all the test sh scripts based on csslint.
* test-prop-ident,test-unknown-at-rule,test-unknown-at-rule2:
renamed these into *.sh (e.g) test-prop-ident.sh to reflect
that it's a shell script, not a test written in C.
Also, make these use global-vars.sh
* tests/testctl: added a descent valgrind support when runned
with like "./testctl run --valgrind" or RUN_VALGRIND=yes ./testctl run.
Puts the valgrind logs in valgrind-logs/ and report their presence
to the user. This'll help catch mem leaks/corruption at the
regression test level.
Also make sure to launch ./libs/testblah and not ./testblah which
is actually a shell script.
* tests/testctl: don't activate valgrind tests by default.
2004-03-10 Dodji <dodji@gnome.org>
* src/cr-statement.[ch]:
(cr_statement_to_string): do not add leading end of lines.
* cr-stylesheet.c: added cr_stylesheet_to_string(), handle
end of lines between statements here.
* tests/test-output-refs/test5.1.css.out: updated non
regression tests.
* tests/testctl: added valgrind support in the non regression
tests. I think I still need to improve it to make it detect
the errors when there are some, and report it in a consistent
way.
* tests/testctl: added support for tests that gets
called without any argument.
* tests/* added csslint based non regression tests for proprietary INDENT and
unknown at rule.
* src/cr-utils.c:
(cr_utils_ucs1_to_utf8): handle zero length input gently.
* src/cr-statement.c: finish the coding of the
cr_statement_to_string() function and make cr_statement_dump()
use it.
* src/cr-term.c: merge from libcroco--mainline--0.1
2004-03-09 Dodji <dodji@gnome.org>
* src/cr-term.[ch]: applied a patch from Rob BUIS that adds
two new methods:
(cr_term_get_from_list) and (cr_term_get_from_list).
* src/cr-statement.c:
(cr_statement_font_face_rule_to_string): added this method.
(cr_statement_dump_font_face_rule): make this use the new
cr_statement_font_face_rule_to_string() function.
* tests/testctl: update this to exclude .arch-ids from the diffs.
* src/cr-parser.c,src/cr-tknzr.c: droped the way I was handling
the vendor proprietary properties and make sure to parse and IDENT by
following css3 rules.
* src/cr-parser.c:
(cr_parser_parse_any_core): semicolon (';') is not part of the 'any'
production.
(cr_parser_parse_ruleset): consider the case where we have an empty ruleset (e.g 'x{}')
* {arch}/=tagging-method: changed this to make objects generation by the
compilation accepted by tla.
2004-03-08 Dodji <dodji@gnome.org>
* Merged in the following patches:
=> dodji@seketeli.org--2004-xml-style-d/libcroco--dodji-d--0.1--base-0
tag of dodji@gnome.org--xml-style-2004/libcroco--mainline--0.1--base-0
=> dodji@seketeli.org--2004-xml-style-d/libcroco--dodji-d--0.1--patch-1
removed useless files.
* files.txt,dirs.txt: removed these files.
====starting from here, going upward, we use gnu arch ===
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-07 Dodji Seketeli <dodji@gnome.org>
* src/cr-statement.c:
(parse_page_start_page_cb) fixed a memory management bug
reported by Rob BUIS.
(cr_statement_at_page_rule_to_string): added this new
helper function.
(cr_statement_dump_page): make this use
cr_statement_at_page_rule_to_string().
* tests/test4-main.c:
(test_cr_statement_at_page_rule_parse_from_buf): added this
to start debugging a problem related to @page rule parsing.
|
|
|
|
|
|
|
|
| |
2004-03-07 Dodji Seketeli <dodji@gnome.org>
* src/*.c: re-indented the source files to make'em comply
with gnome indentation rules.
* libcroco-indent: added this indentation script.
|
|
|
|
|
|
|
| |
2004-03-07 Dodji Seketeli <dodji@gnome.org>
* src/cr-style.c: applied a patch from
Benjamin Dauvergne to support the "color" property.
|
|
|
|
|
|
|
|
| |
2004-03-07 Dodji Seketeli <dodji@gnome.org>
* src/cr-rgb.[ch]:
(cr_rgb_compute_from_percentage): added this new convenience
function.
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-06 Dodji <dodji@gnome.org>
* src/cr-tknzr.c:
(cr_tknzr_parse_num): when you reach an EOF, don't assume it's
an error. Return the already parsed part of the number.
Next attempt of parsing will result in an
* tests/test4-main.c: udpated this test the fix made above.
CR_END_OF_INPUT_ERROR.
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-06 Dodji <dodji@gnome.org>
* Doxyfile: reflect the removal of src/parser src/seleng and
src/layeng
* src/cr-declaration.c:
(cr_declaration_list_to_string2): added this new method.
* src/cr-sel-eng.c: fix a bug in the !important handling
in the cascading algorithm.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 ;).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-01 dodji <dodji@gnome.org>
* src/cr-prop-list.[ch]: added the (cr_prop_list_unlink) function.
* src/cr-sel-eng.c:
(put_css_properties_in_props_list): put the properties at the
end of the properties list built by this function. This is
necessary to keep the properties declaration order. This order
is significant for example when you consider short hand
properties expansion.
|
|
|
|
|
|
|
|
|
| |
2004-02-29 Dodji Seketeli <dodji@gnome.org>
* src/cr-input.c,src/cr-num.c,src/cr-prop-list.[ch],
src/cr-rgb.c: applied a patch from Rob BUIS that fixes
numeros typos. Also adds G_BEGIN_DECL/G_END_DECL to
cr-prop-list.h
|
|
|
|
|
|
|
| |
2004-02-29 Dodji Seketeli <dodji@gnome.org>
* src/cr-rgb.c,src/cr-tknzr.c: remove the usage of '...' in switch/case statements
as this is not portable across c89 compilers.
|
|
|
|
|
|
|
| |
2004-02-29 Dodji Seketeli <dodji@gnome.org>
* src/cr-rgb.c:
(cr_rgb_set): fixed a stupid bug here.
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-29 Dodji Seketeli <dodji@gnome.org>
* src/cr-sel-eng.c: applied a patch of Rob BUIS
to add the support of the :lang() pseudo class using
the pluggable pseudo class system.
* tests/test5-main.c,tests/test-inputs/test5.1.css,tests/test-output-refs/test5.1.css.out:
Updated the non regression tests suite to test the :lang() pseudo
class.
|
|
|
|
|
|
|
|
| |
2004-02-29 Dodji Seketeli <dodji@gnome.org>
* src/cr-statement.[ch],src/cr-stylesheet.[ch]:
applied a patch from Rob BUIS that provides new apis
to manipulate CSS statements.
|
|
|
|
|
|
|
|
| |
2004-02-29 Dodji Seketeli <dodji@gnome.org>
* src/cr-sel-eng.c:
(put_css_properties_in_props_list): fixed a small bug in here:
Always Initialise output function argument !!!.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-29 Dodji Seketeli <dodji@gnome.org>
* src/cr-prop-list.[ch], src/Makefile.am,src/libcroco.h:
Created this new CRPropList class.
* src/cr-sel-eng.c:
(put_css_properties_in_props_list): added this new helper
function.
(cr_sel_eng_get_matched_properties_from_cascade):
Created a new version of this function to make it use
the new CRPropList instead of a hashtable. Putting
properties/declaration in a hashtable make us loose
the "order" in which declarations are present in the
ruleset. That's why I use a CRPropList instead.
* src/cr-style.c:
(cr_style_set_style_from_decl): fix a silly error that
make border-right and border-top switch.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-26 Dodji Seketeli <dodji@gnome.org>
* src/cr-sel-eng.c:
(cr_sel_eng_get_matched_properties_from_cascade):
Second (or maybe third) attempt to fix the cascading
cascading thing. I got *really* confused here.
I hope it works this time.
Thanks to to Rob BUIS who reported the bug.
Off to bed now.
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-24 Dodji Seketeli <dodji@gnome.org>
* src/cr-parser.c:
(cr_parser_parse_import): fixed a parsing bug reported
by David A Knight. This should now properly parse
sequences of @import rules that without media parts.
* src/cr-statement.c: (cr_statement_dump_import_rule):
fixed a serialisation bug here.
|
|
|
|
|
|
|
|
| |
2004-02-24 Dodji Seketeli <dodji@gnome.org>
* src/cr-parser.c,src/cr-tknzr.c,src/cr-token.[ch]:
added the support of
vendor specific property names.
|
|
|
|
|
|
|
|
|
|
| |
2004-02-19 Dodji Seketeli <dodji@gnome.org>
* src/cr-sel-eng.c:
(cr_sel_eng_get_matched_properties_from_cascade): Fixed a bug
that was "forgetting" all the properties gathered during the
cascading algorithm but the last ones.
* tests/Makefile.am: a bit of cleanup here.
|
|
|
|
|
|
|
|
|
|
| |
2004-02-14 Dodji Seketeli <dodji@gnome.org>
* src/cr-declaration.[ch]: applied a patch from
Rob BUIS<rwlbuis@xs4all.nl> that does a bunch of cleanup and
fixes. It also adds the new cr_declaration_list_to_string() api
entry point.
* AUTHORS: updated this
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-14 Dodji Seketeli <dodji@gnome.org>
* src/cr-declaration.[ch]:
(cr_declaration_nr_props),
(cr_declaration_get_from_list),
(cr_declaration_get_by_prop_name):
applied a patch from Rob BUIS<rwlbuis@xs4all.nl> that adds
these api entry points.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-13 Dodji Seketeli <dodji@gnome.org>
* src/cr-declaration.c:
(cr_declaration_parse_list_from_buf): when we encounter an EOF
right after a ';' don't return an error.
* src/cr-parser.c:
(CHECK_PARSING_STATUS_ERR): fix a possibly nasty typo.
(cr_parser_parse_property): when there is an error here,
return the underlying error instead of returning just CR_PARSING_ERROR.
(cr_parser_parse_declaration): when we encounter an EOF just at
the beginning of parsing, return CR_END_OF_INPUT_ERROR instead
of CR_PARSING_ERROR. More generaly, we should always return
CR_END_OF_INPUT_ERROR when we encounter that error, and not return
CR_PARSING_ERROR instead.
tests/test4-main.c:
(test_cr_declaration_parse_list): updated this to reflect catch
trailing ';' at the end of declaration list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-12 Dodji Seketeli <dodji@gnome.org>
* src/cr-declaration.[ch]:
(cr_declaration_parse_list_from_buf): added this new api entry point
to parse comma separated list of property declarations.
* src/cr-parser.c:
(cr_parser_parse_expr): dont return an error when we encounter EOF immediately
at the end of an expression.
(cr_parser_get_tknzr): added this new api entry point to get
the parser's underlying tokenizer.
* src/cr-statement.h: fixed a comment here.
* tests/test4-main.c: wrote a test for the new
cr_declaration_parse_list_from_buf() function.
|
|
|
|
|
|
| |
2004-02-11 Dodji Seketeli <dodji@gnome.org>
* src/Makefile.am: make sure headers go in $prefix/include/libcroco/libcroco .
|
|
|
|
|
|
|
| |
2004-02-10 Dodji Seketeli <dodji@gnome.org>
* src/cr-fonts.c: debugged serialization stuffs
* src/cr-style.c: more serialization debugging
|
|
|
|
|
|
| |
2004-02-08 dodji <dodji@gnome.org>
* src/cr-style.c: more style structure debugging materials.
|
|
|
|
|
|
| |
2004-02-08 Dodji Seketeli <dodji@gnome.org>
* src/cr-style.c: more style structure debugging material.
|
|
|
|
|
|
|
| |
2004-02-07 Dodji Seketeli <dodji@gnome.org>
* src/cr-fonts.[hc],src/cr-num.h,src/cr-style.[ch]:
In the process of adding style structure debugging facilities.
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-29 Dodji Seketeli <dodji@gnome.org>
* src/cr-sel-eng.c:
(cr_sel_eng_get_matched_style): make sure to set the fields
of the style structure passed as an argument of the function, when
its not NULL.
* src/cr-style.c:
(cr_style_set_props_to_defaults): make this function public
|