Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | src/main.c: Fix missing "const" specifier | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | | | | | | | | | 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"; ^ | ||||
* | src/tree.c: Fix missing "static" qualifier | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | | | | | | | | | Fixes: CC src/marquee-tree.o src/tree.c:251:1: warning: no previous prototype for ‘seek’ [-Wmissing-prototypes] seek(MqTree *node, gint offset) ^ | ||||
* | view-source: Fix unescaped "%" in format string | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | | | | | | | | | | 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); ^ | ||||
* | view-source: Convert static const document var to macro | Patrick McDermott | 2017-11-01 | 1 | -23/+23 |
| | | | | | | | | | | 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); ^ | ||||
* | about:marquee: Convert static const document var to macro | Patrick McDermott | 2017-11-01 | 1 | -28/+28 |
| | | | | | | | | | | 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")); ^ | ||||
* | about:marquee: Fix #include | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | | | | | | | | | | 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, ^ | ||||
* | mq_web_view_*_scheme_methods.context_menu(): Add (empty) default cases | Patrick McDermott | 2017-11-01 | 2 | -0/+4 |
| | | | | | | | | | | | | | | | 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) { ^ | ||||
* | MqWebView: Add default case to "load-changed" callback | Patrick McDermott | 2017-11-01 | 1 | -0/+3 |
| | | | | | | | | | | 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) { ^ | ||||
* | src/web-view-schemes/view-source.c: Undefine ITEM_DECLS and NEW_CUSTOM_ITEM | Patrick McDermott | 2017-11-01 | 1 | -14/+0 |
| | | | | | | | | | | | | | | | 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 \ ^ | ||||
* | src/utils/resources.c: Convert static const error_document var to macro | Patrick McDermott | 2017-11-01 | 1 | -14/+14 |
| | | | | | | | | | | 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); ^ | ||||
* | Makefile.am: Use $(WARN_CFLAGS) | Patrick McDermott | 2017-11-01 | 1 | -0/+2 |
| | |||||
* | configure.ac: Enable many more warnings | Patrick McDermott | 2017-11-01 | 1 | -9/+21 |
| | |||||
* | m4/gcc_version.m4: New file | Patrick McDermott | 2017-11-01 | 1 | -0/+38 |
| | |||||
* | m4/gl_manywarnings.m4: wget the right URL... | Patrick McDermott | 2017-11-01 | 1 | -402/+12 |
| | |||||
* | scripts/update-m4.sh: Update Gnulib M4 file pattern | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | |||||
* | m4: Prefix files from Gnulib with "gl_" | Patrick McDermott | 2017-11-01 | 2 | -0/+0 |
| | |||||
* | m4/warnings.m4: New file | Patrick McDermott | 2017-11-01 | 1 | -0/+106 |
| | |||||
* | scripts/update-m4.sh: Handle M4 files from Gnulib | Patrick McDermott | 2017-11-01 | 1 | -0/+4 |
| | |||||
* | m4/manywarnings.m4: New file | Patrick McDermott | 2017-11-01 | 1 | -0/+719 |
| | |||||
* | scripts/update-m4.sh: Make more extensible | Patrick McDermott | 2017-11-01 | 1 | -2/+7 |
| | |||||
* | scripts/update-m4.sh: New file | Patrick McDermott | 2017-11-01 | 1 | -0/+9 |
| | |||||
* | configure.ac: Use AX_APPEND_FLAG() | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | | | | And shorten AX_CHECK_COMPILE_FLAG() call. | ||||
* | configure.ac: Use AX_CFLAGS_WARN_ALL() instead of -Wall check | Patrick McDermott | 2017-11-01 | 1 | -7/+3 |
| | |||||
* | m4/ax_append_flag.m4, m4/ax_cflags_warn_all.m4, m4/ax_require_defined.m4: ↵ | Patrick McDermott | 2017-11-01 | 3 | -0/+230 |
| | | | | New files | ||||
* | Makefile.am: Fix version.c dependencies | Patrick McDermott | 2017-11-01 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | Fixes the following: $ rm -f version.c $ make --no-print-directory make all-recursive Making all in . make[2]: Circular version.c <- version.c dependency dropped. GEN version.c GEN marquee Making all in data make[2]: Nothing to be done for 'all'. $ rm -f version.c $ bmake bmake all-recursive Making all in . bmake[2]: Graph cycles through version.c `all-am' not remade because of errors. Making all in data | ||||
* | Makefile.am: Add $(PACKAGE_VERSION) to PACKAGE_STRING | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | |||||
* | Makefile.am: Use version.c in marquee_LINK | Patrick McDermott | 2017-11-01 | 1 | -6/+2 |
| | | | | | | Also use it in EXTRA_marquee_DEPENDENCIES. This finally avoids having to define the whole link target. | ||||
* | Makefile.am: Split version.c generation into new target | Patrick McDermott | 2017-11-01 | 1 | -3/+6 |
| | |||||
* | Revert "Makefile.am: Add version.c to marquee_SOURCES" | Patrick McDermott | 2017-11-01 | 1 | -3/+6 |
| | | | | | | This reverts commit 7ee941825739135fd5c6571e2706784f1ba70168. The commit introduced a dependency cycle that causes trouble. | ||||
* | Makefile.am: Add version.c to marquee_SOURCES | Patrick McDermott | 2017-11-01 | 1 | -6/+3 |
| | | | | And don't manually link marquee. | ||||
* | Makefile.am: Make data last | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | |||||
* | src/config.[ch], src/settings.[ch]: Move under src/config/ | Patrick McDermott | 2017-11-01 | 19 | -18/+17 |
| | |||||
* | src/web-view.h: Add missing #include | Patrick McDermott | 2017-11-01 | 1 | -0/+1 |
| | |||||
* | src/window.c: Add missing #include | Patrick McDermott | 2017-11-01 | 1 | -0/+1 |
| | |||||
* | src/about*, src/view-source.*: Move under src/schemes/ | Patrick McDermott | 2017-11-01 | 11 | -22/+20 |
| | |||||
* | src/about/preferences.c: Sort #include directives | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | |||||
* | src/utils/string-utils.[ch]: Rename to src/utils/string.[ch] | Patrick McDermott | 2017-11-01 | 6 | -5/+5 |
| | |||||
* | src/utils/local.mk: New file | Patrick McDermott | 2017-11-01 | 2 | -3/+5 |
| | | | | And update src/local.mk. | ||||
* | src/string-utils.[ch]: Move under src/utils/ | Patrick McDermott | 2017-11-01 | 5 | -3/+3 |
| | |||||
* | src/resources.[ch]: Move under src/utils/ | Patrick McDermott | 2017-11-01 | 4 | -4/+4 |
| | |||||
* | src/html.[ch]: Move under src/utils/ | Patrick McDermott | 2017-11-01 | 4 | -2/+2 |
| | |||||
* | src/web-settings.[ch]: Remove files | Patrick McDermott | 2017-11-01 | 3 | -387/+0 |
| | |||||
* | MqApplication: Rename a static function | Patrick McDermott | 2017-11-01 | 1 | -2/+2 |
| | | | | Its purpose changed in commit 75a2885. | ||||
* | mq_application_get_webkit_settings(): Delete function | Patrick McDermott | 2017-11-01 | 2 | -22/+6 |
| | | | | And drop WebKitSettings setup in MqApplication. | ||||
* | MqWebView: Don't set Web view settings | Patrick McDermott | 2017-11-01 | 1 | -4/+0 |
| | | | | This is now done in scheme initialize() methods. | ||||
* | mq_web_view_normal_scheme_methods.initialize(): Use MqSettings with no overrides | Patrick McDermott | 2017-11-01 | 1 | -2/+21 |
| | | | | | Otherwise, if a user navigates to a normal-scheme page from a source view, the JS override will remain. | ||||
* | mq_web_view_view_source_scheme_methods.initialize(): Use MqSettings with JS ↵ | Patrick McDermott | 2017-11-01 | 1 | -1/+23 |
| | | | | | | enabled Prism and only Prism runs in "view-source" pages. | ||||
* | MqSettings: Delete extra "never" cookie accept policy branch | Patrick McDermott | 2017-11-01 | 1 | -3/+0 |
| | |||||
* | MqSettings: Fix negated boolean mappings | Patrick McDermott | 2017-11-01 | 1 | -1/+4 |
| | |||||
* | MqSettings: Store mapping struct pointers in mappings table | Patrick McDermott | 2017-11-01 | 1 | -8/+8 |
| | | | | This way, the type is also available. |