summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* nsurl: Fix parent path length.Michael Drake2020-03-131-1/+1
|
* fix nsurl sizeof/offsetofOri Bernstein2020-03-121-2/+2
|
* nsurl: Make nusrl component dump more usable.Michael Drake2020-03-113-45/+44
| | | | | This is only a development aid, and not something that should be called in production.
* Use nsamiga as defined in makefileChris Young2020-03-061-1/+1
|
* Mod os3support files so file.c buildsChris Young2020-03-061-0/+4
|
* utils/file: Add netsurf_recursive_rmDaniel Silverstone2020-02-242-0/+86
| | | | | | | 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>
* about scheme certificate viewer initial implementationVincent Sanders2020-02-241-0/+87
|
* hashmap: Fix a whitespace bogonDaniel Silverstone2020-02-241-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Hashmap: Check for failure of first malloc.Michael Drake2020-02-241-0/+3
|
* corestrings: add '443'Daniel Silverstone2020-02-231-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* ssl_certs: Add dup_intoDaniel Silverstone2020-02-231-0/+37
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* utils: Add hashmap_count()Daniel Silverstone2020-02-232-3/+28
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* utils: Fix destroy of non-empty hashmapDaniel Silverstone2020-02-231-2/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* utils: Add iteration API to hashmapDaniel Silverstone2020-02-232-0/+41
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* utils: Add hashmap to sourcesDaniel Silverstone2020-02-231-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* utils: Add hashmap parameter function typesDaniel Silverstone2020-02-231-6/+36
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Keep the complete certificate chain from a fetchVincent Sanders2020-02-232-0/+139
| | | | | | | | | 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
* utils: Add a generic hashmap and tests for itDaniel Silverstone2020-02-232-0/+352
| | | | | | | | | | | | | | 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>
* JS: Add DOMImplementation::createHTMLDocumentDaniel Silverstone2020-02-211-0/+2
| | | | | | This was the last major thing blocking basic jQuery support Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* limit monkey backtrace generation to libc where it is availableVincent Sanders2020-01-111-0/+6
|
* Add certificate-missing error codeDaniel Silverstone2019-12-031-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* fix coverity build target for gtk target changeVincent Sanders2019-12-021-2/+2
|
* CI: Update jenkins for gtk2 rename.Michael Drake2019-12-021-2/+2
|
* corestrings: Add DOM event keypress strings.Michael Drake2019-12-011-0/+9
|
* Add x-ns-css corestringDaniel Silverstone2019-12-011-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* fix compatability macros setup for NetBSDNiclas Rosenvik2019-11-131-1/+11
|
* make config detection macro more obviousVincent Sanders2019-11-131-1/+7
|
* Utils: ring: Remove unused code.Michael Drake2019-11-101-31/+0
|
* Utils: ring: Whitespace fix.Michael Drake2019-11-101-1/+1
|
* move the fallback text for about handler into messages handlerVincent Sanders2019-10-303-29/+85
|
* add internal query handler for fetch errorsVincent Sanders2019-10-301-0/+2
| | | | | | | | | | | | | 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.
* add internal query page for request timeoutsVincent Sanders2019-10-291-0/+2
|
* Improve timeout error messagingVincent Sanders2019-10-282-0/+5
|
* another attempt to provide strtoull on amiga os 3Vincent Sanders2019-10-201-1/+1
|
* add missing include for amiga os 3 strtoullVincent Sanders2019-10-201-0/+2
|
* attempt a different fix for amiga os 3 strtoullVincent Sanders2019-10-203-4/+21
|
* amiga os 3 does not have strtoull so use strtoul as next best thingVincent Sanders2019-10-201-0/+4
|
* improve human_friendly_bytesize to cope with sizes up to 16 exibytesVincent Sanders2019-10-192-16/+58
|
* improve brackets in fallback timeval macrosVincent Sanders2019-10-121-3/+3
|
* add regex compatability to utils and enable it for serenity OSVincent Sanders2019-10-123-12/+128
|
* Update utils configuration header to cope with serenity OSVincent Sanders2019-10-111-4/+15
|
* add timer cmp,isset and clear to fallback macros and improve file documentationVincent Sanders2019-10-111-3/+21
|
* make the use of libutf8proc coditionalVincent Sanders2019-10-032-180/+260
| | | | | | | 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.
* useragent: Add a free_user_agent_string() functionDaniel Silverstone2019-09-072-0/+17
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* browser: Turn internal nav URLs into corestring_nsurlsDaniel Silverstone2019-08-211-0/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* SSL Error: Enable OpenSSL hostname verificationDaniel Silverstone2019-08-141-2/+2
| | | | | | | | Since OpenSSL 1.0.2 there has been hostname verification support which cURL doesn't turn on for some reason. Turn it on so that we get better hostname verification handling. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* add common name ssl certificate errorVincent Sanders2019-08-101-0/+5
| | | | | This adds an ssl faliure code and explanation why curl fetcher does not currently set it.
* Support SSL verification through new about: handlerDaniel Silverstone2019-08-063-0/+58
| | | | | | | | In doing this, also propagate why the certificates were bad so that the page can display a reason. We will need FatMessages for all these. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Reimplement handling of BAD_AUTH inside browser_windowDaniel Silverstone2019-08-061-0/+1
| | | | | | | | | | | | | We now handle authentication requests via an `about:` page which presents a nice form built into the browser window. In order to do this, we add internal navigation as a concept to the browser window and we strip the 401login support from all frontends except monkey. The 401login callback is now intended for password safe type support rather than an immediately interactive prompt. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Excise the llcache query pathway.Daniel Silverstone2019-08-052-0/+15
| | | | | | | | In further preparation for the auth and cert queries being handled as special contents from `about:` this excises the query pathway from the llcache pretty much entirely. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>