Vincent Sanders
8f64d5d223
Improve Doxygen documentation
2014-11-08 12:35:11 +00:00
Vincent Sanders
d06df231bc
Update the core to use the split operations table headers
...
Second in the series to decouple the core API usage from the frontends.
2014-10-16 22:33:43 +01:00
Vincent Sanders
02bbaa3e88
split version info into its own header and remove unnecessary nesurf.h includes
...
The netsurf.h header should *only* contain the registration, core
initialisation and finalisation methods. Version information is best
placed in its own header.
Also remove any unneeded inclusion of this header limiting it to
solely the places the relevant API is required.
2014-10-13 15:08:16 +01:00
Vincent Sanders
4b2101ba6a
clean up the fetcher factory and improve its API
2014-06-19 18:27:24 +01:00
Vincent Sanders
00b6cfc57e
rework path to url mapping functions to convert from and to nsurl
2014-05-26 23:52:36 +01:00
Vincent Sanders
2326d3c503
remove unecessary utils/url.h includes
2014-05-09 10:15:42 +01:00
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
8ce0a10670
move path_to_url and url_to_path to fetch operation table
2014-01-25 23:01:32 +00:00
Michael Drake
e32dc31b04
Use corestring ref.
2014-01-24 19:58:51 +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
38cb39339a
move filename_from_path and path_add_part into gui operation tables
2014-01-16 00:01:25 +00:00
Michael Drake
c933b0aff9
Sort non zero-padded numerical filename parts correctly.
2013-11-14 21:01:51 +00:00
Michael Drake
5e4e32923d
Can just use scandir now.
2013-11-14 19:02:35 +00:00
Michael Drake
7a920ace39
Marginally cleaner handling of scandir absence.
2013-11-11 11:38:48 +00:00
Michael Drake
74d430f44a
Dirty special casing of Windows, to handle mingw dirent.h's lack of scandir and alphasort.
2013-11-11 10:58:55 +00:00
Michael Drake
8a72d5be84
Sort directory contents.
2013-11-10 22:02:12 +00:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
John-Mark Bell
3dff750ae2
Downgrade TLS version support if it turns out the server can't cope with TLSv1.1.
2013-01-04 23:13:23 +00:00
Michael Drake
29ad56b4b2
Use nsurl_parent.
2012-10-06 14:07:34 +01:00
John-Mark Bell
c22fbf9377
Avoid trying to mmap zero-length files.
...
Remove buf size limit in mmap case: prevented processing entire file.
2012-09-19 22:50:28 +01:00
Vincent Sanders
f58b5924a5
alter file fetcher to use mmap where available
2012-08-13 17:00:43 +01:00
Vincent Sanders
de982b4d3e
fix windows build format specifiers
...
add install target for windows - creates installer rather than actually installing
2012-08-12 21:52:39 +01:00
John Mark Bell
07309888d6
return;
...
Fix bug #3442642 : allow scheme-specific fetchers to have a say in whether an URL can be fetched.
svn path=/trunk/netsurf/; revision=13182
2011-11-27 14:14:36 +00:00
John Mark Bell
dcbafe6b87
Clean up fetch callback API. Inject some long-needed type safety.
...
svn path=/trunk/netsurf/; revision=13137
2011-11-08 21:51:42 +00:00
Michael Drake
6cfd37e60f
Convert fetchers to nsurl.
...
svn path=/trunk/netsurf/; revision=12910
2011-09-29 15:31:54 +00:00
Michael Drake
c94271edf5
Fetchers register with an lwc_string, rather than a string.
...
svn path=/trunk/netsurf/; revision=12891
2011-09-26 21:07:19 +00:00
John Mark Bell
c25d7890e7
Cope with zero-length files
...
svn path=/trunk/netsurf/; revision=12777
2011-09-08 08:25:48 +00:00
John Mark Bell
308f549f78
Fix backend fetcher poll loops
...
svn path=/trunk/netsurf/; revision=11775
2011-02-23 22:41:17 +00:00
Vincent Sanders
fa98e3d76a
add about: fetcher
...
rename fetchers to be more sensible
svn path=/trunk/netsurf/; revision=11692
2011-02-15 23:18:10 +00:00