Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add invalidate API to html content script handling and use it. | Vincent Sanders | 2015-03-09 | 1 | -11/+21 |
| | | | | | | | | | | The html content script handling needs to invalidate its JavaScript context when the browsing context (browser_window) containing it is either closed or the content fetch is aborted (stopped) Previously the invalidation was only done on browser_window close which resulted in use after free crashes because of the now invalid JavaScript context. | ||||
* | clear the html content reference to javascript context. | Vincent Sanders | 2015-03-06 | 1 | -0/+8 |
| | | | | | | | | | | | | When the browser window is about to be destroyed html_close gets called indicating the browser_window previously associated with the html content is about to become invalid. This makes the javascript context invalid within the html content (it is held by the browser window) when that context is about to be destroyed. Previously the javascript children would continue to attempt to use the context after it had been destroyed causing all sorts of strange errors and failures. | ||||
* | cleanup Doxygen warnings | Vincent Sanders | 2014-11-12 | 1 | -23/+19 |
| | |||||
* | Doxygen cleanups | Vincent Sanders | 2014-11-12 | 1 | -2/+3 |
| | |||||
* | Make most of the form API internal to the html renderer. | Vincent Sanders | 2014-11-11 | 1 | -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. | ||||
* | Fix reference to local variable outside scope (fixes coverity 1251161) | Vincent Sanders | 2014-11-10 | 1 | -1/+1 |
| | |||||
* | Improve content encoding information API | Vincent Sanders | 2014-11-07 | 1 | -15/+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 API | Vincent Sanders | 2014-11-06 | 1 | -1/+18 |
| | | | | | | | | 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 Sanders | 2014-11-05 | 1 | -5/+6 |
| | | | | | | | 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 Sanders | 2014-11-02 | 1 | -17/+19 |
| | | | | | | | | | | | | | 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. | ||||
* | remove unecessary browser.h include from core headers | Vincent Sanders | 2014-10-17 | 1 | -0/+1 |
| | |||||
* | Update the core to use the split operations table headers | Vincent Sanders | 2014-10-16 | 1 | -1/+2 |
| | | | | Second in the series to decouple the core API usage from the frontends. | ||||
* | Put the font operations table alongside all the other core API | Vincent Sanders | 2014-10-13 | 1 | -1/+1 |
| | | | | | | | | | | | | 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 Drake | 2014-09-27 | 1 | -0/+5 |
| | |||||
* | fix DOM tree dump debug | Vincent Sanders | 2014-08-04 | 1 | -7/+33 |
| | |||||
* | Allow suppression of style dump in box tree dumps. | Michael Drake | 2014-07-13 | 1 | -2/+2 |
| | |||||
* | remove unecessary utils/url.h includes | Vincent Sanders | 2014-05-09 | 1 | -1/+0 |
| | |||||
* | Remove debug logging. | Michael Drake | 2014-03-10 | 1 | -2/+0 |
| | |||||
* | Ensure we get gadget from correct box. | Michael Drake | 2014-03-10 | 1 | -1/+1 |
| | |||||
* | Add some logging. | Michael Drake | 2014-03-10 | 1 | -2/+4 |
| | |||||
* | move scheduleing into browser operation table | Vincent Sanders | 2014-03-09 | 1 | -1/+1 |
| | |||||
* | Gadgets can exisit outside forms, so now they store their own ref to the ↵ | Michael Drake | 2014-02-17 | 1 | -3/+0 |
| | | | | containing html content. | ||||
* | Fix #2071: handle parse completion creating style or script nodes. | John-Mark Bell | 2014-02-10 | 1 | -8/+28 |
| | |||||
* | Native select menu interface shouldn't force front end to dig inside bw struct. | Michael Drake | 2014-02-08 | 1 | -1/+4 |
| | |||||
* | move utf8 local conversion operations to table | Vincent Sanders | 2014-02-01 | 1 | -16/+18 |
| | |||||
* | move utf8 conversion routines to use nserror instead of their own error enum | Vincent Sanders | 2014-01-28 | 1 | -6/+6 |
| | |||||
* | Use corestrings in box construction. | Michael Drake | 2014-01-24 | 1 | -6/+0 |
| | |||||
* | Merge branch 'rjek/click-file-gadget' | Daniel Silverstone | 2014-01-05 | 1 | -27/+39 |
|\ | |||||
| * | Add infrastructure for calling front ends to set file gadget filenames via ↵ | Rob Kendrick | 2014-01-05 | 1 | -29/+41 |
| | | | | | | | | clicking in addition to drag-and-drop | ||||
* | | Support image inputs | Daniel Silverstone | 2014-01-05 | 1 | -1/+1 |
| | | |||||
* | | Speculatively start image fetches as we parse the document. | John-Mark Bell | 2014-01-05 | 1 | -0/+35 |
| | | |||||
* | | Remove logging now that file upload *seems* to work | Daniel Silverstone | 2014-01-04 | 1 | -4/+0 |
|/ | |||||
* | Add a bunch of logging to try and help track down the issue with rawfile ↵ | Daniel Silverstone | 2014-01-04 | 1 | -0/+4 |
| | | | | handling, sorry guys | ||||
* | Ensure that file inputs update the dom node and annotate with the unencoded ↵ | Daniel Silverstone | 2014-01-04 | 1 | -3/+52 |
| | | | | filename | ||||
* | Fix leak of html encoding. | Michael Drake | 2013-10-23 | 1 | -0/+7 |
| | |||||
* | use correct acessors for unsigned type | Vincent Sanders | 2013-05-28 | 1 | -2/+2 |
| | |||||
* | move options include | Vincent Sanders | 2013-05-28 | 1 | -1/+1 |
| | |||||
* | Handle title on dom event. Remove head walker from begin_conversion. | Michael Drake | 2013-05-23 | 1 | -81/+27 |
| | |||||
* | Move base and link element handling to event callback. | Michael Drake | 2013-05-23 | 1 | -182/+182 |
| | |||||
* | Move meta refresh handling to dom event handler. | Michael Drake | 2013-05-22 | 1 | -293/+203 |
| | |||||
* | Tiny simplification. | Michael Drake | 2013-05-20 | 1 | -8/+5 |
| | |||||
* | Remove search context from browser window, simplify search interface for ↵ | Michael Drake | 2013-05-07 | 1 | -30/+4 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Stop looking on first modified sheet found. | Michael Drake | 2013-03-18 | 1 | -1/+3 |
| | |||||
* | Fix bug where html conversion began before STYLE element fetch had been ↵ | Michael Drake | 2013-03-18 | 1 | -2/+19 |
| | | | | launched. | ||||
* | Unref the node in the callbacks | Daniel Silverstone | 2013-03-05 | 1 | -0/+2 |
| | |||||
* | split out object handling from render/html.c | Vincent Sanders | 2013-02-25 | 1 | -566/+11 |
| | |||||
* | fix quirk stylesheet loading | Vincent Sanders | 2013-02-25 | 1 | -9/+26 |
| | |||||
* | Fix memory leak | John-Mark Bell | 2013-02-24 | 1 | -0/+4 |
| | |||||
* | refactor stylesheet handling to separate object from within html rendering | Vincent Sanders | 2013-02-24 | 1 | -665/+17 |
| | |||||
* | Merge branch 'master' of git://git.netsurf-browser.org/netsurf | Michael Drake | 2013-02-22 | 1 | -481/+566 |
|\ | | | | | | | | | Conflicts of doom: render/html.c |