summaryrefslogtreecommitdiff
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Move bitmap operations into an operation table.Vincent Sanders2015-04-132-10/+14
| | | | | | | 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.
* Fix up some doxygen errorsVincent Sanders2015-04-031-1/+1
|
* Use nsutils unistd operations for pread and pwrite to get consistant interfaceVincent Sanders2015-04-021-2/+3
|
* Revert "Fix RISC OS not having a pread/pwrite implementation."Vincent Sanders2015-04-021-2/+0
| | | | | | | This reverts commit 82c7a7a4baf4a7a15381ee720799dc41c3d54909. Conflicts: content/fs_backing_store.c
* extend backing store logging to show errno values ofter operationsVincent Sanders2015-04-011-22/+31
|
* Fix RISC OS not having a pread/pwrite implementation.Vincent Sanders2015-03-311-2/+4
|
* ensure entry invalidation copes with entries in blocksVincent Sanders2015-03-311-13/+47
|
* Improve file naming inside cacheVincent Sanders2015-03-311-87/+84
|
* allocate small block using block use bitmaps to find free entries.Vincent Sanders2015-03-311-12/+69
|
* implement block read and write operations.Vincent Sanders2015-03-311-62/+141
|
* Block file usage bitmaps (de)serialisingVincent Sanders2015-03-311-5/+179
|
* define block store parametersVincent Sanders2015-03-311-0/+20
|
* Change backing store fetch operation to always perform the allocationsVincent Sanders2015-03-312-71/+95
| | | | | | 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 Sanders2015-03-311-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 Sanders2015-03-311-36/+45
|
* Remove url from content thumbnailers APIVincent Sanders2015-03-151-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.
* Move win32 window operations into their own moduleVincent Sanders2015-03-121-1/+2
| | | | | | This splits up a great deal of the win32 window code out from other gui code. It also remove large quantities of unused and junk variables and functions.
* Remove include of nsurl from corestrings.hMichael Drake2015-02-261-3/+5
|
* Use forward declaration instead of #include for nsurl.Michael Drake2015-02-261-7/+6
|
* Fix to support non-POSIX behaviour when renaming cache entries on disc.Michael Drake2015-02-031-0/+2
|
* Improve metadata deserialisation to only update object on successVincent Sanders2015-01-281-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 Sanders2015-01-031-2/+6
| | | | llcache
* add missing includesVincent Sanders2014-12-272-1/+3
|
* improve comments in low level cache and remove completed todoVincent Sanders2014-12-041-4/+4
|
* move the low bandwidth check to allow for an average over a much longer timeVincent Sanders2014-12-031-21/+72
|
* Use translated messgae for low bandwidth errorVincent Sanders2014-12-021-1/+1
|
* cope with backing store writeout making no progressVincent Sanders2014-12-011-44/+52
|
* ensure the backing store write reports at least a minimal amount of timeVincent Sanders2014-12-011-0/+7
|
* fix resource leak on error (Coverity 1256245)Vincent Sanders2014-11-301-0/+1
|
* Improve writeout rescheduling if list of objects is completed quicklyVincent Sanders2014-11-301-9/+11
|
* correctly calculate writeout bandwidth and properly impose limitsVincent Sanders2014-11-292-19/+66
|
* Improve llcache writeout stratagyVincent Sanders2014-11-283-27/+59
|
* update the backing store to allow for invalidating entries which have an ↵Vincent Sanders2014-11-272-49/+69
| | | | allocation
* stop using gettimeofday and use the monotonic time interface fron nsutilsVincent Sanders2014-11-261-8/+10
|
* caclulate the total amount of time spent writing an object outVincent Sanders2014-11-251-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 llcacheVincent Sanders2014-11-232-4/+11
|
* Improve doxygen comments and add todo for cache and backing storeVincent Sanders2014-11-233-59/+149
|
* remove constness from backing stores store methodVincent Sanders2014-11-233-10/+10
|
* annotate element struct with packing attributes to reduce entry sizeVincent Sanders2014-11-231-7/+9
|
* Do not use anonymous union as it is not portableVincent Sanders2014-11-231-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 allocationsVincent Sanders2014-11-224-137/+263
|
* update entry points to backing store ready for allowing differing object ↵Vincent Sanders2014-11-203-15/+89
| | | | lifetimes
* Limit creation of store path directories.Vincent Sanders2014-11-191-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 serialisationVincent Sanders2014-11-191-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 fileVincent Sanders2014-11-191-13/+38
|
* Fix my spelling of teh everywhereVincent Sanders2014-11-182-2/+2
|
* Improve data scheme fetcher allocationVincent Sanders2014-11-171-10/+8
| | | | | | The data scheme fetcher was over allocating the space for decoded base64 encoded urls and not using the base64 API that allocated the correct size storage.
* Remove unecessary form debugVincent Sanders2014-11-151-1/+1
| | | | | Additionaly we make the curl fetcher report errors instead of uninitialised buffer.
* Doxygen cleanups and documentation additionsVincent Sanders2014-11-101-1/+2
|
* Doxygen fixesVincent Sanders2014-11-092-2/+3
|