summaryrefslogtreecommitdiff
path: root/gtk/resources.c
Commit message (Collapse)AuthorAgeFilesLines
* move frontends into sub directoryVincent Sanders2016-05-151-600/+0
|
* Avoid null dereference in gtk resource handlingVincent Sanders2016-03-141-2/+8
| | | | | Ensure the error handling in gtk pixmap resource handling does not cause a null pointer dereference. Fixes coverity CID 1307743
* add missing arrow down pixmap resourceVincent Sanders2016-03-081-0/+1
|
* fix glib resource API usage even when gresource was disabledVincent Sanders2015-06-291-0/+9
|
* Improve resource code to not try and use g_resource calls when disabled.Vincent Sanders2015-06-291-1/+5
|
* Change gtk message and language handling to use resource namesVincent Sanders2015-06-231-4/+22
| | | | | | | | | | 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.
* Allow GTK to include inline resources for default cssVincent Sanders2015-06-221-0/+3
|
* Allow translation messages to be compiled in as GTK resourcesVincent Sanders2015-06-211-2/+20
|
* Add direct resources to GTKVincent Sanders2015-06-171-72/+246
| | | | | | 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 gtk to use resource API for throbberVincent Sanders2015-06-171-0/+9
|
* Make GTK resource handling configurableVincent Sanders2015-06-171-1/+1
| | | | | | | | This makes the GTK resource handling configurable in the same way as all other pkg-config style feature options. It is now possible to completely disable compiled in resources if wanted as well as forcing inline pixdata on if desired.
* Add legacy support for inline pixbuf usageVincent Sanders2015-06-171-9/+36
| | | | | | | | | Before GResource it was possible to compile pixbufs as inline elements. This has historically been done for the menu cursor only. This change integrates the inline support and uses it when the GResource support is not selected.
* update default gtk window icon source to use resourcesVincent Sanders2015-06-171-0/+1
|
* Change GTK UI builder handling to use resource APIVincent Sanders2015-06-171-1/+285
| | | | | | | | | | | | | | GTK UI builder resources have till now been exclusively stored on disc requiring netsurf to ship numerous additional resource files. This requires going to disc every time a UI action is performed which can become a lot of unwanted file handling. GLib/GTK has moved towards GResource handling for such resources instead. It now seems that migrating to this style of usage is expected and indeed the only portable way to include pixbufs. This introduces an API to hide the various implementation details of how resources are handled from the rest of the codebase.
* move gtk menu cursor creation into separate resourec handling moduleVincent Sanders2015-06-041-0/+46
The gtk resource handling must be changed for GTK3 as creating from inline is depricated. This is the first step to splitting out the support.