Vincent Sanders
cfa5856eea
Initial conversion of GTK accelerators to separate config file
2018-04-22 14:03:18 +01:00
Daniel Silverstone
c1e30c0c3a
Initial shuffle of stuff out of !NetSurf
2018-04-22 10:41:55 +01:00
Vincent Sanders
eba0fd70eb
clean up toolbar configuration to be slightly less buggy
2017-12-10 22:57:06 +00:00
Michael Drake
e418416c77
Squash remaining GCC7 -Wimplicit-fallthrough warnings.
2017-10-23 09:46:02 +01:00
Daniel Silverstone
d3493b138f
Initialise DPI earlier so that it works for treeviews
2017-09-19 15:13:51 +01:00
Daniel Silverstone
8123e65351
Finalise nslog layer properly in closedown
2017-09-10 14:22:05 +01:00
Michael Drake
d17b710fa9
GTK: Corewindow: Fix modifier keys on mouse click.
...
Modifiers were getting unset for the click (release) events.
2017-09-09 14:38:49 +01:00
Vincent Sanders
f89f7192ef
fix size+t formatting in logging
2017-09-07 21:08:02 +01:00
Vincent Sanders
3a633acc3f
fixup junk comment close
2017-09-07 18:33:07 +01:00
Vincent Sanders
5d6f189d8b
Fixup everything the semantic patch missed
2017-09-07 18:12:09 +01:00
Vincent Sanders
b9bdc279f2
Update scheduler logging to use catagory
2017-09-07 15:30:08 +01:00
Vincent Sanders
75018632a9
Use coccinelle to change logging macro calls in c files
...
for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done
@@ expression E; @@
-LOG(E);
+NSLOG(netsurf, INFO, E);
@@ expression E, E1; @@
-LOG(E, E1);
+NSLOG(netsurf, INFO, E, E1);
@@ expression E, E1, E2; @@
-LOG(E, E1, E2);
+NSLOG(netsurf, INFO, E, E1, E2);
@@ expression E, E1, E2, E3; @@
-LOG(E, E1, E2, E3);
+NSLOG(netsurf, INFO, E, E1, E2, E3);
@@ expression E, E1, E2, E3, E4; @@
-LOG(E, E1, E2, E3, E4);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4);
@@ expression E, E1, E2, E3, E4, E5; @@
-LOG(E, E1, E2, E3, E4, E5);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5);
@@ expression E, E1, E2, E3, E4, E5, E6; @@
-LOG(E, E1, E2, E3, E4, E5, E6);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6);
@@ expression E, E1, E2, E3, E4, E5, E6, E7; @@
-LOG(E, E1, E2, E3, E4, E5, E6, E7);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
2017-09-06 18:45:27 +01:00
Vincent Sanders
5a40e94df6
remove unecessary textarea include
2017-08-27 15:46:00 +01:00
Michael Drake
dfa1e0bcd3
GTK: Ensure core windows are fully initialised.
2017-06-11 10:05:59 +01:00
Michael Drake
92ecc77768
Core window: Ensure all front ends initialise drag_status.
2017-06-10 18:10:07 +01:00
Michael Drake
50371731e3
GTK: Ensure drag status is initialised in core windows.
2017-06-10 17:55:18 +01:00
Michael Drake
b0358727d9
GTK: Don't need to treat local history specially now.
2017-06-10 11:53:58 +01:00
Vincent Sanders
2bec7f113c
fix gtk bitmap doccomment to be truthful
2017-06-09 22:01:05 +01:00
Vincent Sanders
703427a486
Update documentation removing junk and moving to markdown for most text files
2017-06-09 17:30:00 +01:00
Vincent Sanders
3c1a6f9c52
update gtk frontend for corewindow API change
2017-05-23 09:45:37 +01:00
Vincent Sanders
87ed0904e0
Merge branch 'vince/scroll-api'
2017-04-26 22:28:41 +01:00
Vincent Sanders
0f039b4421
Update GTK frontend for set_scroll API change
2017-04-26 22:24:57 +01:00
Michael Drake
4b76d2096d
GTK: Optimise tiled bitmap plotting, and scaled bitmap rendering.
...
We now let Cairo deal with the tiling. Also we don't keep cached
scaled bitmaps any more. The speedup for small bitmap tile sizes
is huge.
2017-04-26 12:38:04 +01:00
Vincent Sanders
72bd28d16e
update GTK frontend for reformat API change
2017-04-26 09:47:55 +01:00
Michael Drake
a137de40a9
GTK: Update for core hotlist API change.
2017-04-25 12:08:32 +01:00
Vincent Sanders
d930da3899
update gtk frontend with invalidate window API change
2017-04-23 12:05:30 +01:00
Michael Drake
2c8a47b7d4
GTK: Slight optimisation to nsfont_split().
...
When we aren't modifying the line, pango_layout_get_line_readonly()
is a faster alternative to pango_layout_get_line().
2017-04-11 16:32:03 +01:00
Michael Drake
90100bbd45
GTK: Font rendering: Use same pango layout for painting as for measuring.
...
With this change we are consistent about how the pango layout
we use is created.
Now it always comes from a pango_layout_new() call on a pango context
that comes from gdk_pango_context_get().
Previously the pango layout used for painting came from a call
to pango_cairo_create_layout(), which required a global called
"current_cr" (a cairo drawing context), which is only valid
during redraw (painting). Since it was only valid during
painting, this source could not be used for pango layout
creation for the measuring code.
2017-04-11 16:13:13 +01:00
Vincent Sanders
ca942e9e26
fix use of uninitialised variables in gtk print
...
fixes errors detected by coverity.
2017-03-04 14:23:06 +00:00
Vincent Sanders
7dee82d900
remove unused computed rectangle in gtk local hostory redraw
2017-02-26 16:26:50 +00:00
Vincent Sanders
86134d9881
add local history destruction for gtk
2017-02-26 16:26:50 +00:00
Vincent Sanders
1820bb7e63
fix remaining doccomment errors
2017-02-22 08:30:58 +00:00
Vincent Sanders
8ddb9df377
update gtk frontend to use corewindow local history
2017-02-17 09:06:32 +00:00
Vincent Sanders
9d0943b8e5
remove redundant global context
2017-02-15 08:37:52 +00:00
Vincent Sanders
6741b6e287
clean up incorrect documentation comments from plotter API rework
2017-02-14 23:06:04 +00:00
Vincent Sanders
7b9fa8d7eb
fix plotter merge
2017-02-12 20:31:18 +00:00
Vincent Sanders
78d601eb76
Update GTK plotters to use new API
2017-02-11 13:57:07 +00:00
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
Vincent Sanders
d21447d096
move frontends into sub directory
2016-05-15 13:44:34 +01:00