summaryrefslogtreecommitdiff
path: root/render/box_textarea.c
Commit message (Collapse)AuthorAgeFilesLines
* Change LOG() macro to be varadicVincent Sanders2015-05-281-2/+1
| | | | | | | | | | | | 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.
* put assert back to protect against bad logic in frontend drag implementationsVincent Sanders2015-05-081-0/+4
|
* remove assert if drag message contains an unknown type.Vincent Sanders2015-05-031-8/+12
| | | | | Instead of asserting if a message contains an unsupported drag type the message is now logged and ignored.
* To avoid namespace conflicts with ncurses add NetSurf key prefix.Witold Filipczyk2015-03-271-4/+4
| | | | Adds a NetSurf key code prefix of NS_ to all key codes.
* Make most of the form API internal to the html renderer.Vincent Sanders2014-11-111-1/+1
| | | | | | 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.
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-131-1/+2
| | | | | | | | | | | | 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.
* Redraws during layout are prohibited, and redundant.Michael Drake2014-09-271-0/+7
|
* Gadgets can exisit outside forms, so now they store their own ref to the ↵Michael Drake2014-02-171-8/+7
| | | | containing html content.
* Native select menu interface shouldn't force front end to dig inside bw struct.Michael Drake2014-02-081-1/+1
|
* Ensure textual input boxes re-update the DOM with new valuesDaniel Silverstone2014-01-041-1/+3
|
* Retrieve text area content from the textarea apiDaniel Silverstone2014-01-041-1/+1
|
* Return message to client when textarea is modified.Michael Drake2014-01-041-0/+4
|
* In box textarea binding only redraw the area that was requested, not the ↵Michael Drake2013-03-191-3/+11
| | | | whole textarea.
* C89François Revol2013-03-091-1/+1
|
* Handle readonly attribute for text inputs and textareas.Michael Drake2013-02-231-2/+16
|
* A load of refactoring of how content selection and input work.Michael Drake2013-02-221-32/+34
| | | | | | | | | | | | | Keypresses now go via content interface. Contents don't shove the selection object into browser windows any more. Contents report selection existence by sending message. HTML content keeps track of where selections in it exist. Contents report whether they have input focus via caret setting msg. Caret can be hidden (can still input/paste) or removed. Consolidate textarea selection handling. Make textarea report its selection status changes to client. Various textarea fixes. Changed how we decide when to clear selections, and give focus.
* Move html textarea's selection colour chooser to plot_style.h, as it could ↵Michael Drake2013-02-111-7/+2
| | | | be used elsewhere.
* Choose pretty colours for selection.Michael Drake2013-02-091-3/+11
|
* HTML drags now go via content msg.Michael Drake2013-02-081-18/+25
|
* Native caret not now set in redraw. Prevents endless redraw when textarea ↵Michael Drake2013-02-071-1/+4
| | | | has caret.
* First pass at getting html forms to use textarea widget.Michael Drake2013-02-061-0/+275
(Input element types text & password, and textarea element.) Can edit and submit forms, but there are loads of issues.