summaryrefslogtreecommitdiff
path: root/src/form.cc
AgeCommit message (Collapse)Author
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.
2010-04-22check for title attr for INPUT elementcorvid
seems reasonably common for INPUT to have one
2010-03-29Disable inputs that aren't inside a form.corvid
Rogutės was able to get a crash by using a SELECT outside of a form before a stylesheet-induced repush() http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-March/007407.html (Earlier thread where inputs in forms were disabled when stylesheets pending: http://lists.auriga.wearlab.de/pipermail/dillo-dev/2009-April/006310.html )
2009-11-27no longer include nav.h from form.ccJohannes Hofmann
2009-11-27adjust focus handling with new tabs and windows (suggested by furaisanjin)Johannes Hofmann
When opening a new BrowserWindow (tab or real window) we focus Location if we don't yet have an URL, main otherwise.
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-26let later space override previous spacecorvid
The earlier space is less likely to be styled with the intended appearance.
2009-10-19fix segfault when radio button lacks name attributecorvid
2009-10-15remove "using namespace" statements from header filesJohannes Hofmann
"using namespace" in headers also affects all files that include the header which is unwanted and unexpected in most cases.
2009-09-17turn off PrevWasSPC for inline widgetscorvid
Noticed that there weren't spaces after the math images in http://en.wikipedia.org/wiki/Linear_programming
2009-08-05Fixed a bug with OPTION element (it was parsing entities twice)Jorge Arellano Cid
2009-05-31line lengthJorge Arellano Cid
2009-05-22constcorvid
2009-05-09[mq]: replace-DW2TB-with-HT2TBJeremy Henty
2009-04-22disable forms while stylesheets are pendingJohannes Hofmann
To avoid lost user input on repush, we disable forms until all stylesheets have been loaded. Also open select widgets cause crashes on repush.
2009-03-06remove standard_widget_colors dillorc optioncorvid
Form widgets by default use the background color of their parent. To get more conservative widget colors, you can add a line button, select, input {background-color: #e0e0e0} to ~/.dillo/style.css.
2009-02-20required attrs for form.cccorvid
2009-02-17fix missing background color for ComplexButton (noticed by corvid)Johannes Hofmann
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-06Implemented size for SELECT listscorvid
2009-01-28Removed the "generate_submit" dillorc optioncorvid
2009-01-18convert form.cc to new style handlingJohannes Hofmann
2009-01-14Fix: inherit bgcolor from parent widget (images). Also cleanups.Jorge Arellano Cid
2009-01-10merge with mainJohannes Hofmann
2009-01-05Added a right-click menu to the form submit button (allows to show hiddens)Jorge Arellano Cid
2008-12-28merge with mainJohannes Hofmann
2008-12-22Added some const quialifiers.corvid
2008-12-21Added a popup menu to form's submit buttoncorvid
2008-12-20merge with mainJohannes Hofmann
2008-12-19Cleaned up Html_pop_tag()Jorge Arellano Cid
2008-12-19Moved clicked from ButtonResource to Resource.Jorge Arellano Cid
2008-12-14convert Html_tag_open_img()Johannes Hofmann
2008-12-11always use shaded colorsJohannes Hofmann
This makes things much simpler and improves sharing of colors. If computing two more shades really proves to be a performance issue, we can shade on demand without exposing this optimization to the interface.
2008-12-08mergeJohannes Hofmann
2008-12-04use styleEngine->wordStyle() for adding text or parbreaksJohannes Hofmann
2008-11-30- Set middle click to submit in a new TAB. (Helps to keep form data!)Jorge Arellano Cid
2008-10-31remove style from DilloHtmlStateJohannes Hofmann
2008-10-16- Switched SSL enabled to configure.in (./configure --enable-ssl)jcid
2008-10-16- Tuned input width a bit.jcid
2008-10-15- Fix for file inputs without values (forms).jcid
2008-10-14.jcid
2008-10-14- Cosmetics with ResourceFactory in forms.ccjcid
- Removed an unused mouse button feature.
2008-10-14- Cosmetic changes in form handling code.jcid
2008-09-30- s/todo:/TODO:/gjcid
2008-09-29- Removed the remaining DEBUG_MSG in src/jcid
2008-09-27- Set WM_CLASS="dillo" for X11jcid
- Security fix in a_UIcmd_set_msg.