aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
AgeCommit message (Collapse)Author
2009-03-02use wordStyle() for bullets in Html_tag_open_frame()Johannes Hofmann
This avoids giant bullets if an <iframe> has width or height specified.
2009-03-01parse style attr only if neededcorvid
2009-02-17[mq]: view-stylesheetsJorge Arellano Cid
2009-02-15Fixed handling of META's content-type with no MIME type (e.g. only charset).Jorge Arellano Cid
e.g. some links at http://git.kernel.org/gitweb.cgi didn't render. e.g. #2 This page didn't render: <html> <head> <meta http-equiv="content-type" content="; charset=utf-8"/> <title></title> </head> <body> Generating.... </body> </html>
2009-02-12Implemented a close-tab button for the GUIJoão Ricardo
2009-02-11Whitespace: re-indented some lines wider than 79 charactersJorge Arellano Cid
2009-02-09whitespace cleanup: 's/ +$//g'Jorge Arellano Cid
2009-02-08Fixed the load image popup option. Also cleaned up the API a bit.corvid
Introduced a_Bw_get_url_doc(). Mainly for popup menus.
2009-02-08API cleanup: a_Html_add_new_image() loses the boolean parameter.Jeremy Henty
This patch cleans things up by renaming a_Html_add_new_image() to a_Html_image_new(), removing the boolean parameter and making the caller add the image (or not) as appropriate.
2009-02-08mergeJohannes Hofmann
2009-02-08Switched load images on/off feature to the Tools menucorvid
2009-02-06merge with mainJohannes Hofmann
2009-02-06add type to CSS propertiesJohannes Hofmann
2009-02-06fix tag length check (noticed by corvid)Johannes Hofmann
2009-02-06fix check for name/id mismatch (noticed by corvid)Johannes Hofmann
2009-02-05move CssProperty::Name and CssProperty::Value out of CssProperty classJohannes Hofmann
2009-02-03mergeJorge Arellano Cid
2009-02-03Fix a race condition with charset, and the case of charset after CSS in HEADJorge Arellano Cid
Race condition example: www.blisty.cz charset after CSS ex. : http://www.daemonnews.org
2009-02-03Minor cleanupsJorge Arellano Cid
2009-02-02remove unused order_count parameterJohannes Hofmann
It seems that in dillo-0.8.0-css-3 it was used to make sure that later definitions of the same CSS property have more weight than previous ones. If for example a first stylesheet sets background-color to black, and a second stylesheet sets it to green, green should win. But as we currently parese everything in order (throughing away all parsed CSS data when a new CSS stylesheet has arrived), we don't need to remember the original ordering of stylesheets.
2009-02-01Minor function signature cleanupJorge Arellano Cid
2009-02-01Removed a redundant check.Jorge Arellano Cid
2009-02-01Fixed a leak in Html_tag_open_link()Jeremy Henty
2009-01-31set inheritBackgroundColor for <p>Johannes Hofmann
2009-01-28rm FontSizes*corvid
2009-01-27Implemented the tools button with CSS options. Also removed nav.h from html.ccJorge Arellano Cid
2009-01-26don't strdup() text passed to ListItem::initWithText()Johannes Hofmann
Memory allocation for text is done within Textblock itself (noticed by Jeremy).
2009-01-26mergeJorge Arellano Cid
2009-01-26Bug fix: Collapse adjacent "\t\f\n\r" characters into a single space.Jorge Arellano Cid
Test case: http://www.dillo.org/test/weird_pre.html
2009-01-26Fixed a regression with PRE characters (square boxes) (fixes d16cec5095be)corvid
Test case: http://www.dillo.org/test/jorgen.html
2009-01-26switch to DILLO_HTML_PARSE_MODE_PRE based on style->whiteSpaceJohannes Hofmann
2009-01-26factor out Html_parse_common_attrs() (by jcid)Johannes Hofmann
2009-01-25call inheritBackgroundColor() in Html_tag_open_default()Johannes Hofmann
As Html_tag_open_default() does not create a new dw widget, background color settings would be lost otherwise (noticed by corvid).
2009-01-23Cleanup and logic change in a_Cache_set_content_type().Jorge Arellano Cid
2009-01-23Bug fix: stop parsing right after open tag when stop_parser is set.Jorge Arellano Cid
2009-01-22Fix url string usage by calling the appropriate macro (2 places).Jorge Arellano Cid
2009-01-22Fix for d29cdb5b842e (charset decoding given in HTTP and META).Jorge Arellano Cid
2009-01-21Fixed charset decoding given in HTTP and META. (bugs and race condition)Jorge Arellano Cid
2009-01-17mergeJorge Arellano Cid
2009-01-17Remove unused functions.Jorge Arellano Cid
2009-01-17add parse_embedded_css optionJohannes 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-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-10merge with mainJohannes 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-09avoid warning about uninitialized variablesJohannes Hofmann
2009-01-09fix float->int castJohannes Hofmann
2009-01-09remove no longer used functionsJohannes Hofmann
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/