Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-30 | remove unused method | Johannes Hofmann | |
2009-01-29 | free font names when replacing them | Johannes Hofmann | |
2009-01-28 | make sure strings from CSS parser are freed | Johannes Hofmann | |
2009-01-28 | a few dStrcasecmp()s | corvid | |
2009-01-28 | simplify CssContext::buildUserStyle() | corvid | |
2009-01-28 | descendent -> descendant (noticed by corvid) | Johannes Hofmann | |
2009-01-26 | adapt font-family preferences to match CSS | Johannes Hofmann | |
CSS 2.1 uses the following predefined font names: 'serif', 'sans-serif', 'cursive', 'fantasy', 'monospace'. Add preferences so that the user can set real font names for these. Basically the new "font_sans_serif" option is what "vw_fontame" used to be and "font_monospace" is equivalent to "fw_fontname". The other two options are new. | |||
2009-01-26 | use ConstString in CssStyleSheet::apply() | Johannes Hofmann | |
2009-01-25 | allocate/deallocate CssSimpleSelector properly | Johannes Hofmann | |
2009-01-22 | improve font handling | Johannes Hofmann | |
The vw_fontname and fw_fontname preferences are now used to define the CSS fontanmes "sans" and "monospace". | |||
2009-01-21 | don't call docTree->top() over and over | Johannes Hofmann | |
2009-01-21 | move assert from CssSelector::match() to CssRule constructor | Johannes Hofmann | |
2009-01-21 | refactor CssSelector::match() making it slightly more efficient | Johannes Hofmann | |
2009-01-21 | cosmetic change to CssSelector::match() | Johannes Hofmann | |
2009-01-21 | simplify CssSelector a bit | Johannes Hofmann | |
2009-01-21 | fix minor issue in CSS optimization | Johannes Hofmann | |
This brings down the number of CssSimpleSelector::match() calls from 816603 to 602787 on http://www.spiegel.de | |||
2009-01-19 | remove debugging code | Johannes Hofmann | |
2009-01-19 | fix border around images within links | Johannes Hofmann | |
2009-01-19 | switch default color for visited links to #800080 again | Johannes Hofmann | |
2009-01-16 | update copyright | Johannes Hofmann | |
2009-01-15 | refactor CssSelector::match() a bit | Johannes Hofmann | |
2009-01-13 | merge | Johannes Hofmann | |
2009-01-13 | minor cleanup | Johannes Hofmann | |
2009-01-13 | initial implementation of a CSS selector matching optimization | Johannes Hofmann | |
The idea is to avoid repeated checks of CssSimpleSelector against the same part of the doctree. E.g .navigation * { background-color:green } Would result in checking for class="navigation" all the way down to the document root for all elements. The optimization shortcuts this, for parts of the doctree that have been checked before. | |||
2009-01-12 | add RuleList class to implement proper memory management | Johannes Hofmann | |
2009-01-12 | String -> ConstString | Johannes Hofmann | |
2009-01-12 | remove CssRule reference counting | Johannes Hofmann | |
2009-01-12 | avoid unnecessary lout::object::String creation | Johannes Hofmann | |
2009-01-12 | fix some bugs | Johannes Hofmann | |
2009-01-12 | initial implementation of hashmap based CSS selector matching | Johannes Hofmann | |
2009-01-12 | replace fixed break space in Html_tag_open_li() with a user agent style | Johannes Hofmann | |
This changes allows to set the margin of <li> elements to zero via CSS. Subsequent <li> elements then have no spacing in between. Test case: <html> <head> <style type="text/css"> li { border: 1px solid black; margin: 0; } </style> </head> <body> <ul> <li>hello</li> <li>hello</li> </ul> </body> </html> There should be no vertical space between the two boxes. | |||
2009-01-09 | cleanup user agent style | Johannes Hofmann | |
2009-01-03 | fix <dt> handling | Johannes Hofmann | |
2009-01-03 | set list-style-type to decimal for <ol> | Johannes Hofmann | |
2009-01-03 | fix debug printing of CSS selectors | Johannes Hofmann | |
2009-01-03 | convert list handling to use styleEngine | Johannes Hofmann | |
2008-12-19 | Interim patch for CSS stylesheet loading. Not finished yet. | Jorge Arellano Cid | |
2008-12-17 | remove unnecessary this-> | Johannes Hofmann | |
2008-12-17 | initialize refCount in CssRule | Johannes Hofmann | |
2008-12-17 | add CssSelector destructor | Johannes Hofmann | |
2008-12-16 | speed up CSS selector matching | Johannes Hofmann | |
A CssStyleSheet is now an array of lists of CssRules. The array holds a list if those rules that might potentially match whith a given element on the top of docTree. | |||
2008-12-15 | remove border style definition for <img> from user-agent style | Johannes Hofmann | |
2008-12-14 | convert Html_tag_open_img() | Johannes Hofmann | |
2008-12-11 | remove table border color definitions from user-agent style | Johannes Hofmann | |
2008-12-11 | fix <hr> handling | Johannes Hofmann | |
2008-12-11 | update user agent style for tables | Johannes Hofmann | |
2008-12-10 | convert Html_tag_open_hr() and Html_tag_open_pre() | Johannes Hofmann | |
2008-12-05 | add margin directives to user agent style to replace Html_add_indented() | Johannes Hofmann | |
2008-12-04 | fix default table borders | Johannes Hofmann | |
2008-12-02 | disable debug output | Johannes Hofmann | |