Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use attributes to indicate switch fall through instead of comments | Vincent Sanders | 2024-03-05 | 1 | -5/+5 |
| | |||||
* | css: Fix blocking of presentational hints for author_level_css=0 | Michael Drake | 2023-11-25 | 1 | -5/+7 |
| | |||||
* | css: Add option to ignore author level CSS | Michael Drake | 2023-11-25 | 1 | -0/+4 |
| | | | | | | | | | | | | This adds a new config option, `author_level_css`. When it is disabled, NetSurf will ignore all CSS from the web page. In this case only the default CSS rules from the browser and user CSS rules will be applied. It is enabled by default. Tested by running: ./nsgtk3 --author_level_css=0 | ||||
* | Clean up print format specifier usage | Michael Drake | 2023-06-17 | 1 | -2/+2 |
| | |||||
* | Avoid integer types with platform dependent size | DeltaVonNeumann | 2023-06-17 | 1 | -10/+12 |
| | |||||
* | html: layout: Initial implementation of display: flex | Michael Drake | 2022-10-29 | 1 | -5/+0 |
| | |||||
* | css: Fix dump of display: inline-flex | Michael Drake | 2022-10-29 | 1 | -0/+6 |
| | |||||
* | css: Update display property helper for grid | Michael Drake | 2022-10-29 | 1 | -7/+21 |
| | |||||
* | CSS: Selection callbacks: Update to latest LibDOM API. | Michael Drake | 2021-07-05 | 1 | -0/+3 |
| | |||||
* | Switch to new libcss API for unit conversion. | Michael Drake | 2021-05-30 | 6 | -447/+21 |
| | |||||
* | CSS: Update to latest libcss: Remove weird units. | Michael Drake | 2021-05-30 | 3 | -46/+2 |
| | | | | The 'rlh', 'ic' and 'cap' units were never implemented by anyone. | ||||
* | css: hints: Add support for OL type attribute. | Michael Drake | 2021-01-31 | 1 | -0/+47 |
| | |||||
* | improve desktop text search header usage | Vincent Sanders | 2020-06-24 | 1 | -0/+1 |
| | | | | | | | | | remove unecessary inclusion of desktop search header in content header which has knock on effect of not having ctype or string system headers dragged in unecessarily. Futher this highlighted use of ctype API where internal ascii processing ought to be used. | ||||
* | css: Support canvas width/height presentational hints | Daniel Silverstone | 2020-05-22 | 1 | -0/+65 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | improve content header usage | Vincent Sanders | 2020-05-07 | 1 | -4/+6 |
| | |||||
* | 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 |