Commit Graph

332 Commits

Author SHA1 Message Date
John Mark Bell
338544df09 Squash warnings
svn path=/trunk/netsurf/; revision=12721
2011-09-05 07:19:04 +00:00
John Mark Bell
6807fa854d Sniff content types where appropriate.
We never sniff for CSS, nor for non-page artefacts (e.g. treeview icons)

svn path=/trunk/netsurf/; revision=12707
2011-09-04 06:28:09 +00:00
John Mark Bell
3e1bd0d0bf Skip over credentials when lower casing host
svn path=/trunk/netsurf/; revision=12624
2011-07-24 12:11:11 +00:00
John Mark Bell
b34502af82 Refactor http utilities
svn path=/trunk/netsurf/; revision=12595
2011-07-08 08:38:17 +00:00
Michael Drake
eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
b57c2e0bee Move rectangle type to utils/types.h
svn path=/trunk/netsurf/; revision=12525
2011-06-28 15:18:48 +00:00
John Mark Bell
e71691bae8 Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
John Mark Bell
f55474bf78 Make strchrnul stupid.
svn path=/trunk/netsurf/; revision=12174
2011-04-08 07:18:27 +00:00
John Mark Bell
ff60007458 Fix build with NDEBUG defined
svn path=/trunk/netsurf/; revision=12154
2011-04-03 22:23:14 +00:00
Vincent Sanders
74ffc40e92 move logging initialisation
svn path=/trunk/netsurf/; revision=12152
2011-04-02 13:05:55 +00:00
Vincent Sanders
ad12c46af5 remove extraneous logging
fix windows path_to_url coping with NULL input and allocation errors.
remove forced verbose logging

svn path=/trunk/netsurf/; revision=12147
2011-03-29 20:50:31 +00:00
Vincent Sanders
402aaeb368 make windows frontend use
svn path=/trunk/netsurf/; revision=12146
2011-03-29 20:38:40 +00:00
Michael Drake
66f6e9eff5 Rename utils/resource to utils/filepath to avoid confusion with resource: fetcher.
svn path=/trunk/netsurf/; revision=12088
2011-03-17 11:26:30 +00:00
Vincent Sanders
1da7b161f8 Stop gtk printing from exploding if its unable to initialise the job
add interface to clone a high level cache handle
make generic printing core call new hlcache interface

svn path=/trunk/netsurf/; revision=12068
2011-03-15 22:02:06 +00:00
Daniel Silverstone
1cd4c59f99 Slightly safer operation on RO
svn path=/trunk/netsurf/; revision=12064
2011-03-15 18:43:41 +00:00
Daniel Silverstone
a4b99f5c31 Remove use of POSIX.pm from svn-testament -- RISCOS seems to be incomplete in that respect
svn path=/trunk/netsurf/; revision=12062
2011-03-15 17:55:13 +00:00
Daniel Silverstone
775a139103 And use POSIX::uname for the hostname
svn path=/trunk/netsurf/; revision=12061
2011-03-15 15:49:08 +00:00
Daniel Silverstone
6d2a7a3495 Corify a bunch of svn-testament to work better on RISC OS with a bit of luck
svn path=/trunk/netsurf/; revision=12060
2011-03-15 15:45:18 +00:00
Chris Young
1d764f7bf7 Fix warning
svn path=/trunk/netsurf/; revision=12056
2011-03-15 00:26:25 +00:00
Chris Young
bdf75f07aa Try harder to get useful values if (a) getent is not available or (b) HOSTNAME env-var
does not exist.

svn path=/trunk/netsurf/; revision=12055
2011-03-15 00:20:18 +00:00
John Mark Bell
408f78b737 Move schedule.h to utils/
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Chris Young
c615507e15 Set version using testament.h instead of old ARexx script
svn path=/trunk/netsurf/; revision=12028
2011-03-13 17:32:00 +00:00
Daniel Silverstone
514b94b1f4 Add hostname and path
svn path=/trunk/netsurf/; revision=12023
2011-03-13 12:17:18 +00:00
Daniel Silverstone
8695000b83 Slightly better out-of-svn build info
svn path=/trunk/netsurf/; revision=12022
2011-03-13 12:09:01 +00:00
Daniel Silverstone
cc18b5f21e Initial testament functionality
svn path=/trunk/netsurf/; revision=12020
2011-03-13 11:59:20 +00:00
John Mark Bell
0c7c722e23 Log to stderr
svn path=/trunk/netsurf/; revision=11983
2011-03-12 19:13:27 +00:00
Daniel Silverstone
7e85d15cb6 Add a deaf monkey frontend. TODO: Make it listen
svn path=/trunk/netsurf/; revision=11968
2011-03-12 15:08:07 +00:00
John Mark Bell
f71dcf9667 Further hackery for the inconsistency of iconv() APIs
svn path=/trunk/netsurf/; revision=11951
2011-03-09 21:30:54 +00:00
John Mark Bell
021d3afd3e Fix comment
svn path=/trunk/netsurf/; revision=11798
2011-02-25 19:41:13 +00:00
Vincent Sanders
0231675abf add resource handling
move gtk and framebuffer to use generic resource handling

svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
John Mark Bell
c550ae0e69 Parser for Content-Disposition header
svn path=/trunk/netsurf/; revision=11765
2011-02-22 23:46:03 +00:00
Vincent Sanders
3c414e7668 Stop win32 frontend using 100% cpu time when idle
svn path=/trunk/netsurf/; revision=11633
2011-02-08 23:42:18 +00:00
Vincent Sanders
aa2865c7a4 add compatability for inet_pton and inet_aton
svn path=/trunk/netsurf/; revision=11627
2011-02-07 14:41:44 +00:00
John Mark Bell
a128b7acec Rationalise definition of NO_IPV6 for atari frontend
svn path=/trunk/netsurf/; revision=11623
2011-02-06 15:40:36 +00:00
John Mark Bell
656a2d20c1 Explicitly cast unused results to void
svn path=/trunk/netsurf/; revision=11596
2011-02-01 21:50:34 +00:00
Sven Weidauer
fd23621211 Changing Xcode project file to build using the Makefiles and fixed some warnings.
svn path=/trunk/netsurf/; revision=11558
2011-01-31 07:57:52 +00:00
François Revel
3060423700 Remove odd WARNFLAGS copied from Atari stuff. Silence warning about redeclared strcasestr().
svn path=/trunk/netsurf/; revision=11381
2011-01-19 01:42:54 +00:00
John Mark Bell
e65bdafbe3 Fix url_host_is_ip_address() when encountering blatently invalid IPv4 addresses (which inet_aton fails to notice).
Also fix a number of insidious buffer overflows.

svn path=/trunk/netsurf/; revision=11293
2011-01-12 21:48:07 +00:00
John Mark Bell
8c09af5568 Add Mac OS X detection to config.h (credit: Sven Weidauer)
svn path=/trunk/netsurf/; revision=11291
2011-01-12 20:15:04 +00:00
James Bursa
ae44623e0d Remove unused include.
svn path=/trunk/netsurf/; revision=11273
2011-01-09 21:39:49 +00:00
John Mark Bell
124e4cd788 Atari frontend (credit: Ole Loots)
svn path=/trunk/netsurf/; revision=11218
2011-01-05 21:02:22 +00:00
John Mark Bell
ed2fcc7121 AmigaOS 3 doesn't support IPv6, either
svn path=/trunk/netsurf/; revision=11147
2010-12-29 21:25:09 +00:00
John Mark Bell
a501aeaabe malloc.h is non-standard. Remove it
svn path=/trunk/netsurf/; revision=11141
2010-12-29 18:39:20 +00:00
Daniel Silverstone
8f734e5b7a Add RING_COUNTBYLWCHOST
svn path=/trunk/netsurf/; revision=11107
2010-12-20 10:31:59 +00:00
John Mark Bell
b550f27f4b Fix OpenBSD build (credit: Anthony Bentley)
svn path=/trunk/netsurf/; revision=11054
2010-12-14 08:38:20 +00:00
Chris Young
e3073b6623 OS4's Roadshow doesn't have IPv6 yet
svn path=/trunk/netsurf/; revision=11031
2010-12-12 11:37:14 +00:00
François Revel
afc6a62b7a BeOS does not support IPv6, and never will.
svn path=/trunk/netsurf/; revision=11014
2010-12-05 19:16:49 +00:00
Rob Kendrick
632f7df653 More IPv6 compatibility work, added hack to cope with incorrect calls to url_host_is_ip_address while we fix the callers.
svn path=/trunk/netsurf/; revision=10968
2010-12-04 16:35:48 +00:00
Rob Kendrick
fe56f45ac6 Reimplement url_host_is_ipaddress() to cope with IPv6 addresses and decimal/hex IPv4 addresses in addition to dotted-quad v4 addresses.
svn path=/trunk/netsurf/; revision=10959
2010-12-04 14:47:03 +00:00
Vincent Sanders
18196e6692 Improve url_host_is_ip_address
svn path=/trunk/netsurf/; revision=10951
2010-11-26 15:36:27 +00:00