Michael Drake
1347f9e3a6
nsurl: Expose scheme type accessor.
2020-05-19 21:01:09 +01:00
Vincent Sanders
fbc0847db0
move ssl certificate serialisation into a url to the ssl_cert utility code
2020-05-09 22:42:12 +01:00
Michael Drake
9fa6ac7113
nscolour: Add function to get nscolour stylesheet.
2020-04-07 21:32:27 +01:00
Michael Drake
13e0faa261
Buildsystem: Build the nscolour module.
2020-04-07 21:32:27 +01:00
Michael Drake
2e844636cb
nscolour: Add nscolour module for NetSurf UI colours.
2020-04-07 21:32:27 +01:00
Michael Drake
bdd1d2039c
nsoption: Improve how we show colours in about:config.
2020-04-07 21:28:12 +01:00
Michael Drake
2da993756c
nsoption: Use colour_rb_swap macro.
2020-04-07 21:28:12 +01:00
Michael Drake
2503b17f02
nsurl: Fix parent path length.
2020-03-13 14:32:33 +00:00
Ori Bernstein
bf427e3b2a
fix nsurl sizeof/offsetof
2020-03-12 15:07:08 +00:00
Michael Drake
7d06021e21
nsurl: Make nusrl component dump more usable.
...
This is only a development aid, and not something that should
be called in production.
2020-03-11 11:02:40 +00:00
Chris Young
47b689c5e9
Use nsamiga as defined in makefile
2020-03-06 20:35:56 +00:00
Chris Young
9664a8ac76
Mod os3support files so file.c builds
2020-03-06 20:29:45 +00:00
Daniel Silverstone
5dd1a81f9c
utils/file: Add netsurf_recursive_rm
...
This is to be used to remove the disc cache (and other things
if useful in the future)
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 21:01:25 +00:00
Vincent Sanders
f172a21df9
about scheme certificate viewer initial implementation
2020-02-24 16:59:18 +00:00
Daniel Silverstone
b6d33785a0
hashmap: Fix a whitespace bogon
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 10:28:41 +00:00
Michael Drake
a59646cbf8
Hashmap: Check for failure of first malloc.
2020-02-24 08:23:45 +00:00
Daniel Silverstone
af53312b83
corestrings: add '443'
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 22:31:25 +00:00
Daniel Silverstone
5a5670410b
ssl_certs: Add dup_into
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 22:31:10 +00:00
Daniel Silverstone
088917641f
utils: Add hashmap_count()
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 20:59:40 +00:00
Daniel Silverstone
3e02961ec8
utils: Fix destroy of non-empty hashmap
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 20:59:40 +00:00
Daniel Silverstone
54b1960d18
utils: Add iteration API to hashmap
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 20:59:39 +00:00
Daniel Silverstone
fd80341513
utils: Add hashmap to sources
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 20:59:39 +00:00
Daniel Silverstone
61187d31ab
utils: Add hashmap parameter function types
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 20:59:39 +00:00
Vincent Sanders
0c34d06494
Keep the complete certificate chain from a fetch
...
Instead of extracting information from the X509 certificate chain in
the fetcher the entire chain is propagated in Distinguished Encoding
Rules (DER) format.
This allows all the information contained in a certificate chain to be
retained which can subsequently be presented to the user
2020-02-23 16:23:50 +00:00
Daniel Silverstone
a653e1e86e
utils: Add a generic hashmap and tests for it
...
In order to be able to use a generic hashmap in things such
as the fs_backing_store we want one to exist. Here it is,
along with some moderately comprehensive tests.
Current limits:
1. All keys and values are owned by the hashmap
2. The hashmap, while capable of different bucket counts
only has a single fixed count for now
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 15:13:47 +00:00
Daniel Silverstone
61fdb8fda6
JS: Add DOMImplementation::createHTMLDocument
...
This was the last major thing blocking basic jQuery support
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-21 16:19:00 +00:00
Vincent Sanders
d71d2632b4
limit monkey backtrace generation to libc where it is available
2020-01-11 10:23:14 +00:00
Daniel Silverstone
6f105c41c2
Add certificate-missing error code
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-12-03 09:41:58 +00:00
Vincent Sanders
f1e6690b25
fix coverity build target for gtk target change
2019-12-02 22:15:34 +00:00
Michael Drake
77b74137e7
CI: Update jenkins for gtk2 rename.
2019-12-02 14:29:51 +00:00
Michael Drake
23b7f7b333
corestrings: Add DOM event keypress strings.
2019-12-01 21:25:46 +00:00
Daniel Silverstone
868c42b344
Add x-ns-css corestring
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-12-01 17:05:28 +00:00
Niclas Rosenvik
2d57934be8
fix compatability macros setup for NetBSD
2019-11-13 17:58:06 +00:00
Vincent Sanders
fbaa971ad0
make config detection macro more obvious
2019-11-13 17:54:06 +00:00
Michael Drake
b757f94107
Utils: ring: Remove unused code.
2019-11-10 14:36:40 +00:00
Michael Drake
f0ff18d35c
Utils: ring: Whitespace fix.
2019-11-10 14:36:40 +00:00
Vincent Sanders
4eb06ad2cf
move the fallback text for about handler into messages handler
2019-10-30 21:33:27 +00:00
Vincent Sanders
4b0c3f0efe
add internal query handler for fetch errors
...
Any errors from the fetch which are not already handled are
reported with an internal query page instead of a modal
dialog.
This is much less invasive for the user and much more in
keeping with how this is handled by other browsers.
The handler is similar to the timeout handler but the
functionality is kept separate as it is intended timeout
handling be extended in future.
2019-10-30 18:56:38 +00:00
Vincent Sanders
76eac19227
add internal query page for request timeouts
2019-10-29 22:29:22 +00:00
Vincent Sanders
1176ce4271
Improve timeout error messaging
2019-10-28 23:50:01 +00:00
Vincent Sanders
813d0c70fe
another attempt to provide strtoull on amiga os 3
2019-10-20 16:45:00 +01:00
Vincent Sanders
640ee36cff
add missing include for amiga os 3 strtoull
2019-10-20 15:36:53 +01:00
Vincent Sanders
67c1c65bf2
attempt a different fix for amiga os 3 strtoull
2019-10-20 09:48:24 +01:00
Vincent Sanders
51c2d48096
amiga os 3 does not have strtoull so use strtoul as next best thing
2019-10-20 09:34:39 +01:00
Vincent Sanders
e01c24cef7
improve human_friendly_bytesize to cope with sizes up to 16 exibytes
2019-10-19 18:20:00 +01:00
Vincent Sanders
c82049eb84
improve brackets in fallback timeval macros
2019-10-12 15:41:19 +01:00
Vincent Sanders
4745fcf1c7
add regex compatability to utils and enable it for serenity OS
2019-10-12 14:50:49 +01:00
Vincent Sanders
872c3f5ef6
Update utils configuration header to cope with serenity OS
2019-10-11 17:24:07 +01:00
Vincent Sanders
3232c85269
add timer cmp,isset and clear to fallback macros and improve file documentation
2019-10-11 17:12:53 +01:00
Vincent Sanders
d2391b2dfd
make the use of libutf8proc coditional
...
allow the browser to be compiled without libutf8proc. Without this
library safe utf8 conversion and verification is not possible
so the browser will loose the ability to navigate to adresses
using the idna punycode scheme.
2019-10-03 00:28:08 +01:00