Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/2557335f1b78f6a97c995ba7d3c528591023a602
...commit
http://git.netsurf-browser.org/netsurf.git/commit/2557335f1b78f6a97c995ba7d3c528591023a602
...tree
http://git.netsurf-browser.org/netsurf.git/tree/2557335f1b78f6a97c995ba7d3c528591023a602
The branch, master has been updated
via 2557335f1b78f6a97c995ba7d3c528591023a602 (commit)
via e418416c77e1ec00d987d788662a5b17648258a8 (commit)
from 9925762de85a2283e64af020e169189d61932480 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=2557335f1b78f6a97c995ba7d3c528591023a602
commit 2557335f1b78f6a97c995ba7d3c528591023a602
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Squash GCC7 warning for ‘~’ on a boolean expression.
diff --git a/desktop/textarea.c b/desktop/textarea.c
index 3fb18e1..149ca26 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -2861,7 +2861,7 @@ bool textarea_keypress(struct textarea *ta, uint32_t key)
return false;
}
- redraw &= ~textarea_set_caret_internal(ta, caret);
+ redraw &= !textarea_set_caret_internal(ta, caret);
/* TODO: redraw only the bit that changed */
msg.ta = ta;
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=e418416c77e1ec00d987d788662a5b17648258a8
commit e418416c77e1ec00d987d788662a5b17648258a8
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Squash remaining GCC7 -Wimplicit-fallthrough warnings.
diff --git a/content/llcache.c b/content/llcache.c
index d48a31b..0c6f3a9 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -2698,9 +2698,7 @@ static void llcache_fetch_callback(const fetch_msg *msg,
void *p)
error = llcache_object_refetch(object);
break;
}
- /* Otherwise fall through to error, setting the message to
- * a timeout
- */
+ /* Fall through */
case FETCH_ERROR:
/* An error occurred while fetching */
/* The fetch has has already been cleaned up by the fetcher */
diff --git a/frontends/gtk/download.c b/frontends/gtk/download.c
index 5769602..d11036e 100644
--- a/frontends/gtk/download.c
+++ b/frontends/gtk/download.c
@@ -331,6 +331,7 @@ static gboolean nsgtk_download_update(gboolean force_update)
switch (dl->status) {
case NSGTK_DOWNLOAD_WORKING:
pulse_mode = TRUE;
+ /* Fall through */
case NSGTK_DOWNLOAD_NONE:
dl->speed = dl->size_downloaded /
@@ -347,6 +348,7 @@ static gboolean nsgtk_download_update(gboolean force_update)
nsgtk_downloads_num_active++;
update = TRUE;
+ /* Fall through */
case NSGTK_DOWNLOAD_COMPLETE:
downloaded += dl->size_downloaded;
diff --git a/render/html_interaction.c b/render/html_interaction.c
index 0ff69b5..30adaa0 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -697,6 +697,7 @@ void html_mouse_action(struct content *c, struct
browser_window *bw,
form_radio_set(gadget);
break;
case GADGET_IMAGE:
+ /* This falls through to SUBMIT */
if (mouse & BROWSER_MOUSE_CLICK_1) {
struct image_input_coords *coords, *oldcoords;
/** \todo Find a way to not ignore errors */
-----------------------------------------------------------------------
Summary of changes:
content/llcache.c | 4 +---
desktop/textarea.c | 2 +-
frontends/gtk/download.c | 2 ++
render/html_interaction.c | 1 +
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/content/llcache.c b/content/llcache.c
index d48a31b..0c6f3a9 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -2698,9 +2698,7 @@ static void llcache_fetch_callback(const fetch_msg *msg,
void *p)
error = llcache_object_refetch(object);
break;
}
- /* Otherwise fall through to error, setting the message to
- * a timeout
- */
+ /* Fall through */
case FETCH_ERROR:
/* An error occurred while fetching */
/* The fetch has has already been cleaned up by the fetcher */
diff --git a/desktop/textarea.c b/desktop/textarea.c
index 3fb18e1..149ca26 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -2861,7 +2861,7 @@ bool textarea_keypress(struct textarea *ta, uint32_t key)
return false;
}
- redraw &= ~textarea_set_caret_internal(ta, caret);
+ redraw &= !textarea_set_caret_internal(ta, caret);
/* TODO: redraw only the bit that changed */
msg.ta = ta;
diff --git a/frontends/gtk/download.c b/frontends/gtk/download.c
index 5769602..d11036e 100644
--- a/frontends/gtk/download.c
+++ b/frontends/gtk/download.c
@@ -331,6 +331,7 @@ static gboolean nsgtk_download_update(gboolean force_update)
switch (dl->status) {
case NSGTK_DOWNLOAD_WORKING:
pulse_mode = TRUE;
+ /* Fall through */
case NSGTK_DOWNLOAD_NONE:
dl->speed = dl->size_downloaded /
@@ -347,6 +348,7 @@ static gboolean nsgtk_download_update(gboolean force_update)
nsgtk_downloads_num_active++;
update = TRUE;
+ /* Fall through */
case NSGTK_DOWNLOAD_COMPLETE:
downloaded += dl->size_downloaded;
diff --git a/render/html_interaction.c b/render/html_interaction.c
index 0ff69b5..30adaa0 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -697,6 +697,7 @@ void html_mouse_action(struct content *c, struct
browser_window *bw,
form_radio_set(gadget);
break;
case GADGET_IMAGE:
+ /* This falls through to SUBMIT */
if (mouse & BROWSER_MOUSE_CLICK_1) {
struct image_input_coords *coords, *oldcoords;
/** \todo Find a way to not ignore errors */
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org