Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | layout: Drop redundant else block | Michael Drake | 2022-10-29 | 1 | -2/+0 |
| | |||||
* | css: Update display property helper for grid | Michael Drake | 2022-10-29 | 1 | -7/+21 |
| | |||||
* | GitHub CI: Add monkey short-internet test | Michael Drake | 2022-10-23 | 1 | -0/+62 |
| | |||||
* | GitHub CI: Add linux build and unit test job | Michael Drake | 2022-10-23 | 1 | -0/+104 |
| | |||||
* | GitHub CI: Add static analysis. | Michael Drake | 2022-10-23 | 1 | -0/+58 |
| | |||||
* | env.sh: Add NetSurf clone skip and shallow clone switches. | Michael Drake | 2022-10-23 | 1 | -3/+24 |
| | |||||
* | content: image cache: Avoid int overflow before size_t conversion | Michael Drake | 2022-10-23 | 1 | -1/+1 |
| | |||||
* | utils: ssl_certs: Fix potential snprintf overflow | Michael Drake | 2022-10-23 | 1 | -7/+28 |
| | |||||
* | utils: file: Use fstatat and unlinkat | Michael Drake | 2022-10-23 | 1 | -12/+27 |
| | |||||
* | urldb: Handle snprintf error | Michael Drake | 2022-10-23 | 1 | -1/+4 |
| | |||||
* | gtk: toolbar: Handle snprintf error | Michael Drake | 2022-10-23 | 1 | -1/+8 |
| | |||||
* | gtk: pixbuf creation: Avoid int overflow before size_t conversion | Michael Drake | 2022-10-23 | 1 | -1/+1 |
| | |||||
* | js: console: Fix argument type for formatting function | Michael Drake | 2022-10-23 | 1 | -1/+1 |
| | |||||
* | js: image data: Avoid int overflow before size_t conversion | Michael Drake | 2022-10-23 | 1 | -1/+1 |
| | |||||
* | Test: Add prefer_dark_mode to reference choices data | Michael Drake | 2022-10-23 | 1 | -0/+1 |
| | |||||
* | RISC OS: Image: Don't override sprite mode for opaque plot type | Michael Drake | 2022-10-05 | 1 | -5/+8 |
| | | | | | | This fixes local history thumbnails, which are opaque, when plotted on a version of RISC OS that supports alpha sprites, and Tinct is being avoided. | ||||
* | Ensure image cache logging does not cause division by zero at exit | Vincent Sanders | 2022-09-11 | 1 | -6/+6 |
| | |||||
* | RISC OS: Allow text selection in URL bar (RO5.28 onwards) | John-Mark Bell | 2022-09-04 | 1 | -1/+4 |
| | |||||
* | RISC OS: Dragging favicon drag-saves URL | Michael Drake | 2022-08-28 | 1 | -0/+1 |
| | |||||
* | RISC OS: Image: Fix EX0 EY0 plot when avoiding Tinct | Michael Drake | 2022-08-25 | 1 | -6/+20 |
| | |||||
* | Amiga: Fix page theme current selection | Chris Young | 2022-08-05 | 1 | -1/+1 |
| | |||||
* | Amiga: Add page theme toggle | Chris Young | 2022-08-03 | 2 | -9/+77 |
| | |||||
* | HTML: CSS media spec: Pass in dark mode preference. | Michael Drake | 2022-07-30 | 1 | -0/+20 |
| | |||||
* | Core: Options: Add user preference for dark mode colours | Michael Drake | 2022-07-30 | 1 | -0/+3 |
| | |||||
* | Bitmap: Remove misleading format documentation. | Michael Drake | 2022-06-14 | 1 | -27/+5 |
| | |||||
* | RISC OS: fix awrender glue for EABI | John-Mark Bell | 2022-06-05 | 1 | -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 snafu | John-Mark Bell | 2022-06-03 | 1 | -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 Bell | 2022-06-03 | 1 | -1/+1 |
| | |||||
* | RISC OS: fix snprintf usage | John-Mark Bell | 2022-06-03 | 2 | -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 strncpy | John-Mark Bell | 2022-06-03 | 4 | -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 markers | John-Mark Bell | 2022-06-03 | 2 | -1/+2 |
| | |||||
* | inttypes: custom format for UnixLib ssize_t | John-Mark Bell | 2022-06-03 | 3 | -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-gnueabihf | John-Mark Bell | 2022-06-03 | 1 | -1/+1 |
| | |||||
* | Buildsystem: update for new RISC OS toolchain | John-Mark Bell | 2022-06-03 | 3 | -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 Drake | 2022-05-29 | 1 | -0/+3 |
| | |||||
* | Duktape: Update to 2.7.0 release. | Michael Drake | 2022-05-29 | 3 | -11565/+15231 |
| | |||||
* | About/Cert: get EC key details using OpenSSL 3 APIs | John-Mark Bell | 2022-05-28 | 1 | -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 APIs | John-Mark Bell | 2022-05-28 | 1 | -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 size | John-Mark Bell | 2022-05-28 | 1 | -43/+5 |
| | |||||
* | About/Cert: contain pkey inspection in type methods | John-Mark Bell | 2022-05-28 | 1 | -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 spec | John-Mark Bell | 2022-05-27 | 3 | -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 present | John-Mark Bell | 2022-05-27 | 2 | -1/+4 |
| | |||||
* | Update root CA bundle | John-Mark Bell | 2022-05-27 | 1 | -181/+374 |
| | |||||
* | Fix up size of download URI field in Dutch templates | John-Mark Bell | 2022-05-27 | 1 | -1/+1 |
| | |||||
* | s/http/https/ in user-facing URIs | John-Mark Bell | 2022-05-27 | 26 | -252/+250 |
| | |||||
* | RISC OS: initialise font subsystem after Wimp_Initialise | John-Mark Bell | 2022-05-27 | 1 | -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 change | John-Mark Bell | 2022-05-27 | 1 | -3/+3 |
| | |||||
* | Browser window: include theme.h | John-Mark Bell | 2022-05-27 | 1 | -0/+1 |
| | | | | | This is necessary to avoid a warning on platforms that support theme installation. | ||||
* | Save complete: silence warning | John-Mark Bell | 2022-05-27 | 1 | -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 warning | John-Mark Bell | 2022-05-27 | 1 | -0/+1 |
| | | | | This file uses strndup, so needs config.h including to define it. |