Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 1 | -25/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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); | ||||
* | fix coverity issue 1372473 Out-of-bounds write | Vincent Sanders | 2017-06-09 | 1 | -2/+2 |
| | |||||
* | Update documentation removing junk and moving to markdown for most text files | Vincent Sanders | 2017-06-09 | 1 | -1/+1 |
| | |||||
* | fix urldb numerical v6 address handling | Vincent Sanders | 2017-03-13 | 1 | -4/+12 |
| | |||||
* | make the urldb content type setting API return an error | Vincent Sanders | 2017-03-13 | 1 | -3/+6 |
| | |||||
* | make urldb persistance setting API return an error | Vincent Sanders | 2017-03-13 | 1 | -3/+6 |
| | |||||
* | change urldb_set_title API to return an error status | Vincent Sanders | 2017-03-13 | 1 | -13/+22 |
| | |||||
* | actually check the generated database files against reference test data | Vincent Sanders | 2017-03-08 | 1 | -1/+0 |
| | |||||
* | remove urldb_add_host and path from public API | Vincent Sanders | 2017-03-08 | 1 | -155/+174 |
| | | | | | | | | | | 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 | 1 | -3/+6 |
| | |||||
* | 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. | ||||
* | 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 | ||||
* | 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) | ||||
* | fix some doxygen errors | Vincent Sanders | 2017-02-24 | 1 | -1/+1 |
| | |||||
* | fix unused variable warning on non public suffix library builds | Vincent Sanders | 2017-02-23 | 1 | -1/+3 |
| | |||||
* | enable use of netsurf public suffix library to prevent supercookies | Vincent Sanders | 2016-09-20 | 1 | -0/+18 |
| | |||||
* | if the cookie is a session cookie indicate it | Vincent Sanders | 2016-09-13 | 1 | -0/+6 |
| | | | | | previously session cookies were simply displayed as having an expiry in 1970 which was unhelpful. | ||||
* | make urldb parsing of ascii data explicit | Vincent Sanders | 2016-09-10 | 1 | -7/+10 |
| | |||||
* | ensure url database destructor cleans up correctly | Vincent Sanders | 2016-08-09 | 1 | -2/+7 |
| | |||||
* | extend url database unit testing to cover more API | Vincent Sanders | 2016-08-09 | 1 | -10/+24 |
| | |||||
* | fix urldb warning and test build | Vincent Sanders | 2016-08-08 | 1 | -3/+4 |
| | |||||
* | update urldb dump to use LOG rather than writing to stderr directly | Vincent Sanders | 2016-08-08 | 1 | -8/+19 |
| | |||||
* | msplit public url database API out for frontends | Vincent Sanders | 2016-06-13 | 1 | -3/+5 |
| | |||||
* | 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 |
| | |||||
* | Reduce unecessary use of networking headers | Vincent Sanders | 2016-04-17 | 1 | -1/+1 |
| | | | | | | | | The utility configuration header dragged in a number of bsd sockets and related API as a side effect of setting up the configuration. By splitting the header and API setup into a separate header only the small number of places that need the functionality explitly include it. | ||||
* | urldb no longer uses curl directly but it does need correct network includes | Vincent Sanders | 2016-04-17 | 1 | -0/+1 |
| | | | | | | The update to remove curl usage from urldb must pull in the utility config header instead to get inet_aton and such or compoles on some platforms fail. | ||||
* | create date and time to seconds since epoch processing utility function | Vincent Sanders | 2016-04-16 | 1 | -12/+11 |
| | | | | | | | currently NetSurf uses curl_getdate to convert textural date and time strings into seconds since epoch. It is betetr to move this functionality to a utility function so curl_getdate can easily be replaced if required. | ||||
* | revert urldb include fixes as tehy cause build issues elsewhere and failed ↵ | Vincent Sanders | 2016-02-12 | 1 | -4/+0 |
| | | | | to fix the warning | ||||
* | fix more freebsd warnings | Vincent Sanders | 2016-02-12 | 1 | -0/+4 |
| | |||||
* | URLdb doesn't store 'mailto' urls, so add early exit to lookup. | Michael Drake | 2016-01-08 | 1 | -0/+6 |
| | |||||
* | Fix crazy indentation. | Michael Drake | 2016-01-08 | 1 | -3/+2 |
| | |||||
* | fixup all the remaining logging macro callsites | Vincent Sanders | 2015-05-28 | 1 | -2/+2 |
| | | | | | The semantic patch tool appears to have missed some difficult to reason about callsites which have now been manually cleaned up | ||||
* | Change LOG() macro to be varadic | Vincent Sanders | 2015-05-28 | 1 | -21/+20 |
| | | | | | | | | | | | | 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. | ||||
* | Move bitmap operations into an operation table. | Vincent Sanders | 2015-04-13 | 1 | -9/+12 |
| | | | | | | | The generic bitmap handlers provided by each frontend are called back from the core and therefore should be in an operation table. This was one of the very few remaining interfaces stopping the core code from being split into a library. | ||||
* | Remove url from content thumbnailers API | Vincent Sanders | 2015-03-15 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | The content thumbnailers for each frontend were being provided the contents url. This was only ever used to call the urldb thumbnail setting API. This changes it so the single callsite that passed a valid url adds the bitmap to that url itself in desktop_history.c instead of forcing every frontend to require the urldb API. Additionally the old API could pass the url as NULL which was causing asserts where this was not an expected parameter value. Because of this this fixes bug #2286 which was also present in the monkey frontend as both called nsurl_access() on the url without the NULL check and caused an assertion. | ||||
* | Doxygen fixes | Vincent Sanders | 2014-11-09 | 1 | -2/+2 |
| | |||||
* | restructure urldb source | Vincent Sanders | 2014-11-01 | 1 | -2478/+2322 |
| | | | | | remove forward declarations and restructure. exported functions are also now documented in the urldb.h header. | ||||
* | Move host_is_ip_address into urldb, as that's the only thing that cares. | Michael Drake | 2014-10-31 | 1 | -7/+100 |
| | |||||
* | remove the die API from the core. | Vincent Sanders | 2014-10-26 | 1 | -12/+15 |
| | | | | | | | | The die() API for abnormal termination does not belong within the core of netsurf and instead errors are propogated back to the callers. This is the final part of this change and the API is now only used within some parts of the frontends | ||||
* | Remove unused #include | Michael Drake | 2014-05-15 | 1 | -1/+0 |
| | | | | Persistent thumbnail code was ripped out of urldb ages ago. | ||||
* | make nsurl_defragment() API more obvious and remove duplicated parameter ↵ | Vincent Sanders | 2014-03-09 | 1 | -14/+5 |
| | | | | checking | ||||
* | Get referer host from referer url. | Michael Drake | 2013-11-18 | 1 | -1/+1 |
| | |||||
* | Fix leak of path_query, when there is no host and scheme isn't file. | Michael Drake | 2013-10-23 | 1 | -2/+6 |
| | |||||
* | Remove old hotlist, cookies, and history_global_core modules. | Michael Drake | 2013-09-02 | 1 | -1/+0 |
| | | | | New versions of expand/collapse node functions for these modules aren't yet implemented. | ||||
* | Use new cookie manager. | Michael Drake | 2013-09-02 | 1 | -39/+8 |
| | |||||
* | Make the parasitic hack of the old tree code more robust. Now if the ↵ | Michael Drake | 2013-07-26 | 1 | -11/+48 |
| | | | | temp_treeview_test option is set, the global history and cookie manager will be replaced with their respective new implementations. | ||||
* | Don't call cookies delete here, the cookie manager has already deleted it. ↵ | Michael Drake | 2013-07-24 | 1 | -1/+0 |
| | | | | (Calling it only added the cookie again, cos the old cookie manager was braindead.) | ||||
* | Fix up for cookies_old rename. | Michael Drake | 2013-07-22 | 1 | -1/+1 |
| |