aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
AgeCommit message (Collapse)Author
2012-10-30Merge with http://hg.dillo.org/dilloSebastian Geerken
2012-10-30trim some spacescorvid
2012-10-17rm forward declarationcorvid
2012-10-16parse entities also for 'id', 'class', and 'lang' attributesJohannes Hofmann
I could not find any reason why entities should not be parsed in these cases. The following test case seems to confirm this (both div's are green with firefox): <html> <head> <style type=text/css> #A {background-color: green} </style> </head> <body> <div id="&#065;">entity</div> <div id="A">no entity</div> </body> </html> Noticed-by: corvid <corvid@lavabit.com>
2012-10-07Merge with main repo.Sebastian Geerken
2012-09-27Support for "xml:lang" attribute.Sebastian Geerken (Patch by Jorge)
2012-09-25bug meter line number fix -- carriage returnscorvid
I think we've been regarding '\r' as a linebreak since the vsource dpi was added.
2012-09-24trim a few spacescorvid
2012-09-24Restructured; new class OutOfFlowManager. Much code removed, will be added ↵Sebastian Geerken
again to OutOfFlowManager.
2012-09-23BUG_MSGcorvid
2012-09-20Merge again with main repo.Sebastian Geerken
2012-09-20BUG_MSG consistencycorvid
2012-09-18trim BUG_MSGcorvid
2012-09-15make span background colors work againcorvid
I broke them the other day with my tooltip change...
2012-09-14more careful BUG_MSG report when element lacks '>'.corvid
I saw a page that went like "</div\r\n<div>". In the bug list, the \r became a box, and the \n sent us to the next line...
2012-09-14Merge.Sebastian Geerken
2012-09-14html 2.0 doctypecorvid
In 2010, I changed it from "-//IETF//DTD HTML//EN" to "-//IETF//DTD HTML 2.0". This must have been from looking at section 3.3 of rfc1866. It was an improvement, but section 9.6 mentions: PUBLIC "-//IETF//DTD HTML//EN" html.dtd PUBLIC "-//IETF//DTD HTML 2.0//EN" html.dtd PUBLIC "-//IETF//DTD HTML Level 2//EN" html.dtd PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN" html.dtd PUBLIC "-//IETF//DTD HTML Level 1//EN" html-1.dtd PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN" html-1.dtd PUBLIC "-//IETF//DTD HTML Strict//EN" html-s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict//EN" html-s.dtd PUBLIC "-//IETF//DTD HTML Strict Level 2//EN" html-s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 2//EN" html-s.dtd PUBLIC "-//IETF//DTD HTML Strict Level 1//EN" html-1s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN" html-1s.dtd Newer HTMLs used W3C instead of IETF, and I haven't found (in a not-exactly-extensive amount of digging) talk of these things existing before html2, so I will regard whatever IETF ones as html2.
2012-09-14make a few BUG_MSGs more informativecorvid
2012-09-14Merge of <http://hg.dillo.org/dillo>.Sebastian Geerken
2012-09-14accept html5's meta charset attrcorvid
2012-09-13tooltips on some other elements where they are commonly foundcorvid
(span, div, select, button)
2012-07-06Attribute "lang" is evaluated for hyphenation; part of dw:core::style::Style.ysgeerken
2012-04-07Backed out changeset fb9edbc20db0Johannes Hofmann
As noticed by Alexander Voigt, this makes the "I'm feeling lucky" button on google.com disappear. back out inline-block support until this is resolved.
2012-03-09support display:inline-blockJohannes Hofmann
2012-02-02remove unused codeJohannes Hofmann
spotted-by: corvid
2012-01-30backout b42bb23a65bc and replace it with an assert()Johannes Hofmann
2012-01-30rework image handling codeJohannes Hofmann
Properly separate common image handling functions in CSS relevant attribute parsing (a_Html_image_attrs) and image creation (a_Html_image_new()). This should also bring the code back a bit to what we had before 8214199c2703.
2012-01-28check for url in DilloHtml::loadImagesJohannes Hofmann
The url field can be NULL for images that have display:none set, causing a crash when checking "Load Images" later.
2012-01-28make DilloHtml::loadImages() more readableJohannes Hofmann
2012-01-28fix image leak introduced in 8214199c2703Johannes Hofmann
2012-01-21add support for the CSS display: propertyJohannes Hofmann
2011-11-12some isascii()corvid
2011-11-11locale-independent ASCII character case handlingcorvid
Basically, I and i are different letters in Turkic languages, and this causes problems for str(n)casecmp and toupper/tolower in these locales when dillo is dealing with ASCII.
2011-10-06rework line breaking and fix white-space:nowrap handlingJohannes Hofmann
2011-09-19mergeJohannes Hofmann
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-28mergeJohannes Hofmann
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