summaryrefslogtreecommitdiff
path: root/render/form.h
Commit message (Collapse)AuthorAgeFilesLines
* move the public form APIVincent Sanders2016-06-141-76/+0
|
* Rename context_menu.c and strip out all the context menu code, so this file ↵Chris Young2015-09-051-0/+1
| | | | and popupmenu.class is only used (optionally) for HTML form selection.
* Fix cocoa usage of render internalsVincent Sanders2014-11-131-0/+10
|
* make the form select menu API smaller.Vincent Sanders2014-11-131-92/+20
| | | | | | By hiding all but the form selection menu option structure from code outside of render this reduces the API to the absolute minimum to support this feature.
* change form API to return error instead of warning user.Vincent Sanders2014-11-111-1/+7
| | | | | | | Update the form API so instead of directly warning the user it returns an error code to the caller allowing the appropriate action to be taken outside the core. Additionally clean up documentation of this API.
* Make most of the form API internal to the html renderer.Vincent Sanders2014-11-111-86/+16
| | | | | | Very little of the form API needed exposing outside of the renderer. This makes the form API that may be used by frontends obvious and limited.
* remove declaration in parameter list warning in form.hVincent Sanders2014-11-091-0/+1
|
* remove unecessary utils/types.hVincent Sanders2014-11-021-0/+2
| | | | | | This cleans up this header and moves the functionality into more useful places while reducing the include complexity but only pulling in whats required.
* remove unecessary browser.h include from core headersVincent Sanders2014-10-171-4/+4
|
* try and improve usage of browser window internalsVincent Sanders2014-07-061-1/+2
|
* Gadgets can exisit outside forms, so now they store their own ref to the ↵Michael Drake2014-02-171-3/+1
| | | | containing html content.
* Native select menu interface shouldn't force front end to dig inside bw struct.Michael Drake2014-02-081-5/+5
|
* reduce desktop/browser.h unecessary includesVincent Sanders2014-02-031-1/+2
|
* Support image inputsDaniel Silverstone2014-01-051-0/+5
|
* Rewrite form_successful_controls() to use the DOM.Daniel Silverstone2014-01-051-0/+3
| | | | | | This stops image inputs from working temporarily, but makes inputs inside display:none work correctly. As such, this is a net-win.
* Reflect changes to select boxes into the DOMDaniel Silverstone2014-01-041-1/+2
|
* Ensure textual input boxes re-update the DOM with new valuesDaniel Silverstone2014-01-041-0/+3
|
* Remove redundant code.John-Mark Bell2013-02-221-5/+0
|
* First pass at getting html forms to use textarea widget.Michael Drake2013-02-061-0/+12
| | | | | (Input element types text & password, and textarea element.) Can edit and submit forms, but there are loads of issues.
* Make form_url_encode static.Michael Drake2012-10-111-2/+0
|
* Use nsurl_replace_query instead of url_get_components and url_reform_components.Michael Drake2012-10-111-1/+1
|
* Confine box_at_point to the document it's given. Callers are now ↵Michael Drake2012-08-211-1/+2
| | | | 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-1/+1
| | | | hlcache_handle. Avoid dereferencing bw in html content handlers.
* Remove plotter table global. Pass a redraw context around redraw functions. ↵Michael Drake2011-06-301-1/+2
| | | | | | Knockout could be handled better. Note: untested on most front ends. svn path=/trunk/netsurf/; revision=12543
* Core form select widget now associated with HTML contents. Don't use ↵Michael Drake2011-06-281-1/+1
| | | | | | current_redraw_browser for select widget redraw. Fixes core select widget in iframes. svn path=/trunk/netsurf/; revision=12522
* Pass clip rect to clip plotters as struct. Simplify clip rect handling in ↵Michael Drake2011-02-141-3/+2
| | | | | | debug window code. Pass clip rect to select menu as struct. svn path=/trunk/netsurf/; revision=11683
* + Refactor input handling from browser window code into contentMichael Drake2010-06-041-0/+7
| | | | | | | | | | | | | 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
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-11/+2
| | | | svn path=/trunk/netsurf/; revision=10180
* Merge Paul Blokus' selectscroll branch. Adds core select menu widget for ↵Michael Drake2009-08-141-0/+34
| | | | | | forms and core scrollbar widget. svn path=/trunk/netsurf/; revision=9289
* Utilise hubbub's form association callback.John Mark Bell2009-02-201-21/+37
| | | | | | | | 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
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+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-1/+1
| | | | | | | | | | | | | | 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
* 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
* Fix submission of forms in embedded objects; resolve submission URL at John Mark Bell2006-07-031-1/+1
| | | | | | form creation time rather than at submit. svn path=/trunk/netsurf/; revision=2707
* [project @ 2005-06-26 01:55:20 by jmb]John Mark Bell2005-06-261-2/+4
| | | | | | | | Move acceptable character set determination to form submission time, rather thanat box tree creation time. Use UTF-8 encoding, if specified, else use first specified encoding. Improve use of utf8_to_enc - falling back to document encoding then 8859-1 where appropriate. svn path=/import/netsurf/; revision=1765
* [project @ 2005-04-16 05:09:32 by jmb]John Mark Bell2005-04-161-2/+4
| | | | | | | | | | | | Split out UTF-8 handling functions. Submit URL-encoded forms in sensible encoding: * First entry in accept-charset list, if present * Document encoding, otherwise We may want to explicitly look for UTF-8, to save converting. Convert cnv_str_local_enc/cnv_local_enc_str to use iconv (they're now veneers for utf8_[to/from]_enc). Provide mechanism for looking up local system charset (derived from system alphabet, under RISC OS) svn path=/import/netsurf/; revision=1647
* [project @ 2005-04-09 09:47:36 by bursa]James Bursa2005-04-091-0/+1
| | | | | | Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c. svn path=/import/netsurf/; revision=1608
* [project @ 2004-12-12 21:49:23 by bursa]James Bursa2004-12-121-8/+14
| | | | | | Add form_new() and form_add_option(). svn path=/import/netsurf/; revision=1400
* [project @ 2004-10-22 20:58:11 by bursa]James Bursa2004-10-221-1/+1
| | | | | | Fix form textarea scrolling. The scrollbar now works properly. svn path=/import/netsurf/; revision=1334
* [project @ 2004-08-08 19:13:40 by bursa]James Bursa2004-08-081-2/+3
| | | | | | Fix form submitting with an empty file upload. Update form_textarea_value(). Purge xcalloc() etc from form.c and handle memory exhaustion. svn path=/import/netsurf/; revision=1195
* [project @ 2004-07-19 20:40:11 by joty]John Tytgat2004-07-191-2/+3
| | | | | | | | | | form.h (struct form_control): renamed caret_char_offset to caret_box_offset; Added caret_form_offset & length. form.c: initialise new entries in struct form_control; form_successful_controls() : code reshuffling to improve readibility. box.h: TABing. box.c (box_input): init struct form_control::length. browser.c (browser_window_input_callback): UTF-8 support. Text area code needs similar changes. svn path=/import/netsurf/; revision=1117
* [project @ 2004-07-19 14:31:31 by bursa]James Bursa2004-07-191-0/+1
| | | | | | Update and simplify textarea code. Now uses BOX_BR instead of more than one inline container. Prepare for use of UTF-8 in textareas and inputs. svn path=/import/netsurf/; revision=1104
* [project @ 2004-06-17 21:41:11 by joty]John Tytgat2004-06-171-1/+1
| | | | | | Added comment on struct form_option::text. svn path=/import/netsurf/; revision=977
* [project @ 2004-05-21 23:42:26 by bursa]James Bursa2004-05-211-6/+1
| | | | | | Fix and clean code for radio and checkbox inputs. svn path=/import/netsurf/; revision=884
* [project @ 2004-05-21 10:25:42 by bursa]James Bursa2004-05-211-4/+18
| | | | | | Add form_new_control() and form_free_control(). svn path=/import/netsurf/; revision=878
* [project @ 2004-04-08 23:46:41 by jmb]John Mark Bell2004-04-081-0/+1
| | | | | | | Improve keypress handling in form text boxes. Note: Not yet implemented for textareas as these need more work anyway. svn path=/import/netsurf/; revision=740
* [project @ 2004-03-21 20:07:14 by jmb]John Mark Bell2004-03-211-1/+3
| | | | | | | <input type="file" support> Broken in places. svn path=/import/netsurf/; revision=645
* [project @ 2004-01-20 19:08:34 by jmb]John Mark Bell2004-01-201-0/+1
| | | | | | | Allow toggling of POST support. Add new toolbar icon numbers to riscos/gui.h svn path=/import/netsurf/; revision=490
* [project @ 2003-10-25 14:13:49 by bursa]James Bursa2003-10-251-3/+7
| | | | | | URL encoded POST support. svn path=/import/netsurf/; revision=375