Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix up tests with nslog changes | Daniel Silverstone | 2017-09-09 | 1 | -0/+3 |
| | |||||
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 1 | -7/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7); | ||||
* | update cookie database tests to not use expired cookie data | Vincent Sanders | 2017-07-26 | 1 | -2/+5 |
| | |||||
* | 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 | 1 | -2/+13 |
| | |||||
* | 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 | 1 | -17/+21 |
| | |||||
* | 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 | 1 | -21/+90 |
| | |||||
* | 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 |
| | |||||
* | replace tmpnam with something more suitable for the test files | Vincent Sanders | 2017-03-09 | 1 | -4/+16 |
| | |||||
* | 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 | 1 | -0/+60 |
| | |||||
* | remove urldb_add_host and path from public API | Vincent Sanders | 2017-03-08 | 1 | -75/+51 |
| | | | | | | | | | | 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. | ||||
* | add a urldb test for a complete session where something is added to the database | Vincent Sanders | 2017-03-07 | 1 | -0/+49 |
| | |||||
* | add more tests for partial iterator in url database | Vincent Sanders | 2016-08-09 | 1 | -3/+83 |
| | |||||
* | add more API coverage to url database unit tests | Vincent Sanders | 2016-08-09 | 1 | -6/+21 |
| | |||||
* | extend url database unit testing to cover more API | Vincent Sanders | 2016-08-09 | 1 | -3/+92 |
| | |||||
* | add cookies tests to url database unit testing | Vincent Sanders | 2016-08-09 | 1 | -11/+116 |
| | |||||
* | add cookie database load and restore unit test | Vincent Sanders | 2016-08-09 | 1 | -3/+12 |
| | |||||
* | extend url database checks to cover authentication detail setter and getter | Vincent Sanders | 2016-08-08 | 1 | -2/+23 |
| | |||||
* | add some basic url database iteration tests | Vincent Sanders | 2016-08-08 | 1 | -36/+79 |
| | |||||
* | add url databse write output to unit test | Vincent Sanders | 2016-08-08 | 1 | -3/+18 |
| | |||||
* | Fix warnings in unit tests | Vincent Sanders | 2016-08-08 | 1 | -43/+44 |
| | |||||
* | Tests: Squash some warnings. | Michael Drake | 2016-08-08 | 1 | -5/+5 |
| | |||||
* | wrap urldb tests in check harness and add minimal session test | Vincent Sanders | 2016-08-08 | 1 | -55/+145 |
| | |||||
* | reduce curl usage to fetcher, url unescaping and time parsing | Vincent Sanders | 2016-06-29 | 1 | -2/+0 |
| | |||||
* | fix url database test after API header changes | Vincent Sanders | 2016-06-14 | 1 | -0/+1 |
| | |||||
* | move bitmap API header to core include directory | Vincent Sanders | 2016-05-26 | 1 | -1/+1 |
| | |||||
* | move image content handlers to accomodate core build changes | Vincent Sanders | 2016-05-23 | 1 | -1/+1 |
| | |||||
* | remove all core usage of warn_user API | Vincent Sanders | 2016-04-26 | 1 | -11/+0 |
| | |||||
* | convert nsurl tests to use check unit test framework | Vincent Sanders | 2015-07-08 | 1 | -2/+0 |
| | |||||
* | Restructure test makefile to be called from main makefile | Vincent Sanders | 2015-07-07 | 1 | -1/+3 |
| | | | | | | This changes the make test to be executed from the main netsurf makefile instead of being standalone. It also fixes up the urldbtest to run. | ||||
* | make nsurl unit test work again | Vincent Sanders | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | Change LOG() macro to be varadic | Vincent Sanders | 2015-05-28 | 1 | -13/+13 |
| | | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging. | ||||
* | remove unused url_init function | Vincent Sanders | 2014-10-31 | 1 | -1/+0 |
| | |||||
* | Remove old hotlist, cookies, and history_global_core modules. | Michael Drake | 2013-09-02 | 1 | -3/+3 |
| | | | | New versions of expand/collapse node functions for these modules aren't yet implemented. | ||||
* | Fix up for cookies_old rename. | Michael Drake | 2013-07-22 | 1 | -1/+1 |
| | |||||
* | move options include | Vincent Sanders | 2013-05-28 | 1 | -1/+1 |
| | |||||
* | Fix for http_only param change. | Michael Drake | 2013-04-08 | 1 | -2/+2 |
| | |||||
* | Add a test for file scheme. | Michael Drake | 2012-10-10 | 1 | -0/+4 |
| | |||||
* | Port urldb to nsurl. Won't build since rest of NS needs ported to new urldb ↵ | Michael Drake | 2012-10-08 | 1 | -61/+180 |
| | | | | | | | | | | | | | | | | | | API. + urldb API now takes URLs as nsurl, rather than string. + urldb internally stores full URLs with nsurl ref. + urldb internally stores schemes as lwc_string. + Load and save of cookies and URL file may be slower since we now need to create a nsurl. + Everything else should be faster, and there should be much less allocating/freeing and much less parsing of the same url over and over again. + Updated urldbtest for new urldb API. + urldbtest now cleans up at the end + Added lwc_string itterator to end of urldbtest + Adding some broken URLs (such as http:domain/) will now work, since nsurl fixes (http://domain/) them. | ||||
* | Fix cookie expiration | John Mark Bell | 2011-11-22 | 1 | -0/+6 |
| | | | | svn path=/trunk/netsurf/; revision=13161 | ||||
* | Minor fix for path defaulting: retain rightmost / iff it's the first ↵ | John Mark Bell | 2011-01-29 | 1 | -0/+5 |
| | | | | | | character in the path svn path=/trunk/netsurf/; revision=11524 | ||||
* | Add test for purely numeric subdomains (currently fails) | John Mark Bell | 2011-01-12 | 1 | -2/+3 |
| | | | | svn path=/trunk/netsurf/; revision=11289 | ||||
* | Fix testsuite | John Mark Bell | 2011-01-12 | 1 | -1/+8 |
| | | | | svn path=/trunk/netsurf/; revision=11288 | ||||
* | move url database test to test directory | Vincent Sanders | 2010-06-29 | 1 | -0/+243 |
svn path=/trunk/netsurf/; revision=10589 |