summaryrefslogtreecommitdiffstats
path: root/src/web-view-schemes
Commit message (Collapse)AuthorAgeFilesLines
* src/local.mk, src/*/local.mk, src/*/*/local.mk: Distribute headersPatrick McDermott2017-11-131-0/+1
|
* mq_web_view_normal_scheme_methods: Don't handle "about"/"mq-about" schemePatrick McDermott2017-11-081-20/+6
|
* mq_web_view_about_scheme_methods: New scheme methodsPatrick McDermott2017-11-084-0/+134
|
* mq_web_view_normal_scheme_methods.display_uri(): Hide query of about-scheme URIsPatrick McDermott2017-11-041-1/+9
|
* Revert "mq_web_view_normal_scheme_methods.rewrite_uri(): Hide query of ↵Patrick McDermott2017-11-041-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 URIsPatrick McDermott2017-11-041-1/+9
|
* mq_web_view_view_source_scheme_methods.save_file(): Appease GCCPatrick McDermott2017-11-011-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 casesPatrick McDermott2017-11-012-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_ITEMPatrick McDermott2017-11-011-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 McDermott2017-11-012-4/+4
|
* src/utils/string-utils.[ch]: Rename to src/utils/string.[ch]Patrick McDermott2017-11-011-1/+1
|
* src/string-utils.[ch]: Move under src/utils/Patrick McDermott2017-11-011-1/+1
|
* mq_web_view_normal_scheme_methods.initialize(): Use MqSettings with no overridesPatrick McDermott2017-11-011-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 McDermott2017-11-011-1/+23
| | | | | | enabled Prism and only Prism runs in "view-source" pages.
* atoi64(), parse_query_string(): Prefix function names with "mq_"Patrick McDermott2017-10-311-2/+2
| | | | And update calls.
* mq_web_view_view_source_scheme_methods.context_menu(): s/normal/view_source/Patrick McDermott2017-10-311-4/+4
| | | | Fixes segmentation fault on right-click.
* MqWebViewViewSourceScheme: Add (WebKitHitTestResult *) memberPatrick McDermott2017-10-311-2/+3
|
* mq_web_view_normal_scheme_methods.context_menu(): Add "View Page So_urce" itemPatrick McDermott2017-10-311-2/+18
|
* mq_web_view_view_source_scheme_methods.initialize(): Mark (MqWebView *) ↵Patrick McDermott2017-10-311-1/+2
| | | | parameter as unused
* mq_web_view_view_source_scheme_methods.rewrite_uri(): Update TODO commentPatrick McDermott2017-10-311-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 URIPatrick McDermott2017-10-311-2/+2
|
* mq_web_view_view_source_scheme_methods.initialize(): Use hash table and get ↵Patrick McDermott2017-10-311-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 commentPatrick McDermott2017-10-301-1/+1
|
* mq_web_view_view_source_scheme_methods: Add TODO comments to methodsPatrick McDermott2017-10-301-0/+3
|
* mq_web_view_scheme_set_methods(): Call new scheme's initialize() methodPatrick McDermott2017-10-301-4/+5
|
* mq_web_view_scheme_set_methods(): Take an (MqWebView *) parameterPatrick McDermott2017-10-302-4/+4
|
* MqWebViewScheme: Delete ready_cb memberPatrick McDermott2017-10-304-17/+2
| | | | | And delete mq_web_view_scheme_connect_ready_callback() and uses of MqWebViewScheme.ready_cb.
* MqWebViewSchemeMethods: Drop ready methodPatrick McDermott2017-10-301-1/+0
| | | | It was never actually used.
* mq_web_view_view_source_scheme_methods.initialize(): Delete TODO commentPatrick McDermott2017-10-301-1/+0
|
* mq_web_view_view_source_scheme_methods.rewrite_uri(): Mark web_view ↵Patrick McDermott2017-10-301-1/+1
| | | | parameter as unused
* MqWebViewViewSourceScheme: Drop data memberPatrick McDermott2017-10-301-3/+2
|
* mq_web_view_view_source_scheme_methods.rewrite_uri(): Use origin tab IDPatrick McDermott2017-10-301-3/+3
| | | | Not the view tab ID.
* mq_web_view_scheme_set_methods(): Always call finalize() methodPatrick McDermott2017-10-301-5/+3
|
* mq_web_view_scheme_connect_ready_callback(): New functionPatrick McDermott2017-10-302-0/+11
|
* src/web-view-schemes/methods.c: Drop unused macroPatrick McDermott2017-10-301-2/+0
|
* MqWebViewScheme: Add ready_cb memberPatrick McDermott2017-10-303-2/+6
| | | | And call it from mq_web_view_*_scheme_methods.initialize().
* MqWebViewScheme: Convert to struct with anonymous unionPatrick McDermott2017-10-301-4/+7
|
* mq_web_view_*_scheme_methods->initialize(): New methodsPatrick McDermott2017-10-303-8/+21
|
* src/web-view-schemes/*.c: Rearrange match_uri() and finalize() method defsPatrick McDermott2017-10-302-12/+12
|
* mq_web_view_*_scheme_methods.match_uri(): Handle NULL uri argumentsPatrick McDermott2017-10-302-2/+2
|
* mq_web_view_normal_scheme_methods.match_uri(): Move definitionPatrick McDermott2017-10-301-8/+8
|
* mq_web_view_scheme_set_methods(): Don't dereference NULL pointerPatrick McDermott2017-10-301-1/+3
|
* mq_web_view_scheme_set_methods(): New functionPatrick McDermott2017-10-303-0/+60
|
* Revert "mq_web_view_*_scheme_methods: Make const"Patrick McDermott2017-10-303-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 methodsPatrick McDermott2017-10-303-0/+17
|
* mq_web_view_*_scheme_methods->finalize(): New methodsPatrick McDermott2017-10-303-0/+15
|
* mq_web_view_*_scheme_init(), mq_web_view_*_scheme_fini(): Drop declarationsPatrick McDermott2017-10-301-12/+0
|
* mq_web_view_*_scheme_methods: Make constPatrick McDermott2017-10-303-4/+4
|
* mq_web_view_view_source_scheme_methods.rewrite_uri(): Fix ↵Patrick McDermott2017-10-301-1/+1
| | | | mq_tab_page_get_id() call
* MqWebViewSchemeMethods: Add (MqWebView *) param to *_uri() methodsPatrick McDermott2017-10-303-6/+9
|