summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* remove unecessary header inclusionVincent Sanders2016-03-161-7/+1
|
* 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
* Clean up gtk login windowVincent Sanders2016-03-141-66/+116
| | | | | | | | | | | This fixes coverity ID 1316338 by dealing with memory and window creation errors properly. Previously such errors could seg fault or leave the browser navigation logic "stuck" waiting for user input to a window that never existed. The code was also refactored to remove forward declarations and add documentation comments.
* completely remove remaining GTK theme codeVincent Sanders2016-03-096-293/+240
| | | | | Removes the theme code from GTK by moving the small remaining parts to being implementation details within the toolbar implementation.
* remove unused theme ui elements from preferances dialogVincent Sanders2016-03-092-22/+0
|
* remove unrequired path globalsVincent Sanders2016-03-091-6/+0
|
* remove theme optionVincent Sanders2016-03-083-6/+2
|
* add missing arrow down pixmap resourceVincent Sanders2016-03-083-150/+1
|
* Initial pass removing gtk frontend theme codeVincent Sanders2016-03-0842-1735/+29
|
* update gtk resource path setting to use makefile variableVincent Sanders2016-02-202-5/+5
|
* fix more freebsd warningsVincent Sanders2016-02-121-0/+1
|
* fix strcasecmp implicit declaration warnings on freebsdVincent Sanders2016-02-121-0/+1
|
* Can free pango font desc as soon as it's set.Michael Drake2016-02-091-10/+12
|
* Use readonly get_line, since it is supposed to be faster.Michael Drake2016-02-081-1/+1
|
* Don't haemorrhage Pango layouts out of nsfont_paint.Michael Drake2016-02-081-0/+1
| | | | | | | | | | | | | | | | | | Before: LEAK SUMMARY: definitely lost: 143,462 bytes in 811 blocks indirectly lost: 835,174 bytes in 16,656 blocks possibly lost: 104,465 bytes in 1,631 blocks still reachable: 3,634,180 bytes in 30,844 blocks suppressed: 0 bytes in 0 blocks After: LEAK SUMMARY: definitely lost: 57,990 bytes in 258 blocks indirectly lost: 218,013 bytes in 5,995 blocks possibly lost: 110,118 bytes in 1,837 blocks still reachable: 3,637,842 bytes in 30,881 blocks suppressed: 0 bytes in 0 blocks
* move the container code to gtk directory as its only ever used there.Vincent Sanders2016-01-196-8/+822
|
* make search engines resource common between gtk and beosVincent Sanders2016-01-191-20/+1
|
* Style fixesRob Kendrick2016-01-131-7/+11
|
* Actually do something with return value.Michael Drake2015-12-201-0/+3
|
* Make nsurl utf8 string conversion function consistent with nsurl API.Michael Drake2015-10-251-1/+1
|
* Update RISC OS frontend to new APIChris Young2015-10-241-1/+0
|
* Update gtk frontend to new APIChris Young2015-10-241-6/+12
|
* Show the IDN decoded form in the URL bar on GTK if the option is set.Chris Young2015-10-241-1/+7
|
* Improve gtk scaffolding documentationVincent Sanders2015-06-301-35/+48
|
* Ensure gtk windows have a default favicon at creation.Vincent Sanders2015-06-301-4/+11
| | | | | | | This ensures newly created gtk gui windows have a default favicon set. This is necessary because new tab creation displays the new windows contents before an icon has been set and the icon will not be changed from the previously viewed tabs icon.
* Fix missing unistd includes to allow building with older headersVincent Sanders2015-06-292-1/+3
|
* Add missing include to gtk scaffoldingVincent Sanders2015-06-291-0/+1
| | | | Without unistd access, close and unlink were not properly defined
* 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
|
* Allow gtk preferences language selection resource to be inlineVincent Sanders2015-06-252-41/+138
| | | | | | | This allows the languages resource to be read from file or from inline data. Additionally it fixes a bug where the language combo box would always be reset to en as the default regardless of what was currently configured.
* Update GTK url bar completion to navigate on selectionVincent Sanders2015-06-233-60/+142
|
* Change gtk message and language handling to use resource namesVincent Sanders2015-06-237-38/+61
| | | | | | | | | | 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-222-0/+6
|
* Don't need gtkdefault.css now.Michael Drake2015-06-223-14/+1
|
* Consolidate default style.Michael Drake2015-06-221-13/+0
|
* Allow translation messages to be compiled in as GTK resourcesVincent Sanders2015-06-214-22/+76
|
* This moves message loading out of netsurf_init into each frontendVincent Sanders2015-06-211-8/+27
| | | | | | | | | | The translated message loading is dependant on configuration of resource location in each frontend, additionally they should have the ability to deal with errors in this loading in a implementation specific manner. This also extends the message loading API to be capable of loading from an inline memory buffer instead of from a file.
* Change GTK resource path to use the users netsurf directoryVincent Sanders2015-06-211-2/+37
| | | | | | This changes the path used to find resources from containg a hard coded ${HOME}/.netsurf to using the computed path to the users netsurf config.
* Add direct resources to GTKVincent Sanders2015-06-176-104/+346
| | | | | | 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-175-86/+60
|
* Make GTK resource handling configurableVincent Sanders2015-06-174-11/+36
| | | | | | | | 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-172-16/+44
| | | | | | | | | 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-173-5/+9
|
* Change GTK UI builder handling to use resource APIVincent Sanders2015-06-1724-561/+983
| | | | | | | | | | | | | | 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.
* Add links to dutch resources for gtk frontendVincent Sanders2015-06-173-0/+3
|
* move gtk menu cursor creation into separate resourec handling moduleVincent Sanders2015-06-044-15/+75
| | | | | | 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.
* fixup all the remaining logging macro callsitesVincent Sanders2015-05-281-2/+2
| | | | | The semantic patch tool appears to have missed some difficult to reason about callsites which have now been manually cleaned up
* Change LOG() macro to be varadicVincent Sanders2015-05-2819-93/+94
| | | | | | | | | | | | 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.
* Fix warnings about using integer absolute operations on floating point valuesVincent Sanders2015-05-212-13/+18
|
* Change how GDK image resources are compiled in.Vincent Sanders2015-05-202-3/+3
| | | | | | | | | | The compiled in image resources were being created as a structure in a generated c source file. The generation of this file caused constness warning as a guint8 * was initialised from a const char array. This changes the generation and use of these compiled in resources to use the raw inline form as suggested by the documentation removing the const warning.