path: root/image/image_cache.c
Commit message (Collapse)AuthorAgeFilesLines
* move image content handlers to accomodate core build changesVincent Sanders2016-05-231-797/+0
* stop content header dragging in so many other headersVincent Sanders2016-04-191-0/+2
* complete the rename of the gui browser tableVincent Sanders2016-04-161-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.
* Fix size_t printf formattingVincent Sanders2016-03-171-10/+10
| | | | | | | The printf formatting for size_t is set in c99 as %zu but in windows it is %Iu this is solved by adding and inttypes style PRI macro for size_t This also uses this macro everywhere size_t is formatted.
* fixup logging macros that incorrectly override the LOG() macro nameVincent Sanders2015-05-281-1/+1
* Change LOG() macro to be varadicVincent Sanders2015-05-281-50/+43
| | | | | | | | | | | | 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.
* Remove unecessary inclusion of the image bitmap headerVincent Sanders2015-04-201-0/+1
* Move bitmap operations into an operation table.Vincent Sanders2015-04-131-2/+2
| | | | | | | 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.
* Update the core to use the split operations table headersVincent Sanders2014-10-161-1/+2
| | | | Second in the series to decouple the core API usage from the frontends.
* move scheduleing into browser operation tableVincent Sanders2014-03-091-8/+8
* Fix cases of returning pointers as bool for GCC 2.95.2.Michael Drake2012-09-291-1/+1
* fix windows build format specifiersVincent Sanders2012-08-121-6/+6
| | | | add install target for windows - creates installer rather than actually installing
* More work on about:imagecache entry listing table.Michael Drake2012-04-121-0/+24
| | | | svn path=/trunk/netsurf/; revision=13855
* about:imagecache gives URL links, and table is styled. This has revealed a ↵Rob Kendrick2012-03-251-0/+5
| | | | | | buffer overflow or similar here; reducing the buffer size to 1024 makes it very fragile with long URLs. svn path=/trunk/netsurf/; revision=13700
* Change GTK plotting to use cairo surfaces throughoutVincent Sanders2011-12-301-13/+4
| | | | svn path=/trunk/netsurf/; revision=13354
* Fix format specifierJohn Mark Bell2011-10-301-1/+1
| | | | svn path=/trunk/netsurf/; revision=13101
* Squash warningsJohn Mark Bell2011-10-181-25/+26
| | | | svn path=/trunk/netsurf/; revision=13069
* fix image cache summary information to properly use a format stringVincent Sanders2011-10-121-126/+152
| | | | | | | remove snprintf buffer overflow possibility fix the about:imagecache fetcher to contain the output formatting and use summary information formatting svn path=/trunk/netsurf/; revision=13039
* add about:imagecache some of teh implementation needs cleaning upVincent Sanders2011-10-101-0/+167
| | | | svn path=/trunk/netsurf/; revision=13030
* metadata links stored in contentsVincent Sanders2011-10-071-9/+2
| | | | | | browser uses metadata links for favicons svn path=/trunk/netsurf/; revision=12977
* fix divide by zero in stats reporting if the cache was never usedVincent Sanders2011-09-151-26/+45
| | | | svn path=/trunk/netsurf/; revision=12794
* Make high level cache, low level cache and image cache all be initialised ↵Vincent Sanders2011-09-101-4/+8
| | | | | | | | | from passed parameters Calculate all cache sizes from single memory cache size option and sanity check have a single global struct to hold all parameters instead of several individual variables svn path=/trunk/netsurf/; revision=12784
* Use ISO rand() rather than BSD random() as it is more widely supported.Chris Young2011-09-071-1/+1
| | | | svn path=/trunk/netsurf/; revision=12772
* move bitmap cache initialisation up a levelVincent Sanders2011-09-071-10/+30
| | | | | | improve stats reporting svn path=/trunk/netsurf/; revision=12770
* make the image_cache cleaner less brain deadVincent Sanders2011-09-061-57/+96
| | | | svn path=/trunk/netsurf/; revision=12766
* Add more cache stats.Michael Drake2011-09-051-1/+32
| | | | svn path=/trunk/netsurf/; revision=12741
* Count total number of images that were not rendered and log on exit.Michael Drake2011-09-051-0/+9
| | | | svn path=/trunk/netsurf/; revision=12740
* Add Image cache and inegrate png and jpeg content handlersVincent Sanders2011-09-041-0/+471
Current periodic cache clean algorithm is poor and requires replacing with something suitable (probably a segregated LRU) The speculative load algorithm is likewise poor and only uses the image size to make a decision. svn path=/trunk/netsurf/; revision=12720