| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
2004-01-26 Dodji Seketeli <dodji@gnome.org>
COYPRIGHTS: new file added
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
2004-01-26 Dodji Seketeli <dodji@gnome.org>
* src/cr-utils.h: added CR_FILE_NOT_FOUND_ERROR to
the CRStatus enum.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2004-01-04 Dodji Seketeli <dodji@gnome.org>
* src/parser/cr-declaration.c:
(cr_declaration_unlin): fixed a bug spoted by
Rob BUIS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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/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.
|
|
|
|
|
|
|
|
|
|
| |
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-21 Dodji Seketeli <dodji@gnome.org>
* docs/design/parser-architecture.txt: fixed some typos.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-13 Dodji Seketeli <dodji@gnome.org>
============= 0.4 release ================
* README: updated this.
* docs/examples/sac-example-[12].c: make this compile with
g++.
|
|
|
|
|
|
|
|
|
|
| |
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-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.
|
|
|
|
| |
Dodji.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
2003-12-11 Dodji Seketeli <dodji@gnome.org>
* src/layeng/Makefile.am,src/seleng/Makefile.am: Fixed more
build system stuffs here.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-29 Dodji Seketeli <dodji seketeli org>
touched all the files because of a time update.
Dodji.
|
|
|
|
|
|
|
| |
2003-06-29 Dodji Seketeli <dodji () seketeli () org>
configure.in: fixed a tiny typo.
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-26 Dodji Seketeli <dodji at seketeli dot org>
* docs/examples/cssom-example-1.c : modified this coding
example.
Dodji.
|
|
|
|
|
|
|
|
| |
2003-06-25 Dodji Seketeli <dodji at seketeli dot org>
* docs/examples/sac-example-2.c: added this new file.
Dodji.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
2003-06-22 Dodji Seketeli <dodji at seketeli dot org>
More bits on the parser documentation front.
Dodji.
|
|
|
|
|
|
|
| |
2003-06-22 Dodji Seketeli <dodji@seketeli.org>
An on going parser architecture document.
Dodji.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|