Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix error reporting from fetch_start | Vincent Sanders | 2015-06-24 | 1 | -26/+40 | |
| | | | | | | | Any fetch start error was being reported as "out of memory" which was clearly insufficient. Foe example bad urls (reported was file:// with a missing /) were causing a warn_user with out of memory. This change now at least causes a "bad url" message. | |||||
* | fixup all the remaining logging macro callsites | Vincent Sanders | 2015-05-28 | 1 | -42/+43 | |
| | | | | | 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/+14 | |
| | | | | | | | | | | | | 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. | |||||
* | Fix format string type missmatches on 32-bit systems. | Michael Drake | 2015-05-12 | 1 | -3/+7 | |
| | | | | Use C99 inttypes header for format string macros. | |||||
* | Avoid generating confusing warning. | Michael Drake | 2015-05-12 | 1 | -1/+1 | |
| | | | | Now the disc cache will be disabled silently if its too slow. | |||||
* | Improve the logge dinformation about written cache data | Vincent Sanders | 2015-05-08 | 1 | -7/+7 | |
| | ||||||
* | Ensure bandwidth minimum check is only performed when enough data has | Vincent Sanders | 2015-04-30 | 1 | -6/+15 | |
| | | | | been written. | |||||
* | Improve metadata deserialisation to only update object on success | Vincent Sanders | 2015-01-28 | 1 | -22/+46 | |
| | | | | | | | The low level cache deserialisation was leaving bad data in an low level cache object in the error case. This fixes it so the object state only gets modified on successful deserialisation of all the metadata. | |||||
* | Ensure no division by zero occours if no time has ever been spent writing ↵ | Vincent Sanders | 2015-01-03 | 1 | -2/+6 | |
| | | | | llcache | |||||
* | add missing includes | Vincent Sanders | 2014-12-27 | 1 | -0/+1 | |
| | ||||||
* | improve comments in low level cache and remove completed todo | Vincent Sanders | 2014-12-04 | 1 | -4/+4 | |
| | ||||||
* | move the low bandwidth check to allow for an average over a much longer time | Vincent Sanders | 2014-12-03 | 1 | -21/+72 | |
| | ||||||
* | Use translated messgae for low bandwidth error | Vincent Sanders | 2014-12-02 | 1 | -1/+1 | |
| | ||||||
* | cope with backing store writeout making no progress | Vincent Sanders | 2014-12-01 | 1 | -44/+52 | |
| | ||||||
* | ensure the backing store write reports at least a minimal amount of time | Vincent Sanders | 2014-12-01 | 1 | -0/+7 | |
| | ||||||
* | Improve writeout rescheduling if list of objects is completed quickly | Vincent Sanders | 2014-11-30 | 1 | -9/+11 | |
| | ||||||
* | correctly calculate writeout bandwidth and properly impose limits | Vincent Sanders | 2014-11-29 | 1 | -19/+63 | |
| | ||||||
* | Improve llcache writeout stratagy | Vincent Sanders | 2014-11-28 | 1 | -21/+42 | |
| | ||||||
* | update the backing store to allow for invalidating entries which have an ↵ | Vincent Sanders | 2014-11-27 | 1 | -1/+5 | |
| | | | | allocation | |||||
* | stop using gettimeofday and use the monotonic time interface fron nsutils | Vincent Sanders | 2014-11-26 | 1 | -8/+10 | |
| | ||||||
* | caclulate the total amount of time spent writing an object out | Vincent Sanders | 2014-11-25 | 1 | -19/+34 | |
| | | | | | | In order to calculate the writeout bandwidth we need to know how long it took to write the data to peristant storage in addition to how much was written. | |||||
* | correctly release source data from llcache | Vincent Sanders | 2014-11-23 | 1 | -1/+8 | |
| | ||||||
* | Improve doxygen comments and add todo for cache and backing store | Vincent Sanders | 2014-11-23 | 1 | -56/+135 | |
| | ||||||
* | change the persistant data store to owning the allocations | Vincent Sanders | 2014-11-22 | 1 | -19/+17 | |
| | ||||||
* | Doxygen cleanups | Vincent Sanders | 2014-11-09 | 1 | -3/+3 | |
| | ||||||
* | Update the core to use the split operations table headers | Vincent Sanders | 2014-10-16 | 1 | -2/+5 | |
| | | | | Second in the series to decouple the core API usage from the frontends. | |||||
* | clean up the fetcher factory and improve its API | Vincent Sanders | 2014-06-19 | 1 | -8/+0 | |
| | ||||||
* | turn off debugging and add some comments and todo from dsilvers | Vincent Sanders | 2014-06-03 | 1 | -7/+9 | |
| | ||||||
* | Adjust the llcache behaviour to use scheduler for user notification. | Daniel Silverstone | 2014-06-03 | 1 | -2/+43 | |
| | | | | | | | | | | | | | This change updates the llcache to use the scheduler to notify users of the llcache of events. This should be just as safe as before and is part of an effort to remove hlcache_poll and llcache_poll eventually because fetchers should schedule themselves if need-be. This is a big change despite the diminutive nature of the patch. Please report issues promptly if they turn up after this and are not visible before it. Signed-off-by: Daniel Silverstone <dsilvers@netsurf-browser.org> Reviewed-by: Vincent Sanders <vince@netsurf-browser.org> | |||||
* | attempt to purge low level cache on out of memory during fetch | Vincent Sanders | 2014-05-29 | 1 | -42/+60 | |
| | ||||||
* | Fix leak of url schemes. | Michael Drake | 2014-05-16 | 1 | -0/+1 | |
| | ||||||
* | add helpers for time_t reading/writing | Vincent Sanders | 2014-05-15 | 1 | -26/+36 | |
| | ||||||
* | add strptime compatability | Vincent Sanders | 2014-05-13 | 1 | -0/+2 | |
| | ||||||
* | Extend low level source data cache with persistant storage | Vincent Sanders | 2014-05-13 | 1 | -139/+854 | |
| | ||||||
* | Improve llcache header processing | Vincent Sanders | 2014-03-09 | 1 | -7/+22 | |
| | | | | | | By skipping empty headers and correctly dealing with whitespace around header names we store fewer entries with better adherance to allowed values in http responses. | |||||
* | only try and cache http and https urls | Vincent Sanders | 2014-03-09 | 1 | -7/+28 | |
| | ||||||
* | remove unnecessary caching of whether a url has a query element | Vincent Sanders | 2014-03-09 | 1 | -10/+1 | |
| | ||||||
* | make nsurl_defragment() API more obvious and remove duplicated parameter ↵ | Vincent Sanders | 2014-03-09 | 1 | -7/+3 | |
| | | | | checking | |||||
* | Make llcache debugging less invasive | Vincent Sanders | 2014-02-21 | 1 | -67/+33 | |
| | ||||||
* | Witespace cleanup to prepare for backing store addition | Vincent Sanders | 2014-02-21 | 1 | -122/+121 | |
| | ||||||
* | Use corestrings. | Michael Drake | 2014-01-24 | 1 | -28/+6 | |
| | ||||||
* | Pass fetch redirect info up to content layer as content_msg. Mark redirect ↵ | Michael Drake | 2013-05-27 | 1 | -2/+13 | |
| | | | | origin URLs as visited in browser window content callback. Note this doesn't mean we track redirects, it just lets us get the :visited link style on links that redirect. | |||||
* | ensure parameter contract is met | Vincent Sanders | 2013-05-04 | 1 | -0/+1 | |
| | ||||||
* | free memory on error path | Vincent Sanders | 2013-05-01 | 1 | -2/+6 | |
| | ||||||
* | Initial changes ready to improve caching decisions | Vincent Sanders | 2013-01-07 | 1 | -28/+63 | |
| | ||||||
* | Downgrade TLS version support if it turns out the server can't cope with ↵ | John-Mark Bell | 2013-01-04 | 1 | -0/+53 | |
| | | | | TLSv1.1. | |||||
* | Fixup for nsurl urldb. | Michael Drake | 2012-10-09 | 1 | -1/+1 | |
| | ||||||
* | cleanup and reorganise low level cache source ready for extending with disc ↵ | Vincent Sanders | 2012-04-28 | 1 | -1476/+1420 | |
| | | | | | | cache svn path=/trunk/netsurf/; revision=13893 | |||||
* | Fix bogus cache validation decision | John Mark Bell | 2011-12-08 | 1 | -1/+1 | |
| | | | | svn path=/trunk/netsurf/; revision=13261 | |||||
* | Rename nsurl_enquire to nsurl_has_component. | Michael Drake | 2011-11-27 | 1 | -2/+2 | |
| | | | | svn path=/trunk/netsurf/; revision=13183 |