summaryrefslogtreecommitdiff
path: root/render/form.c
Commit message (Collapse)AuthorAgeFilesLines
* move html and text content handlers where they belongVincent Sanders2018-05-101-1895/+0
|
* CSS utils: Handle new units in length conversion routines.Michael Drake2018-01-051-1/+2
| | | | | This causes a ripple effect of all the callsites needing information they didn't have.
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-49/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* make scrollbar redraw signal errors correctlyVincent Sanders2017-03-011-4/+6
| | | | | allow scrollbar redraw to return error codes and update documentation commenst appropriately.
* Update all core use of plotters to new APIVincent Sanders2017-02-111-20/+42
|
* rationalise use of utils/utils.h headerVincent Sanders2017-01-191-2/+2
|
* move plot style header to netsurf include directoryVincent Sanders2017-01-131-5/+4
| | | | | move plotter style header and adjust all callers to use only what they actually require.
* use ascii processing when determining form charsetVincent Sanders2016-09-121-9/+10
|
* URL escape: Simplify to avoid unnecessary allocation.Michael Drake2016-07-251-2/+2
| | | | | | | | This removes the toskip parameter, which was only used by the RISC OS front end. The toskip param was used to skip 8 characters which did not need to be escaped from the start of the URL. The RISC OS front end now orders the steps of its URL construction to avoid the need for this.
* move the public form APIVincent Sanders2016-06-141-4/+4
|
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-061-1/+1
|
* move plotters header into public APIVincent Sanders2016-05-301-1/+1
|
* move desktop window header into public APIVincent Sanders2016-05-301-1/+1
|
* move mouse and pointer state header into public APIVincent Sanders2016-05-301-1/+1
|
* move misc header into public APIVincent Sanders2016-05-301-1/+1
|
* move the CSS content handlerVincent Sanders2016-05-261-2/+1
|
* remove all core usage of warn_user APIVincent Sanders2016-04-261-6/+8
|
* update scrollbar_create error handling to return nserrorVincent Sanders2016-04-261-2/+2
|
* Only iterate the form when freeing a control if there is one.Daniel Silverstone2015-06-031-14/+16
| | | | This fixes Bug#2322
* Change LOG() macro to be varadicVincent Sanders2015-05-281-49/+49
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* Ensure we delink form controls when freeing themDaniel Silverstone2015-04-221-0/+19
|
* add some debug to form gadget freeingVincent Sanders2015-03-271-3/+10
| | | | | Serveral reports of form freeing segfaulting on RISC OS so this adds some debug in this area to see if we can tell why.
* Forms: consider submit buttons successful. Fixes #2284.John-Mark Bell2015-03-101-2/+47
|
* Remove unecessary form debugVincent Sanders2014-11-151-33/+37
| | | | | Additionaly we make the curl fetcher report errors instead of uninitialised buffer.
* Fix cocoa usage of render internalsVincent Sanders2014-11-131-0/+8
|
* make the form select menu API smaller.Vincent Sanders2014-11-131-0/+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.
* Doxygen cleanupsVincent Sanders2014-11-121-66/+11
|
* change form API to return error instead of warning user.Vincent Sanders2014-11-111-13/+24
| | | | | | | 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-20/+3
| | | | | | 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 unecessary browser.h include from core headersVincent Sanders2014-10-171-0/+1
|
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-131-7/+8
| | | | | | | | | | | | The netsurf core is driven from numerous operation tables most of which are now set through a common netsurf_register() interface. The font and plotting interfaces are currently separate and unlike all the other operation tables are modified for differing contexts. This change moves the font operations alongside all the other operations table and remove unnecessary interaction with the renderers font internals. Further this also removes the need for css internals to be visible in frontends.
* refactor url utility functions to use standard nserror codes and have ↵Vincent Sanders2014-05-081-5/+5
| | | | appropriate documentation.
* Gadgets can exisit outside forms, so now they store their own ref to the ↵Michael Drake2014-02-171-15/+3
| | | | containing html content.
* Make browser_window_navigate (un)verifiable flag match browser_window_create.Michael Drake2014-02-101-6/+3
|
* Allow tab creation without history clone. Changes browser_window_create and ↵Michael Drake2014-02-101-6/+6
| | | | browser_window_navigate flags.
* Native select menu interface shouldn't force front end to dig inside bw struct.Michael Drake2014-02-081-13/+21
|
* clean up desktop/gui.h include usageVincent Sanders2014-01-291-2/+1
|
* move utf8 conversion routines to use nserror instead of their own error enumVincent Sanders2014-01-281-7/+7
|
* Fix Coverity-spotted issue. (Fixes behaviour for multiple selects.) Also ↵Michael Drake2014-01-241-1/+2
| | | | minor optimisation.
* Deselect other options when select option is selected, and it's not a ↵Michael Drake2014-01-211-4/+8
| | | | multi-select.
* Support 'checked' properly in new form handlerDaniel Silverstone2014-01-061-1/+10
|
* Remove old form_successful_controlsDaniel Silverstone2014-01-051-349/+0
|
* Support image inputsDaniel Silverstone2014-01-051-8/+16
|
* Rewrite form_successful_controls() to use the DOM.Daniel Silverstone2014-01-051-5/+509
| | | | | | This stops image inputs from working temporarily, but makes inputs inside display:none work correctly. As such, this is a net-win.
* Remove logging now that file upload *seems* to workDaniel Silverstone2014-01-041-3/+2
|
* 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
|