Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Initial adding of grid boxvince/gridlayout | Vincent Sanders | 2023-12-15 | 2 | -2/+4 |
| | |||||
* | split html line layout into separate module | Vincent Sanders | 2023-12-14 | 7 | -1176/+1262 |
| | |||||
* | split html layout code into sub directory | Vincent Sanders | 2023-12-14 | 10 | -20/+33 |
| | |||||
* | split out block layout | Vincent Sanders | 2023-12-14 | 8 | -1538/+1766 |
| | |||||
* | split out table layout | Vincent Sanders | 2023-12-14 | 6 | -595/+661 |
| | |||||
* | html flex layout header | Vincent Sanders | 2023-12-14 | 4 | -94/+120 |
| | |||||
* | Fix corestring test | Vincent Sanders | 2023-12-13 | 1 | -1/+1 |
| | |||||
* | Fix use of uninitialised code variable in error reporting | Vincent Sanders | 2023-12-13 | 1 | -3/+4 |
| | |||||
* | Attempt to fix maybe uninitialised error | Vincent Sanders | 2023-12-13 | 1 | -1/+1 |
| | |||||
* | Resolve progress function deprication in curl later than 7.32.0 | Vincent Sanders | 2023-12-12 | 1 | -6/+16 |
| | |||||
* | Remove use of depricated API after libcurl 7.56 | Vincent Sanders | 2023-12-12 | 2 | -122/+425 |
| | |||||
* | jpegxl: Ensure decoded bitmap format is converted to front end format | Michael Drake | 2023-11-26 | 1 | -1/+13 |
| | |||||
* | jpegxl: Tell libjxl to decode unpremultiply alpha if needed | Michael Drake | 2023-11-26 | 1 | -0/+9 |
| | | | | On some platforms our bitmap format does not use premultiplied alpha. | ||||
* | jpegxl: Designated initialiser for output format struct | Michael Drake | 2023-11-26 | 1 | -1/+6 |
| | | | | So I could see the meanings of how we'd set up the decode. | ||||
* | Makefile: Set libjxl to AUTO | Michael Drake | 2023-11-26 | 1 | -0/+4 |
| | |||||
* | avoid the unecessary callback API | Vincent Sanders | 2023-11-26 | 1 | -17/+4 |
| | |||||
* | Implement simple jpeg xl image handler | Vincent Sanders | 2023-11-26 | 8 | -0/+379 |
| | |||||
* | RISC OS: Add "Disable CSS" option to content choices UI | Michael Drake | 2023-11-26 | 6 | -21/+21 |
| | |||||
* | RISC OS: Remove last vestiges of plugin support | Michael Drake | 2023-11-26 | 4 | -78/+0 |
| | |||||
* | html: css: Remove redundant origin filtering for author_level_css | Michael Drake | 2023-11-26 | 1 | -5/+0 |
| | |||||
* | html: Avoid processing STYLE elements if author_level_css disabled | Michael Drake | 2023-11-26 | 1 | -2/+7 |
| | |||||
* | html: Avoid fetching (and decoding) linked stylesheets | Michael Drake | 2023-11-26 | 1 | -0/+4 |
| | | | | | When the `author_level_css` option is disabled, avoid fetching stylesheets that won't be used for selection. | ||||
* | html: css: Minor code style fix | Michael Drake | 2023-11-26 | 1 | -2/+2 |
| | |||||
* | tests: Add author_level_css to list of all options | Michael Drake | 2023-11-25 | 1 | -0/+1 |
| | |||||
* | css: Fix blocking of presentational hints for author_level_css=0 | Michael Drake | 2023-11-25 | 1 | -5/+7 |
| | |||||
* | html: layout: Ensure all object types are reflowed if appropriate | Michael Drake | 2023-11-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SVGTiny content handler uses the reflow method to set the content width/height. The when the content first broadcasts "done", the HTML handler checks if there had already been a layout. If there has, it calls the SVG's content reflow method with the box dimensions. If not, it calls the reflow method with width/height zero. Since the layout code was only reflowing objects if they were HTML, these SVG contents were never getting their actual dimensions. The result of this was that when we came to plot these SVGs we were dividing by zero in the building of the transformation matrix: transform[0] = (float) width / (float) c->width; ... transform[3] = (float) height / (float) c->height; These divided the plot size by the content size. The result of this on the GTK front end was infinities in the transformation matrix passed to Cairo, and the turning of the whole nsgtk window into a glitchy ruin while the SVG was on screen. It may have affected other front ends too; these divide by zeros were happening in the core, and passed to the front ends' plotters. This issue only affected SVGs on HTML pages, and not when viewed directly. Also the SVGs had to be completely fetched and converted before the document had undergone layout. This was the case with SVGs at the top of both Wikipedia and The Register. In both cases the glitching window would be fixed by scrolling down the page past the SVG. | ||||
* | css: Add option to ignore author level CSS | Michael Drake | 2023-11-25 | 4 | -5/+20 |
| | | | | | | | | | | | | 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 | ||||
* | Ensure the current scaffold remains valid | Vincent Sanders | 2023-11-25 | 1 | -0/+12 |
| | | | | | | When a scaffold was being destroyed the currently selected scaffold could become a reference to a destroyed object. This would result in crashes subsequently when the current scaffold was referenced. The change is simply to ensure the selected scaffold is changed to something valid during destruction. | ||||
* | Update root CA bundle | John-Mark Bell | 2023-09-17 | 1 | -214/+318 |
| | |||||
* | content: backing store: Remove unused typedef. | Michael Drake | 2023-06-17 | 1 | -8/+0 |
| | |||||
* | test: Use YAML SafeLoader | Michael Drake | 2023-06-17 | 1 | -1/+1 |
| | |||||
* | Clean up print format specifier usage | Michael Drake | 2023-06-17 | 6 | -14/+15 |
| | |||||
* | Avoid integer types with platform dependent size | DeltaVonNeumann | 2023-06-17 | 16 | -60/+69 |
| | |||||
* | ci: Add ccache to github workflows | Michael Drake | 2023-03-16 | 3 | -0/+21 |
| | |||||
* | Retire long-dead code | John-Mark Bell | 2023-03-12 | 2 | -146/+0 |
| | |||||
* | arm-riscos-gnueabi: require SharedULib 1.16 | John-Mark Bell | 2023-03-06 | 1 | -1/+1 |
| | |||||
* | RISC OS: add ARMEABISupport 1.05 | John-Mark Bell | 2023-03-06 | 2 | -0/+20 |
| | |||||
* | RISC OS: update SharedULib to 1.16 | John-Mark Bell | 2023-03-06 | 2 | -8/+7 |
| | |||||
* | jenkins-build: add arm-riscos-gnueabi | John-Mark Bell | 2023-03-05 | 1 | -1/+23 |
| | |||||
* | fetchers/curl: tolerate lack of TLS1.3 | John-Mark Bell | 2023-03-05 | 1 | -2/+6 |
| | | | | | | | | If we are building against a modern version of libcurl, but it was built against a version of OpenSSL that does not support TLS1.3, then attempting to configure TLS1.3 ciphersuites will fail with CURLE_NOT_BUILT_IN. Tolerate this scenario by treating such a return code as non-fatal in this case. | ||||
* | gtk: Don't try to make zero-size bitmaps | Michael Drake | 2023-01-24 | 1 | -0/+4 |
| | | | | | Fixes complete failure to render wikipedia and the register when built against rsvg. | ||||
* | html: layout: flex: Don't freeze already-frozen items | Michael Drake | 2022-12-16 | 1 | -0/+4 |
| | | | | This fixes an error in the used main size tracking. | ||||
* | html: layout: flex: shrink: Avoid rounding error accumulation | Michael Drake | 2022-12-16 | 1 | -4/+7 |
| | |||||
* | html: layout: flex: grow: Avoid rounding error accumulation | Michael Drake | 2022-12-16 | 1 | -3/+6 |
| | |||||
* | html: layout: flex: Handle auto margins in main direction | Michael Drake | 2022-12-15 | 1 | -5/+32 |
| | |||||
* | html: layout: flex: Track used size and count auto margins for main | Michael Drake | 2022-12-15 | 1 | -0/+16 |
| | |||||
* | html: layout: flex: Helper to get main margin end size | Michael Drake | 2022-12-15 | 1 | -16/+32 |
| | |||||
* | (curl): Add extra logging to fetcher initialisation | Daniel Silverstone | 2022-12-15 | 1 | -4/+8 |
| | | | | Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk> | ||||
* | html: layout: flex: Support reversed main direction | Michael Drake | 2022-12-14 | 1 | -10/+38 |
| | |||||
* | html: layout: Helpers to get cross/main box size | Michael Drake | 2022-12-14 | 1 | -0/+14 |
| |