Commit Graph

9657 Commits

Author SHA1 Message Date
Vincent Sanders
4776f05430 fix potential division by zero by only computing width and height when content is valid and hence will return content width and height not zero. coverity 110986[23] 2013-10-25 22:06:29 +01:00
Vincent Sanders
6b29a697b9 check ftell return value coverity 1109870 2013-10-25 21:28:58 +01:00
Vincent Sanders
f29306cc9a improve gtk source save to use gtk overwrite protection feature coverity 1109873 2013-10-25 21:25:56 +01:00
Michael Drake
1d326a8a1c Fix leak of frame element name. 2013-10-25 19:57:05 +01:00
Michael Drake
88838d51bb Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-10-25 15:48:27 +01:00
Michael Drake
88ca82dea2 Fix leak of box scrollbars. 2013-10-25 15:47:49 +01:00
Vincent Sanders
2962faed63 fix gtk title setting to cope with null titles coverity 1109897 2013-10-25 15:44:52 +01:00
Michael Drake
1cf0125f2d Fix leaks of colour attribute values. (Such as LINK, VLINK, TEXT, and COLOR attribute values.) 2013-10-25 13:05:38 +01:00
Vincent Sanders
88bd4e2ee2 fix resource leak coverity 1109883 2013-10-25 12:42:53 +01:00
Vincent Sanders
2e4c1cf950 fix resource leak coverity 1109884 2013-10-25 12:42:53 +01:00
Vincent Sanders
2cd2846122 fix coverity 1109906 uninitialised pointer read 2013-10-25 12:42:53 +01:00
Michael Drake
a921a007e6 Fix leak of cellpadding attribute value. 2013-10-25 12:18:46 +01:00
Michael Drake
0d03a342d9 Clean up cached fetch handles. 2013-10-24 18:12:18 +01:00
Michael Drake
0e4a605729 Remove unnecessary strlen. 2013-10-24 13:35:58 +01:00
Michael Drake
0c44eb081e Free string vector correctly. 2013-10-24 12:55:48 +01:00
Michael Drake
26cecc9f95 Log thumbnail creation. 2013-10-24 11:50:35 +01:00
Michael Drake
1ae1d06ca4 Reduce leaking of thumbnails to only for URLs that urldb rejects.
Previously leaked thumbnails for all urls not previously visited.
2013-10-24 11:48:23 +01:00
Michael Drake
10bc47a709 Register destruction function for browser widget. 2013-10-23 22:17:36 +01:00
Michael Drake
4fa77f9686 Add font_finalise. 2013-10-23 21:32:16 +01:00
Michael Drake
897cbb7df1 Free font face id descriptors. 2013-10-23 21:25:52 +01:00
Michael Drake
555924a73d Call font finaliser on quit. 2013-10-23 21:24:55 +01:00
Michael Drake
e1a96ecfe1 Register destruction callback to free text widget text. 2013-10-23 19:58:20 +01:00
Michael Drake
182b97ed33 Fix leak of html encoding. 2013-10-23 18:55:51 +01:00
Michael Drake
2754918e25 Fix leak of path_query, when there is no host and scheme isn't file. 2013-10-23 18:55:00 +01:00
Michael Drake
f2aa7202ba Fix Coverity #1109872. 2013-10-23 16:25:48 +01:00
Michael Drake
5122559d73 Pedantic wrap fix. 2013-10-23 15:41:19 +01:00
Michael Drake
f45bc88b3d Fix Coverity #1109867. 2013-10-23 15:40:27 +01:00
Michael Drake
21d63c3542 Pedantic wrap fix. 2013-10-23 15:15:08 +01:00
Michael Drake
9ea65f652a Fix Coverity #1109871. 2013-10-23 15:04:51 +01:00
Michael Drake
3dc4ba2989 Remove unrequired NULL check. 2013-10-23 14:40:46 +01:00
Michael Drake
e37fb89f46 Remove unreachable code. 2013-10-23 14:36:46 +01:00
Vincent Sanders
776d0b90a1 improve comment to indicate what API is for 2013-10-23 13:49:33 +01:00
Vincent Sanders
8cb2d52483 fix coverity #1111069 2013-10-23 13:48:26 +01:00
Michael Drake
53a6d6becd Show "-" for last visit date/time when visits count is 0. 2013-10-23 13:20:43 +01:00
Michael Drake
0bbaf1d24d Layout doesn't need to handle the old insane textarea box splitting now. Fixes Coverity:1109882. 2013-10-23 12:48:16 +01:00
Michael Drake
3e08819db9 Fix leaks in form_successful_controls. 'charset' was always leaked, value was leaked in particular OOM case. 2013-10-23 12:34:48 +01:00
Michael Drake
479fcefd9a s/!charset/charset == NULL/ 2013-10-23 12:16:20 +01:00
Michael Drake
a515248b59 Fix two genuine bugs found by Coverity. Checking the wrong pointers for NULL. 2013-10-23 11:52:37 +01:00
Michael Drake
5cddb4ff3c Assert that root node is non-NULL. 2013-10-23 11:40:22 +01:00
Michael Drake
df4975b8d4 Remove unnecessary check. 2013-10-23 11:36:42 +01:00
Michael Drake
e5823beb61 Fix deref before NULL check. 2013-10-23 11:25:40 +01:00
Michael Drake
89b669919e Fix NULL check after deref. 2013-10-23 11:21:11 +01:00
Michael Drake
640bb77330 Dodge Coverity scan issue. 2013-10-23 11:16:34 +01:00
Michael Drake
f814debfe2 Remove unreachable safty net. 2013-10-23 10:21:36 +01:00
Michael Drake
441e0dcbed Assert target node is non-NULL. 2013-10-22 15:22:42 +01:00
Chris Young
3a35294a0e Fix adding to hotlist from context menu 2013-10-13 12:01:11 +01:00
Chris Young
56723e5898 Use LIB_IS_AT_LEAST macro 2013-10-13 11:52:11 +01:00
Chris Young
8b9963e7ef Use picture.datatype's PromoteMask function so we get an alpha channel for non-alpha bitmaps loaded through datatypes.library 2013-10-12 15:43:52 +01:00
Chris Young
efc2d5e03b Delay the busy pointer again on intuition v53+ 2013-10-12 14:27:16 +01:00
Chris Young
9786cc2417 Fix scaled bitmaps 2013-10-12 14:14:59 +01:00