summaryrefslogtreecommitdiff
path: root/render/form.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a bunch of logging to try and help track down the issue with rawfile ↵Daniel Silverstone2014-01-041-2/+3
| | | | handling, sorry guys
* Shunt around the file multipart stuff a bit to try and fix the segfaultDaniel Silverstone2014-01-041-9/+10
|
* In theory, store raw filenames and pass them through for file upload. ↵Daniel Silverstone2014-01-041-1/+24
| | | | Untested due to no file-upload in GTK frontend just yet
* Reflect changes to select boxes into the DOMDaniel Silverstone2014-01-041-1/+9
|
* Ensure textual input boxes re-update the DOM with new valuesDaniel Silverstone2014-01-041-0/+37
|
* Fix leaks in form_successful_controls. 'charset' was always leaked, value ↵Michael Drake2013-10-231-0/+4
| | | | was leaked in particular OOM case.
* s/!charset/charset == NULL/Michael Drake2013-10-231-1/+1
|
* Fix pointer shape and status bar messages for textareas and their scrollbars.Michael Drake2013-03-111-2/+3
|
* change stylesheet fetching to be generated from the default dom eventsVincent Sanders2013-02-191-0/+4
|
* rename flags for browser_window routines to be shorterVincent Sanders2013-02-181-6/+6
|
* 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