Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mq_web_view_view_source_scheme_methods.save_file(): Appease GCC | Patrick McDermott | 2017-11-01 | 1 | -3/+2 |
| | | | | | | | | | | | | 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); ^ | ||||
* | mq_web_view_*_scheme_methods.context_menu(): Add (empty) default cases | Patrick McDermott | 2017-11-01 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | 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) { ^ | ||||
* | 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/config.[ch], src/settings.[ch]: Move under src/config/ | Patrick McDermott | 2017-11-01 | 1 | -2/+2 |
| | |||||
* | src/utils/string-utils.[ch]: Rename to src/utils/string.[ch] | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | |||||
* | src/string-utils.[ch]: Move under src/utils/ | Patrick McDermott | 2017-11-01 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | atoi64(), parse_query_string(): Prefix function names with "mq_" | Patrick McDermott | 2017-10-31 | 1 | -2/+2 |
| | | | | And update calls. | ||||
* | mq_web_view_view_source_scheme_methods.context_menu(): s/normal/view_source/ | Patrick McDermott | 2017-10-31 | 1 | -4/+4 |
| | | | | Fixes segmentation fault on right-click. | ||||
* | mq_web_view_view_source_scheme_methods.initialize(): Mark (MqWebView *) ↵ | Patrick McDermott | 2017-10-31 | 1 | -1/+2 |
| | | | | parameter as unused | ||||
* | mq_web_view_view_source_scheme_methods.rewrite_uri(): Update TODO comment | Patrick McDermott | 2017-10-31 | 1 | -2/+1 |
| | | | | Missing origin tab IDs are passed along as "origin-tab=0". | ||||
* | mq_web_view_view_source_scheme_methods.rewrite_uri(): Add "uri" parameter to URI | Patrick McDermott | 2017-10-31 | 1 | -2/+2 |
| | |||||
* | mq_web_view_view_source_scheme_methods.initialize(): Use hash table and get ↵ | Patrick McDermott | 2017-10-31 | 1 | -14/+9 |
| | | | | | | | origin URI from URI Trading MqApplication's registered tabs hash table for a query parameters hash table. | ||||
* | mq_web_view_view_source_scheme_methods.initialize(): Update comment | Patrick McDermott | 2017-10-30 | 1 | -1/+1 |
| | |||||
* | mq_web_view_view_source_scheme_methods: Add TODO comments to methods | Patrick McDermott | 2017-10-30 | 1 | -0/+3 |
| | |||||
* | MqWebViewScheme: Delete ready_cb member | Patrick McDermott | 2017-10-30 | 1 | -2/+0 |
| | | | | | And delete mq_web_view_scheme_connect_ready_callback() and uses of MqWebViewScheme.ready_cb. | ||||
* | mq_web_view_view_source_scheme_methods.initialize(): Delete TODO comment | Patrick McDermott | 2017-10-30 | 1 | -1/+0 |
| | |||||
* | mq_web_view_view_source_scheme_methods.rewrite_uri(): Mark web_view ↵ | Patrick McDermott | 2017-10-30 | 1 | -1/+1 |
| | | | | parameter as unused | ||||
* | mq_web_view_view_source_scheme_methods.rewrite_uri(): Use origin tab ID | Patrick McDermott | 2017-10-30 | 1 | -3/+3 |
| | | | | Not the view tab ID. | ||||
* | MqWebViewScheme: Add ready_cb member | Patrick McDermott | 2017-10-30 | 1 | -0/+2 |
| | | | | And call it from mq_web_view_*_scheme_methods.initialize(). | ||||
* | mq_web_view_*_scheme_methods->initialize(): New methods | Patrick McDermott | 2017-10-30 | 1 | -8/+13 |
| | |||||
* | src/web-view-schemes/*.c: Rearrange match_uri() and finalize() method defs | Patrick McDermott | 2017-10-30 | 1 | -6/+6 |
| | |||||
* | mq_web_view_*_scheme_methods.match_uri(): Handle NULL uri arguments | Patrick McDermott | 2017-10-30 | 1 | -1/+1 |
| | |||||
* | Revert "mq_web_view_*_scheme_methods: Make const" | Patrick McDermott | 2017-10-30 | 1 | -1/+1 |
| | | | | | | | | This reverts commit 0b796336a0c5ce1cf5185c2946c4ff22fa3da296. Conflicts: src/web-view-schemes/normal.c src/web-view-schemes/view-source.c | ||||
* | mq_web_view_*_scheme_methods->match_uri(): New methods | Patrick McDermott | 2017-10-30 | 1 | -0/+7 |
| | |||||
* | mq_web_view_*_scheme_methods->finalize(): New methods | Patrick McDermott | 2017-10-30 | 1 | -0/+7 |
| | |||||
* | mq_web_view_*_scheme_methods: Make const | Patrick McDermott | 2017-10-30 | 1 | -1/+1 |
| | |||||
* | mq_web_view_view_source_scheme_methods.rewrite_uri(): Fix ↵ | Patrick McDermott | 2017-10-30 | 1 | -1/+1 |
| | | | | mq_tab_page_get_id() call | ||||
* | MqWebViewSchemeMethods: Add (MqWebView *) param to *_uri() methods | Patrick McDermott | 2017-10-30 | 1 | -2/+3 |
| | |||||
* | mq_web_view_view_source_scheme_methods.rewrite_uri(): Drop G_GNUC_UNUSED | Patrick McDermott | 2017-10-30 | 1 | -1/+1 |
| | |||||
* | mq_web_view_view_source_scheme_methods.display_uri(): Implement | Patrick McDermott | 2017-10-30 | 1 | -2/+2 |
| | |||||
* | mq_web_view_view_source_scheme_methods.rewrite_uri(): Implement | Patrick McDermott | 2017-10-30 | 1 | -2/+25 |
| | |||||
* | MqWebViewViewSourceScheme, mq_web_view_view_source_scheme_methods: Define | Patrick McDermott | 2017-10-30 | 1 | -0/+191 |