summaryrefslogtreecommitdiff
path: root/content/content.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * free memory on error conditionVincent Sanders2013-05-041-0/+1
| |
| * fix leak in error pathVincent Sanders2013-05-031-0/+1
| |
* | Remove search context from browser window, simplify search interface for ↵Michael Drake2013-05-071-0/+22
|/ | | | | | | | | | | | | | | | | | | | | | 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-2/+38
| | | | | | | | | | | | | 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/+17
|
* reduce talloc usage to box tree layout onlyVincent Sanders2012-10-031-16/+31
|
* API for content debug dump.Michael Drake2012-08-201-0/+10
|
* Don't pass struct box to content open.Michael Drake2012-08-201-4/+2
|
* Now contents types without mouse handling can set default pointer. Fixes ↵Michael Drake2012-08-171-1/+7
| | | | standalone images showing e.g. link pointer if that was the last pointer before the standalone image loaded.
* Let contents broadcast explicit status messages as well as announce that ↵Michael Drake2012-08-151-0/+2
| | | | their internal status has been updated.
* Simplify content status text setting.Michael Drake2012-08-151-29/+24
|
* fix missing check of lwc_string_caseless_isequal() return valueVincent Sanders2012-08-091-2/+2
|
* limit url debug output to 140 charactersVincent Sanders2012-07-031-4/+6
|
* content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_urlJohn Mark Bell2011-12-041-6/+1
| | | | svn path=/trunk/netsurf/; revision=13236
* Currently untested (and unused) "drop file on content" handling, and HTML ↵Michael Drake2011-12-011-0/+13
| | | | | | implementation. svn path=/trunk/netsurf/; revision=13214
* Pass scroll wheel action into contents. Handle scrolling of box scrollbars ↵Michael Drake2011-11-291-0/+13
| | | | | | and iframes. svn path=/trunk/netsurf/; revision=13200
* metadata links stored in contentsVincent Sanders2011-10-071-0/+99
| | | | | | 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-6/+6
| | | | svn path=/trunk/netsurf/; revision=12926
* Make llcache_handle_get_url return a nsurl.Michael Drake2011-09-281-10/+17
| | | | svn path=/trunk/netsurf/; revision=12905
* Correctly create a sentinel and initialise user_list with it when cloning a ↵John Mark Bell2011-09-181-0/+8
| | | | | | content svn path=/trunk/netsurf/; revision=12804
* Only lock content around its reformat call. This means it is not now locked ↵Michael Drake2011-09-171-2/+4
| | | | | | when reformat message is broadcast. Prevents the browser window callback asking the core to redraw a content before it gets unlocked. svn path=/trunk/netsurf/; revision=12802
* Content interface to get at contextual content at point.Michael Drake2011-09-061-0/+16
| | | | svn path=/trunk/netsurf/; revision=12753
* Remove mime_type parameter from content handler content_type callback APIJohn Mark Bell2011-09-031-3/+3
| | | | svn path=/trunk/netsurf/; revision=12704
* refactor bitmap out of generic content structureVincent Sanders2011-08-311-4/+50
| | | | svn path=/trunk/netsurf/; revision=12686
* Fix transition from LOADING to ERROR state after content has been locked for ↵John Mark Bell2011-07-201-2/+12
| | | | | | conversion svn path=/trunk/netsurf/; revision=12614
* Fix race when stopping an HTML content mid-loadJohn Mark Bell2011-07-191-4/+2
| | | | svn path=/trunk/netsurf/; revision=12611
* Fix selection for non-gui browser windows (iframes).Michael Drake2011-07-131-0/+16
| | | | | | | 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-2/+2
| | | | | | 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-7/+3
| | | | | | content handlers updated. svn path=/trunk/netsurf/; revision=12529
* Enable content redraw request without hlcache_handle.Michael Drake2011-06-271-2/+18
| | | | svn path=/trunk/netsurf/; revision=12518
* If iframes are reformatted due to containing document reflow, don't need to ↵Michael Drake2011-06-241-3/+7
| | | | | | redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust. svn path=/trunk/netsurf/; revision=12497
* Squash static analyser warningJohn Mark Bell2011-05-161-2/+1
| | | | svn path=/trunk/netsurf/; revision=12419
* refactor content handler initilisation to use named initialisorsVincent Sanders2011-05-091-2/+2
| | | | svn path=/trunk/netsurf/; revision=12341
* Clear extraneous text when done..Michael Drake2011-05-091-2/+2
| | | | svn path=/trunk/netsurf/; revision=12324
* consolidate content redraw Vincent Sanders2011-05-081-95/+10
| | | | | | more cleanups ready for image content refactor svn path=/trunk/netsurf/; revision=12317
* Simplify status bar text.Michael Drake2011-05-081-18/+13
| | | | svn path=/trunk/netsurf/; revision=12313
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-519/+94
| | | | svn path=/trunk/netsurf/; revision=12283
* Remove redundant parameter from content_open APIJohn Mark Bell2011-03-101-4/+3
| | | | svn path=/trunk/netsurf/; revision=11964
* Fix broken CONTENT_PLUGIN API.Chris Young2011-03-061-2/+2
| | | | | | | 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-0/+18
| | | | | | 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
* Purge CONTENT_STATUS_TYPE_UNKNOWNJohn Mark Bell2011-02-281-7/+2
| | | | svn path=/trunk/netsurf/; revision=11861
* Remove bogus assertions: content handlers which spawn fetches may not ↵John Mark Bell2011-02-281-7/+0
| | | | | | transition out of the LOADING state until after the fetches have completed. svn path=/trunk/netsurf/; revision=11860
* Unlock the content when transitioning into the READY state.John Mark Bell2011-02-281-5/+18
| | | | svn path=/trunk/netsurf/; revision=11859
* Fix bug #3194007: stop emitting duplicate READY/DONE events.John Mark Bell2011-02-271-8/+2
| | | | | | | * Make content handlers responsible for setting READY/DONE state & emitting events. * Stop content_convert doing this when there is a registered convert function for the content type. svn path=/trunk/netsurf/; revision=11850
* ConstifyJohn Mark Bell2011-02-141-4/+4
| | | | svn path=/trunk/netsurf/; revision=11680
* Pass clip rect as struct through content_redraw api. Update the front ends ↵Michael Drake2011-02-131-29/+18
| | | | | | to use this. Note only RO build tested. svn path=/trunk/netsurf/; revision=11670
* Better documentation of content_redrawMichael Drake2011-02-111-2/+13
| | | | svn path=/trunk/netsurf/; revision=11645
* add browser_window_redraw() method to make content_redraw calls from ↵Vincent Sanders2011-02-101-7/+11
| | | | | | frontends common RISC OS, atari, amiga and beos have not been updated svn path=/trunk/netsurf/; revision=11640
* Fix compilationChris Young2010-10-311-1/+1
| | | | svn path=/trunk/netsurf/; revision=10929
* Amiga icon loader. Treeviews will now use the user's icons for content types.Chris Young2010-10-301-0/+14
| | | | svn path=/trunk/netsurf/; revision=10925