summaryrefslogtreecommitdiffstats
path: root/src/web-view-schemes/view-source.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-011-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_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-011-2/+2
|
* 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_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.
* 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
|
* MqWebViewScheme: Delete ready_cb memberPatrick McDermott2017-10-301-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 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
* mq_web_view_view_source_scheme_methods.rewrite_uri(): Use origin tab IDPatrick McDermott2017-10-301-3/+3
| | | | Not the view tab ID.
* MqWebViewScheme: Add ready_cb memberPatrick McDermott2017-10-301-0/+2
| | | | And call it from mq_web_view_*_scheme_methods.initialize().
* mq_web_view_*_scheme_methods->initialize(): New methodsPatrick McDermott2017-10-301-8/+13
|
* src/web-view-schemes/*.c: Rearrange match_uri() and finalize() method defsPatrick McDermott2017-10-301-6/+6
|
* mq_web_view_*_scheme_methods.match_uri(): Handle NULL uri argumentsPatrick McDermott2017-10-301-1/+1
|
* Revert "mq_web_view_*_scheme_methods: Make const"Patrick McDermott2017-10-301-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 methodsPatrick McDermott2017-10-301-0/+7
|
* mq_web_view_*_scheme_methods->finalize(): New methodsPatrick McDermott2017-10-301-0/+7
|
* mq_web_view_*_scheme_methods: Make constPatrick McDermott2017-10-301-1/+1
|
* 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-301-2/+3
|
* mq_web_view_view_source_scheme_methods.rewrite_uri(): Drop G_GNUC_UNUSEDPatrick McDermott2017-10-301-1/+1
|
* mq_web_view_view_source_scheme_methods.display_uri(): ImplementPatrick McDermott2017-10-301-2/+2
|
* mq_web_view_view_source_scheme_methods.rewrite_uri(): ImplementPatrick McDermott2017-10-301-2/+25
|
* MqWebViewViewSourceScheme, mq_web_view_view_source_scheme_methods: DefinePatrick McDermott2017-10-301-0/+191