summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Amiga: Fix page theme current selectionHEADmasterChris Young7 days1-1/+1
|
* Amiga: Add page theme toggleChris Young9 days2-9/+77
|
* HTML: CSS media spec: Pass in dark mode preference.Michael Drake13 days1-0/+20
|
* Core: Options: Add user preference for dark mode coloursMichael Drake13 days1-0/+3
|
* Bitmap: Remove misleading format documentation.Michael Drake2022-06-141-27/+5
|
* RISC OS: fix awrender glue for EABIJohn-Mark Bell2022-06-051-22/+60
| | | | | | | | | | | | | | The only hand-written asm is the glue to Artworks Render. Update it to be ABI compliant when building for EABI and force the alignment of the data in the .bss section (as unaligned rotated loads are really not a thing). No functional change for non-EABI builds but, as the stack framing differs depending on the ABI in use, we can no longer reliably use fp as the base pointer for on-stack function arguments to awrender_render. Thus, this has been reworked to use ip as the pointer instead and to also use r8/r9 to relieve excess register pressure.
* Buildsystem: fix makefile snafuJohn-Mark Bell2022-06-031-1/+6
| | | | | | 99012dcd introduced a regression that caused builds for all non-RISC OS platforms to fail. Fix this, ensuring that RISC OS builds still do the things they need to.
* RISC OS: fix type in awrender_init definition.John-Mark Bell2022-06-031-1/+1
|
* RISC OS: fix snprintf usageJohn-Mark Bell2022-06-032-2/+4
| | | | | | | | | When computing throbber sprite names, ensure the current frame is in range before using it. Similarly ensure the buffer size for the temporary URL bar sprite name is sized such that snprintf has space for the trailing NUL when formatting it to the output buffer.
* RISC OS: fix up use of strncpyJohn-Mark Bell2022-06-034-13/+20
| | | | | | | | Ensure that strings copied using strncpy are NUL terminated. Additionally, replace use of strncpy entirely where we are writing into non-indirected OS icon blocks (where an unterminated 12 character long string is perfectly valid).
* RISC OS: GCC 10 approved fall-through markersJohn-Mark Bell2022-06-032-1/+2
|
* inttypes: custom format for UnixLib ssize_tJohn-Mark Bell2022-06-033-11/+16
| | | | | | | | 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.
* env.sh: update for arm-riscos-gnueabihfJohn-Mark Bell2022-06-031-1/+1
|
* Buildsystem: update for new RISC OS toolchainJohn-Mark Bell2022-06-033-11/+45
| | | | | | | | | | | | | The new toolchain has a different machine triplet, so update the things that care about it to work either way. Remove the expectation that ro-pkg-config exists (it's trivial and the core buildsystem never used it, so let's have some consistency). Determine the location of the zip binary in Makefile.tools, just like for all the other tooling and stop assuming where it's installed in the netsurf.zip target.
* 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.
* UA: align with compat specJohn-Mark Bell2022-05-273-16/+23
| | | | | | | See: https://compat.spec.whatwg.org/#ua-string-section Force desktop sites on Linux by claiming to be running under X11 (Linux is otherwise considered a mobile OS).
* RISC OS: use OS CertData resource, if presentJohn-Mark Bell2022-05-272-1/+4
|
* Update root CA bundleJohn-Mark Bell2022-05-271-181/+374
|
* Fix up size of download URI field in Dutch templatesJohn-Mark Bell2022-05-271-1/+1
|
* s/http/https/ in user-facing URIsJohn-Mark Bell2022-05-2726-252/+250
|
* RISC OS: initialise font subsystem after Wimp_InitialiseJohn-Mark Bell2022-05-271-8/+10
| | | | | | | | | | | If RUfl detects it is running in a Wimp task it will display a progress meter while scanning fonts. We had this behaviour until ~2017, when it became broken due to the font initialisation being moved before the call to Wimp_Initialise (because the hotlist display logic got moved to the treeview, which needs fonts set up) Move both the font and hotlist initialisation after the call to Wimp_Initialise to restore the desired behaviour.
* RISC OS: fix up following RUfl API changeJohn-Mark Bell2022-05-271-3/+3
|
* Browser window: include theme.hJohn-Mark Bell2022-05-271-0/+1
| | | | | This is necessary to avoid a warning on platforms that support theme installation.
* Save complete: silence warningJohn-Mark Bell2022-05-271-2/+2
| | | | | | Not all runtime library headers declare the first argument to regexec as being const so don't make our snregexec wrapper do so. Additionally, make save_complete_import_re static.
* 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.
* Amiga: Do not use pre-multiplied alpha with CompositeTags() (ie. OS4 RTG)Chris Young2022-04-012-8/+24
|
* Amiga: Use ARGB format bitmapsChris Young2022-04-013-28/+10
|
* GTK: Simplify opaque bitmap handling.Michael Drake2022-03-292-52/+6
| | | | | Avoid creating new bitmaps and copying in set_opaque by always using an RGBA format.
* Bitmap: Implement test_opaque in core instead of in every frontend.Michael Drake2022-03-2915-247/+38
|
* Bitmap: Try to squash -Wtautological-constant-out-of-range-compareMichael Drake2022-03-281-1/+2
|
* GTK: Bitmap: Converted bool not needed any more.Michael Drake2022-03-281-1/+0
|
* GTK: Drop bitmap format logging that's duplicated in the core.Michael Drake2022-03-281-1/+0
|
* Bitmap: Log the bitmap format that gets set.Michael Drake2022-03-281-0/+36
|
* GTK: Get the core to handle premultipled alpha bitmap format.Michael Drake2022-03-282-170/+1
|
* 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.
* Bitmap: Add support for premultiplied alpha conversion.Michael Drake2022-03-283-17/+164
|
* GTK: Search: Squash implicit declaration of malloc.Michael Drake2022-03-281-0/+1
|
* GTK: Scaffolding: Squash implicit declaration of malloc, free.Michael Drake2022-03-281-0/+1
|
* GTK: Misc: Squash strcmp and strdup implicit declaration warnings.Michael Drake2022-03-281-0/+2
|
* GTK: Set bitmap format to match Cairo format.Michael Drake2022-03-282-12/+47
| | | | Cairo format is native endian 0xAARRGGBB.
* Desktop: Browser window: Squash theme install start warning.Michael Drake2022-03-281-0/+4
|
* 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.