Commit Graph

5239 Commits

Author SHA1 Message Date
Daniel Silverstone
c1c25e479a Unref uri after sending it to hlcache when requesting a css pending import, so that we don't leak the uris
svn path=/trunk/netsurf/; revision=10503
2010-04-27 22:25:41 +00:00
John Mark Bell
2276afb9f6 Log any remaining interned strings (there should be none)
svn path=/trunk/netsurf/; revision=10502
2010-04-27 22:14:52 +00:00
Daniel Silverstone
30e0cfe7a9 First step to fixing memory leaks -- Box model no longer leaks computed styles
svn path=/trunk/netsurf/; revision=10500
2010-04-27 21:38:41 +00:00
Michael Drake
485ac0dad7 Improve handling of percentage margins and paddings on floats. Fixes pond.org.uk. This is still not ideal and there are cases where we don't match other browsers.
svn path=/trunk/netsurf/; revision=10497
2010-04-27 17:45:07 +00:00
Michael Drake
4d67ca25a7 Fix vertical placement of absolute positioned inlines using staic position. Simplify placement of inlines on a line.
svn path=/trunk/netsurf/; revision=10495
2010-04-27 12:02:12 +00:00
John Mark Bell
0de2013f25 Clean up caches on exit
svn path=/trunk/netsurf/; revision=10494
2010-04-27 06:48:09 +00:00
John Mark Bell
9c488e3d95 Make sure that an event occurred before inspecting it
svn path=/trunk/netsurf/; revision=10493
2010-04-27 06:27:54 +00:00
John Mark Bell
e692750d5f Ensure that we clean up the root browser window
svn path=/trunk/netsurf/; revision=10492
2010-04-27 06:23:52 +00:00
Michael Drake
542610c779 Fix float wrap issue. (Amiga.org nav bar.)
svn path=/trunk/netsurf/; revision=10490
2010-04-26 22:13:22 +00:00
Vincent Sanders
bd9c0d9a7e hopefully fix the _GNU_SOURCE mess
svn path=/trunk/netsurf/; revision=10487
2010-04-26 09:27:16 +00:00
Chris Young
a2c1afcc32 Custom version of SearchEngines file rather than modifying it during installation
(fixes crash with Installer)

svn path=/trunk/netsurf/; revision=10484
2010-04-25 20:17:51 +00:00
Chris Young
5fdd51d907 Remove SearchEngines link
svn path=/trunk/netsurf/; revision=10483
2010-04-25 20:16:05 +00:00
Chris Young
7eb3167ce3 Custom version of SearchEngines file rather than modifying it during installation
(fixes crash with Installer)

svn path=/trunk/netsurf/; revision=10482
2010-04-25 19:06:21 +00:00
Michael Drake
15f1688f52 Update comment for new cache.
svn path=/trunk/netsurf/; revision=10481
2010-04-25 11:35:26 +00:00
Chris Young
311a79591c Don't show export options if PDF export disabled. Use options if present.
svn path=/trunk/netsurf/; revision=10480
2010-04-25 10:31:52 +00:00
John Mark Bell
023167651a Squash warnings in RISC OS build.
Replace use of strnlen with strlen and max.

svn path=/trunk/netsurf/; revision=10479
2010-04-24 21:25:08 +00:00
Michael Drake
4c4c2c5f97 Fix typo.
svn path=/trunk/netsurf/; revision=10478
2010-04-24 21:16:12 +00:00
Chris Young
90079085bb Ensure menu state is correct when switching tabs
svn path=/trunk/netsurf/; revision=10476
2010-04-24 19:05:53 +00:00
Chris Young
ed8759c2f2 Avoid errors running makepackage
fitr was written by me, and included for convenience (the install script needs it).
There are no distribution restrictions when using it wrt the OS4 version of NetSurf.
See http://www.unsatisfactorysoftware.co.uk/fitr

svn path=/trunk/netsurf/; revision=10475
2010-04-24 16:36:45 +00:00
Vincent Sanders
03bb3e8636 remove _GNU_SOURCE define from everywhere.
strndup is not standard so provide an implementation.

