Commit Graph

19 Commits

Author SHA1 Message Date
Vincent Sanders 8ef292b9ca Change GTK UI builder handling to use resource API
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.
2015-06-17 21:35:40 +01:00
Vincent Sanders c105738fa3 Change LOG() macro to be varadic
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.
2015-05-28 16:08:46 +01:00
Vincent Sanders de09dc8efd clean up gtk gui header usage and includes 2015-04-12 20:26:53 +01:00
Vincent Sanders 5a14a74ab1 Update gtk compatability header to cope with deprication of stock icon interface 2015-04-08 22:21:30 +01:00
Witold Filipczyk befa5e6ed3 To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Vincent Sanders 315877c822 reduce uncessary include usage 2014-05-18 23:17:15 +01:00
Michael Drake f2b4a7a997 Port to new recursive expand/contract functions. 2013-09-03 12:36:55 +01:00
Michael Drake cf8ffa412a Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake e9f65ff9cb Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions. 2013-09-02 18:57:43 +01:00
Michael Drake 4473f4b8a8 Remove tree icon_name globals from all the front ends. 2013-09-02 16:39:46 +01:00
Michael Drake 46e569c481 Use TREE_HOTLIST directly. 2013-09-02 14:42:53 +01:00
Michael Drake 8b83456c02 Beginnings of new hotlist module, implemented with new treeview.
Currently it can only open, display and launch entries in an existing hotlist file.

TODO:
  - Generate defualt hotlist when file not found.
  - Add hotlist saving.
  - Allow adding to hotlist.
  - Allow hotlist editing.
  - Allow hotlist nodes to be moved by dragging.
  - Allow hotlist visit data to be updated.
2013-08-16 08:25:25 +01:00
Michael Drake eaae716989 Move old hotlist out of the way. 2013-08-13 12:41:04 +01:00
Vincent Sanders ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Vincent Sanders 2622adaa1f allow netsurf to build with gtk3
svn path=/trunk/netsurf/; revision=13926
2012-05-16 19:57:43 +00:00
Vincent Sanders 1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Chris Young 24486e342a Update frontends for r13185. Enabled new functionality, where it is not logical it
can be switched off.

svn path=/trunk/netsurf/; revision=13186
2011-11-27 20:09:10 +00:00
Chris Young 4147c185c8 When launching multiple URLs from a treeview, allow to open one window with multiple
tabs instead of one window per URL.  Make compatible frontends do this by default.

svn path=/trunk/netsurf/; revision=12552
2011-07-02 11:41:06 +00:00
Vincent Sanders 42f89d4e0b fixup gtk source file names
svn path=/trunk/netsurf/; revision=11529
2011-01-29 23:40:22 +00:00