aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
AgeCommit message (Collapse)Author
2011-09-09tiny a_Web_new() cleanupcorvid
2011-08-05Added an API to access the expected URL resourceJorge Arellano Cid
This fixes a segfault bug introduced by changeset 350af350b840. By mistake the expected URL got inside the parallel handling of CCC, into a race condition with a segfault path.
2011-08-01Cleanup: removed some unused code from the UIJorge Arellano Cid
2011-06-21Eliminated a pack of 22 compiler warnings (gcc-4.6.1 amd64)Jorge Arellano Cid
2011-06-18silenced a lingering debug MSGJorge Arellano Cid
2011-06-14indent: made html.cc fit in 80 columnsJorge Arellano Cid
2011-05-16rm spacescorvid
2011-04-16merge in recent changes from main repocorvid
2011-04-15Fix for endless loop with META refresh and same URL or no URL at allJorge Arellano Cid
2011-04-04clearer MSG for suspicious image sizecorvid
I saw a MSG with size 0x[something], and of course I thought it was complaining that a size was given in hex notation.
2011-04-03flush the Textblock we last added toJohannes Hofmann
In Html_write_raw() the current textblock can change while parsing HTML. Instead of flushing the Textblock we started with, we now flush the current one. This fixes a long standing drawing bug where text was not positioned initially.
2011-03-31html.cc: Html_tag_open_meta(): check that the URL exists before redirecting.Jeremy Henty
2010-12-09BUG_MSG for HTML5 doctypecorvid
2010-11-24trim some spacescorvid
2010-11-15Moved the table border model flag from style to DilloHtmlState (i.e. stack)Jorge Arellano Cid
2010-10-21AREA bug msgcorvid
http://www.weather.gov/ptwc/ doesn't work because it uses real numbers rather than integers for coords. The 4.01 spec doesn't quite _rigorously_ state that real numbers are no good in that case, so far as I can see, but it's pretty clearly the intention -- and html5 _does_ spell this out.
2010-10-17mergeJohannes Hofmann
2010-10-15needn't add extra closing point to image map polygonscorvid
noticed by Johannes.
2010-10-14fix use of a_Utf8_ideographic()corvid
2010-10-11use background-color on <html>-elementJohannes Hofmann
2010-10-11mergeJohannes Hofmann
2010-10-11rework nonCssHints API of StyleEngineJohannes Hofmann
* Instead of passing the nonCssHints as a CssPropertyList, set the hints separately and create the list in StyleEngine. * The CssPropertyList holding the nonCssHints is now completely managed by StyleEngine and kept on the stack. * Replace the table_cell_props mechanic in html.cc/table.cc with a new method inheritNonCssHints() in StyleEngine.
2010-09-24call layout->setBgColor() from web.ccJohannes Hofmann
2010-09-24bring back bg_color dillorc optionJohannes Hofmann
2010-09-17recompute style for <html> in Html_open_body()Johannes Hofmann
The CSS style information is only available after <head> has been parsed completely. So we redo the style for the <html> tag in Html_open_body(). Also set the canvas color either as background color of the <html> or the <body> tag (see http://www.w3.org/TR/CSS2/colors.html).
2010-09-17draw topLevel background if it differs from canvas backgroundJohannes Hofmann
2010-09-17directly set background colorJohannes Hofmann
As defined in http://www.w3.org/TR/CSS2/colors.html, the background color of the canvas can either be defined by the <html> or the <body> tag. To be able to deal with this in src/html.cc we now explicitely set the canvas color instead of infering it from the root widget.
2010-09-06re-indent Html_tag_open_q() for consistencyJeremy Henty
2010-09-06add inheritBackgroundColor () in more casesJohannes Hofmann
This makes background color work for elements for which no new widget is added. It just a workaround until complete style handling for inline elements is implemented. Submitted-by: Jeremy Henty <onepoint@starurchin.org>
2010-08-25html.cc cleanupsJeremy Henty
They remove two unused structs and make variable names consistent between function typedefs and function definitions.
2010-04-20always load data: imagescorvid
2010-04-07white-space: pre-linecorvid
2010-04-06filter automatic requestscorvid
same_domain option in preference so that spying on users isn't so easy.
2010-03-30Fix checking for HTML 2.0 DTDcorvid
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-March/007424.html
2010-03-30white-space: pre-wrapcorvid
thread: http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-March/007420.html
2010-03-21make drawing image map shapes work when <img> precedes <map>Johannes Hofmann
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-March/007406.html Johannes wrote the code, and I (corvid) added some big comments of the sort alluded to in that thread.
2010-02-27trim some spacescorvid
2010-02-16handle zero-width space.corvid
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2009-September/006894.html has the thread. Jorge expressed no opinion. Johannes approved, but wasn't sure that adding zero-width spaces to the page was necessary. I wasn't sure that it was necessary, either, so this version doesn't do that.
2009-11-19enable font face setting via <font> elementJohannes Hofmann
2009-11-16DilloLinkImage -> DilloHtmlImagecorvid
2009-11-09fix some references to DwPagecorvid
2009-11-04Fix for e13ccca46183Jorge Arellano Cid
2009-11-02More refactoring related to Html_tag_cleanup_at_close()Jeremy, Jorge
2009-11-02Refactor Html_tag_cleanup_at_close()Jeremy Henty
2009-10-29move link signal emitter/receiver from Widget to Layoutcorvid
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2009-October/006936.html
2009-10-27clean up parbreaks in html.cccorvid
add_textblock already surrounds the new textblock with parbreaks, so we don't need any more until we want to increase the break space above or below.
2009-10-26let later space override previous spacecorvid
The earlier space is less likely to be styled with the intended appearance.
2009-10-24UL match type attr exactlycorvid
2009-10-24don't appear to need WordAfterLI anymorecorvid
2009-10-23rm redundant addSpacecorvid
initWith* adds a space, and it needs to do so before updateValue(), so I'll leave it there.