Vincent Sanders
337c2ed7b1
remove unused gtk window interfaces and clean up documentation
2019-08-04 09:47:58 +01:00
Michael Drake
3938d5340b
Corewindow: Sanitise scrolling API.
...
Now the core has a helper so that all the front ends don't need
to implement the scroll to show area API.
Now they simply have get and set scroll APIs.
2019-08-03 15:57:23 +01:00
Vincent Sanders
641f5fb072
make use of improved browser_window_set_scale API in frontends
2019-08-03 15:53:07 +01:00
Vincent Sanders
d4c01894c2
change browser_window_get_features to use unscaled coordinates
2019-08-03 14:29:06 +01:00
Vincent Sanders
0ebfff259f
change browser_window_mouse_track to use unscaled coordinates
2019-08-03 14:29:05 +01:00
Vincent Sanders
0a8ed41a1a
change browser_window_mouse_click to use unscaled coordinates
...
this means frontends no longer need to scale mouse click events thus
simplifying their implementation.
2019-08-03 14:29:05 +01:00
Daniel Silverstone
5e8b2d4653
gtk/local_history: Scroll local history to cursor on display
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:00:34 +01:00
Daniel Silverstone
c078c3f509
gtk/corewindow.c: Correctly handle scroll_visible
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:00:06 +01:00
Daniel Silverstone
6bbdf08cb0
gtk, beos: Run scheduler before fetching fdset
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 17:06:45 +01:00
Vincent Sanders
552aab42e1
remove scaled parameter from get_dimensions
2019-08-02 12:26:20 +01:00
Michael Drake
2943e9ae46
GTK: Update for unscaled bw invalidate rectangle.
2019-08-01 22:34:13 +01:00
Vincent Sanders
5742762070
split browser and browser_window operations
2019-08-01 19:51:19 +01:00
Samuel Dionne-Riel
87177d8aa1
GTK: prefer using curl's intrinsic defaults for CURLOPT_CA*
...
On distributions that ship only a ca-bundle in `/etc/ssl`, the
configuration set at initialization will force curl to look for
certificates that are not present in this directory.
Removing the setting instead makes curl use its internal default.
The framebuffer frontend will not set this option, and the only
other frontend that sets it is BeOS.
This issue can be observed (likely among other) on the NixOS Linux
distribution.
2019-08-01 12:03:06 +01:00
brabo
ba9f5f8ef0
gtk/fetch.c & monkey/filetype.c: ascii_is_space already checks for newline.
2019-08-01 10:42:08 +01:00
brabo
c90bfb23ad
gtk/fetch.c & monkey/filetype.c: small comment correction.
2019-08-01 10:42:08 +01:00
Michael Forney
6a53b447e5
Declare global variables as extern in headers
...
Otherwise, each source file that includes the header will create a
new definition, which are usually merged together by the linker.
Multiple definitions of an object is not allowed in ISO C.
2019-06-30 09:52:06 +01:00
Vincent Sanders
dddc5eac94
Update schedulers return codes
...
The GTK and monkey frontends schedulers now return NSERROR_NOT_FOUND
when a caller is using a negative schedule time to remove a callback.
2019-06-08 13:33:16 +01:00
Vincent Sanders
35bc2ccbb8
change content get_source_data interfaces to return uint8_t and size_t
...
previously these interfaces returned char * and unsigned int which was
undesirable.
2019-05-05 22:50:25 +01:00
Vincent Sanders
efdea7757b
fix enum name incompatability between gtk 2 and 3
2019-05-05 15:38:19 +01:00
Vincent Sanders
6ff3238825
centralise monkey output generation
2018-11-03 15:12:50 +00:00
Michael Drake
96254254a6
GTK: Squash GCC8.2 warning.
...
frontends/gtk/download.c: In function ‘gui_download_window_create’:
frontends/gtk/download.c:829:10: warning: cast between incompatible function types from ‘gboolean (*)(gboolean)’ {aka ‘int (*)(int)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Wcast-function-type]
(GSourceFunc) nsgtk_download_update, FALSE);
^
2018-11-03 11:00:09 +00:00
Michael Drake
5eb7345cc7
GTK: Make nsgtk_download_selection_action match GFunc prototype.
...
Squashes GCC 8.2 warning:
frontends/gtk/download.c:244:22: warning: cast between incompatible function types
from ‘nsgtk_download_selection_action’ {aka ‘void (*)(struct gui_download_window *)’}
to ‘void (*)(void *, void *)’ [-Wcast-function-type]
g_list_foreach(dls, (GFunc)action, NULL);
^
2018-11-03 08:48:24 +00:00
Michael Drake
df79047cb6
GTK: Squash a couple of warnings from GCC 8.2.
...
frontends/gtk/download.c: In function ‘nsgtk_download_do’:
frontends/gtk/download.c:238:24: warning: cast between incompatible function
types from ‘void (*)(GtkTreePath *)’ {aka ‘void (*)(struct _GtkTreePath *)’}
to ‘void (*)(void *, void *)’ [-Wcast-function-type]
g_list_foreach(rows, (GFunc)gtk_tree_path_free, NULL);
^
frontends/gtk/download.c:239:24: warning: cast between incompatible function
types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type]
g_list_foreach(rows, (GFunc)g_free, NULL);
^
2018-11-03 08:39:05 +00:00
Vincent Sanders
8687265c9a
fix stupid typo in previous commit
2018-10-08 12:33:58 +01:00
Vincent Sanders
a8ee1c2d63
explicitly check for null string before compare
2018-10-06 15:44:17 +01:00
Vincent Sanders
83512a6ff5
squash clang warning about increased alignment requirements.
2018-09-26 17:21:05 +01:00
Vincent Sanders
2596331640
seems freebsd needs _XOPEN_SOURCE for math.h macros to be defined
2018-09-06 12:10:38 +01:00
Vincent Sanders
6ce6b62099
stop defining _XOPEN_SOURCE
...
This is necessary with some libc as it overrides _POSIX_C_SOURCE
and removes definitions of scandir etc.
2018-09-06 11:33:02 +01:00
Vincent Sanders
9142bab736
remove a warning on openbsd
2018-08-28 22:17:02 +01:00
Michael Drake
d54e0461ad
GTK: Remove logging during window resize.
2018-08-27 20:04:24 +01:00
Vincent Sanders
487309a1e6
fixup usage of gvalue init macro
2018-08-26 11:22:20 +01:00
Vincent Sanders
4765c68a15
fix gtk 3 deprication warnings
2018-08-26 10:12:35 +01:00
Vincent Sanders
f4620a3f68
remove depricated gtk 3 interfaces
2018-08-24 20:25:14 +01:00
Vincent Sanders
2f663987c5
do not use strlen as a variable name
2018-08-21 14:59:29 +01:00
Vincent Sanders
650ac58604
Improve GTK login dialog
2018-08-19 23:16:16 +01:00
Michael Drake
6144993c8a
GTK: Update for new HTTP auth API.
2018-08-15 07:19:58 +01:00
Michael Drake
09b015bf11
Browser: Rename function to access bw URL.
2018-07-23 10:47:26 +01:00
Michael Drake
8332bf6b2a
Plotters: Remove width param from path plotter.
...
We now use the stroke_width in the plot_style.
2018-05-23 13:48:17 +01:00
Michael Drake
66493421e6
Plotters: Change stroke width in the plot_style_t to fixed point.
2018-05-23 13:04:19 +01:00
Michael Drake
a58d97a41a
Plotters: Add plot_style_fixed type, and use for font size.
2018-05-23 11:48:35 +01:00
Vincent Sanders
0569fbf170
change tab next and back accelerators
...
fixes bug #2581
2018-04-22 14:03:18 +01:00
Vincent Sanders
d196ea7795
fix gtk accelerator loading
2018-04-22 14:03:18 +01:00
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