Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | attempt to remove unintended sign extension warning in fs backing store | Vincent Sanders | 2017-03-05 | 1 | -2/+2 |
| | |||||
* | make backing store use inttypes format specifiers | Vincent Sanders | 2017-01-21 | 1 | -14/+15 |
| | |||||
* | create netsurf inttypes header to have portable integer formatting macros | Vincent Sanders | 2017-01-21 | 1 | -1/+1 |
| | |||||
* | fix comedy spelling in fs backing store code | Vincent Sanders | 2016-11-20 | 1 | -40/+40 |
| | |||||
* | move misc header into public API | Vincent Sanders | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | complete the rename of the gui browser table | Vincent Sanders | 2016-04-16 | 1 | -3/+3 |
| | | | | | | When the operations tables were created the browser table was renamed to miscellaneous except the actual rename patch was never applied, this fixes that situation. | ||||
* | 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 | -79/+94 |
| | | | | | | | | | | | | 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 the setting of block file extents to background maintinance. | Vincent Sanders | 2015-05-04 | 1 | -16/+68 |
| | | | | | | On some OS the ftruncate operation can take some time so move it to occour in the background maintinance operations instead of when data blocks are initialy opened. This should improve browsing responsiveness. | ||||
* | Ensure small block cache files allocate their entire extent at open. | Vincent Sanders | 2015-04-30 | 1 | -10/+18 |
| | | | | | | | | | | It seems many filesystems are greatly more efficient if the block file is allocated its entire extent once rather than trying to continuously grown the file later. The size of the block files is known at their creation time so this change ensures they are grown to the full possible extent hence removing future inefficient writes. | ||||
* | Fix up some doxygen errors | Vincent Sanders | 2015-04-03 | 1 | -1/+1 |
| | |||||
* | Use nsutils unistd operations for pread and pwrite to get consistant interface | Vincent Sanders | 2015-04-02 | 1 | -2/+3 |
| | |||||
* | Revert "Fix RISC OS not having a pread/pwrite implementation." | Vincent Sanders | 2015-04-02 | 1 | -2/+0 |
| | | | | | | | This reverts commit 82c7a7a4baf4a7a15381ee720799dc41c3d54909. Conflicts: content/fs_backing_store.c | ||||
* | extend backing store logging to show errno values ofter operations | Vincent Sanders | 2015-04-01 | 1 | -22/+31 |
| | |||||
* | Fix RISC OS not having a pread/pwrite implementation. | Vincent Sanders | 2015-03-31 | 1 | -2/+4 |
| | |||||
* | ensure entry invalidation copes with entries in blocks | Vincent Sanders | 2015-03-31 | 1 | -13/+47 |
| | |||||
* | Improve file naming inside cache | Vincent Sanders | 2015-03-31 | 1 | -87/+84 |
| | |||||
* | allocate small block using block use bitmaps to find free entries. | Vincent Sanders | 2015-03-31 | 1 | -12/+69 |
| | |||||
* | implement block read and write operations. | Vincent Sanders | 2015-03-31 | 1 | -62/+141 |
| | |||||
* | Block file usage bitmaps (de)serialising | Vincent Sanders | 2015-03-31 | 1 | -5/+179 |
| | |||||
* | define block store parameters | Vincent Sanders | 2015-03-31 | 1 | -0/+20 |
| | |||||
* | Change backing store fetch operation to always perform the allocations | Vincent Sanders | 2015-03-31 | 1 | -65/+91 |
| | | | | | | The fetch API previously allowed for the caller to supply the storage, this was never used and was preventing the refactoring necessary for small black storage to be available. | ||||
* | Compute the element index once and use that as a parameter. | Vincent Sanders | 2015-03-31 | 1 | -58/+115 |
| | | | | | | | | | Change to computing the element index from the flags passed to store and fetch methods instead of passing the flags around and calculating everywhere. Additionally split out writing element of entry to file into distinct function to make code clearer. | ||||
* | Change element layout and cope with index collisions. | Vincent Sanders | 2015-03-31 | 1 | -36/+45 |
| | |||||
* | Fix to support non-POSIX behaviour when renaming cache entries on disc. | Michael Drake | 2015-02-03 | 1 | -0/+2 |
| | |||||
* | fix resource leak on error (Coverity 1256245) | Vincent Sanders | 2014-11-30 | 1 | -0/+1 |
| | |||||
* | correctly calculate writeout bandwidth and properly impose limits | Vincent Sanders | 2014-11-29 | 1 | -0/+3 |
| | |||||
* | Improve llcache writeout stratagy | Vincent Sanders | 2014-11-28 | 1 | -0/+2 |
| | |||||
* | update the backing store to allow for invalidating entries which have an ↵ | Vincent Sanders | 2014-11-27 | 1 | -48/+64 |
| | | | | allocation | ||||
* | correctly release source data from llcache | Vincent Sanders | 2014-11-23 | 1 | -3/+3 |
| | |||||
* | Improve doxygen comments and add todo for cache and backing store | Vincent Sanders | 2014-11-23 | 1 | -0/+6 |
| | |||||
* | remove constness from backing stores store method | Vincent Sanders | 2014-11-23 | 1 | -8/+8 |
| | |||||
* | annotate element struct with packing attributes to reduce entry size | Vincent Sanders | 2014-11-23 | 1 | -7/+9 |
| | |||||
* | Do not use anonymous union as it is not portable | Vincent Sanders | 2014-11-23 | 1 | -13/+37 |
| | | | | | unnamed unions are not portable to old compilers. When reloading data ensure the heap allocation status is discarded. | ||||
* | change the persistant data store to owning the allocations | Vincent Sanders | 2014-11-22 | 1 | -92/+221 |
| | |||||
* | update entry points to backing store ready for allowing differing object ↵ | Vincent Sanders | 2014-11-20 | 1 | -0/+29 |
| | | | | lifetimes | ||||
* | Limit creation of store path directories. | Vincent Sanders | 2014-11-19 | 1 | -9/+10 |
| | | | | | Only create all elements of a path in the store when it is being opened for creation instead of causing reads to create directories. | ||||
* | Improve backing store control data serialisation | Vincent Sanders | 2014-11-19 | 1 | -60/+90 |
| | | | | | | | By scheduling the control data to be maintained (entries index written and headers updated) once activity occurs to update these control structures rather than a single serialisation at browser exit the data is more likely to be up to date and not lost on a crash. | ||||
* | make backing store use rename to atomicly replace entries file | Vincent Sanders | 2014-11-19 | 1 | -13/+38 |
| | |||||
* | Doxygen fixes | Vincent Sanders | 2014-11-09 | 1 | -0/+1 |
| | |||||
* | Doxygen cleanups | Vincent Sanders | 2014-11-09 | 1 | -8/+10 |
| | |||||
* | Update the core to use the split operations table headers | Vincent Sanders | 2014-10-16 | 1 | -1/+0 |
| | | | | Second in the series to decouple the core API usage from the frontends. | ||||
* | version 1.1 of the backing store disc layout using base32 encoded | Vincent Sanders | 2014-07-04 | 1 | -61/+64 |
| | | | | filenames to allow for case insensitive filenames. | ||||
* | extend file table with mkdir all and make fs backing store use it. | Vincent Sanders | 2014-06-05 | 1 | -2/+6 |
| | | | | enable fs backing store for RISC OS. | ||||
* | Avoid signed vs unsigned comparason warning. | Michael Drake | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | turn off debugging and add some comments and todo from dsilvers | Vincent Sanders | 2014-06-03 | 1 | -8/+9 |
| | |||||
* | write a cache tag file as an aid to backup software | Vincent Sanders | 2014-05-30 | 1 | -0/+39 |
| | |||||
* | Check return value from write() to avoid build warnings. | Michael Drake | 2014-05-24 | 1 | -2/+14 |
| | |||||
* | Add filesystem based backing store | Vincent Sanders | 2014-05-13 | 1 | -0/+1197 |