Vincent Sanders
e34f1c8b33
ensure background fraction is a proper fraction
2020-06-29 08:50:39 +01:00
Vincent Sanders
b47a897699
update idna properties to unicode 11
2020-06-27 23:30:54 +01:00
Vincent Sanders
421d796e9b
split tools and utils
2020-06-27 23:30:54 +01:00
Vincent Sanders
1dab82d655
Improve user choices file processing
...
Improve the key/value processing in choices file.
Fixes several oddities discovered including:
removing the last character of the last value.
possible buffer overflow with certian values
2020-06-27 23:24:59 +01:00
Vincent Sanders
1acf3abb39
make the idna properties header building an explicit target
2020-06-25 09:32:27 +01:00
Vincent Sanders
567390f59d
allow idna_props header to be regenerated
...
add commandline procesing to the idna header generation tool
add make rules to obtain idna source files and convert them into a header
2020-06-22 23:08:03 +01:00
Vincent Sanders
54e06e7d58
move all the build tools to utils
...
move the source and make rules of the convert image and font tools
to the utils directory. This puts all the rules for build tools together.
2020-06-22 22:45:10 +01:00
Vincent Sanders
b2a1aa9b88
improvements from review
2020-06-21 12:08:24 +01:00
Vincent Sanders
f31fb08c73
add gzip compression support to c split-messages implementation
2020-06-15 09:06:25 +01:00
Vincent Sanders
d5d14df76b
initial implementation of split messages in c
...
functional but the compression switch still needs implementing
2020-06-15 00:21:06 +01:00
Vincent Sanders
154a6b6987
implement a minimal xxd for builds to remove external dependancy
2020-06-03 23:34:57 +01:00
Vincent Sanders
9071b450be
update jenkins build script after 3.10 release
2020-05-25 08:57:09 +01:00
Daniel Silverstone
04e9e75b27
idna: Do not overcopy utf8 buffer as though it were ucs4
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-24 10:38:21 +01:00
Michael Drake
994827ab82
NS colour: Add colour scheme for text inputs.
2020-05-23 21:33:42 +01:00
Daniel Silverstone
4d927ff409
corestrings: Add a key for canvas node data
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 15:58:38 +01:00
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