| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
svn path=/trunk/; revision=322
|
|
|
|
|
|
|
|
|
|
| |
* configure.in,docs/Makefile.am:
unwire gtk-doc temporarily. Couldn't make it
distcheck otherwise.
* tests/Makefile.am: add global-vars.sh.in to EXTRA_DIST files.
* confifure.in: increase library REVISION number, for 0.6.1 release.
============= 0.6.1 release =======================
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
| |
2004-06-09 Dodji Seketeli <dodji@gnome.org>
synchronize with libcroco--mainline--0.6--patch-28.
|
| |
|
|
|
|
|
|
| |
2004-05-29 Dodji Seketeli <dodji@gnome.org>
Synchronize with libcroco--mainline--0.6--patch-25.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
2004-03-16 Dodji <dodji@gnome.org>
Merged with libcroco--mainline--0.1--patch-22
|
|
|
|
|
|
| |
2004-03-15 Dodji <dodji@gnome.org>
Merged with libcroco--mainline--0.1--patch-21
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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-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-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-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-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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-18 Dodji Seketeli <dodji@seketeli.org>
* tests/test4-main.c: updated the test routine to test
cr_statement_at_charset_rule_parse_from_buf().
* src/parser/cr-statement.[ch]: added a new
cr_statement_at_charset_rule_parse_from_buf() method to
to create an "@charset" statement from a buffer text content.
* src/parser/cr-parser.c:Fixeds a small possibility of memleak
in cr_parser_parse_charse()
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-18 dodji <dodji@seketeli.org>
* tests/test4-main.c: fixed a small typo in the "@page" rule
embedded in gv_at_page_buf.
* src/parser/cr-parser.c: fixed a small bug in the
cr_parser_parse_page () function.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-17 dodji <dodji@seketeli.org>
* tests/test4-main.c: added test_cr_statement_at_page_rule_parse ()
to test the new cr_statement_at_page_rule_parse_from_buf() function.
* src/parser/cr-statement.[ch]:
added a first version of cr_statement_at_page_rule_parse_from_buf().
This doesn't work. I need to debug it first.
Dodji.
|
|
|
|
| |
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-15 dodji <dodji@seketeli.org>
* tests/test4-main.c: updated this to test the new
cr_statement_ruleset_parse_from_buf () method.
* src/parser/cr-statement.[ch]:
Added a cr_statement_ruleset_parse_from_buf () method. This
is based on the changes made in cr-parser.[ch].
* src/parser/cr-selector.[ch]:
added a method cr_selector_parse_from_buf (). This is based
on the changes made in cr-parser.[ch].
* src/parser/cr-parser.[ch]:
Some rather important changes occured here ...
revisited the way selectors and rulesets are parsed
so that one could parse a buffer that contains only a ruleset.
A visible implication of this is that cr_parser_parse_selector () and
cr_parser_parse_ruleset () become public methods callable independantly.
In the past, this was not possible. Only cr_parser_parse_stylesheet ()
was public.
* src/parser/cr-om-parser.c: updated this to comply with the
changes made in cr-doc-handler.[ch].
* src/parser/cr-doc-handler.[ch]:
1/ Created an explicitely private field of CRDocHandler
to store parsing context, parsing result and any eventually
needed private data structure. The privates fields are
accessible through getters/setters though.
2/ made sure to increment the ref count of each instance
of CRDocHandler at instanciation time. This may
introduce some memleaks in the working code. I will
fix them in next commits.
* src/parser/cr-declaration.c:
(cr_declaration_append2() ): modified this so that
we can append declaration to a list of declarations that
don't belong to a ruleset.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-14 dodji <dodji@seketeli.org>
* src/layeng/cr-lay-eng.c, src/seleng/cr-style.[hc]:
more fonts selection implementation.
* tests/test7-main.c: updated this to test the font selection implem.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-12 dodji <dodji@seketeli.org>
* src/seleng/Makefile.am: added pango stuffs.
* configure.in: added pango detection.
* src/seleng/cr-fonts.c: a bit more font selection.
* src/layeng/cr-lay-eng.c: a bit more font selection.
* src/seleng/cr-style.c: font selection code again.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/test4-main.c: updated this test to test the
new cr_declaration_to_string () api.
* src/parser/cr-declaration.[ch] (cr_declaration_to_string ()):
Added this new api to allow the serialisation of css declarations.
This is not well tested yet, but it works.
Dodji.
|
|
|
|
|
|
|
|
| |
* src/parser/cr-parser.c (cr_parser_parse_declaration):
fixed a bug that prevented this parsing function to be called outside
the stylesheet parsing context.
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/seleng/cr-style.[ch]: went forward in the font properties
gathering.
* src/parser/cr-tknzr.[ch]: fixed some 'const" related compilation
warnings.
* src/parser/cr-parser.[ch]: exported the declaration parsing api
so that cr_declaration_parse () can use it.
* src/parser/cr-declaration.[ch]:
added cr_declaration_parse () api. Not tested yet.
Dodji.
|
|
|
|
| |
Dodji.
|
| |
|
| |
|