summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Makefile.am: Add $(PACKAGE_VERSION) to PACKAGE_STRINGPatrick McDermott2017-11-011-1/+1
|
* Makefile.am: Use version.c in marquee_LINKPatrick McDermott2017-11-011-6/+2
| | | | | | Also use it in EXTRA_marquee_DEPENDENCIES. This finally avoids having to define the whole link target.
* Makefile.am: Split version.c generation into new targetPatrick McDermott2017-11-011-3/+6
|
* Revert "Makefile.am: Add version.c to marquee_SOURCES"Patrick McDermott2017-11-011-3/+6
| | | | | | This reverts commit 7ee941825739135fd5c6571e2706784f1ba70168. The commit introduced a dependency cycle that causes trouble.
* Makefile.am: Add version.c to marquee_SOURCESPatrick McDermott2017-11-011-6/+3
| | | | And don't manually link marquee.
* Makefile.am: Make data lastPatrick McDermott2017-11-011-1/+1
|
* src/config.[ch], src/settings.[ch]: Move under src/config/Patrick McDermott2017-11-0119-18/+17
|
* src/web-view.h: Add missing #includePatrick McDermott2017-11-011-0/+1
|
* src/window.c: Add missing #includePatrick McDermott2017-11-011-0/+1
|
* src/about*, src/view-source.*: Move under src/schemes/Patrick McDermott2017-11-0111-22/+20
|
* src/about/preferences.c: Sort #include directivesPatrick McDermott2017-11-011-1/+1
|
* src/utils/string-utils.[ch]: Rename to src/utils/string.[ch]Patrick McDermott2017-11-016-5/+5
|
* src/utils/local.mk: New filePatrick McDermott2017-11-012-3/+5
| | | | And update src/local.mk.
* src/string-utils.[ch]: Move under src/utils/Patrick McDermott2017-11-015-3/+3
|
* src/resources.[ch]: Move under src/utils/Patrick McDermott2017-11-014-4/+4
|
* src/html.[ch]: Move under src/utils/Patrick McDermott2017-11-014-2/+2
|
* src/web-settings.[ch]: Remove filesPatrick McDermott2017-11-013-387/+0
|
* MqApplication: Rename a static functionPatrick McDermott2017-11-011-2/+2
| | | | Its purpose changed in commit 75a2885.
* mq_application_get_webkit_settings(): Delete functionPatrick McDermott2017-11-012-22/+6
| | | | And drop WebKitSettings setup in MqApplication.
* MqWebView: Don't set Web view settingsPatrick McDermott2017-11-011-4/+0
| | | | This is now done in scheme initialize() methods.
* 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.
* MqSettings: Delete extra "never" cookie accept policy branchPatrick McDermott2017-11-011-3/+0
|
* MqSettings: Fix negated boolean mappingsPatrick McDermott2017-11-011-1/+4
|
* MqSettings: Store mapping struct pointers in mappings tablePatrick McDermott2017-11-011-8/+8
| | | | This way, the type is also available.
* MqSettings: New classPatrick McDermott2017-11-013-0/+514
| | | | Based on code from src/web-settings.[ch].
* view-source: Remove marginsPatrick McDermott2017-10-311-2/+3
|
* view-source: Set width of <pre> to apply bg to full widthPatrick McDermott2017-10-311-1/+1
|
* mq_html_notebook(): Add newline after "<style>"Patrick McDermott2017-10-311-2/+2
|
* MqWebView: Free cached main resource data on finalize()Patrick McDermott2017-10-311-3/+2
| | | | | | | | Also drop the conditional around URI freeing. g_free() already performs this check. We may be able to avoid the overhead of an unnecessary function call (at the cost of sometimes inaccurate branch prediction), but the resulting code is uglier, especially with lots of g_free() calls.
* MqWebView: Invalidate main resource data cache on load changePatrick McDermott2017-10-311-0/+9
| | | | | | | | | | Otherwise, a connected source view will keep getting the data the first such view received, even after a load change. A better solution would be to cache a pointer to the main resource and check in mq_web_view_get_data() if the main resource's address has changed. But apparently WebKit reuses resource objects, so that doesn't work.
* view-source: Use PrismPatrick McDermott2017-10-311-2/+10
|
* view-source: Handle "view-source:resources/*" pathsPatrick McDermott2017-10-311-4/+14
|
* data/resources/prism/: Import from upstream, HEAD of branch gh-pagesPatrick McDermott2017-10-319-0/+1107
|
* data/resources/prism/.gitignore: New filePatrick McDermott2017-10-311-0/+2
|
* scripts/update-prism.sh: New scriptPatrick McDermott2017-10-311-0/+22
|
* data/Makefile.am: Build prism.css and prism.jsPatrick McDermott2017-10-312-1/+25
|
* view-source: Gracefully handle closed origin tabPatrick McDermott2017-10-311-11/+18
| | | | Don't just crash.
* src/html.c: Add missing newlines in stylesPatrick McDermott2017-10-311-2/+2
|
* atoi64(), parse_query_string(): Prefix function names with "mq_"Patrick McDermott2017-10-315-9/+9
| | | | 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".
* view-source: Add TODO commentPatrick McDermott2017-10-311-0/+1
|
* view-source: Show origin URI in titlePatrick McDermott2017-10-311-4/+5
|
* view-source: Free user data struct in data callbackPatrick McDermott2017-10-311-0/+2
|
* mq_view_source_request(): Use hash table and get origin URI from path/queryPatrick McDermott2017-10-311-7/+12
|
* mq_web_view_view_source_scheme_methods.rewrite_uri(): Add "uri" parameter to URIPatrick McDermott2017-10-311-2/+2
|