aboutsummaryrefslogtreecommitdiff
path: root/src/form.cc
AgeCommit message (Collapse)Author
2024-03-09Use Doxygen comments for C filesRodrigo Arias Mallo
2016-06-18Fix <button> size (treat as inline).Sebastian Geerken
2016-04-18Set fallback value for textarea rows to 3.Sebastian Geerken
2015-07-03pop up dialog when an HTTPS page's form submission is insecurecorvid
2015-02-02TEXTAREA placeholder attributecorvid
2015-01-23TEXTAREA, html5 wants default for rows to be 2.corvid
We already have it that way for rows < 1, but not for when rows was not specified.
2015-01-22INPUT placeholder attributecorvid
2014-08-04bring some consistency to the bug messages.corvid
I generally tried to: - start with a capital letter. - end with a period. - put elements inside <>. - bring element names close to the beginning of the message.
2014-08-04bug messages: '\n' as separator instead of terminatorcorvid
Now no extra line at the bottom of the bugs, plus shorter strings.
2014-08-02<button>'s are now inline.Sebastian Geerken
2014-02-15input image shouldn't recognize hspace,vspace,border attrscorvid
2013-11-29Use img_rndr instead of img_rnd to avoid associating "rnd" suffex with random.Jorge Arellano Cid
2013-11-18Merge with main repo.Sebastian Geerken
2013-10-28Handle properly when Html_get_current_input() returns NULLJorge Arellano Cid
May happen with ill formed HTML.
2013-10-14Merge with main repo.Sebastian Geerken
2013-09-20Refactoring: some useful shortcuts in DilloHtml.Sebastian Geerken
2013-09-10html5, action not required for FORMcorvid
2013-09-10Some refactoring: the image decoding code now only accesses ↵Sebastian Geerken
dw::core::ImgRenderer, not dw::Image (which now implements the former) anymore.
2013-09-06html5, cols/rows not required for TEXTAREAcorvid
2013-09-05rm optgroup MSGcorvid
2013-09-05html5, don't complain about unknown input typecorvid
...now that there's tel, url, email, datetime, date, month, week, time, datetime-local, number, range, color (all of which I imagine we will continue to regard as 'text').
2013-08-07Add nested inputs cleanup and handling.Jorge Arellano Cid
This patch avoids a family of problems that arise from handling nested inputs. from invalid memory access up to crashes. e.g. details in bof-read-47_attachView.html.asan. This patch is much wider than the above referred instance.
2013-04-20OPTION label attributecorvid
It is said that this is typically only useful when OPTGROUP is working (OPTGROUP gives context, and label will be something shorter than the OPTION's contents). It is also said that browsers don't or didn't tend to use an OPTION's label. *shrugs*
2013-04-20implement OPTGROUP in src/corvid
I wrote nearly all of this last year, and I've just been going back over it now. As I recall, I initially also tried: select holds optgroups and options, and optgroups hold options (instead of this flat array of options, optgroups, and close-optgroups), but the code wasn't coming out any cleaner, so...
2013-01-14Remove ancient commented-out GTK code.Jeremy Henty
2012-12-15finish option as soon as we see the close tagcorvid
I was just looking at distrowatch, and noticed that a menu looked odd. It turns out that their code goes like Amarok Live<option value="amaroklive">Amarok Live</option> Amber<option value="amber">Amber</option> Ankur Bangla<option value="ankur">Ankur Bangla</option> Annvix<option value="annvix">Annvix</option> AnNyung<option value="annyung">AnNyung</option> Anonym.OS<option value="anonymos">Anonym.OS</option> for some crazy reason. This led to dillo showing labels like "AnNyung Anonym.OS".
2012-12-10background style for <button> widgetcorvid
To fix box colors...
2012-12-04form submission: try to transliterate datacorvid
Unilaterally changing user data is consistently a bad idea, but when browser users aren't given any idea what they are permitted to type, it's better than leaving out the chars, or replacing with '?' or whatever.
2012-12-04form encoding MSGscorvid
2012-12-04update form-data commentarycorvid
As of a couple of years ago, there was talk and confusion over whether rfc 2231 should be used, or rfc 2047. But now... *sigh*
2012-11-28Merge.Sebastian Geerken
2012-11-28don't require an item selected for SELECT size>1 non-multiplecorvid
This had been discussed a bit a few years ago. At the time, the html4 spec's idea was that you probably should require one but that implementations varied on the details. These days, firefox doesn't, and html5 mostly tells you not to (and is clear that you can deselect the only selected one). (The world's biggest document, practically a browser written in english at the instruction level, and it still has many cases that aren't considered and spelled out carefully at this point.)
2012-11-27Merge.Sebastian Geerken
2012-11-26rm unused arg to TagCloseFunctcorvid
2012-11-25rm old commentcorvid
2012-11-25and now we can implement maxlengthcorvid
2012-11-24reset for <select>corvid
2012-11-14Cleaned up preferences.Sebastian Geerken
2012-11-08Making hyphen penalties configurable.Sebastian Geerken
2012-09-20BUG_MSG consistencycorvid
2012-09-13tooltips on some other elements where they are commonly foundcorvid
(span, div, select, button)
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-21add support for the CSS display: propertyJohannes Hofmann
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-20add a text input when input type is not recognizedcorvid
bug #1018 submitter requested behaviour a little more friendly to html5, which sounds sensible as bits of that infinite monstrosity start showing up more often...
2011-09-06avoid redraw loops with ComplexComplexButtonResourceJohannes Hofmann
ComplexButtonResource was creating endless redraws. Testcase: <table> <tr> <td> <div> <button></button> </div> <div> words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words words <span style="white-space:nowrap">And words in a span</span> <button></button> </div> </td> </table> This also fixes redraw loops with <button> in combination with limit_text_width=YES, so we no longer need to disable this option. Reported and testcase by: corvid <corvid@lavabit.com>
2011-07-22rm commentcorvid
2011-05-16only disable the inputs outside of forms if stylesheets are pendingcorvid
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-March/007408.html http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-May/008319.html
2010-12-15silence a couple of MSGscorvid
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.