Commit Graph

225 Commits

Author SHA1 Message Date
Michael Drake
a526209e74 More useful title info for images. 2012-10-24 18:22:45 +01:00
Michael Drake
4938723896 Remove last notion of bitmap suspension. 2012-10-14 20:17:17 +01:00
Michael Drake
d88a839937 Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache. 2012-10-14 20:03:18 +01:00
Vincent Sanders
c1671f37b1 reduce talloc usage to box tree layout only 2012-10-03 19:26:17 +01:00
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
642470fb74 Avoid two duplicate lines. 2012-08-10 20:28:23 +01:00
Vincent Sanders
2622adaa1f allow netsurf to build with gtk3
svn path=/trunk/netsurf/; revision=13926
2012-05-16 19:57:43 +00: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
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
John Mark Bell
0fad29846b Treat image/x-png as a synonym for image/png
svn path=/trunk/netsurf/; revision=13414
2012-01-29 20:43:59 +00:00
Vincent Sanders
7124d96b1f ensure favicon is correctly set
svn path=/trunk/netsurf/; revision=13358
2011-12-31 12:57:47 +00:00
Vincent Sanders
fafdf2c337 fix icon image handler marking genrated bitmaps as modified
svn path=/trunk/netsurf/; revision=13355
2011-12-30 19:37:15 +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
4e3a4448ec Beginnings of a gstreamer binding. I've been sitting on this for too long
svn path=/trunk/netsurf/; revision=13248
2011-12-05 22:33:02 +00:00
John Mark Bell
f2993e6ed0 content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +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
0fe2143b88 Rework error handling to avoid cast alignment warning noise
svn path=/trunk/netsurf/; revision=13100
2011-10-30 15:00:32 +00:00
John Mark Bell
1dc36241d6 Squash warnings
svn path=/trunk/netsurf/; revision=13069
2011-10-18 07:34:15 +00:00
Chris Young
085940711d Add missing title
svn path=/trunk/netsurf/; revision=13058
2011-10-15 13:10:54 +00:00
John Mark Bell
bdbffb7aa6 Remove unused variable
svn path=/trunk/netsurf/; revision=13047
2011-10-14 19:39:41 +00:00
Chris Young
806911dff0 Fix little-endian hosts
Remove additional data copy

svn path=/trunk/netsurf/; revision=13046
2011-10-14 17:20:33 +00:00
Chris Young
57e3c0748c Make endian-neutral
svn path=/trunk/netsurf/; revision=13044
2011-10-13 22:11:47 +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
Chris Young
45ba9d914d Fix nsgif_get_internal to decode bitmap (similar to r12980)
svn path=/trunk/netsurf/; revision=13018
2011-10-09 11:00:23 +00:00
John Mark Bell
1e828006aa Pedantic style fixes
svn path=/trunk/netsurf/; revision=12999
2011-10-08 00:18:16 +00:00
Michael Drake
ad17f799ea Choose right ico image for typical url bar.
svn path=/trunk/netsurf/; revision=12989
2011-10-07 21:56:17 +00:00
Vincent Sanders
33af42360f fix ico handler to actually decode to bitmap when called via get_internal
svn path=/trunk/netsurf/; revision=12980
2011-10-07 19:39:52 +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
Michael Drake
36eff6da2b Port more internals to nsurl. Front ends may need updating.
svn path=/trunk/netsurf/; revision=12926
2011-10-03 15:56:47 +00:00
Vincent Sanders
2ae7efc7de remove unnecessary duplicate variable
svn path=/trunk/netsurf/; revision=12799
2011-09-16 11:08:28 +00:00
John Mark Bell
0682a4f215 Appease GCC 3.4
svn path=/trunk/netsurf/; revision=12798
2011-09-15 22:54:23 +00:00
John Mark Bell
339bed7272 Virtualise content handler finalisation calls. Remove pointless implementations.
svn path=/trunk/netsurf/; revision=12797
2011-09-15 22:47:50 +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
François Revel
0f4e37d496 C89.
svn path=/trunk/netsurf/; revision=12767
2011-09-06 22:21: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
John Mark Bell
9ee4f6146e Remove mime_type parameter from content handler content_type callback API
svn path=/trunk/netsurf/; revision=12704
2011-09-03 09:27:42 +00:00
Vincent Sanders
2348b13492 refactor bitmap out of generic content structure
svn path=/trunk/netsurf/; revision=12686
2011-08-31 12:12:41 +00:00
Vincent Sanders
cd554e6f1e make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Vincent Sanders
81c52ad494 Initial image content handler refactor
svn path=/trunk/netsurf/; revision=12671
2011-08-27 08:43:51 +00:00
Chris Young
d7d48c34e6 Redirect non-fatal errors to the NetSurf log
svn path=/trunk/netsurf/; revision=12633
2011-07-31 11:19:52 +00:00
John Mark Bell
63cc03a5dc Fix GCC 4.6 warnings in core
svn path=/trunk/netsurf/; revision=12629
2011-07-26 21:30:38 +00:00