Vincent Sanders
dbe5d1ef87
Implement simple jpeg xl image handler
2023-11-26 17:26:09 +00:00
Michael Drake
c987b043b1
Clean up print format specifier usage
2023-06-17 11:20:09 +01:00
DeltaVonNeumann
a16d5ff10b
Avoid integer types with platform dependent size
2023-06-17 10:29:39 +01:00
John-Mark Bell
b56d74b5df
Retire long-dead code
2023-03-12 21:38:10 +00:00
Daniel Silverstone
764fca4f3a
utils/utf8.c: Fix missing format string for snprintf
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-11-26 16:55:47 +00:00
Vincent Sanders
0c25ae5e8e
remove the ambiguity around the reallocation in utf8_to_html()
2022-11-26 15:21:16 +00:00
Vincent Sanders
1d82ef411a
consolodate duplicated conversion descriptor cache code
2022-11-26 15:21:16 +00:00
Vincent Sanders
6780766fb7
Improve utf8 conversion function
...
Newer compilers were (correctly) pointing out use after free.
Slightly reworkeed conversion function to remove compiler warnings
and clean up implementation.
2022-11-26 15:21:16 +00:00
John-Mark Bell
0718e58681
utils: Use fstatat and unlinkat if supported
2022-11-02 17:28:18 +00:00
Michael Drake
1810fbfe22
Revert "utils: file: Use fstatat and unlinkat"
...
On may of the platforms we build for (RISC OS, Windows, Amiga OS4,
Amiga OS3, and Atari), this was causing:
- utils/file.c:329 error: 'O_DIRECTORY' undeclared
- utils/file.c:357 error: 'AT_SYMLINK_NOFOLLOW' undeclared
This reverts commit ef00567b029ec007ceab342a2ed1addaa5f63be6.
2022-11-02 13:35:11 +00:00
Michael Drake
15b23e1e3c
log: Add flex logging catagory
2022-10-29 20:30:48 +01:00
Michael Drake
6c4343a742
utils: ssl_certs: Fix potential snprintf overflow
2022-10-23 17:22:56 +01:00
Michael Drake
ef00567b02
utils: file: Use fstatat and unlinkat
2022-10-23 17:22:56 +01:00
John-Mark Bell
6f99d28488
UA: align with compat spec
...
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).
2022-05-27 21:47:02 +01:00
Michael Drake
32d9de461e
util: corestring: Add DOM "reversed" string.
2021-02-10 17:59:12 +00:00
Michael Drake
4c941254c8
util: corestring: Add DOM "start" string.
2021-02-10 17:08:23 +00:00
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