Commit Graph

51 Commits

Author SHA1 Message Date
Daniel Silverstone
10f1b7a1aa Fix up GTK+ hotlist finalisation to clean up properly 2017-02-05 10:43:58 +00:00
Vincent Sanders
6075feb487 create netsurf inttypes header to have portable integer formatting macros 2017-01-21 14:20:55 +00:00
Vincent Sanders
70d700b26c rationalise use of utils/utils.h header 2017-01-19 21:15:08 +00:00
Vincent Sanders
7dab7cb43d move plot style header to netsurf include directory
move plotter style header and adjust all callers to use only what they
actually require.
2017-01-13 10:03:24 +00:00
Vincent Sanders
9be0f4ccaf fixup usage of directory creation macro in Makefiles 2017-01-07 13:21:25 +00:00
Michael Drake
4e5e9f1f5a gtk: Update for new hotlist API.
This allows the hotlist backend to work before the hotlist window opens.
2016-12-29 14:49:39 +00:00
Vincent Sanders
f68a3f9d61 improve gtk corewindow documentation 2016-12-26 13:24:22 +00:00
Vincent Sanders
2adf0a9c44 clean up documentation of GTK core window interfaces 2016-10-26 13:58:51 +01:00
Vincent Sanders
1de0ebf2e5 fix gtk install target to cope with gtk3 2016-10-05 19:44:49 +01:00
Vincent Sanders
975931a4f6 fix gtk3 build with corewindow 2016-10-05 19:43:19 +01:00
Vincent Sanders
0dcfc2fc5d fix use of default image on menu entries for gtk frontend 2016-09-27 21:17:33 +01:00
Vincent Sanders
1beb1e938f make GTK frontend mime type processing use explicit ascii processing 2016-09-07 21:45:16 +01:00
Vincent Sanders
a8a6098f68 move core window API into netsurf header path 2016-08-18 21:07:04 +01:00
Vincent Sanders
72277de6ea add bmp file format to file fetch types for gtk and framebuffer 2016-08-16 13:08:44 +01:00
Vincent Sanders
c95cca4ca6 licence and credits buttons got swapped, fix it
Thanks to bavier for the bug report
2016-08-14 22:34:49 +01:00
Michael Drake
9aecf47408 Treeview: Rationalise initialisation and finalisation.
Previously the expected behaviour for front ends using the correct
API for hotlist, global history, cookie manager, and ssl cert
viewer was that the front end would initialise the treeview module
on startup and finalise it on application exit.

However, this meant that the front ends had to include the core
treeview header, which they didn't otherwise need.

Since the tree module provided access to the new treeview utilities
through the old tree API, and was used by front ends with no changes
for the new treeview API, the tree layer refcounted initialisations
of treeview-based widgets, and only called the underlying treeview
init/fini functions when needed.

This change moves that refcounting into the treeview module.  Now
the hotlist, global history, cookie manager, and ssl cert viewer
widgets call call treeview init/fini as part of their own
initialisation and finalisation.  This means that front ends
using the correct APIs for treeview-based widgets don't need to
know anything about the underlying treeview, and the tree module
compatibility layer has had its treeview refcounting removed.

Finally, the treeview_init function took a font size parameter.
Now it does not and lit gets font size from config.  We probably
want to add a new `treeview_font_size` option to nsoptions, and
have differnent defaults on different platforms. 12pt on RISC OS,
and 11pt elsewhere, most likely.
2016-08-10 18:57:36 +01:00
Vincent Sanders
35d9baa14e remove unused GTK treeview code completely repalced with core window API 2016-08-06 17:11:29 +01:00
Vincent Sanders
8547452232 convert GTK hotlist to use GTK core window 2016-08-06 17:08:21 +01:00
Vincent Sanders
f17e88e709 rename gtk global history implementation 2016-08-04 23:50:06 +01:00
Vincent Sanders
189b7b45fb convert GTK global history to use GTK core window 2016-08-04 23:41:22 +01:00
Vincent Sanders
af191bbcc9 make gtk certificate viewing use gtk core window API 2016-07-31 13:25:20 +01:00
Vincent Sanders
b939afe3fc Allow certificate verification user prompt creation to return errors 2016-07-31 13:25:20 +01:00
Vincent Sanders
51725592c9 make gtk cookies manager use core window API 2016-07-31 13:25:20 +01:00
Vincent Sanders
ca5b165c85 add nsgtk support for core window API 2016-07-31 13:25:20 +01:00
Vincent Sanders
ea84f67035 fix gdk to nskey mapping for home/end and missing keypad mappings 2016-07-31 13:25:20 +01:00
Vincent Sanders
2d41d6c933 cleanup gtk cookie interface
use gtk_window_present instead of gdk_window_raise and reduce exposed
variables and interfaces.
2016-07-25 21:59:17 +01:00
François Revol
83f95fe05e Explicitely support http and https URI schemes in the .desktop 2016-07-22 11:50:07 +01:00
Vincent Sanders
78d45e9b82 fix gtk TLS certificate viewing with multiple queries 2016-07-12 00:29:58 +01:00
Vincent Sanders
8066d1c8b4 move key press enums and operations to their own header 2016-07-01 14:27:04 +01:00
Vincent Sanders
690066bb56 remove unecessary textinput header use from hotlist header 2016-06-30 15:28:54 +01:00
Daniel Silverstone
47ccd9855d Move fetcher_fdset to fetch.h (and rename to fetch_fdset). Maybe not ideal but better 2016-06-27 21:09:39 +01:00
Vincent Sanders
66d0f14b32 move the public form API 2016-06-14 12:39:54 +01:00
Vincent Sanders
976eca9958 msplit public url database API out for frontends 2016-06-13 23:34:45 +01:00
Vincent Sanders
0fad46cd0f reduce unecessary usage of content headers 2016-06-06 16:10:47 +01:00
Vincent Sanders
76a68d7dd0 Update content to split public and internal API 2016-06-06 09:01:38 +01:00
Vincent Sanders
667605869f move plotters header into public API 2016-05-30 21:05:57 +01:00
Vincent Sanders
7fc0a4c481 move desktop window header into public API 2016-05-30 17:32:57 +01:00
Vincent Sanders
8711fbe47d move mouse and pointer state header into public API 2016-05-30 12:10:08 +01:00
Vincent Sanders
c041393e66 move netsurf header into public API 2016-05-30 11:51:10 +01:00
Vincent Sanders
9ce71876ce move layout header into public API 2016-05-30 11:31:35 +01:00
Vincent Sanders
527756cca0 move fetch header into public API 2016-05-30 11:29:39 +01:00
Vincent Sanders
fe7eb85614 move misc header into public API 2016-05-30 11:23:32 +01:00
Vincent Sanders
c821ed2bbd move download header into public API 2016-05-30 11:15:58 +01:00
Vincent Sanders
d240bec036 move clipboard header into public API 2016-05-30 11:04:32 +01:00
Vincent Sanders
1eb86d9df2 move window header into public API 2016-05-30 11:01:40 +01:00
Vincent Sanders
903c4dbef9 move search header into public API 2016-05-30 10:57:22 +01:00
Vincent Sanders
2dab078f21 move bitmap API header to core include directory 2016-05-26 23:01:03 +01:00
Vincent Sanders
3224d7121a move image content handlers to accomodate core build changes 2016-05-23 23:32:16 +01:00
Vincent Sanders
6d71cdefc9 rationalise use of gtk scaffolding header 2016-05-21 14:37:20 +01:00
Vincent Sanders
5061687867 store toolbar config in standard options instead of a separate file 2016-05-21 12:17:49 +01:00