Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tests: Add tests for file: URL credentials and host handling. | Michael Drake | 2017-03-27 | 1 | -0/+6 |
| | |||||
* | nsurl: Don't allow credentials or host for file: URLs. | Michael Drake | 2017-03-27 | 1 | -0/+10 |
| | |||||
* | Tests: Add more file scheme URL parsing tests. | Michael Drake | 2017-03-27 | 1 | -0/+7 |
| | |||||
* | Tests: Fix file URL component parsing test to match corrected behaviour. | Michael Drake | 2017-03-27 | 1 | -1/+1 |
| | |||||
* | nsurl: Set path of "/" for file: URLs with empty path. | Michael Drake | 2017-03-27 | 1 | -3/+7 |
| | |||||
* | nsurl: Add detection of "file:" URL schemes. | Michael Drake | 2017-03-27 | 1 | -0/+10 |
| | |||||
* | nsurl: Add "file:" entry to enum of known URL schemes. | Michael Drake | 2017-03-27 | 1 | -0/+1 |
| | |||||
* | Duktape: Suppress warnings about increasing alignment of pointer type. | Michael Drake | 2017-03-23 | 1 | -2/+2 |
| | |||||
* | Duktape: Atari Mint lacks trunc, log2 and cbrt. | Michael Drake | 2017-03-23 | 1 | -1/+7 |
| | | | | | | | | build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x978): undefined reference to `_trunc' build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x990): undefined reference to `_log2' build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x99c): undefined reference to `_cbrt' | ||||
* | Duktape: Make declarations match definitions for duk_raw_read_xxx_be | Michael Drake | 2017-03-23 | 1 | -6/+6 |
| | | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.0.2 import. | ||||
* | Merge branch 'tlsa/duktape2' | Michael Drake | 2017-03-23 | 7 | -21034/+24912 |
|\ | |||||
| * | Duktape: Prevent clang static analysis. | Michael Drake | 2017-03-23 | 1 | -0/+3 |
| | | | | | | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.0.2 import. | ||||
| * | Duktape 2.X: duk_error now returns a duk_ret_t | Michael Drake | 2017-03-23 | 3 | -10/+6 |
| | | | | | | | | | | | | https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_error-duk_error_va-duk_throw-duk_fatal-have-a-return-value This also changes Console.bnd to return on error, rather than ignoring it. | ||||
| * | Duktape 2.x: duk_safe_call callbacks now have a void ptr user data param. | Michael Drake | 2017-03-23 | 1 | -5/+5 |
| | | | | | | | | https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_safe_call-userdata | ||||
| * | Duktape 2.X: Update to Duktape 2.0.2. | Michael Drake | 2017-03-23 | 4 | -21021/+24900 |
|/ | | | | | | | | | | | | | | | | Note that DUK_OPT_XXX feature selection has been removed. This means we can't use `DUK_OPT_HAVE_CUSTOM_H`, so we need another way to tell duktape about our custom header. This means assembling our own duktape distribution with a duktape "tools/configure.py" invocation. Instructions for updating duktape have been added to NetSurf's `Docs/` directory. See: https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_opt_xxx-feature-option-support-removed | ||||
* | HTML content handler: Don't let aborted contents get stuck in LOADING. | Michael Drake | 2017-03-23 | 1 | -0/+1 |
| | | | | | | | Previously, aborted HTML fetches left the content in LOADING state, and the hlcache clean code does not clean contents in the LOADING state. They, and their child contents ended up stuck in the cache forever. | ||||
* | HTML object fetch handler: Remove bogus parent content state assertion. | Michael Drake | 2017-03-23 | 1 | -2/+0 |
| | |||||
* | Improve content logging with content IDs (pointer values). | Michael Drake | 2017-03-23 | 2 | -6/+10 |
| | | | | This makes it easier to track a content by its ID through a log. | ||||
* | Add heap fault injection generator into tests | Vincent Sanders | 2017-03-22 | 4 | -43/+235 |
| | | | | | | | | | | This builds a dynamic library which can cause heap allocation (malloc) faliures after a specified number of calls. This is useful to allow tesing of memory failure allocation paths within netsurf test suites. An example test for core strings test has been added which incrementaly fails alloctions allowing all error paths in initialisation to be exercised. | ||||
* | Allow for more varied notification backmsgs | Chris Young | 2017-03-21 | 3 | -4/+30 |
| | |||||
* | fix mime sniff test with comment tag | Vincent Sanders | 2017-03-20 | 1 | -1/+1 |
| | |||||
* | extend mime sniff coverage with bad mp4 tests | Vincent Sanders | 2017-03-20 | 1 | -11/+51 |
| | |||||
* | Try to avoid extraneous progress notifications | Chris Young | 2017-03-20 | 1 | -4/+7 |
| | |||||
* | Enable displaying download progress within a notification. | Chris Young | 2017-03-20 | 4 | -7/+53 |
| | | | | | | Requires Enhancer Pack (Ringhio 53.65+) Defaults to 0 (off) as there is currently no check to see if this version is installed. This is currently potentially dangerous to toggle whilst a download is in progress, so cannot be changed through the GUI. | ||||
* | extend mime sniffing tests to cover rss and atom feed detection | Vincent Sanders | 2017-03-20 | 1 | -4/+34 |
| | |||||
* | extend mime sniffing test coverage to most of current implementation | Vincent Sanders | 2017-03-20 | 1 | -0/+111 |
| | |||||
* | add mime sniffing test cases for more header content types | Vincent Sanders | 2017-03-20 | 1 | -0/+252 |
| | |||||
* | extend mime sniffing test coverage | Vincent Sanders | 2017-03-20 | 1 | -3/+371 |
| | |||||
* | mimimal mime sniffing test | Vincent Sanders | 2017-03-20 | 3 | -4/+112 |
| | |||||
* | reduce hlcache handle api usage in mimesniff | Vincent Sanders | 2017-03-19 | 4 | -13/+12 |
| | |||||
* | make mimesniffing use core strings | Vincent Sanders | 2017-03-19 | 3 | -228/+134 |
| | |||||
* | rework corestring implementation | Vincent Sanders | 2017-03-19 | 3 | -1165/+430 |
| | | | | | This removes special casing for some strings and importantly the multiple huge lists of variables in code. | ||||
* | add test to messages buffer lookup api | Vincent Sanders | 2017-03-14 | 1 | -0/+23 |
| | |||||
* | free resources in messages test | Vincent Sanders | 2017-03-14 | 1 | -0/+9 |
| | |||||
* | add additional string handling tests | Vincent Sanders | 2017-03-14 | 1 | -0/+39 |
| | |||||
* | extend human readable size tests to cover buffer cycling | Vincent Sanders | 2017-03-14 | 1 | -0/+25 |
| | |||||
* | have more comprehensive separate test case for snstrjoin | Vincent Sanders | 2017-03-14 | 1 | -17/+101 |
| | |||||
* | add utility string handling | Vincent Sanders | 2017-03-14 | 1 | -0/+60 |
| | |||||
* | improve numerical ipv6 urldb prefix search test coverage | Vincent Sanders | 2017-03-13 | 1 | -0/+12 |
| | |||||
* | fix urldb numerical v6 address handling | Vincent Sanders | 2017-03-13 | 2 | -6/+25 |
| | |||||
* | iterate urldb v6 numerical adresses as well as ipv4 | Vincent Sanders | 2017-03-13 | 1 | -4/+34 |
| | |||||
* | add urldb tests for content type setting | Vincent Sanders | 2017-03-13 | 2 | -19/+23 |
| | |||||
* | make the urldb content type setting API return an error | Vincent Sanders | 2017-03-13 | 2 | -4/+8 |
| | |||||
* | add urldb tests for urls which cannot be found | Vincent Sanders | 2017-03-13 | 1 | -0/+45 |
| | |||||
* | add persistance flag tests to urldb | Vincent Sanders | 2017-03-13 | 3 | -30/+91 |
| | |||||
* | make urldb persistance setting API return an error | Vincent Sanders | 2017-03-13 | 2 | -8/+12 |
| | |||||
* | extend the session addition test with all the urls from the add/set/get test | Vincent Sanders | 2017-03-13 | 1 | -9/+20 |
| | |||||
* | extend urldb tests with url creation, setting and getting operations | Vincent Sanders | 2017-03-13 | 1 | -43/+105 |
| | |||||
* | change urldb_set_title API to return an error status | Vincent Sanders | 2017-03-13 | 2 | -14/+24 |
| | |||||
* | extend nsurl component API test case | Vincent Sanders | 2017-03-10 | 1 | -25/+46 |
| |