Commit Graph

296 Commits

Author SHA1 Message Date
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
Vincent Sanders
07c62407e2 Fix windows url bar
Clean up toolbar and urlbar creation and subclassing 

svn path=/trunk/netsurf/; revision=10891
2010-10-17 00:08:35 +00:00
Vincent Sanders
aa2587254a Update build instructions
Remove warnings from treeview branch merge

svn path=/trunk/netsurf/; revision=10874
2010-10-09 18:00:32 +00:00
Vincent Sanders
4d6534622e add realpath compatability for windows
svn path=/trunk/netsurf/; revision=10873
2010-10-09 17:11:28 +00:00
John Mark Bell
6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Rob Kendrick
195c1ea319 Add seconds/microseconds wallclock time to log output, move header includes to inside guard.
svn path=/trunk/netsurf/; revision=10864
2010-10-04 19:58:10 +00:00
James Bursa
a359fb13fa Remove themes.c and themes.h. Not used and implementation was never done.
svn path=/trunk/netsurf/; revision=10765
2010-09-12 23:57:27 +00:00
Vincent Sanders
faca1687ce hell with it, heres a version which should result in fewer portability complaints
svn path=/trunk/netsurf/; revision=10756
2010-09-11 18:47:36 +00:00
Chris Young
4cbb19f218 Fix compilation on AmigaOS4
svn path=/trunk/netsurf/; revision=10755
2010-09-11 17:45:23 +00:00
John Mark Bell
2077918805 Merge branches/vince/netsurf-file-fetcher to trunk
r=jmb

svn path=/trunk/netsurf/; revision=10750
2010-09-09 21:45:59 +00:00
François Revel
d4ea23abab Add a fallback for PRId64 as it's not defined on BeOS. It's only valid for 32bit, but any 64bit platform should be recent enough to have them.
svn path=/trunk/netsurf/; revision=10674
2010-08-02 21:44:35 +00:00
Vincent Sanders
bda534e12a Clean up how GTK frontend finds resources
svn path=/trunk/netsurf/; revision=10668
2010-07-28 15:22:44 +00:00
Michael Drake
513793a060 Fix inventory file leafname.
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
d6eb28d5de Replace unnecessarily complicated path concatenation with something simpler and
easily adaptable to different platform path structures.

svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00
Daniel Silverstone
5e887908b3 Consolidate several 'myrealloc' functions into ns_realloc, rename one which *is* different, thereby eliminating the word 'myrealloc' from the NS codebase
svn path=/trunk/netsurf/; revision=10530
2010-04-30 16:06:03 +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
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
John Mark Bell
f81ea3419e Fix Content-Type header parsing
svn path=/trunk/netsurf/; revision=10426
2010-04-18 11:14:56 +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
6948496d45 Ensure that aborting or releasing hlcache handles will result in nascent retrieval contexts being cleaned up
svn path=/trunk/netsurf/; revision=10298
2010-04-08 11:21:50 +00:00
John Mark Bell
2748fe4f64 Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00
Vincent Sanders
95e4a737de rationalise the usage of the file scheme
svn path=/trunk/netsurf/; revision=10221
2010-03-31 13:59:57 +00:00
John Mark Bell
e6d85230f1 Squash warning
svn path=/trunk/netsurf/; revision=10197
2010-03-28 23:40:12 +00:00
Daniel Silverstone
270ef59a98 Merge jmb/new-cache; r=dsilvers,rs=vince
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Chris Young
033b5d815a Move code which extracts the filename from a given path into frontend.
svn path=/trunk/netsurf/; revision=10139
2010-03-21 13:32:59 +00:00
John Mark Bell
160c5de283 Valgrind suppressions file
svn path=/trunk/netsurf/; revision=9967
2010-02-11 00:23:59 +00:00
Vincent Sanders
55162445db Add Windows frontend
svn path=/trunk/netsurf/; revision=9940
2010-01-31 00:36:02 +00:00
John Mark Bell
b75b2ae8bb Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9737
2009-12-18 20:15:50 +00:00
John Mark Bell
355799ce0b Merge branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
John Mark Bell
defdc423b5 Less broken conditional
svn path=/trunk/netsurf/; revision=9444
2009-08-25 08:28:01 +00:00
John Mark Bell
55888a00fe Portability hacks.
svn path=/trunk/netsurf/; revision=9432
2009-08-24 12:05:00 +00:00
John Mark Bell
03d181b65d Squash warnings
svn path=/trunk/netsurf/; revision=9431
2009-08-24 11:59:43 +00:00
John Mark Bell
ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
John Mark Bell
b0962da79a Much tidying, additional commentary, and fix for insane bit mask calculation.
svn path=/trunk/netsurf/; revision=7623
2009-05-29 13:26:58 +00:00
John Mark Bell
6471f83c19 We don't care about the result of regexec(); only that it was successful or not
svn path=/trunk/netsurf/; revision=7612
2009-05-28 16:25:01 +00:00
John Mark Bell
243c1ba03f Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
svn path=/trunk/netsurf/; revision=7593
2009-05-28 10:39:53 +00:00
John Mark Bell
daf7a52dd6 Hubbub is no longer optional.
Remove libxml2 parser binding.

svn path=/trunk/netsurf/; revision=7115
2009-04-17 00:54:27 +00:00