summaryrefslogtreecommitdiff
path: root/render/form.c
Commit message (Collapse)AuthorAgeFilesLines
* browser_window_navigate refactorVincent Sanders2013-02-181-20/+42
|
* First pass at getting html forms to use textarea widget.Michael Drake2013-02-061-61/+26
| | | | | (Input element types text & password, and textarea element.) Can edit and submit forms, but there are loads of issues.
* Fix url encoded query generation, when there's no name/value pairs.Michael Drake2012-10-161-4/+5
|
* Make form_url_encode static.Michael Drake2012-10-111-1/+1
|
* Use nsurl_replace_query instead of url_get_components and url_reform_components.Michael Drake2012-10-111-26/+39
|
* Talloc ctx fixup.Michael Drake2012-10-051-3/+3
|
* Update to use latest libdom. Fixes handling of text input with no maxlength ↵Michael Drake2012-09-081-3/+0
| | | | set.
* Confine box_at_point to the document it's given. Callers are now ↵Michael Drake2012-08-211-4/+4
| | | | responsible for calling whatever functionality for object boxes. Remove last bw dereference from render directory. Remove a couple of unused functions.
* Pass content containing form's nsurl to form_submit, instead of its ↵Michael Drake2012-08-171-8/+5
| | | | hlcache_handle. Avoid dereferencing bw in html content handlers.
* Avoid bw dereference.Michael Drake2012-08-171-72/+79
|
* Remove redundant scrollbar widget message.Michael Drake2012-08-161-9/+1
|
* Include dom/dom.h where it might be neededDaniel Silverstone2012-03-241-0/+1
| | | | svn path=/trunk/netsurf/; revision=13625
* Don't need root bw here any more.Michael Drake2012-01-111-3/+0
| | | | svn path=/trunk/netsurf/; revision=13396
* Pass pointer constraints for drag out to front ends. Ensure content ↵Michael Drake2012-01-111-5/+5
| | | | | | scrollbar drag termination always informs the browser window layer that the drag is over. svn path=/trunk/netsurf/; revision=13395
* Allow drag handlers to inform browser window layer of any pointer range ↵Michael Drake2012-01-101-1/+11
| | | | | | constraints. svn path=/trunk/netsurf/; revision=13394
* content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_urlJohn Mark Bell2011-12-041-3/+3
| | | | svn path=/trunk/netsurf/; revision=13236
* Port more internals to nsurl. Front ends may need updating.Michael Drake2011-10-031-3/+4
| | | | svn path=/trunk/netsurf/; revision=12926
* Fix GCC 4.6 warnings in coreJohn Mark Bell2011-07-261-18/+1
| | | | svn path=/trunk/netsurf/; revision=12629
* Remove plotter table global. Pass a redraw context around redraw functions. ↵Michael Drake2011-06-301-12/+12
| | | | | | Knockout could be handled better. Note: untested on most front ends. svn path=/trunk/netsurf/; revision=12543
* Front end gets root browser window on notification of scrollbar widget drag ↵Michael Drake2011-06-281-1/+4
| | | | | | start. svn path=/trunk/netsurf/; revision=12533
* Core form select widget now associated with HTML contents. Don't use ↵Michael Drake2011-06-281-26/+34
| | | | | | current_redraw_browser for select widget redraw. Fixes core select widget in iframes. svn path=/trunk/netsurf/; revision=12522
* Fix bw->drag_type to be aware of remaining drag types.Michael Drake2011-06-271-0/+2
| | | | svn path=/trunk/netsurf/; revision=12514
* s/scroll/scrollbar/ and improve scrollbar widget comments.Michael Drake2011-05-091-24/+24
| | | | svn path=/trunk/netsurf/; revision=12363
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-1/+0
| | | | svn path=/trunk/netsurf/; revision=12283
* Saturated maths in css fixed point Vincent Sanders2011-03-121-4/+1
| | | | svn path=/trunk/netsurf/; revision=11975
* Fix bug #3140968: form submission with the GET method must replace the query ↵John Mark Bell2011-02-251-46/+55
| | | | | | segment of the action URL. svn path=/trunk/netsurf/; revision=11800
* Don't crash if there's no box associated with a textareaJohn Mark Bell2011-02-191-1/+9
| | | | svn path=/trunk/netsurf/; revision=11711
* Pass clip rect to clip plotters as struct. Simplify clip rect handling in ↵Michael Drake2011-02-141-13/+17
| | | | | | debug window code. Pass clip rect to select menu as struct. svn path=/trunk/netsurf/; revision=11683
* Pass clip rect to scroll_redraw as struct. Simplify test to see if ↵Michael Drake2011-02-141-1/+6
| | | | | | scrollbar is within clip rect. svn path=/trunk/netsurf/; revision=11679
* + Refactor input handling from browser window code into contentMichael Drake2010-06-041-4/+227
| | | | | | | | | | | | | handlers. + Disentangle all box tree manipulation from browser window code and put it where it belongs. + Move other content specific and other irrelevant code from browser window handling to appropriate places. + Put mouse state enum in new mouse header, since it's not just used by browser window code, and it is used by treeview windows on the treeview branch. svn path=/trunk/netsurf/; revision=10561
* remove _GNU_SOURCE define from everywhere.Vincent Sanders2010-04-241-1/+0
| | | | | | strndup is not standard so provide an implementation. svn path=/trunk/netsurf/; revision=10474
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-24/+7
| | | | svn path=/trunk/netsurf/; revision=10180
* Merge Paul Blokus' selectscroll branch. Adds core select menu widget for ↵Michael Drake2009-08-141-0/+492
| | | | | | forms and core scrollbar widget. svn path=/trunk/netsurf/; revision=9289
* Squash warningsJohn Mark Bell2009-03-021-1/+1
| | | | svn path=/trunk/netsurf/; revision=6674
* Fix handling of buttons in successful control searchJohn Mark Bell2009-02-201-0/+1
| | | | svn path=/trunk/netsurf/; revision=6576
* If we have no document charset on completion of parse, retrieve it from the ↵John Mark Bell2009-02-201-5/+4
| | | | | | | | | | binding. Make the binding return Windows-1252 if it has no idea (as this is what the parser will have defaulted to). Fix form_new to not require a document charset to be present -- it may not be known at this point. Fixup form document charsets post-parse, so that form submission works correctly. svn path=/trunk/netsurf/; revision=6575
* Utilise hubbub's form association callback.John Mark Bell2009-02-201-48/+113
| | | | | | | | Please can we dispense with the libxml binding? It's causing much #ifdef mess. Fix encoding of <input type=image> names -- previously were output as raw utf-8, rather than in the submission charset. Actually bother to destroy forms in a document, and the controls associated with them. We still leak non form-associated controls, but that's too much effort to fix right now. svn path=/trunk/netsurf/; revision=6573
* Fix buildJohn Mark Bell2008-08-121-1/+2
| | | | svn path=/trunk/netsurf/; revision=5055
* C89François Revel2008-08-111-1/+2
| | | | svn path=/trunk/netsurf/; revision=5053
* - riscos/gui.c(path_to_url): escape the characters which need to be escaped ↵John Tytgat2008-04-021-2/+2
| | | | | | | | | | | | | | when converting the host path to file: URL. - utils/{url.c,url.h}(url_escape): * added parameter 'toskip' to specify number of input characters which need to be skipped in the escape process. This avoids extra malloc buffer juggling. * added parameter 'escexceptions' to specify the characters which need to be excluded from the escape process. Solves SF tracker ID 1910169. Note that when discname in path contains '/' characters (case: "file:///Sunfish#192.168.0.50::/home/joty.$/jo.html") or there is no discname specified at all (case "file:///HostFS:$/jo.htm"), you need an UnixLib fix as in http://www.riscos.info/websvn/listing.php?repname=gccsdk&path=%2Ftrunk%2Fgcc4%2F&rev=3395&sc=1 svn path=/trunk/netsurf/; revision=4069
* Also try charsets without transliteration -- not all iconv() implementations ↵John Mark Bell2007-09-271-8/+30
| | | | | | support //TRANSLIT as it's a non-standard extension. svn path=/trunk/netsurf/; revision=3598
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-4/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-6/+6
| | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307
* Default form field maxlength to UINT_MAX (fixes 1620540)John Mark Bell2007-03-111-1/+3
| | | | svn path=/trunk/netsurf/; revision=3205
* Transliterate form submissions (requires an iconv implementation that John Mark Bell2007-03-111-24/+9
| | | | | | | | understands //TRANSLIT - both glibc & libiconv's do, as do Iconv modules >= 0.08) Require Iconv 0.08 svn path=/trunk/netsurf/; revision=3203
* Ensure multipart/form-data submissions are in the correct charset. John Mark Bell2007-02-261-70/+110
| | | | | | | | | (fixes 1617129). There are issues with unrepresentable characters, which I'm investigating; they appear to be due to Iconv/UnicodeLib and not NetSurf's usage of them. svn path=/trunk/netsurf/; revision=3190
* Bring handling of submission of blank file inputs in line with other browsers.John Mark Bell2007-01-301-5/+12
| | | | | | Tidy up fetch_post_convert while I'm at it. svn path=/trunk/netsurf/; revision=3159
* Implement form targets (fix 1619094)Richard Wilson2006-12-301-1/+2
| | | | svn path=/trunk/netsurf/; revision=3125
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Correcly encode spaces for url-encoded form submission.John Mark Bell2006-09-191-2/+2
| | | | svn path=/trunk/netsurf/; revision=2960