| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
| |
And mark the static recursive function it calls as pure.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's a stub, GCC.
Fixes:
CC src/web-view-schemes/marquee-view-source.o
src/web-view-schemes/view-source.c: In function ‘save_file’:
src/web-view-schemes/view-source.c:229:2: warning: statement with no effect [-Wunused-value]
mq_web_view_get_scheme(web_view);
^
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/marquee-web-view.o
src/web-view.c: In function ‘mq_web_view_get_scheme’:
src/web-view.c:355:1: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
mq_web_view_get_scheme(MqWebView *web_view)
^
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/config/marquee-config.o
src/config/config.c: In function ‘set_type_or_run_callbacks’:
src/config/config.c:332:4: warning: switch missing default case [-Wswitch-default]
switch (item->type) {
^
src/config/config.c: In function ‘mq_config_set’:
src/config/config.c:429:2: warning: switch missing default case [-Wswitch-default]
switch (item->type) {
^
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/config/marquee-settings.o
src/config/settings.c: In function ‘mq_settings_connect_config’:
src/config/settings.c:365:3: warning: switch missing default case [-Wswitch-default]
switch (mappings[i].type) {
^
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/toolbars/navigation/marquee-back-forward-button-box.o
src/toolbars/navigation/back-forward-button-box.c: In function ‘list_item_new’:
src/toolbars/navigation/back-forward-button-box.c:97:2: warning: switch missing default case [-Wswitch-default]
switch (type) {
^
|
|
|
|
|
|
|
|
|
|
|
| |
This was used when the tab tree was in the label popover.
Fixes:
CC src/marquee-tab-label.o
src/tab-label.c:103:0: warning: macro "NEW_TOGGLE" is not used [-Wunused-macros]
#define NEW_TOGGLE(Y, X, ICON, TOOLTIP) \
^
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/marquee-main.o
src/main.c:34:29: warning: initialization discards ‘const’ qualifier from pointer target type
static gchar *opt_profile = "default";
^
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/marquee-tree.o
src/tree.c:251:1: warning: no previous prototype for ‘seek’ [-Wmissing-prototypes]
seek(MqTree *node, gint offset)
^
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/schemes/marquee-view-source.o
src/schemes/view-source.c: In function ‘respond’:
src/schemes/view-source.c:75:4: warning: unknown conversion type character ‘;’ in format [-Wformat=]
uri, escaped_data), -1, g_free);
^
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/schemes/marquee-view-source.o
src/schemes/view-source.c: In function ‘respond’:
src/schemes/view-source.c:75:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
uri, escaped_data), -1, g_free);
^
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/schemes/about/marquee-marquee.o
src/schemes/about/marquee.c: In function ‘mq_about_marquee_response’:
src/schemes/about/marquee.c:72:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
"DANGER", "DO NOT PRESS"));
^
|
|
|
|
|
|
|
|
|
|
| |
Surprisingly, this was the error, instead of a fatal error about not
finding "../paths.h":
CC src/schemes/about/marquee-marquee.o
src/schemes/about/marquee.c:58:1: warning: no previous prototype for ‘mq_about_marquee_response’ [-Wmissing-prototypes]
mq_about_marquee_response(MqApplication *application, GHashTable *query,
^
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/web-view-schemes/marquee-normal.o
src/web-view-schemes/normal.c: In function ‘context_menu’:
src/web-view-schemes/normal.c:455:3: warning: switch missing default case [-Wswitch-default]
switch (stock_action) {
^
CC src/web-view-schemes/marquee-view-source.o
src/web-view-schemes/view-source.c: In function ‘context_menu’:
src/web-view-schemes/view-source.c:173:3: warning: switch missing default case [-Wswitch-default]
switch (stock_action) {
^
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/toolbars/navigation/marquee-uri-entry.o
src/toolbars/navigation/uri-entry.c: In function ‘load_changed_cb’:
src/toolbars/navigation/uri-entry.c:59:2: warning: switch missing default case [-Wswitch-default]
switch (load_event) {
^
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
No custom context menu items are created for this scheme.
Fixes:
CC src/web-view-schemes/marquee-view-source.o
src/web-view-schemes/view-source.c: At top level:
src/web-view-schemes/view-source.c:112:0: warning: macro "NEW_CUSTOM_ITEM" is not used [-Wunused-macros]
#define NEW_CUSTOM_ITEM(NAME, LABEL) \
^
src/web-view-schemes/view-source.c:107:0: warning: macro "ITEM_DECLS" is not used [-Wunused-macros]
#define ITEM_DECLS \
^
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
CC src/utils/marquee-resources.o
src/utils/resources.c: In function ‘mq_resource_response’:
src/utils/resources.c:64:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
path, error->message), -1, g_free);
^
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
And update src/local.mk.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Its purpose changed in commit 75a2885.
|
|
|
|
| |
And drop WebKitSettings setup in MqApplication.
|
|
|
|
| |
This is now done in scheme initialize() methods.
|
|
|
|
|
| |
Otherwise, if a user navigates to a normal-scheme page from a source
view, the JS override will remain.
|
|
|
|
|
|
| |
enabled
Prism and only Prism runs in "view-source" pages.
|
| |
|
| |
|
|
|
|
| |
This way, the type is also available.
|
|
|
|
| |
Based on code from src/web-settings.[ch].
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Also drop the conditional around URI freeing. g_free() already performs
this check. We may be able to avoid the overhead of an unnecessary
function call (at the cost of sometimes inaccurate branch prediction),
but the resulting code is uglier, especially with lots of g_free()
calls.
|
|
|
|
|
|
|
|
|
|
| |
Otherwise, a connected source view will keep getting the data the first
such view received, even after a load change.
A better solution would be to cache a pointer to the main resource and
check in mq_web_view_get_data() if the main resource's address has
changed. But apparently WebKit reuses resource objects, so that doesn't
work.
|
| |
|
| |
|