Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | extend nsurl parent API tests | Vincent Sanders | 2017-03-10 | 1 | -48/+67 |
| | |||||
* | add nsurl get_utf8 test case | Vincent Sanders | 2017-03-10 | 1 | -7/+80 |
| | |||||
* | nsurl tests were not exercising unicode | Vincent Sanders | 2017-03-10 | 1 | -0/+3 |
| | |||||
* | replace tmpnam with something more suitable for the test files | Vincent Sanders | 2017-03-09 | 2 | -7/+30 |
| | |||||
* | fix compilation warnings in urldb test | Vincent Sanders | 2017-03-09 | 1 | -18/+10 |
| | |||||
* | actually check the generated database files against reference test data | Vincent Sanders | 2017-03-08 | 5 | -2/+138 |
| | |||||
* | remove urldb_add_host and path from public API | Vincent Sanders | 2017-03-08 | 3 | -255/+225 |
| | | | | | | | | | | The urldb_add_host and urldb_add_path API were only public for the urldb test code which was calling them incorrectly in any case as the url bloom filters were not updated so serialising and adding data to entries was inconsistent. This also changes the tests to use the urldb_add_url API which is less buggy and results in a smaller, cleaner urldb API. | ||||
* | make update data api return an result | Vincent Sanders | 2017-03-08 | 2 | -4/+8 |
| | |||||
* | use robust handling of time_t value (de)serialisation | Vincent Sanders | 2017-03-08 | 1 | -6/+35 |
| | | | | | | The previous implementation was wrong on systems where time_t was not an int type. This changes urldb to use the portable implementation netsurf has available. | ||||
* | Change url entry expiry timestamps in test database to far future | Vincent Sanders | 2017-03-08 | 1 | -5/+5 |
| | |||||
* | add a urldb test for a complete session where something is added to the database | Vincent Sanders | 2017-03-07 | 1 | -0/+49 |
| | |||||
* | clean up url database documentation comments and formatting | Vincent Sanders | 2017-03-06 | 1 | -334/+467 |
| | |||||
* | Revert "make urldb internal parse macros less prone to control flow errors" | Vincent Sanders | 2017-03-05 | 1 | -4/+4 |
| | | | | | This reverts commit 718da3ffffd1181a0b5b2d590214bc408ca44117. These macros are used in a way that causes safe macros to break | ||||
* | fix memory leak in beos instantiate error path | Vincent Sanders | 2017-03-05 | 1 | -1/+3 |
| | |||||
* | fix uninitialised variable usage in atari ssl viewer | Vincent Sanders | 2017-03-05 | 1 | -8/+11 |
| | | | | cppcheck identified uninitialised variable usage error | ||||
* | attempt to remove unintended sign extension warning in fs backing store | Vincent Sanders | 2017-03-05 | 1 | -2/+2 |
| | |||||
* | make urldb internal parse macros less prone to control flow errors | Vincent Sanders | 2017-03-05 | 1 | -4/+4 |
| | | | | fixes issue highlighted by coverity (CID 1361696) |