Commit Graph

14799 Commits

Author SHA1 Message Date
Vincent Sanders
4131d7a35c resolve missing fall through annotations 2024-03-06 10:00:35 +00:00
John-Mark Bell
4b937dc315 Cookie/History/Hotlist: use localtime()
Some platforms do not support the reentrant form, so don't use it.
2024-03-05 22:34:35 +00:00
John-Mark Bell
167676c335 Cookie/History/Hotlist: locale-aware time formatting
(as)ctime are defined as always formatting times using English
day/month names. As these views are for the user's benefit, use
the selected locale to format the information, instead.

Use of (as)ctime on RISC OS with UnixLib is fragile, anyway, as
that implementation always produces a locale-aware serialization
(which is not what the spec defines). This caused assertions to
fire in the previous implementation (which expected ctime to be
locale-unaware). Fixes #2869.
2024-03-05 21:43:48 +00:00
Vincent Sanders
b5f4d905f9 use attributes to indicate switch fall through instead of comments 2024-03-05 21:33:13 +00:00
Vincent Sanders
199f86dcf1 avoid increased alignment warning 2024-03-05 11:58:16 +00:00
Vincent Sanders
a8a5b16df3 fix c library API flags for freebsd when building GTK 2024-03-05 11:44:59 +00:00
Étienne Deparis
583ec72680 Resources: Add french static files 2024-03-01 16:17:15 +00:00
Étienne Deparis
5bb2e9de3c FatMessages: Improve french translation 2024-03-01 16:13:35 +00:00
Vincent Sanders
07d09bbdfc res variable could possibly be used without being set 2024-02-27 13:24:48 +00:00
Vincent Sanders
cea268ddc6 width variable is only required with misconfigured libjpeg 2024-02-27 13:23:49 +00:00
Vincent Sanders
b25ad06a34 resolve warnings in windows frontend 2024-02-27 13:22:28 +00:00
Vincent Sanders
2655109bff fix gtk frontend download destroy function definition 2024-02-27 12:34:24 +00:00
Vincent Sanders
7231217271 fix parameters on log function definitions 2024-02-27 12:31:08 +00:00
Vincent Sanders
138d8438d4 move build tool selection into separate makefile fragment
Also adds toolchain detection allowing for warning flags selection
2024-02-27 09:26:37 +00:00
John-Mark Bell
91b29b626f HTML/forms: fix radio button group handling 2024-02-25 15:00:39 +00:00
Vincent Sanders
bce0aa6fc9 Do not crash if radio form has no name attribute 2024-02-25 10:28:03 +00:00
Chris Young
f88e12f9d6 Checked and modified search engines list;
business.com - the search didn't work and even a manual search on NetSurf isn't working - REMOVED
omgili - now redirects to webz.io, which appears to need authentication and has an API but no HTML search - REMOVED
ask, youtube - don't display any results on NetSurf - HAVE LEFT IN FOR NOW
IMDB - the search doesn't appear to ever load and the IMDB homepage doesn't display correctly on NetSurf - HAVE LEFT IN FOR NOW
ESPN - host no longer exists and the search on espn.com doesn't work on NetSurf - REMOVED
Wikipedia - appeared to have an extra character which was preventing the search working correctly - FIXED
Stract - this is a new open source search engine - ADDED

In addition I have promoted DuckDuckGo and Wikipedia from the bottom of the list to where the two removed entries near the top were, to try and keep most default search engine preferences from changing.
2024-02-13 12:51:27 +00:00
John-Mark Bell
2a37e5e64c Revert "fetchers: drop support for ancient OpenSSL"
ciworker{8,12} (respectively: FreeBSD, aarch64 Linux) are running
obsolete OS versions. Disappointment ensues.

This reverts commit 6bb70e8810.
2024-02-11 19:06:07 +00:00
John-Mark Bell
6bb70e8810 fetchers: drop support for ancient OpenSSL
We now require 1.1.1 or later (and, preferably, 3.x).

Also take the opportunity to add support for LibreSSL 3.5.0 or
later (we still support ancient versions of this because 3.5.0 is
still relatively modern -- give it a few more years and support
for old LibreSSL can go, too)
2024-02-08 20:29:31 +00:00
John-Mark Bell
2ee5e21b09 fetchers/curl: modernise TLS 1.2 cipher suites
* Drop support for DHE completely (logjam plus compat woes
    caused other browsers to do this some time ago)
  * Minimise CBC-mode suites
  * Fall back to non-PFS RSA suites if really necessary (we treat
    this as a protocol downgrade as anything modern should either
    be using TLS 1.3 or have support for the ECDHE suites)
