path: root/render
Commit message (Collapse)AuthorAgeFilesLines
* Doxygen warning fixesVincent Sanders2014-11-103-9/+9
* address even more potential leaks on error path in box_select (coverity 1109875)Vincent Sanders2014-11-101-1/+3
* fix leak of gadget on error path. (coverity 1109875)Vincent Sanders2014-11-101-2/+6
* Fix reference to local variable outside scope (fixes coverity 1251161)Vincent Sanders2014-11-101-1/+1
* remove declaration in parameter list warning in form.hVincent Sanders2014-11-091-0/+1
* fix up more doxygen errorsVincent Sanders2014-11-081-0/+2
* Improve Doxygen documentationVincent Sanders2014-11-082-18/+22
* Improve content encoding information APIVincent Sanders2014-11-072-16/+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-063-5/+20
| | | | | | | | 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-052-6/+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.
* replace save_link operation table entry usage of textural url with nsurlVincent Sanders2014-11-031-1/+1
* remove unecessary utils/types.hVincent Sanders2014-11-022-9/+10
| | | | | | This cleans up this header and moves the functionality into more useful places while reducing the include complexity but only pulling in whats required.
* Change contextual content retrieval to browser features.Vincent Sanders2014-11-021-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.
* make the pseudo css fetcher report initialisation errorsVincent Sanders2014-10-253-9/+18
* Add bw function to get scrollbar type.Michael Drake2014-10-252-9/+10
* Open select menu via content msg, instead of breaking encapsulation.Michael Drake2014-10-242-11/+4
| | | | Fixes bw deref and browser_private.h #include in render/
* remove unecessary browser.h include from core headersVincent Sanders2014-10-176-9/+14
* Update the core to use the split operations table headersVincent Sanders2014-10-166-10/+16
| | | | 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.
* Remove trailing whitespace.Michael Drake2014-10-151-93/+93
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-139-153/+93
| | | | | | | | | | | | 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-274-0/+22
* Stop invalid background image URL from preventing page load.Michael Drake2014-09-251-9/+10
| | | | | Stops url(http://) from causing page load to fail with warning message of "boxconvert".
* Resolve relative URLs in inline CSS relative to document's base URL, rather ↵Michael Drake2014-09-181-1/+1
| | | | | | | | than its content URL. This means passing the base URL as the URL param to LibCSS's css_stylesheet_create, rather than the URL of the source of the style data.
* Remove unecessary forward declarations.Michael Drake2014-09-051-9/+2
* Avoid forward declaration of box_contains_point.Michael Drake2014-08-311-123/+122
* Make box_at_point use itteration, rather than recursion.Michael Drake2014-08-311-120/+218
| | | | | This should reduce stack usage. The walk logic is split out from box_at_point so that it might be reused.
* Add float_container to box tree dump.Michael Drake2014-08-311-0/+2
* Fix text selection.Michael Drake2014-08-201-0/+1
| | | | | | | | Values returned by nscss_len2px are actually libcss fixed-points, so convert the result to pixels. Also reduce the amount by which the top of descendant bboxes are extended to 3/4 of the text height, which is the maximum possible amount that the text can protrude above the box when line-height is reduced.
* Remove unused code.Michael Drake2014-08-041-73/+0
* Remove unwanted debug.Michael Drake2014-08-042-3/+1
* mailto urls don't have passwords or ports, so we don't need to look for ':'.Michael Drake2014-08-042-2/+76
* fix DOM tree dump debugVincent Sanders2014-08-041-7/+33
* Always treat root element as overflow:visible.Michael Drake2014-07-181-47/+50
| | | | Fixes bug #2149.
* Restrict 'drill down' to specific box types.Michael Drake2014-07-181-2/+10
* Fix bug #2154: List numbering.Michael Drake2014-07-181-4/+13
| | | | | Previous list item box may not always be last child of parent. Search its previous children until a list item is found.
* Fix overflow handling issue.Michael Drake2014-07-131-19/+4
* Allow suppression of style dump in box tree dumps.Michael Drake2014-07-134-10/+10
* Merge branch 'master' of git:// Drake2014-07-083-13/+18
| * try and improve usage of browser window internalsVincent Sanders2014-07-062-4/+6
| |
| * clean up the fetcher factory and improve its APIVincent Sanders2014-06-191-9/+12
| |
* | Slight simplification to how wo choose whether to clip for overflow.Michael Drake2014-06-151-8/+20
* Handle overflow-x and overflow-y properties.Michael Drake2014-06-013-71/+176
| | | | | Fixes display of BBC Sport. Requires LibCSS with support for overflow-x and overflow-y.
* Remove completely dead file.Michael Drake2014-05-313-524/+2
| | | | NetSurf's list handling has been redundant and unused for years.
* fix plain text rendering line breaking with mutibyte sequences (fixes bug #2134)Vincent Sanders2014-05-291-6/+24
* remove uncessary null check (coverity 1199865) and remove forward referencesVincent Sanders2014-05-181-282/+269
* remove unecessary utils/url.h includesVincent Sanders2014-05-093-3/+0
* refactor url utility functions to use standard nserror codes and have ↵Vincent Sanders2014-05-081-5/+5
| | | | appropriate documentation.
* Fix table cell bottom borders leaking to the cell on the right.Michael Drake2014-04-141-3/+3
| | | | | | | | Prevent leaking of table cell borders that happend when doing border-collapse: collapse; Error was do to cell->columns being treated as number of extra columns spanned minus 1, rather than number of columns spanned.