Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix signedness of printf format specifiers | P. J. McDermott | 2018-09-24 | 1 | -1/+1 |
| | |||||
* | mq_web_view_normal_scheme_methods: Internationalize | Patrick McDermott | 2017-11-20 | 1 | -20/+21 |
| | |||||
* | src/local.mk, src/*/local.mk, src/*/*/local.mk: Distribute headers | Patrick McDermott | 2017-11-13 | 1 | -0/+1 |
| | |||||
* | mq_web_view_normal_scheme_methods: Don't handle "about"/"mq-about" scheme | Patrick McDermott | 2017-11-08 | 1 | -20/+6 |
| | |||||
* | mq_web_view_about_scheme_methods: New scheme methods | Patrick McDermott | 2017-11-08 | 4 | -0/+134 |
| | |||||
* | mq_web_view_normal_scheme_methods.display_uri(): Hide query of about-scheme URIs | Patrick McDermott | 2017-11-04 | 1 | -1/+9 |
| | |||||
* | Revert "mq_web_view_normal_scheme_methods.rewrite_uri(): Hide query of ↵ | Patrick McDermott | 2017-11-04 | 1 | -9/+1 |
| | | | | | | | | about-scheme URIs" This reverts commit 18bb954f220d97cf5d26a4a89088b6556b427563. Wrong method, but nothing broke. | ||||
* | mq_web_view_normal_scheme_methods.rewrite_uri(): Hide query of about-scheme URIs | Patrick McDermott | 2017-11-04 | 1 | -1/+9 |
| | |||||
* | 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 | 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 |
| |