svn path=/trunk/netsurf/; revision=10474
2010-04-24 15:22:17 +00:00
Vincent Sanders
fe151c135d First steps towards rationalising fbtk, split teh scrollbar widgets out
svn path=/trunk/netsurf/; revision=10466
2010-04-22 23:50:58 +00:00
Chris Young
695af237a9 Use our ca-bundle by default, rather than one in devs: which may not exist
svn path=/trunk/netsurf/; revision=10456
2010-04-22 18:33:29 +00:00
Chris Young
c1aaeae9b7 Correct indices for disabled items
svn path=/trunk/netsurf/; revision=10455
2010-04-22 18:32:59 +00:00
Daniel Silverstone
3f7c601078 Ensure we can search textplain again
svn path=/trunk/netsurf/; revision=10454
2010-04-22 14:37:32 +00:00
Daniel Silverstone
7eef1a387a Ensure we propagate the error to our client, and then abort the llcache handle, should we fail to find a content when converting a nascent hlcache context into an object
svn path=/trunk/netsurf/; revision=10453
2010-04-22 12:29:15 +00:00
Daniel Silverstone
3d31372b9d Fix it so that empty charset strings fall back properly. Fixes http://www.arm.com/community/partners/all_partners.php
svn path=/trunk/netsurf/; revision=10452
2010-04-22 12:19:17 +00:00
John Mark Bell
c9a05dc4c4 Install missing GTK resources
svn path=/trunk/netsurf/; revision=10437
2010-04-19 20:54:29 +00:00
John Mark Bell
014cbd63cc Purge spurious filetype computation
svn path=/trunk/netsurf/; revision=10431
2010-04-18 16:08:32 +00:00
John Mark Bell
27064b4107 Remove redundant code
svn path=/trunk/netsurf/; revision=10430
2010-04-18 16:08:06 +00:00
John Mark Bell
031e301c53 Squash leak
svn path=/trunk/netsurf/; revision=10429
2010-04-18 16:07:51 +00:00
John Mark Bell
69d0119a48 Check correct variable for error.
svn path=/trunk/netsurf/; revision=10428
2010-04-18 16:07:34 +00:00
Vincent Sanders
9a95ad79d1 fix url to path on doze
svn path=/trunk/netsurf/; revision=10427
2010-04-18 12:37:46 +00:00
John Mark Bell
f81ea3419e Fix Content-Type header parsing
svn path=/trunk/netsurf/; revision=10426
2010-04-18 11:14:56 +00:00
John Mark Bell
3958f3730b Fix failed assertion in content_convert when process_data fails.
svn path=/trunk/netsurf/; revision=10425
2010-04-18 11:04:13 +00:00
Chris Young
f373777dab Ensure that a default CSS icon is present
svn path=/trunk/netsurf/; revision=10424
2010-04-17 23:12:14 +00:00
John Mark Bell
248a53f6ba Avoid double free when shrink-wrapping source data on fetch completion.
svn path=/trunk/netsurf/; revision=10423
2010-04-17 21:17:08 +00:00
Chris Young
98b690a900 Fix file://localhost/ handling
svn path=/trunk/netsurf/; revision=10422
2010-04-17 10:43:12 +00:00
Michael Drake
a2d204814a Fix bracket missmatch.
svn path=/trunk/netsurf/; revision=10421
2010-04-17 09:16:42 +00:00
John Mark Bell
06145e570d Fix mismatched free call
svn path=/trunk/netsurf/; revision=10420
2010-04-17 09:05:15 +00:00
Vincent Sanders
448b0275ae Fix file: handling on risc os, gtk, windows and framebuffer frontends
svn path=/trunk/netsurf/; revision=10419
2010-04-16 23:56:53 +00:00
John Mark Bell
01eb197f56 When the fetch system informs its clients that certificate verification has failed, it has already stopped and cleaned up the fetch.
Stop llcache_fetch_cert_error attempting to abort the fetch, as this will result in a double free.

svn path=/trunk/netsurf/; revision=10418
2010-04-16 23:15:22 +00:00
John Mark Bell
328fed8122 Liberally sprinkle #ifdef around
svn path=/trunk/netsurf/; revision=10417
2010-04-16 20:58:09 +00:00
John Mark Bell
c4de2cf6b3 Extract parent charset and quirkiness
svn path=/trunk/netsurf/; revision=10416
2010-04-16 20:55:17 +00:00
John Mark Bell
be3b246eab Add accessor for quirks
svn path=/trunk/netsurf/; revision=10415
2010-04-16 20:54:57 +00:00
John Mark Bell
bf27f667c9 Add assertion
svn path=/trunk/netsurf/; revision=10414
2010-04-16 20:47:22 +00:00
John Mark Bell
34465a06ab Remove fresh field from struct content
svn path=/trunk/netsurf/; revision=10413
2010-04-16 20:44:44 +00:00
John Mark Bell
e58a7d88f4 Make content_invalidate_reuse_data cause llcache to invalidate cache control data
svn path=/trunk/netsurf/; revision=10412
2010-04-16 20:43:36 +00:00
John Mark Bell
44552e7492 Provide API to invalidate llcache object cache control data
svn path=/trunk/netsurf/; revision=10411
2010-04-16 20:42:10 +00:00
John Mark Bell
9c1ff9fbc1 Fixup Amiga frontend
svn path=/trunk/netsurf/; revision=10410
2010-04-16 20:36:29 +00:00
John Mark Bell
aa45b35f43 Sync Windows frontend with core changes.
svn path=/trunk/netsurf/; revision=10409
2010-04-16 20:15:54 +00:00