summaryrefslogtreecommitdiff
path: root/content/content.h
Commit message (Collapse)AuthorAgeFilesLines
* Content: Add content message to get viewport dimensions.Michael Drake2019-05-061-0/+7
|
* Logging: migrate and provide content interfaceDaniel Silverstone2019-05-051-0/+9
| | | | | | | | Migrate the console enums into netsurf/console.h and add support so that contents can raise a message to log to the console. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add content_exec and associated vtable entryDaniel Silverstone2019-05-051-0/+11
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Content API: Avoid content message copy in content user callback.Michael Drake2017-08-261-4/+18
|
* Update content to split public and internal APIVincent Sanders2016-06-061-140/+39
|
* move mouse and pointer state header into public APIVincent Sanders2016-05-301-1/+1
|
* reduce content header interdependancyVincent Sanders2016-04-181-17/+3
|
* Add scaled content redraw interface.Vincent Sanders2015-04-231-0/+21
| | | | | | Add a new interface to the content to allow automaticaly scaled content redraws. This is intended to replace the thumbnail_redraw interface with something more generic.
* Use forward declaration instead of #include for nsurl.Michael Drake2015-02-261-7/+6
|
* Doxygen cleanupsVincent Sanders2014-11-091-1/+1
|
* Continue doxygen error cleanup.Vincent Sanders2014-11-081-10/+89
|
* fix up more doxygen errorsVincent Sanders2014-11-081-3/+56
|
* Improve content encoding information APIVincent Sanders2014-11-071-1/+7
| | | | | Extend the content_get_encoding() API to retrieve the source of the encoding as well as the actual encoding.
* Allow content handlers to have debug values set through APIVincent Sanders2014-11-061-1/+10
| | | | | | | | Previously content handler debugging features were accessed by global variables. This allows the setting of debugging parameters via a content API giving per content control over debugging features. Currently only used by the html content handler to toggle global redraw debugging.
* Make the fetching of a contents encoding generic.Vincent Sanders2014-11-051-1/+2
| | | | | | | The frontends previously had to use an html renderer API to get the encoding of a content. This also required the explicit checking of the contents type rather than using the existing content API to abstract this knowledge.
* replace save_link operation table entry usage of textural url with nsurlVincent Sanders2014-11-031-1/+1
|
* Change contextual content retrieval to browser features.Vincent Sanders2014-11-021-4/+13
| | | | | | | | | | | | | Update the API which allows frontends to acquire the page features (images, link urls or form elements) present at the given coordinates within a browser window. By making this an explicit browser_window API and using the browser.h header for the associated data structure with a more appropriate API naming the usage is much more obvious and contained. Additionally the link url is now passed around as a nsurl stopping it being converted from nsurl to text and back again several times.
* Open select menu via content msg, instead of breaking encapsulation.Michael Drake2014-10-241-0/+5
| | | | Fixes bw deref and browser_private.h #include in render/
* fix DOM tree dump debugVincent Sanders2014-08-041-1/+15
|
* move page search gui callbacks to their own operations tableVincent Sanders2014-03-181-2/+3
|
* Add infrastructure for calling front ends to set file gadget filenames via ↵Rob Kendrick2014-01-051-1/+6
| | | | clicking in addition to drag-and-drop
* Pass fetch redirect info up to content layer as content_msg. Mark redirect ↵Michael Drake2013-05-271-0/+6
| | | | origin URLs as visited in browser window content callback. Note this doesn't mean we track redirects, it just lets us get the :visited link style on links that redirect.
* Remove search context from browser window, simplify search interface for ↵Michael Drake2013-05-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | 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.
* A load of refactoring of how content selection and input work.Michael Drake2013-02-221-1/+24
| | | | | | | | | | | | | 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.
* HTML drags now go via content msg.Michael Drake2013-02-081-8/+10
|
* Remove content_msg for PASTE, since it doesn't need a gui_window to get the ↵Michael Drake2013-01-081-2/+1
| | | | buffer from the front end now.
* Improve error handling in html contentVincent Sanders2012-10-171-1/+4
|
* API for content debug dump.Michael Drake2012-08-201-0/+2
|
* Don't pass struct box to content open.Michael Drake2012-08-201-3/+1
|
* Avoid using hlcache_handle for drag saves in html_interaction. Drag save ↵Michael Drake2012-08-191-0/+1
| | | | msg with NULL content now means save the content which sends the message.
* Add paste request content message.Michael Drake2012-08-181-1/+10
|
* Add content message for setting mouse pointer.Michael Drake2012-08-171-1/+4
|
* Use new content message for saving of hyperlink target URL.Michael Drake2012-08-161-1/+7
|
* Add message for content wanting wanting drag save to start.Michael Drake2012-08-161-1/+12
|
* Let contents broadcast explicit status messages as well as announce that ↵Michael Drake2012-08-151-1/+5
| | | | their internal status has been updated.
* Add scroll request message to content message system.Michael Drake2012-08-131-0/+9
|
* improve javascript supportVincent Sanders2012-06-101-7/+12
| | | | svn path=/trunk/netsurf/; revision=13962
* Change GTK plotting to use cairo surfaces throughoutVincent Sanders2011-12-301-9/+9
| | | | svn path=/trunk/netsurf/; revision=13354
* content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_urlJohn Mark Bell2011-12-041-1/+1
| | | | svn path=/trunk/netsurf/; revision=13236
* Currently untested (and unused) "drop file on content" handling, and HTML ↵Michael Drake2011-12-011-0/+2
| | | | | | implementation. svn path=/trunk/netsurf/; revision=13214
* Pass scroll wheel action into contents. Handle scrolling of box scrollbars ↵Michael Drake2011-11-291-0/+2
| | | | | | and iframes. svn path=/trunk/netsurf/; revision=13200
* metadata links stored in contentsVincent Sanders2011-10-071-5/+15
| | | | | | browser uses metadata links for favicons svn path=/trunk/netsurf/; revision=12977
* initial favicon supportVincent Sanders2011-10-061-1/+7
| | | | svn path=/trunk/netsurf/; revision=12975
* Port more internals to nsurl. Front ends may need updating.Michael Drake2011-10-031-2/+3
| | | | svn path=/trunk/netsurf/; revision=12926
* Content interface to get at contextual content at point.Michael Drake2011-09-061-0/+2
| | | | svn path=/trunk/netsurf/; revision=12753
* refactor bitmap out of generic content structureVincent Sanders2011-08-311-0/+1
| | | | svn path=/trunk/netsurf/; revision=12686
* Fix selection for non-gui browser windows (iframes).Michael Drake2011-07-131-0/+1
| | | | | | | Selection no longer uses current_redraw_browser. Fix long-standing selection bugs on platforms that use action on release behaviour. svn path=/trunk/netsurf/; revision=12598
* Remove plotter table global. Pass a redraw context around redraw functions. ↵Michael Drake2011-06-301-1/+4
| | | | | | Knockout could be handled better. Note: untested on most front ends. svn path=/trunk/netsurf/; revision=12543
* Unify content_redraw params in content_redraw_data struct. Core and RISC OS ↵Michael Drake2011-06-281-4/+23
| | | | | | content handlers updated. svn path=/trunk/netsurf/; revision=12529
* If iframes are reformatted due to containing document reflow, don't need to ↵Michael Drake2011-06-241-1/+4
| | | | | | redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust. svn path=/trunk/netsurf/; revision=12497