Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | view-source: Escape markup | Patrick McDermott | 2017-10-31 | 1 | -10/+7 |
| | |||||
* | MqApplication: Register "view-source" URI scheme | Patrick McDermott | 2017-10-31 | 1 | -0/+9 |
| | |||||
* | src/view-source.[ch]: New files | Patrick McDermott | 2017-10-31 | 3 | -0/+153 |
| | |||||
* | src/resources.c: Fix missing newlines in error document | Patrick McDermott | 2017-10-30 | 1 | -2/+2 |
| | |||||
* | src/resources.c: Fix <title> tag in error document | Patrick McDermott | 2017-10-30 | 1 | -1/+1 |
| | |||||
* | 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 | 3 | -8/+8 |
| | |||||
* | 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. | ||||
* | MqWebView: Delete scheme ready callback | Patrick McDermott | 2017-10-30 | 1 | -11/+0 |
| | |||||
* | mq_web_view_load_uri(): Directly call webkit_web_view_load_uri() | Patrick McDermott | 2017-10-30 | 1 | -2/+2 |
| | | | | | Instead of going through the scheme's initialize() method and the ready callback. | ||||
* | mq_web_view_view_source_scheme_methods.initialize(): Delete TODO comment | Patrick McDermott | 2017-10-30 | 1 | -1/+0 |
| | |||||
* | MqWebView: Remove old struct members | Patrick McDermott | 2017-10-30 | 1 | -5/+0 |
| | |||||
* | mq_web_view_get_data(): New function | Patrick McDermott | 2017-10-30 | 2 | -0/+41 |
| | | | | And add a new "data" property to the MqWebView class. | ||||
* | 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_application_register_tab(): Copy tab ID into hash table | Patrick McDermott | 2017-10-30 | 1 | -4/+7 |
| | | | | | | | Otherwise, every key in the hash table is incremented to the same invalid value on each mq_application_register_tab() call. Also set key destruction function in mq_application_new(). | ||||
* | mq_web_view_load_uri(): Call initialize() scheme method | Patrick McDermott | 2017-10-30 | 1 | -0/+2 |
| | |||||
* | MqWebView: Call mq_web_view_load_uri() in constructed() | Patrick McDermott | 2017-10-30 | 1 | -5/+2 |
| | | | | | Instead of directly setting web_view->uri and calling mq_web_view_scheme_set_methods(). | ||||
* | mq_web_view_load_uri(): Drop duplicate mq_web_view_scheme_set_methods() | Patrick McDermott | 2017-10-30 | 1 | -2/+0 |
| | |||||
* | MqWebView: Mark scheme parameter as unused in ready callback | Patrick McDermott | 2017-10-30 | 1 | -1/+1 |
| | |||||
* | mq_web_view_load_uri(): Call rewrite_uri() method after setting methods | Patrick McDermott | 2017-10-30 | 1 | -2/+2 |
| | |||||
* | mq_web_view_load_uri(): Set scheme methods | Patrick McDermott | 2017-10-30 | 1 | -8/+2 |
| | | | | | Instead of calling rewrite_uri() method and webkit_web_view_load_uri() directly. | ||||
* | MqWebView: Handle NULL URI in constructed() | Patrick McDermott | 2017-10-30 | 1 | -0/+14 |
| | |||||
* | MqWebView: Remove NULL URI handling from ready callback | Patrick McDermott | 2017-10-30 | 1 | -19/+2 |
| | |||||
* | MqWebView: Connect scheme ready callback | Patrick McDermott | 2017-10-30 | 1 | -20/+30 |
| | |||||
* | 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 |
| | |||||
* | MqWebView: mq_web_view_scheme_set_methods() on URI change | Patrick McDermott | 2017-10-30 | 1 | -3/+6 |
| | | | | Not in constructed() method. | ||||
* | 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 |
| | |||||
* | MqWebView: mq_web_view_scheme_set_methods() on construction | Patrick McDermott | 2017-10-30 | 1 | -1/+2 |
| | |||||
* | 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 | 4 | -14/+14 |
| | | | | | | | | 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 | 4 | -14/+14 |
| | |||||
* | 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 | 4 | -10/+13 |
| | |||||
* | mq_web_view_view_source_scheme_methods.rewrite_uri(): Drop G_GNUC_UNUSED | Patrick McDermott | 2017-10-30 | 1 | -1/+1 |
| |