2024-02-04 18:52:02 +00:00
Chris Young
23b2672153 Amiga: Ensure menu reflects options GUI
For CSS setting
2024-01-23 14:40:23 +00:00
John-Mark Bell
283f73dcaa HSTS: propagate enabled state for HTTPS URLs, too
While we have no need to transform the URL in the HTTPS case, the
HSTS policy should still result in a hard failure when something
is untoward (i.e. not providing the user with a way to proceed).
Ensure this is so.
2024-01-20 18:12:52 +00:00
Chris Young
daa0fb5dc7 Amiga: Add "Enable CSS" to Prefs=>Advanced=>Misc 2024-01-15 13:29:24 +00:00
Chris Young
da33103357 Amiga: Ensure font kerning matches for width and plotting 2024-01-15 11:02:44 +00:00
Chris Young
9c5b07633f AmigaOS3: Revert disable backing store
For some reason this isn't finding the llcache_table
2024-01-15 11:01:43 +00:00
Chris Young
bef1ff3045 AmigaOS3: Disable backing store by default
It doesn't work on OS3, lots of write failed errors
2024-01-09 13:33:34 +00:00
Vincent Sanders
7c957b4564 remove pointless box structure 2024-01-08 22:40:11 +00:00
Vincent Sanders
ccb7562903 remove completely unused box pointer 2024-01-08 22:25:10 +00:00
Vincent Sanders
82410dbb9e Update copyright year 2024-01-05 17:29:03 +00:00
Chris Young
466361cb14 Amiga: Avoid double free of diskfont 2024-01-04 13:59:50 +00:00
Chris Young
c0904cf3fb Amiga: Update netsurf_os3.readme requirements
Now needs AmiSSL 5.13, and works on OS3.2/3.5/3.9
2024-01-04 13:30:20 +00:00
Chris Young
22e1f14106 Amiga: Add "Enable CSS" item to the Browser menu
This allows for a quick toggle of CSS next to the similar JS option
Enable CSS has not yet been added to the full prefs GUI
2024-01-03 17:07:32 +00:00
Vincent Sanders
50f3460426 Update version for next development cycle 2023-12-28 00:30:37 +00:00
Vincent Sanders
b128459593 Merge branch 'heads/releasing/3.11' 2023-12-28 00:27:33 +00:00
Vincent Sanders
3709818641 Update version files for release 2023-12-28 00:26:04 +00:00
Vincent Sanders
a82692093c Update copyright years and version numbers 2023-12-28 00:20:11 +00:00
John-Mark Bell
33ba78065a content/textplain: fix U+FFFD encoding 2023-12-21 00:57:08 +00:00
John-Mark Bell
94c5536129 RISC OS: update Acorn universal boot URLs
riscos.com reorganised years ago. Follow this reorganisation
(although it may be more sensible to stop pointing at this
abandonware and suggest using the RISC OS Open universal boot,
instead).
2023-12-20 00:03:11 +00:00
John-Mark Bell
df211ca3fb RISC OS: use https in distribution ReadMe 2023-12-20 00:01:17 +00:00
John-Mark Bell
f3e25d5c1f RISC OS: use https in Obey files
Also remove dead link to iyonix.com: the relevant information is
apparently now in Issue 3 of the Style Guide.
2023-12-19 23:54:32 +00:00
John-Mark Bell
157ec57cf2 RISC OS: use https in help links 2023-12-19 23:32:06 +00:00
John-Mark Bell
2af06447eb Update root CA bundle 2023-12-19 23:29:53 +00:00
John-Mark Bell
04a70af77d RISC OS: s/Freenode/libera.chat/ in Help files 2023-12-19 18:14:05 +00:00
John-Mark Bell
aab6948fcc RISC OS: update Iconv licensing information 2023-12-19 17:54:20 +00:00
John-Mark Bell
284ce17e61 RISC OS: switch to AcornURI from ROOL
This is the version of the module provided by ROOL in their
universal HardDisc images. It is long past time to retire the
cleanroom reimplementation we used to provide (which is no longer
actively maintained).
2023-12-19 17:54:20 +00:00
John-Mark Bell
adfd3b33fb RISC OS: expose !Cache licensing more obviously
Also, point at the appropriate origin for this component.
2023-12-19 17:54:20 +00:00
John-Mark Bell
d0b98dcacb RISC OS: resync !Unicode resource with ROOL
This resyncs the !Unicode resource with the latest version provided
by ROOL. Additionally, we place the full copyright information into
the 3rdParty tree.
2023-12-19 17:54:20 +00:00
John-Mark Bell
de8a76b2e9 RISC OS: update distribution ReadMe
* Point at ROOL Universal HardDisc4
  * Shuffle origin information into 3rdParty tree

Note that the origin for ARMEABISupport is approximate: at the
time of writing, the pre-built version available there is 1.03,
but we require 1.04 or later (sources for which are part of
GCCSDK in the usual way). We expect that an updated release binary
will eventually be published there, so this will do.
2023-12-19 17:54:20 +00:00
Vincent Sanders
bb3026b19d Fix corestring test 2023-12-13 14:33:47 +00:00
Vincent Sanders
188f6dd5c0 Fix use of uninitialised code variable in error reporting 2023-12-13 13:52:22 +00:00