Commit Graph

18 Commits

Author SHA1 Message Date
Michael Drake
5646528898 Fix cases of returning pointers as bool for GCC 2.95.2. 2012-09-29 23:09:32 +01:00
Vincent Sanders
de982b4d3e fix windows build format specifiers
add install target for windows - creates installer rather than actually installing
2012-08-12 21:52:39 +01:00
Michael Drake
cdee9e985e More work on about:imagecache entry listing table.
svn path=/trunk/netsurf/; revision=13855
2012-04-12 13:43:57 +00:00
Rob Kendrick
e6155dd37f about:imagecache gives URL links, and table is styled. This has revealed a buffer overflow or similar here; reducing the buffer size to 1024 makes it very fragile with long URLs.
svn path=/trunk/netsurf/; revision=13700
2012-03-25 16:42:45 +00:00
Vincent Sanders
df18a97143 Change GTK plotting to use cairo surfaces throughout
svn path=/trunk/netsurf/; revision=13354
2011-12-30 00:58:35 +00:00
John Mark Bell
dc792e8d05 Fix format specifier
svn path=/trunk/netsurf/; revision=13101
2011-10-30 15:00:53 +00:00
John Mark Bell
1dc36241d6 Squash warnings
svn path=/trunk/netsurf/; revision=13069
2011-10-18 07:34:15 +00:00
Vincent Sanders
eb9c223f9d fix image cache summary information to properly use a format string
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
2011-10-12 12:34:11 +00:00
Vincent Sanders
56e7b23415 add about:imagecache some of teh implementation needs cleaning up
svn path=/trunk/netsurf/; revision=13030
2011-10-10 22:41:31 +00:00
Vincent Sanders
230779848e metadata links stored in contents
browser uses metadata links for favicons

svn path=/trunk/netsurf/; revision=12977
2011-10-07 18:12:47 +00:00
Vincent Sanders
fe8a22007c fix divide by zero in stats reporting if the cache was never used
svn path=/trunk/netsurf/; revision=12794
2011-09-15 09:25:05 +00:00
Vincent Sanders
2d33a8f85a Make high level cache, low level cache and image cache all be initialised 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
2011-09-10 00:55:39 +00:00
Chris Young
da87e82a01 Use ISO rand() rather than BSD random() as it is more widely supported.
svn path=/trunk/netsurf/; revision=12772
2011-09-07 17:51:41 +00:00
Vincent Sanders
69bee6fb71 move bitmap cache initialisation up a level
improve stats reporting

svn path=/trunk/netsurf/; revision=12770
2011-09-07 09:15:33 +00:00
Vincent Sanders
e471efa096 make the image_cache cleaner less brain dead
svn path=/trunk/netsurf/; revision=12766
2011-09-06 22:01:47 +00:00
Michael Drake
95a38c1274 Add more cache stats.
svn path=/trunk/netsurf/; revision=12741
2011-09-05 17:25:08 +00:00
Michael Drake
4e2a0bbc45 Count total number of images that were not rendered and log on exit.
svn path=/trunk/netsurf/; revision=12740
2011-09-05 16:14:25 +00:00
Vincent Sanders
b051cf466f Add Image cache and inegrate png and jpeg content handlers
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
2011-09-04 23:50:14 +00:00