Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GTK: Squash GCC8.2 warning. | Michael Drake | 2018-11-03 | 1 | -2/+14 |
| | | | | | | | 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); ^ | ||||
* | GTK: Make nsgtk_download_selection_action match GFunc prototype. | Michael Drake | 2018-11-03 | 1 | -4/+10 |
| | | | | | | | | | | 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); ^ | ||||
* | GTK: Squash a couple of warnings from GCC 8.2. | Michael Drake | 2018-11-03 | 1 | -2/+22 |
| | | | | | | | | | | | | | 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); ^ | ||||
* | Squash remaining GCC7 -Wimplicit-fallthrough warnings. | Michael Drake | 2017-10-23 | 1 | -0/+2 |
| | |||||
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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); | ||||
* | move download header into public API | Vincent Sanders | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | move frontends into sub directory | Vincent Sanders | 2016-05-15 | 1 | -0/+865 |