summaryrefslogtreecommitdiff
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* html: layout: flex: Don't pass content around unnecessarilyMichael Drake2022-11-021-7/+4
|
* html: layout: flex: Compare line main size with available mainMichael Drake2022-11-021-34/+35
| | | | | | When deciding whether to use the grow or shrink flex factor we we using the available width, rather than the space available in the main direction.
* html: layout: flex: Unify line item placementMichael Drake2022-11-021-60/+43
|
* html: layout helpers: Add helpers for width/height indirectionMichael Drake2022-11-021-0/+14
|
* html: layout: Remove duplicate typedefsMichael Drake2022-10-291-9/+0
|
* layout: flex: Squash main is usually a function warningMichael Drake2022-10-291-5/+5
|
* html: layout: Initial implementation of display: flexMichael Drake2022-10-2912-92/+1329
|
* html: box_dump: Indicate descendant bounding box valuesMichael Drake2022-10-291-1/+1
|
* layout: minmax pass: Improve handling of {min|max}_width propertiesMichael Drake2022-10-291-32/+59
|
* layout: minmax table: Change logging level to errorMichael Drake2022-10-291-1/+1
|
* layout: calculate_mbp_width: Preserve percentage valuesMichael Drake2022-10-291-2/+2
|
* html: layout: Improve block container assertionsMichael Drake2022-10-291-3/+3
|
* html: layout: Split out common helpersMichael Drake2022-10-292-527/+599
|
* css: Fix dump of display: inline-flexMichael Drake2022-10-291-0/+6
|
* layout: Constify box through layout_find_dimensions()Michael Drake2022-10-291-1/+1
|
* layout: Constify box through layout_handle_box_sizing()Michael Drake2022-10-291-1/+1
|
* layout: Add helpers for various box type checksMichael Drake2022-10-291-31/+55
|
* layout: Add helper for checking if a style has a border on a sideMichael Drake2022-10-291-2/+9
|
* layout: Drop redundant else blockMichael Drake2022-10-291-2/+0
|
* css: Update display property helper for gridMichael Drake2022-10-291-7/+21
|
* content: image cache: Avoid int overflow before size_t conversionMichael Drake2022-10-231-1/+1
|
* urldb: Handle snprintf errorMichael Drake2022-10-231-1/+4
|
* js: console: Fix argument type for formatting functionMichael Drake2022-10-231-1/+1
|
* js: image data: Avoid int overflow before size_t conversionMichael Drake2022-10-231-1/+1
|
* Ensure image cache logging does not cause division by zero at exitVincent Sanders2022-09-111-6/+6
|
* HTML: CSS media spec: Pass in dark mode preference.Michael Drake2022-07-301-0/+20
|
* inttypes: custom format for UnixLib ssize_tJohn-Mark Bell2022-06-032-11/+11
| | | | | | | | UnixLib defines ssize_t to be a long int, which forces the corresponding format string to need to be %ld to avoid compiler warnings. Making this change uncovered a number of places where we were using the wrong format specifier entirely (namely PRIssizet where we meant PRIsizet). Fix these, too.
* Duktape: Prevent clang static analysis.Michael Drake2022-05-291-0/+3
|
* Duktape: Update to 2.7.0 release.Michael Drake2022-05-293-11565/+15231
|
* About/Cert: get EC key details using OpenSSL 3 APIsJohn-Mark Bell2022-05-281-25/+321
| | | | | | Replace the fetching and poking around inside the low-level EC object with appropriate calls to EVP_PKEY_get_(octet|utf8)_string_param() and add a compatibility layer for old versions of OpenSSL.
* About/Cert: get RSA n/e using OpenSSL 3 APIsJohn-Mark Bell2022-05-281-6/+119
| | | | | | Replace the fetching and poking around inside the low-level RSA object with appropriate calls to EVP_PKEY_get_bn_param() and add a compatibility layer for old versions of OpenSSL.
* About/Cert: use EVP_PKEY_bits to get key sizeJohn-Mark Bell2022-05-281-43/+5
|
* About/Cert: contain pkey inspection in type methodsJohn-Mark Bell2022-05-281-12/+18
| | | | | Use of the low-level key types is deprecated in OpenSSL 3. Prepare to stop using them by removing them from function calls.
* about(chart): include config.h to silence warningJohn-Mark Bell2022-05-271-0/+1
| | | | This file uses strndup, so needs config.h including to define it.
* Bitmap: Implement test_opaque in core instead of in every frontend.Michael Drake2022-03-292-3/+3
|
* WebP: Optimisation: If it's opaque avoid any PMA conversions.Michael Drake2022-03-281-0/+4
|
* PNG: Allow support for premultiplied alpha.Michael Drake2022-03-281-4/+13
| | | | | | | | | | | | | LibPNG doesn't support premultiplied alpha, so now that the core supports it, we can't just say that the decoded PNG is in the core bitmap format. So we now say it's in the core pixel layout, and if it's opaque we say it has the same premultipled alpha setting as core bitmaps because the conversion is costly and makes no difference. On the other hand if it is not opaque we now admit that it is not premultipled alpha so it gets converted if needed.
* About: Chart: Squash implicit declaration of strndup.Michael Drake2022-03-281-0/+1
|
* Image: JPEG: Decode to client bitmap format where possible.Michael Drake2022-03-271-51/+125
|
* Image: JPEG: Warn if not using libjpeg-turbo.Michael Drake2022-03-271-7/+2
| | | | Replaces RISC OS warning with a more general and relevant one.
* Image: WebP: Decode to client bitmap format where possible.Michael Drake2022-03-271-8/+24
|
* Image: WebP: Correct output buffer size for rowstride.Michael Drake2022-03-271-1/+1
|
* Image: Sprite: Avoid multiple bitmap format conversions.Michael Drake2022-03-271-14/+4
|
* Image: RSVG: Just use bitmap to client for conversion.Michael Drake2022-03-271-39/+1
|
* Image: PNG: Decode to client bitmap format.Michael Drake2022-03-271-11/+32
|
* Image: GIF: Decode directly to client bitmap format.Michael Drake2022-03-271-36/+22
|
* Bitmap: Move bitmap pixel to colour macro to bitmap header.Michael Drake2022-03-271-1/+2
|
* Image: WebP: Call bitmap format conversion after decode.Michael Drake2022-03-271-0/+4
| | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format.
* Image: RSVG: Call bitmap format conversion after decode.Michael Drake2022-03-271-0/+4
| | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format.
* Image: PNG: Call bitmap format conversion after decode.Michael Drake2022-03-261-0/+11
| | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format.