summaryrefslogtreecommitdiff
path: root/content/content_protected.h
Commit message (Collapse)AuthorAgeFilesLines
* content: Rename content_broadcast_errorcode()Daniel Silverstone2019-08-051-2/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* make content close check the content status itselfVincent Sanders2019-07-101-2/+2
| | | | make content handler open and close return error status
* change content get_source_data interfaces to return uint8_t and size_tVincent Sanders2019-05-051-3/+4
| | | | | previously these interfaces returned char * and unsigned int which was undesirable.
* Add content_exec and associated vtable entryDaniel Silverstone2019-05-051-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Content: Make the content structure aware of viewport height.Michael Drake2019-02-171-1/+2
| | | | | | | It was always aware of viewport width, but since adding support for vh CSS units, the HTML content handler also needs viewport height. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
* Content API: Avoid content message copy in content user callback.Michael Drake2017-08-261-2/+5
|
* Content API: Make content_broadcast take pointer to content_msg_data.Michael Drake2017-08-261-1/+1
|
* Update content to split public and internal APIVincent Sanders2016-06-061-16/+9
|
* split out the layout glyph sizing and splitting APIVincent Sanders2016-04-231-1/+1
| | | | | This refactors the core "font" sizing API to be handled through gui function tables similar to every other core/frontend calling API.
* update content wallclock timing to use monotonic time interfaceVincent Sanders2016-04-201-3/+4
|
* use monotonic clock call for html reflow timingVincent Sanders2016-04-201-3/+3
|
* reduce content header interdependancyVincent Sanders2016-04-181-5/+9
|
* Stop GIF animations when they are no longer in use, instead of waiting until ↵Chris Young2016-02-111-0/+2
| | | | they are destroyed.
* Doxygen cleanupsVincent Sanders2014-11-091-1/+1
|
* Continue doxygen error cleanup.Vincent Sanders2014-11-081-1/+58
|
* fix up more doxygen errorsVincent Sanders2014-11-081-0/+47
|
* Improve content encoding information APIVincent Sanders2014-11-071-2/+2
| | | | | 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-0/+1
| | | | | | | | 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.
* Change contextual content retrieval to browser features.Vincent Sanders2014-11-021-2/+2
| | | | | | | | | | | | | 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.
* fix DOM tree dump debugVincent Sanders2014-08-041-1/+1
|
* move page search gui callbacks to their own operations tableVincent Sanders2014-03-181-4/+2
|
* 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/+3
| | | | | | | | | | | | | 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.
* add errorcode content broadcast APIVincent Sanders2012-11-261-0/+5
|
* reduce talloc usage to box tree layout onlyVincent Sanders2012-10-031-3/+1
|
* API for content debug dump.Michael Drake2012-08-201-0/+1
|
* Don't pass struct box to content open.Michael Drake2012-08-201-3/+1
|
* Simplify content status text setting.Michael Drake2012-08-151-1/+1
|
* content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_urlJohn Mark Bell2011-12-041-1/+0
| | | | 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-1/+3
| | | | | | and iframes. svn path=/trunk/netsurf/; revision=13200
* metadata links stored in contentsVincent Sanders2011-10-071-0/+7
| | | | | | browser uses metadata links for favicons svn path=/trunk/netsurf/; revision=12977
* Port more internals to nsurl. Front ends may need updating.Michael Drake2011-10-031-4/+3
| | | | svn path=/trunk/netsurf/; revision=12926
* Virtualise content handler finalisation calls. Remove pointless implementations.John Mark Bell2011-09-151-0/+2
| | | | svn path=/trunk/netsurf/; revision=12797
* Content interface to get at contextual content at point.Michael Drake2011-09-061-0/+2
| | | | svn path=/trunk/netsurf/; revision=12753
* Remove mime_type parameter from content handler content_type callback APIJohn Mark Bell2011-09-031-1/+1
| | | | svn path=/trunk/netsurf/; revision=12704
* refactor bitmap out of generic content structureVincent Sanders2011-08-311-4/+6
| | | | svn path=/trunk/netsurf/; revision=12686
* Fix transition from LOADING to ERROR state after content has been locked for ↵John Mark Bell2011-07-201-0/+2
| | | | | | conversion svn path=/trunk/netsurf/; revision=12614
* 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/+2
| | | | | | content handlers updated. svn path=/trunk/netsurf/; revision=12529
* Enable content redraw request without hlcache_handle.Michael Drake2011-06-271-0/+2
| | | | svn path=/trunk/netsurf/; revision=12518
* If iframes are reformatted due to containing document reflow, don't need to ↵Michael Drake2011-06-241-1/+2
| | | | | | redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust. svn path=/trunk/netsurf/; revision=12497
* refactor content handler initilisation to use named initialisorsVincent Sanders2011-05-091-1/+1
| | | | svn path=/trunk/netsurf/; revision=12341
* consolidate content redraw Vincent Sanders2011-05-081-3/+0
| | | | | | more cleanups ready for image content refactor svn path=/trunk/netsurf/; revision=12317
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-110/+48
| | | | svn path=/trunk/netsurf/; revision=12283
* Fix broken CONTENT_PLUGIN API.Chris Young2011-03-061-1/+1
| | | | | | | Add a default content handler for Amiga using the plugin interface, which passes unknown files (currently images only) through DataTypes. svn path=/trunk/netsurf/; revision=11924
* Created content handler CONTENT_APPLE_IMAGE for Mac OS X that can handle all ↵Sven Weidauer2011-03-051-1/+6
| | | | | | image file formats supported by Apples ImageIO framework. Right now used only for JPEG to get rid of libjpeg dependency. svn path=/trunk/netsurf/; revision=11911
* Do not attempt to destroy contents that are still loadingJohn Mark Bell2011-03-031-1/+0
| | | | svn path=/trunk/netsurf/; revision=11898