summaryrefslogtreecommitdiff
path: root/cocoa/fetch.m
Commit message (Collapse)AuthorAgeFilesLines
* Change LOG() macro to be varadicVincent Sanders2015-05-281-5/+5
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* update cocoa frontend to cope with split operation tablesVincent Sanders2014-10-161-1/+1
|
* rework path to url mapping functions to convert from and to nsurlVincent Sanders2014-05-261-14/+0
|
* add file operations table and make all frontends use it.Vincent Sanders2014-05-071-16/+0
| | | | | | | | | | | | | 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.
* fix missing includesVincent Sanders2014-02-011-0/+1
|
* move path_to_url and url_to_path to fetch operation tableVincent Sanders2014-01-251-7/+54
|
* create table for fetcher operations and move all operations into itVincent Sanders2014-01-231-6/+2
|
* If you do not have xcode installed many critical mime mappings (like css and ↵Vincent Sanders2011-05-141-7/+57
| | | | | | 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
* Activating (and fixing) more warnings in XcodeSven Weidauer2011-01-231-0/+1
| | | | svn path=/trunk/netsurf/; revision=11469
* Using OS services to determine MIME typesSven Weidauer2011-01-171-30/+21
| | | | svn path=/trunk/netsurf/; revision=11358
* Cocoa front end (credit: Sven Weidauer)John Mark Bell2011-01-121-0/+57
svn path=/trunk/netsurf/; revision=11292