mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
This commit is contained in:
commit
5e5975e30b
1
Makefile
1
Makefile
@ -604,6 +604,7 @@ clean-builddir:
|
||||
CLEANS += clean-builddir
|
||||
|
||||
all-program: $(EXETARGET) post-exe
|
||||
$(call split_install_messages, '[^\.]+', !NetSurf/Resources)
|
||||
|
||||
.PHONY: testament
|
||||
testament utils/testament.h:
|
||||
|
@ -85,8 +85,9 @@ void ami_clipboard_init(void)
|
||||
|
||||
void ami_clipboard_free_internal(struct IFFHandle *iffhandle)
|
||||
{
|
||||
if(iffhandle == NULL) return;
|
||||
if(iffhandle->iff_Stream) CloseClipboard((struct ClipboardHandle *)iffhandle->iff_Stream);
|
||||
if(iffhandle) FreeIFF(iffhandle);
|
||||
FreeIFF(iffhandle);
|
||||
}
|
||||
|
||||
void ami_clipboard_free(void)
|
||||
|
2
amiga/dist/NetSurf.guide
vendored
2
amiga/dist/NetSurf.guide
vendored
@ -124,6 +124,8 @@ There are a couple of Amiga-specific options which can only be changed directly
|
||||
@{b}cairo_renderer@{ub} Set rendering engine. -1 = palette-mapped (set automatically when required), 0 = graphics.library (default), 1 = Cairo/graphics.library mixed, 2 = Full Cairo.
|
||||
@{b}monitor_aspect_x@{ub}/@{b}monitor_aspect_y@{ub} Correct aspect ratio for displays (default of 0 means "assume square pixels").
|
||||
@{b}screen_compositing@{ub} Use compositing on NetSurf's own screen. 0=disable, 1=enable, 2=default (NB: This is indirectly modified by changing the "simple refresh" option in the GUI)
|
||||
@{b}resize_with_contents@{ub} Set to 1 to respect GUI prefs' "resize with contents" option. Default is to use old-style "resize on release"
|
||||
@{b}reformat_delay@{ub} Sets a delay on performing content reformats (eg. if the window has been resized). Set to a higher value to make "resize with contents" more responsive. Defaults to 0 (immediate).
|
||||
@{b}redraw_tile_size_x@{ub}/@{b}redraw_tile_size_y@{ub} Specify the size of the off-screen bitmap. Higher will speed up redraws at the expense of memory. 0 disables tiling (will use a bitmap at least the size of the screen NetSurf is running on)
|
||||
@{b}web_search_width@{ub} Defaults to 0. Larger values will increase the size of the web search gadget next to the URL bar.
|
||||
|
||||
|
@ -3058,10 +3058,12 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw,
|
||||
char addtab[100],addtab_s[100],addtab_g[100];
|
||||
char tabthrobber[100];
|
||||
ULONG refresh_mode = WA_SmartRefresh;
|
||||
ULONG idcmp_sizeverify = IDCMP_SIZEVERIFY;
|
||||
|
||||
if (!scrn) ami_openscreenfirst();
|
||||
|
||||
if (nsoption_bool(kiosk_mode)) new_tab = false;
|
||||
if (nsoption_bool(resize_with_contents)) idcmp_sizeverify = 0;
|
||||
bw->scale = 1.0;
|
||||
|
||||
if(clone)
|
||||
@ -3305,7 +3307,7 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw,
|
||||
WA_SizeBBottom, TRUE,
|
||||
WA_IDCMP, IDCMP_MENUPICK | IDCMP_MOUSEMOVE |
|
||||
IDCMP_MOUSEBUTTONS | IDCMP_NEWSIZE |
|
||||
IDCMP_RAWKEY | IDCMP_SIZEVERIFY |
|
||||
IDCMP_RAWKEY | idcmp_sizeverify |
|
||||
IDCMP_GADGETUP | IDCMP_IDCMPUPDATE |
|
||||
IDCMP_REFRESHWINDOW |
|
||||
IDCMP_ACTIVEWINDOW | IDCMP_EXTENDEDMOUSE,
|
||||
@ -3897,7 +3899,9 @@ static void ami_redraw_callback(void *p)
|
||||
*/
|
||||
void ami_schedule_redraw(struct gui_window_2 *gwin, bool full_redraw)
|
||||
{
|
||||
schedule(0, ami_redraw_callback, gwin);
|
||||
int cs = 0;
|
||||
if(gwin->bw->reformat_pending) cs = nsoption_int(reformat_delay);
|
||||
schedule(cs, ami_redraw_callback, gwin);
|
||||
if(full_redraw) gwin->redraw_required = true;
|
||||
}
|
||||
|
||||
|
@ -80,6 +80,8 @@
|
||||
int cairo_renderer; \
|
||||
bool direct_render; \
|
||||
bool window_simple_refresh; \
|
||||
bool resize_with_contents; \
|
||||
int reformat_delay; \
|
||||
int redraw_tile_size_x; \
|
||||
int redraw_tile_size_y; \
|
||||
int monitor_aspect_x; \
|
||||
@ -145,6 +147,8 @@
|
||||
.cairo_renderer = 0, \
|
||||
.direct_render = false, \
|
||||
.window_simple_refresh = false, \
|
||||
.resize_with_contents = false, \
|
||||
.reformat_delay = 0, \
|
||||
.redraw_tile_size_x = 0, \
|
||||
.redraw_tile_size_y = 0, \
|
||||
.monitor_aspect_x = 0, \
|
||||
@ -209,6 +213,8 @@
|
||||
{ "cairo_renderer", OPTION_INTEGER, &nsoptions.cairo_renderer}, \
|
||||
{ "direct_render", OPTION_BOOL, &nsoptions.direct_render}, \
|
||||
{ "window_simple_refresh", OPTION_BOOL, &nsoptions.window_simple_refresh}, \
|
||||
{ "resize_with_contents", OPTION_BOOL, &nsoptions.resize_with_contents}, \
|
||||
{ "reformat_delay", OPTION_INTEGER, &nsoptions.reformat_delay}, \
|
||||
{ "redraw_tile_size_x", OPTION_INTEGER, &nsoptions.redraw_tile_size_x}, \
|
||||
{ "redraw_tile_size_y", OPTION_INTEGER, &nsoptions.redraw_tile_size_y}, \
|
||||
{ "monitor_aspect_x", OPTION_INTEGER, &nsoptions.monitor_aspect_x}, \
|
||||
|
@ -427,12 +427,12 @@ process_cmdline(int argc, char** argv)
|
||||
fename = "sdl";
|
||||
febpp = 32;
|
||||
|
||||
if ((nsoption_int(window_width) != 0) &&
|
||||
(nsoption_int(window_height) != 0)) {
|
||||
fewidth = nsoption_int(window_width);
|
||||
feheight = nsoption_int(window_height);
|
||||
} else {
|
||||
fewidth = nsoption_int(window_width);
|
||||
if (fewidth <= 0) {
|
||||
fewidth = 800;
|
||||
}
|
||||
feheight = nsoption_int(window_height);
|
||||
if (feheight <= 0) {
|
||||
feheight = 600;
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@ static struct gui_system_colour_ctx colour_list[] = {
|
||||
}, {
|
||||
"ActiveCaption",
|
||||
SLEN("ActiveCaption"),
|
||||
0xffdddddd,
|
||||
0xffddddcc,
|
||||
&nsoption_colour(sys_colour_ActiveCaption),
|
||||
NULL
|
||||
}, {
|
||||
@ -62,13 +62,13 @@ static struct gui_system_colour_ctx colour_list[] = {
|
||||
}, {
|
||||
"ButtonFace",
|
||||
SLEN("ButtonFace"),
|
||||
0xffaaaaaa,
|
||||
0xffdddddd,
|
||||
&nsoption_colour(sys_colour_ButtonFace),
|
||||
NULL
|
||||
}, {
|
||||
"ButtonHighlight",
|
||||
SLEN("ButtonHighlight"),
|
||||
0xffdddddd,
|
||||
0xffcccccc,
|
||||
&nsoption_colour(sys_colour_ButtonHighlight),
|
||||
NULL
|
||||
}, {
|
||||
@ -92,7 +92,7 @@ static struct gui_system_colour_ctx colour_list[] = {
|
||||
}, {
|
||||
"GrayText",
|
||||
SLEN("GrayText"),
|
||||
0xffcccccc,
|
||||
0xff777777,
|
||||
&nsoption_colour(sys_colour_GrayText),
|
||||
NULL
|
||||
}, {
|
||||
@ -110,7 +110,7 @@ static struct gui_system_colour_ctx colour_list[] = {
|
||||
}, {
|
||||
"InactiveBorder",
|
||||
SLEN("InactiveBorder"),
|
||||
0xffffffff,
|
||||
0xff000000,
|
||||
&nsoption_colour(sys_colour_InactiveBorder),
|
||||
NULL
|
||||
}, {
|
||||
|
1
gtk/res/de/Messages
Symbolic link
1
gtk/res/de/Messages
Symbolic link
@ -0,0 +1 @@
|
||||
../../../!NetSurf/Resources/de/Messages
|
1
gtk/res/en/Messages
Symbolic link
1
gtk/res/en/Messages
Symbolic link
@ -0,0 +1 @@
|
||||
../../../!NetSurf/Resources/en/Messages
|
1
gtk/res/fr/Messages
Symbolic link
1
gtk/res/fr/Messages
Symbolic link
@ -0,0 +1 @@
|
||||
../../../!NetSurf/Resources/fr/Messages
|
1
gtk/res/it/Messages
Symbolic link
1
gtk/res/it/Messages
Symbolic link
@ -0,0 +1 @@
|
||||
../../../!NetSurf/Resources/it/Messages
|
1
gtk/res/nl/Messages
Symbolic link
1
gtk/res/nl/Messages
Symbolic link
@ -0,0 +1 @@
|
||||
../../../!NetSurf/Resources/nl/Messages
|
Loading…
Reference in New Issue
Block a user