Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow translation messages to be compiled in as GTK resources | Vincent Sanders | 2015-06-21 | 4 | -22/+76 |
| | |||||
* | This moves message loading out of netsurf_init into each frontend | Vincent Sanders | 2015-06-21 | 1 | -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 directory | Vincent Sanders | 2015-06-21 | 1 | -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 GTK | Vincent Sanders | 2015-06-17 | 6 | -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 throbber | Vincent Sanders | 2015-06-17 | 5 | -86/+60 |
| | |||||
* | Make GTK resource handling configurable | Vincent Sanders | 2015-06-17 | 4 | -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 usage | Vincent Sanders | 2015-06-17 | 2 | -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 resources | Vincent Sanders | 2015-06-17 | 3 | -5/+9 |
| | |||||
* | Change GTK UI builder handling to use resource API | Vincent Sanders | 2015-06-17 | 24 | -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 frontend | Vincent Sanders | 2015-06-17 | 3 | -0/+3 |
| | |||||
* | move gtk menu cursor creation into separate resourec handling module | Vincent Sanders | 2015-06-04 | 4 | -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 callsites | Vincent Sanders | 2015-05-28 | 1 | -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 varadic | Vincent Sanders | 2015-05-28 | 19 | -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 values | Vincent Sanders | 2015-05-21 | 2 | -13/+18 |
| | |||||
* | Change how GDK image resources are compiled in. | Vincent Sanders | 2015-05-20 | 2 | -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 gtk | Vincent Sanders | 2015-04-23 | 2 | -123/+1 |
| | |||||
* | Change gtk bitmap render to use scaled content redraw. | Vincent Sanders | 2015-04-23 | 1 | -4/+3 |
| | |||||
* | Add render to bitmap operations and update gtk to provide it. | Vincent Sanders | 2015-04-22 | 1 | -15/+101 |
| | |||||
* | Remove webp image handling | Vincent Sanders | 2015-04-21 | 1 | -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 header | Vincent Sanders | 2015-04-20 | 1 | -1/+0 |
| | |||||
* | move the mandantory library config for libcss and libdom to core makefile | Vincent Sanders | 2015-04-17 | 1 | -3/+0 |
| | |||||
* | Ensure GTK source viewer reports errors appropriately. | Vincent Sanders | 2015-04-17 | 3 | -6/+18 |
| | |||||
* | ensure memory is freed on error path in gtk viewdata | Vincent Sanders | 2015-04-17 | 1 | -0/+4 |
| | |||||
* | Ensure gtk XDG editor handling never uses an unintialised value. | Vincent Sanders | 2015-04-17 | 1 | -1/+2 |
| | |||||
* | Update monkey frontend to use bitmap operation table. | Vincent Sanders | 2015-04-15 | 1 | -4/+3 |
| | |||||
* | Convert framebuffer frontend to bitmap operations table. | Vincent Sanders | 2015-04-14 | 1 | -1/+2 |
| | |||||
* | chnage GTK frontend to using bitmap operation table | Vincent Sanders | 2015-04-13 | 4 | -22/+42 |
| | |||||
* | fix documentation errors in gtk introduced by recent updates. | Vincent Sanders | 2015-04-12 | 2 | -6/+19 |
| | |||||
* | clean up gtk gui header usage and includes | Vincent Sanders | 2015-04-12 | 9 | -13/+11 |
| | |||||
* | actually add the files from the previous gtk ssl rework commit | Vincent Sanders | 2015-04-12 | 2 | -0/+171 |
| | |||||
* | split out gtk SSL certificate verification dialog impementation. | Vincent Sanders | 2015-04-12 | 3 | -109/+5 |
| | |||||
* | Fixup gtk3 ssl certificate dialog and ensure its parent is set. | Vincent Sanders | 2015-04-12 | 2 | -185/+165 |
| | |||||
* | Refactor GTK toolbar handling to correctly cope with text labels | Vincent Sanders | 2015-04-12 | 5 | -715/+704 |
| | |||||
* | remove usage of deprecated gtk alignment interface | Vincent Sanders | 2015-04-11 | 5 | -59/+82 |
| | |||||
* | Add gtk compatability for margin setting. | Vincent Sanders | 2015-04-11 | 3 | -1/+28 |
| | |||||
* | Add widget alignment gtk compatability interface. | Vincent Sanders | 2015-04-11 | 3 | -10/+74 |
| | |||||
* | Improve the stock icon/icon name compatability logic to be explicit | Vincent Sanders | 2015-04-11 | 3 | -35/+51 |
| | |||||
* | Fixup deprication of gtk_icon_size_lookup_for_settings in gtk 3.10 | Vincent Sanders | 2015-04-10 | 3 | -1/+18 |
| | |||||
* | cope with deprication of image menus in GTK 3.10 | Vincent Sanders | 2015-04-10 | 7 | -101/+151 |
| | |||||
* | remove no longer required gtk_dialog_get_action_area compatability interface | Vincent Sanders | 2015-04-10 | 3 | -13/+10 |
| | |||||
* | Change gtk about dialog construction to use the API as intended. | Vincent Sanders | 2015-04-10 | 1 | -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 helpers | Vincent Sanders | 2015-04-10 | 3 | -2/+27 |
| | |||||
* | Fix up silly recusrsion typo in nsgtk_button_new_from_stock compatability | Vincent Sanders | 2015-04-10 | 1 | -2/+2 |
| | |||||
* | fixup default toolbar button creation for depricated GTK 3 operations | Vincent Sanders | 2015-04-10 | 3 | -13/+38 |
| | |||||
* | Extend gtk compatability to fix more items depricated in GTK 3.10 | Vincent Sanders | 2015-04-09 | 3 | -18/+63 |
| | |||||
* | cope with deprication of gtk_style_context_get_font | Vincent Sanders | 2015-04-09 | 2 | -1/+13 |
| | |||||
* | Ensure the about dialog construction does not cause warnings | Vincent Sanders | 2015-04-09 | 1 | -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 Sanders | 2015-04-09 | 2 | -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 interface | Vincent Sanders | 2015-04-08 | 15 | -154/+240 |
| | |||||
* | Improve split message generation | Vincent Sanders | 2015-04-07 | 6 | -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. |