Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Excise the llcache query pathway. | Daniel Silverstone | 2019-08-05 | 1 | -8/+0 |
| | | | | | | | | In further preparation for the auth and cert queries being handled as special contents from `about:` this excises the query pathway from the llcache pretty much entirely. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | content: Rename content_broadcast_errorcode() | Daniel Silverstone | 2019-08-05 | 1 | -4/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Content messages: Remove ERRORCODE, rework ERROR | Daniel Silverstone | 2019-08-05 | 1 | -1/+0 |
| | | | | | | | This reworks CONTENT_MSG_ERROR to be structured data and removes the CONTENT_MSG_ERRORCODE message kind. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add content handlers for queries | Daniel Silverstone | 2019-08-04 | 1 | -1/+8 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | CSS hints: Change css_hint_advance to advance pointer by parameter. | Michael Drake | 2019-08-04 | 1 | -55/+55 |
| | |||||
* | css/utils.c: Fix vw/vh handling in len2pt | Daniel Silverstone | 2019-06-30 | 1 | -2/+2 |
| | | | | | | | | | We were using integer multiplication rather than fixed-point multiplication when calculating point sizes relative to the viewport. This fixes that. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | CSS: One inch is 96 css pixels. | Michael Drake | 2019-05-07 | 1 | -2/+2 |
| | |||||
* | CSS: Use helper to convert form css to physical pixels. | Michael Drake | 2019-05-06 | 1 | -2/+1 |
| | |||||
* | CSS: Add helpers to convert between css and physical pixels. | Michael Drake | 2019-05-06 | 1 | -0/+25 |
| | |||||
* | CSS: Extern the nscss_baseline_pixel_density value. | Michael Drake | 2019-05-06 | 1 | -0/+3 |
| | | | | | Front ends should be able to set this, or it should be a config option. | ||||
* | Convert css_len2pt and css_len2px for CSS pixels. | Michael Drake | 2019-05-06 | 1 | -15/+20 |
| | |||||
* | change content get_source_data interfaces to return uint8_t and size_t | Vincent Sanders | 2019-05-05 | 1 | -6/+7 |
| | | | | | previously these interfaces returned char * and unsigned int which was undesirable. | ||||
* | CSS: Update for change to libcss select style API. | Michael Drake | 2019-05-04 | 2 | -2/+2 |
| | | | | | | | LibCSS now takes the client media spec, rather than just the media type we're selecting for. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | ||||
* | CSS: Update for change to libcss imported sheet API. | Michael Drake | 2019-05-04 | 2 | -5/+2 |
| | | | | | | The media is not exposed and sent back into libcss now. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | ||||
* | allow comments to supress implicit fallthrough warnings | Vincent Sanders | 2018-09-07 | 1 | -5/+5 |
| | |||||
* | CSS utils: Handle new units in length conversion routines. | Michael Drake | 2018-01-05 | 2 | -16/+174 |
| | | | | | This causes a ripple effect of all the callsites needing information they didn't have. | ||||
* | CSS computed style composition: Update for new CSS units. | Michael Drake | 2018-01-05 | 2 | -5/+48 |
| | | | | | | | Since the nscss_compute_font_size callback now needs to convert new units to absolute values, and some of these units require info from the root element's style, there are knock-on changes to ensure that the required info is available where its needed. | ||||
* | CSS: Add new libcss unit types to computed style dump. | Michael Drake | 2018-01-02 | 1 | -0/+39 |
| | |||||
* | CSS: Wrappers for computed style getters that return unsupported values. | Michael Drake | 2017-10-20 | 2 | -3/+73 |
| | | | | We don't yet handle the Flexbox-related values for certain properties. | ||||
* | CSS hints: Ensure length and unit are initialised for vertical-align. | Michael Drake | 2017-10-13 | 1 | -0/+2 |
| | |||||
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 3 | -13/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7); | ||||
* | CSS content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-27 | 1 | -12/+5 |
| | |||||
* | Content API: Make content_broadcast take pointer to content_msg_data. | Michael Drake | 2017-08-26 | 1 | -4/+4 |
| | |||||
* | CSS: Handle presentational hint for HR's "width" attribute. | Michael Drake | 2017-04-10 | 1 | -0/+1 |
| | |||||
* | Presentational hints: Ensure length is initialised for auto margins. | Michael Drake | 2017-04-06 | 1 | -0/+2 |
| | | | | | | | | | | | Although the length is unused when margin is auto, having uninitialised values present in a computed style means that the style hashing may give the same style different hashes depending on the unintitialised info. The effect of this would have been be to reduce the chance of computed style sharing. It would have had no effect on page rendering. | ||||
* | move plot style header to netsurf include directory | Vincent Sanders | 2017-01-13 | 1 | -0/+1 |
| | | | | | move plotter style header and adjust all callers to use only what they actually require. | ||||
* | fix spelling of retrived | Vincent Sanders | 2016-11-21 | 1 | -2/+2 |
| | |||||
* | Work in Progress: Update for style-sharing LibCSS API. | Michael Drake | 2016-11-19 | 1 | -32/+23 |
| | |||||
* | Table cell nowrap attribute is presentational hint, not UA style. | Michael Drake | 2016-10-13 | 1 | -0/+17 |
| | |||||
* | msplit public url database API out for frontends | Vincent Sanders | 2016-06-13 | 1 | -1/+2 |
| | |||||
* | Allow include directories to be added by sub makefiles | Vincent Sanders | 2016-06-06 | 6 | -13/+13 |
| | |||||
* | move the CSS content handler | Vincent Sanders | 2016-05-26 | 13 | -0/+6568 |