summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Remove unused thumbnail sources from core and gtkVincent Sanders2015-04-232-123/+1
|
* Change gtk bitmap render to use scaled content redraw.Vincent Sanders2015-04-231-4/+3
|
* Add render to bitmap operations and update gtk to provide it.Vincent Sanders2015-04-221-15/+101
|
* Remove webp image handlingVincent Sanders2015-04-211-2/+0
| | | | | | | | | | | | | | | | The bitmap and image handling interfaces have changed within NetSurf and the webp image handling has not been fixed up appropriately to cope. After discussion with the other developers it has been decided that the webp support is not worth the necessary development effort to rewrite and maintain. The webp format is not in wide usage and Mozilla, Microsoft and Apple have not adopted it. This means the removal will not adversely impact NetSurf. Resolves:2310
* Remove unecessary inclusion of the image bitmap headerVincent Sanders2015-04-201-1/+0
|
* move the mandantory library config for libcss and libdom to core makefileVincent Sanders2015-04-171-3/+0
|
* Ensure GTK source viewer reports errors appropriately.Vincent Sanders2015-04-173-6/+18
|
* ensure memory is freed on error path in gtk viewdataVincent Sanders2015-04-171-0/+4
|
* Ensure gtk XDG editor handling never uses an unintialised value.Vincent Sanders2015-04-171-1/+2
|
* Update monkey frontend to use bitmap operation table.Vincent Sanders2015-04-151-4/+3
|
* Convert framebuffer frontend to bitmap operations table.Vincent Sanders2015-04-141-1/+2
|
* chnage GTK frontend to using bitmap operation tableVincent Sanders2015-04-134-22/+42
|
* fix documentation errors in gtk introduced by recent updates.Vincent Sanders2015-04-122-6/+19
|
* clean up gtk gui header usage and includesVincent Sanders2015-04-129-13/+11
|
* actually add the files from the previous gtk ssl rework commitVincent Sanders2015-04-122-0/+171
|
* split out gtk SSL certificate verification dialog impementation.Vincent Sanders2015-04-123-109/+5
|
* Fixup gtk3 ssl certificate dialog and ensure its parent is set.Vincent Sanders2015-04-122-185/+165
|
* Refactor GTK toolbar handling to correctly cope with text labelsVincent Sanders2015-04-125-715/+704
|
* remove usage of deprecated gtk alignment interfaceVincent Sanders2015-04-115-59/+82
|
* Add gtk compatability for margin setting.Vincent Sanders2015-04-113-1/+28
|
* Add widget alignment gtk compatability interface.Vincent Sanders2015-04-113-10/+74
|
* Improve the stock icon/icon name compatability logic to be explicitVincent Sanders2015-04-113-35/+51
|
* Fixup deprication of gtk_icon_size_lookup_for_settings in gtk 3.10Vincent Sanders2015-04-103-1/+18
|
* cope with deprication of image menus in GTK 3.10Vincent Sanders2015-04-107-101/+151
|
* remove no longer required gtk_dialog_get_action_area compatability interfaceVincent Sanders2015-04-103-13/+10
|
* Change gtk about dialog construction to use the API as intended.Vincent Sanders2015-04-101-39/+47
| | | | | | | | | | The about dialog box construction was awkward and brittle using several depricated interfaces. This changes it to use a more generic dialog creation and uses the response API to simplify click processing. It would be even better to use the gtk about dialog but that is a more invasive change.
* extend GTK 3 compatability with opacity and viewport helpersVincent Sanders2015-04-103-2/+27
|
* Fix up silly recusrsion typo in nsgtk_button_new_from_stock compatabilityVincent Sanders2015-04-101-2/+2
|
* fixup default toolbar button creation for depricated GTK 3 operationsVincent Sanders2015-04-103-13/+38
|
* Extend gtk compatability to fix more items depricated in GTK 3.10Vincent Sanders2015-04-093-18/+63
|
* cope with deprication of gtk_style_context_get_fontVincent Sanders2015-04-092-1/+13
|
* Ensure the about dialog construction does not cause warningsVincent Sanders2015-04-091-9/+14
| | | | | The about dialog construction calls were missing a NULL sentinal which was causing warnings on GTK 3 builds.
* Only define compatability helpers for sexy icons if required.Vincent Sanders2015-04-092-11/+23
| | | | | The helper nsgtk_widget_get_state is only necessary for sexy icons and introduces unecessary GTK 3 compatability issues otehrwise.
* Update gtk compatability header to cope with deprication of stock icon interfaceVincent Sanders2015-04-0815-154/+240
|
* Improve split message generationVincent Sanders2015-04-076-6/+6
| | | | | | | | | | | | | Changes the way message files are generated to be driven by make as rules rather than from explicit macro calls causing their regeneration every build. A secondary benefit is that errors in message generation actually stop the build instead of being ignored Each frontend will require its filter settings updated to avoid getting the default message filter of "any". Initially gtk has been adapted as proof of concept.
* Fix up some doxygen errorsVincent Sanders2015-04-031-1/+1
|
* define _DEFAULT_SOURCE as well as _BSD_SOURCE to supress warnings in glibc 2.12Vincent Sanders2015-03-281-0/+1
|
* To avoid namespace conflicts with ncurses add NetSurf key prefix.Witold Filipczyk2015-03-275-42/+42
| | | | Adds a NetSurf key code prefix of NS_ to all key codes.
* Remove url from content thumbnailers APIVincent Sanders2015-03-151-7/+1
| | | | | | | | | | | | | | | | The content thumbnailers for each frontend were being provided the contents url. This was only ever used to call the urldb thumbnail setting API. This changes it so the single callsite that passed a valid url adds the bitmap to that url itself in desktop_history.c instead of forcing every frontend to require the urldb API. Additionally the old API could pass the url as NULL which was causing asserts where this was not an expected parameter value. Because of this this fixes bug #2286 which was also present in the monkey frontend as both called nsurl_access() on the url without the NULL check and caused an assertion.
* Fixup gtk viewdata window to open at appropriate sizeVincent Sanders2015-03-062-145/+205
| | | | | | | | | The size hints given were insufficient for gtk to open the window at a sensible size or position. This fixes it to open with a default 640x480 size which is a reasonable compromise. The gtk3 ui builder file was completely reconstructed from fresh as it was broken and was not working.