summaryrefslogtreecommitdiff
path: root/gtk/fetch.c
Commit message (Collapse)AuthorAgeFilesLines
* Change gtk message and language handling to use resource namesVincent Sanders2015-06-231-3/+3
| | | | | | | | | | The GTK resource handling can now provide the path to resources rather than having to compute them separately. This reduces run time allocation and allows for the resources to be built in if required. Additionally this tweaks the resource scheme handling to redirect favicon.ico to resource:favicon.png instead of rewriting directly to file scheme path allowing the favicon to be a compiled in resource.
* Don't need gtkdefault.css now.Michael Drake2015-06-221-5/+0
|
* Add direct resources to GTKVincent Sanders2015-06-171-8/+10
| | | | | | This adds API to obtain direct pointers to arrays of data from compiled in resources. Additionally it hooks this up to provide data for the resourece scheme handler.
* Change LOG() macro to be varadicVincent Sanders2015-05-281-1/+1
| | | | | | | | | | | | 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.
* clean up gtk gui header usage and includesVincent Sanders2015-04-121-0/+2
|
* add missing includesVincent Sanders2014-12-271-0/+1
|
* Update gtk frontend to cope with split operations table headersVincent Sanders2014-10-161-1/+1
|
* rework path to url mapping functions to convert from and to nsurlVincent Sanders2014-05-261-54/+2
|
* refactor url utility functions to use standard nserror codes and have ↵Vincent Sanders2014-05-081-3/+3
| | | | appropriate documentation.
* add file operations table and make all frontends use it.Vincent Sanders2014-05-071-42/+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.
* remove further extraneous includesVincent Sanders2014-02-011-0/+1
|
* clean up desktop/gui.h include usageVincent Sanders2014-01-291-0/+2
|
* move path_to_url and url_to_path to fetch operation tableVincent Sanders2014-01-251-0/+347