Commit Graph

8 Commits

Author SHA1 Message Date
Vincent Sanders
c56642819e add file operations table and make all frontends use it.
This rationalises the path construction and basename file
operations. The default implementation is POSIX which works for all
frontends except windows, riscos and amiga which have differeing path
separators and rules.

These implementations are significantly more robust than the previous
nine implementations and also do not use unsafe strncpy or buffers
with arbitrary length limits.

These implementations also carry full documentation comments.
2014-05-07 16:24:51 +01:00
Vincent Sanders
7798dae86a fix missing includes 2014-02-01 22:44:43 +00:00
Vincent Sanders
8ce0a10670 move path_to_url and url_to_path to fetch operation table 2014-01-25 23:01:32 +00:00
Vincent Sanders
0475693394 create table for fetcher operations and move all operations into it 2014-01-23 00:00:18 +00:00
Vincent Sanders
6c2977ec29 If you do not have xcode installed many critical mime mappings (like css and html) are missing so this adds rudimentry filename extension mappings so teh browser does not explode on non develoepr machines.
svn path=/trunk/netsurf/; revision=12411
2011-05-14 15:11:16 +00:00
Sven Weidauer
dd1e7b893b Activating (and fixing) more warnings in Xcode
svn path=/trunk/netsurf/; revision=11469
2011-01-23 19:32:56 +00:00
Sven Weidauer
b3690a585d Using OS services to determine MIME types
svn path=/trunk/netsurf/; revision=11358
2011-01-17 21:47:00 +00:00
John Mark Bell
b58dcc351f Cocoa front end (credit: Sven Weidauer)
svn path=/trunk/netsurf/; revision=11292
2011-01-12 20:21:17 +00:00