aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-01-16merge with mainJohannes Hofmann
2009-01-15Added the "http_language" dillorc option for setting HTTP's Accept-Language.2.1-noCsscorvid
2009-01-15merge with mainJohannes Hofmann
2009-01-15Set tab focus (after tab close) to the most recently opened one.Jorge Arellano Cid
2009-01-15use prefs.font_factor to scale base fontJohannes Hofmann
2009-01-14Fix: inherit bgcolor from parent widget (images). Also cleanups.Jorge Arellano Cid
2009-01-14Make now-unused debug messages silent.Jorge Arellano Cid
2009-01-15mergeJohannes Hofmann
2009-01-15refactor CssSelector::match() a bitJohannes Hofmann
2009-01-13pass valign property from base style into wordStyleJohannes Hofmann
This fixes rendering of <sub>, <sup> elements.
2009-01-13mergeJohannes Hofmann
2009-01-13minor cleanupJohannes Hofmann
2009-01-13initial implementation of a CSS selector matching optimizationJohannes 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-12whitespaceJohannes Hofmann
2009-01-12add RuleList class to implement proper memory managementJohannes Hofmann
2009-01-12String -> ConstStringJohannes Hofmann
2009-01-12remove CssRule reference countingJohannes Hofmann
2009-01-12avoid unnecessary lout::object::String creationJohannes Hofmann
2009-01-12fix some bugsJohannes Hofmann
2009-01-12initial implementation of hashmap based CSS selector matchingJohannes Hofmann
2009-01-12replace fixed break space in Html_tag_open_li() with a user agent styleJohannes 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-12refactor Css_parse_selector() to avoid loopingJohannes Hofmann
Make sure that even if parsing of a CSS selector fails, the parser advances until the end of the selector (EOF, ',', or '{').
2009-01-11commentJohannes Hofmann
2009-01-11refactor Css_parse_simple_selector() a bitJohannes Hofmann
2009-01-10merge with mainJohannes Hofmann
2009-01-09cleanup user agent styleJohannes Hofmann
2009-01-09add load_stylesheets optionJohannes Hofmann
Setting load_stylesheets=NO will disable loading of remote CSS stylesheets. CSS style information embedded in the page with <style></style> elements will still be used.
2009-01-09remove unused codeJohannes Hofmann
2009-01-09avoid warning about uninitialized variablesJohannes Hofmann
2009-01-09fix float->int castJohannes Hofmann
2009-01-09remove no longer used functionsJohannes Hofmann
2009-01-09mergeJohannes Hofmann
2009-01-09Backed out changeset abdae95b1c9eJohannes Hofmann
The optimization was causing crashes.
2009-01-07Cleanup of cache.c WRT charset decoders.Jorge Arellano Cid
This patch gets rid of a series of valgrind complains with this page: http://selenic.com/pipermail/mercurial/
2009-01-06initialize styleAttribute and inheritBackgroundColor (by Jorge)Johannes Hofmann
2009-01-05Added a right-click menu to the form submit button (allows to show hiddens)Jorge Arellano Cid
2009-01-05mergeJohannes Hofmann
2009-01-05Fix a segfault with a debug MSG.Jorge Arellano Cid
2009-01-05Free UTF8Data before changing its value.Jorge Arellano Cid
2009-01-05 These optimizations are for repeated images in a page.Jorge Arellano Cid
1.- Every repeated cache-served-image is decoded. The patch adds an extra reference to the dicache entry, so only one of them is decoded, and the imgbuf deletion is left to a_Dicache_cleanup. 2.- Every repeated cache-served-image call copyRow for each row. The patch avoids that. This is common with small images (e.g. bullets), but the overhead may be not worth the patch...
2009-01-04print debug msg before actual unref to avoid dereferencing an invalid pointerJohannes Hofmann
2009-01-04backout 14ce954d98c0Johannes Hofmann
Inheriting the pseudo class breaks things like <a><font color="black"><small>test</small></font></a> The style for the :link pseudo class (blue color in this case) would overwrite the black color set by <font>. This happens on http://www.freshmeat.net
2009-01-04mergeJohannes Hofmann
2009-01-04Debugging aids.Jorge Arellano Cid
2009-01-03remove a_Html_set_top_font() which is no longer usedJohannes Hofmann
2009-01-03fix <dt> handlingJohannes Hofmann
2009-01-03remove empty Html_tag_open_* functions and replace them with ↵Johannes Hofmann
Html_tag_open_default()
2009-01-03reduce rounding errors when casting float to intJohannes Hofmann
2009-01-03convert <object> handlingJohannes Hofmann
2009-01-03reorder code in Html_tag_open_ul()Johannes Hofmann