summaryrefslogtreecommitdiff
path: root/render/html_interaction.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix possible dereference of NULLVincent Sanders2016-03-141-14/+30
| | | | | | | The return of calloc was not being checked and could have lead to a NULL pointer dereference. This fixes coverity CID 1316337 Additionally the functions documentation comments were cleaned up.
* Remove erroneous redeclaration of variable in new scope.Michael Drake2015-12-201-1/+0
|
* Only fire click event on button 1 press.Michael Drake2015-11-061-2/+1
|
* Assert that we have a node.Michael Drake2015-11-061-0/+1
|
* Always consider the root element's box.Michael Drake2015-11-061-5/+2
| | | | Previously we didn't consider it at all.
* Change click handling to fire_dom_eventDaniel Silverstone2015-10-311-1/+1
|
* Make nsurl utf8 string conversion function consistent with nsurl API.Michael Drake2015-10-251-1/+1
|
* Rework IDN URL retrieval to return an nserrorChris Young2015-10-241-6/+11
|
* Modify the status bar link text so it shows either the ASCII encoded or IDN ↵Chris Young2015-10-241-4/+15
| | | | | | | host, depending on the set option. Default is to display the encoded version as this provides some security making phishing domains more obvious, and a lot of our frontends are unable to display the full range of UTF-8 characters on the status bar. Displaying the decoded address in the URL bar requires frontends to be updated (GTK and Amiga done already), and the same caveats apply.
* Change LOG() macro to be varadicVincent Sanders2015-05-281-1/+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.
* 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.
* Doxygen cleanupsVincent Sanders2014-11-121-5/+6
|
* 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.
* replace save_link operation table entry usage of textural url with nsurlVincent Sanders2014-11-031-1/+1
|
* Open select menu via content msg, instead of breaking encapsulation.Michael Drake2014-10-241-11/+3
| | | | Fixes bw deref and browser_private.h #include in render/
* Update the core to use the split operations table headersVincent Sanders2014-10-161-1/+2
| | | | Second in the series to decouple the core API usage from the frontends.
* Fix with ugly -- but commented -- hack.Michael Drake2014-10-161-0/+7
|
* Fix core create_form_select_menu API to pass gw, rather than bw out to front ↵Michael Drake2014-10-161-2/+6
| | | | ends.
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-131-6/+7
| | | | | | | | | | | | 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
|
* Don't pass pointer to data that isn't on the stack any more to ↵Michael Drake2014-03-271-1/+1
| | | | content_broadcast.
* move page search gui callbacks to their own operations tableVincent Sanders2014-03-181-7/+5
|
* Make browser_window_navigate (un)verifiable flag match browser_window_create.Michael Drake2014-02-101-4/+2
|
* Allow tab creation without history clone. Changes browser_window_create and ↵Michael Drake2014-02-101-4/+4
| | | | browser_window_navigate flags.
* Native select menu interface shouldn't force front end to dig inside bw struct.Michael Drake2014-02-081-1/+1
|
* reduce desktop/browser.h unecessary includesVincent Sanders2014-02-031-0/+1
|
* split browser gui operations upVincent Sanders2014-01-151-1/+1
|
* move remaining gui operations to tableVincent Sanders2014-01-141-1/+2
|
* Merge branch 'rjek/click-file-gadget'Daniel Silverstone2014-01-051-0/+4
|\
| * Restore missing message sendDaniel Silverstone2014-01-051-0/+4
| |
* | Support image inputsDaniel Silverstone2014-01-051-2/+58
|/
* Reflect toggling of 'selected' in the DOMDaniel Silverstone2014-01-041-0/+3
|
* move options includeVincent Sanders2013-05-281-1/+1
|
* Remove search context from browser window, simplify search interface for ↵Michael Drake2013-05-071-1/+75
| | | | | | | | | | | | | | | | | | | | | | front ends. Added content interface for search. Removed bw->cur_search search context. Desktop layer now does nothing except pass search requests from front end onto the bw's current_content via the content interface. Search API reduced to a pair of functions at each level: {desktop|content|html|textplain}_search and {desktop|content|html|textplain}_search_clear Updated front ends to use simplified search API. Only tested GTK and RO builds. These confine the search stuff to render/. However search still uses struct selection. The handling for which is still spread over desktop/ and render/. Also the render/search code itself still fiddles inside html and textplain privates.
* HTML selections are always read-only now.Michael Drake2013-05-021-3/+1
|
* Fix pointer shape and status bar messages for textareas and their scrollbars.Michael Drake2013-03-111-11/+26
|
* C89François Revol2013-03-091-4/+3
|
* Propagate native caret clip rect through core.Michael Drake2013-03-051-1/+10
|
* Don't bypass html form handling layer when passing keypress to textarea.Michael Drake2013-02-221-1/+2
|
* A load of refactoring of how content selection and input work.Michael Drake2013-02-221-59/+300
| | | | | | | | | | | | | 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.
* rename flags for browser_window routines to be shorterVincent Sanders2013-02-181-4/+4
|
* browser_window_navigate refactorVincent Sanders2013-02-181-7/+16
|
* Drag fixup. Add some documentation.Michael Drake2013-02-081-0/+1
|
* HTML drags now go via content msg.Michael Drake2013-02-081-67/+133
|
* Don't build or include old render/textinput module.Michael Drake2013-02-071-1/+0
|
* First pass at getting html forms to use textarea widget.Michael Drake2013-02-061-84/+9
| | | | | (Input element types text & password, and textarea element.) Can edit and submit forms, but there are loads of issues.
* document mouse interaction a bitVincent Sanders2012-12-101-13/+49
|
* issue click events at domVincent Sanders2012-12-031-7/+20
|
* Improve interaction with html objects.Michael Drake2012-08-211-18/+18
|
* Confine box_at_point to the document it's given. Callers are now ↵Michael Drake2012-08-211-9/+27
| | | | responsible for calling whatever functionality for object boxes. Remove last bw dereference from render directory. Remove a couple of unused functions.