summaryrefslogtreecommitdiff
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Doxygen cleanupsVincent Sanders2014-11-098-28/+30
|
* Continue doxygen error cleanup.Vincent Sanders2014-11-084-92/+200
|
* fix up more doxygen errorsVincent Sanders2014-11-083-56/+122
|
* Improve Doxygen documentationVincent Sanders2014-11-081-2/+7
|
* Improve content encoding information APIVincent Sanders2014-11-073-7/+13
| | | | | Extend the content_get_encoding() API to retrieve the source of the encoding as well as the actual encoding.
* Allow content handlers to have debug values set through APIVincent Sanders2014-11-063-1/+27
| | | | | | | | Previously content handler debugging features were accessed by global variables. This allows the setting of debugging parameters via a content API giving per content control over debugging features. Currently only used by the html content handler to toggle global redraw debugging.
* Make the fetching of a contents encoding generic.Vincent Sanders2014-11-054-5/+30
| | | | | | | The frontends previously had to use an html renderer API to get the encoding of a content. This also required the explicit checking of the contents type rather than using the existing content API to abstract this knowledge.
* replace save_link operation table entry usage of textural url with nsurlVincent Sanders2014-11-031-1/+1
|
* Change contextual content retrieval to browser features.Vincent Sanders2014-11-023-14/+22
| | | | | | | | | | | | | Update the API which allows frontends to acquire the page features (images, link urls or form elements) present at the given coordinates within a browser window. By making this an explicit browser_window API and using the browser.h header for the associated data structure with a more appropriate API naming the usage is much more obvious and contained. Additionally the link url is now passed around as a nsurl stopping it being converted from nsurl to text and back again several times.
* restructure urldb sourceVincent Sanders2014-11-012-2486/+2530
| | | | | 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 Drake2014-10-311-7/+100
|
* remove the die API from the core.Vincent Sanders2014-10-262-13/+16
| | | | | | | | 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
* update fetcher registration API to return an error code.Vincent Sanders2014-10-257-535/+552
| | | | | | | | By using an error code return we can gracefully handle fetcher registration faliures instead of just immediately aborting. The curl handler was also cleaned up and documentation improved as a side effect.
* Open select menu via content msg, instead of breaking encapsulation.Michael Drake2014-10-241-0/+5
| | | | Fixes bw deref and browser_private.h #include in render/
* Add trivial maps facilitator at about:mapsMichael Drake2014-10-222-0/+18
| | | | | | | | This is a simple HTML front end for the Google Static Maps API, since we don't yet have enough JS support for the full Google Maps. See: https://developers.google.com/maps/documentation/staticmaps/
* Update the core to use the split operations table headersVincent Sanders2014-10-167-9/+20
| | | | Second in the series to decouple the core API usage from the frontends.
* HTTPS: disable all SSL versions; emit fallback SCSV on downgrade.John-Mark Bell2014-10-151-1/+5
| | | | | | This removes all support for SSL and (with help from servers that support the fallback SCSV) protects against inappropriate protocol downgrade.
* split version info into its own header and remove unnecessary nesurf.h includesVincent Sanders2014-10-135-5/+0
| | | | | | | | | The netsurf.h header should *only* contain the registration, core initialisation and finalisation methods. Version information is best placed in its own header. Also remove any unneeded inclusion of this header limiting it to solely the places the relevant API is required.
* Trivial sepelling, documentation and whitespace cleanupsVincent Sanders2014-10-101-54/+59
|