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
John Mark Bell
ca0daa1a66
Reset fetch state when refetching object.
...
Ensure that cache control data is invalidated for 401/certificate failure so that conditional headers are not emitted when object is refetched.
svn path=/trunk/netsurf/; revision=10408
2010-04-16 20:08:27 +00:00
John Mark Bell
b008327de1
Improve 401 response handling
...
svn path=/trunk/netsurf/; revision=10407
2010-04-16 20:00:10 +00:00
John Mark Bell
b5b280dc96
Fix RISC OS build
...
svn path=/trunk/netsurf/; revision=10405
2010-04-15 22:49:22 +00:00
John Mark Bell
a4503a1574
Fix framebuffer build
...
svn path=/trunk/netsurf/; revision=10404
2010-04-15 22:32:13 +00:00
John Mark Bell
ad8d0b3350
Handle llcache queries (GTK only for now)
...
svn path=/trunk/netsurf/; revision=10403
2010-04-14 23:03:49 +00:00
John Mark Bell
1c42c0569f
Ensure we invalidate cache data and mark objects as complete on failure to fetch.
...
svn path=/trunk/netsurf/; revision=10402
2010-04-14 20:42:03 +00:00
Daniel Silverstone
0235cc68d8
When iterating a linked list, please to always remember to *iterate* and not just stop after one item.
...
svn path=/trunk/netsurf/; revision=10400
2010-04-14 16:28:55 +00:00
Daniel Silverstone
2ba2dab3a7
Eat any #fragment in llcache_object_retrieve -- fixing double-fragment issues at the top level, and preventing fragment(ed) redirects from confusing the issue
...
svn path=/trunk/netsurf/; revision=10399
2010-04-14 14:53:21 +00:00
Daniel Silverstone
b56886d0ee
Abstract a number of unsafe iterations of object users into a single safe function call
...
svn path=/trunk/netsurf/; revision=10398
2010-04-14 10:56:44 +00:00
Daniel Silverstone
613fa0213a
Simplify gtk scheduler and clean up valgrind-exposed error
...
svn path=/trunk/netsurf/; revision=10397
2010-04-14 09:59:23 +00:00
Daniel Silverstone
3344b974af
Move content shuffling to prevent crash during threading through reformat
...
svn path=/trunk/netsurf/; revision=10396
2010-04-14 09:23:46 +00:00
John Mark Bell
3840e3911b
Stop leaking hlcache handles.
...
svn path=/trunk/netsurf/; revision=10395
2010-04-13 23:24:07 +00:00
Rob Kendrick
f75d630d25
Hack workaround for broken libcurls who obey ALL_PROXY for file: URLs. See comment.
...
svn path=/trunk/netsurf/; revision=10394
2010-04-13 18:41:19 +00:00
Chris Young
a4793a3058
Updated Italian tranlation from Samir Hawamdeh
...
svn path=/trunk/netsurf/; revision=10393
2010-04-13 18:01:04 +00:00
Rob Kendrick
39209643d0
Add gtk_compat.c, which provides implementations of newer GTK functions that we require. This is needed because some macros we were using have been deprecated and replaced with functions, and we build without deprecated features due to it spewing warnings everywhere.
...
svn path=/trunk/netsurf/; revision=10392
2010-04-13 17:13:52 +00:00