Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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) { ^ | ||||
* | 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 | 2 | -4/+4 |
| | |||||
* | 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_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. | ||||
* | 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. | ||||
* | MqWebViewViewSourceScheme: Add (WebKitHitTestResult *) member | Patrick McDermott | 2017-10-31 | 1 | -2/+3 |
| | |||||
* | mq_web_view_normal_scheme_methods.context_menu(): Add "View Page So_urce" item | Patrick McDermott | 2017-10-31 | 1 | -2/+18 |
| | |||||
* | 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 |
| | |||||
* | mq_web_view_scheme_set_methods(): Call new scheme's initialize() method | Patrick McDermott | 2017-10-30 | 1 | -4/+5 |
| | |||||
* | mq_web_view_scheme_set_methods(): Take an (MqWebView *) parameter | Patrick McDermott | 2017-10-30 | 2 | -4/+4 |
| | |||||
* | MqWebViewScheme: Delete ready_cb member | Patrick McDermott | 2017-10-30 | 4 | -17/+2 |
| | | | | | And delete mq_web_view_scheme_connect_ready_callback() and uses of MqWebViewScheme.ready_cb. | ||||
* | MqWebViewSchemeMethods: Drop ready method | Patrick McDermott | 2017-10-30 | 1 | -1/+0 |
| | | | | It was never actually used. | ||||
* | 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 | ||||
* | MqWebViewViewSourceScheme: Drop data member | Patrick McDermott | 2017-10-30 | 1 | -3/+2 |
| | |||||
* | 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. | ||||
* | mq_web_view_scheme_set_methods(): Always call finalize() method | Patrick McDermott | 2017-10-30 | 1 | -5/+3 |
| | |||||
* | mq_web_view_scheme_connect_ready_callback(): New function | Patrick McDermott | 2017-10-30 | 2 | -0/+11 |
| | |||||
* | src/web-view-schemes/methods.c: Drop unused macro | Patrick McDermott | 2017-10-30 | 1 | -2/+0 |
| | |||||
* | MqWebViewScheme: Add ready_cb member | Patrick McDermott | 2017-10-30 | 3 | -2/+6 |
| | | | | And call it from mq_web_view_*_scheme_methods.initialize(). | ||||
* | MqWebViewScheme: Convert to struct with anonymous union | Patrick McDermott | 2017-10-30 | 1 | -4/+7 |
| | |||||
* | mq_web_view_*_scheme_methods->initialize(): New methods | Patrick McDermott | 2017-10-30 | 3 | -8/+21 |
| | |||||
* | src/web-view-schemes/*.c: Rearrange match_uri() and finalize() method defs | Patrick McDermott | 2017-10-30 | 2 | -12/+12 |
| | |||||
* | mq_web_view_*_scheme_methods.match_uri(): Handle NULL uri arguments | Patrick McDermott | 2017-10-30 | 2 | -2/+2 |
| | |||||
* | mq_web_view_normal_scheme_methods.match_uri(): Move definition | Patrick McDermott | 2017-10-30 | 1 | -8/+8 |
| | |||||
* | mq_web_view_scheme_set_methods(): Don't dereference NULL pointer | Patrick McDermott | 2017-10-30 | 1 | -1/+3 |
| | |||||
* | mq_web_view_scheme_set_methods(): New function | Patrick McDermott | 2017-10-30 | 3 | -0/+60 |
| | |||||
* | Revert "mq_web_view_*_scheme_methods: Make const" | Patrick McDermott | 2017-10-30 | 3 | -4/+4 |
| | | | | | | | | 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 | 3 | -0/+17 |
| | |||||
* | mq_web_view_*_scheme_methods->finalize(): New methods | Patrick McDermott | 2017-10-30 | 3 | -0/+15 |
| | |||||
* | mq_web_view_*_scheme_init(), mq_web_view_*_scheme_fini(): Drop declarations | Patrick McDermott | 2017-10-30 | 1 | -12/+0 |
| | |||||
* | mq_web_view_*_scheme_methods: Make const | Patrick McDermott | 2017-10-30 | 3 | -4/+4 |
| | |||||
* | 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 | 3 | -6/+9 |
| | |||||
* | 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: Make uri member const | Patrick McDermott | 2017-10-30 | 1 | -3/+3 |
| | |||||
* | MqWebViewScheme: Add MqWebViewViewSourceScheme member | Patrick McDermott | 2017-10-30 | 1 | -1/+2 |
| | |||||
* | MqWebViewViewSourceScheme, mq_web_view_view_source_scheme_methods: Define | Patrick McDermott | 2017-10-30 | 3 | -1/+206 |
| | |||||
* | MqWebViewNormalScheme: Add hit_test_result member | Patrick McDermott | 2017-10-30 | 1 | -2/+3 |
| |