summaryrefslogtreecommitdiff
path: root/libyelp/yelp-uri-builder.h
Commit message (Collapse)AuthorAgeFilesLines
* Use GUri instead of SoupURICarlos Garcia Campos2021-07-041-2/+1
| | | | | This removes the direct dependency on libsoup, so that yelp doesn't need to be migrated to libsoup3.
* yelp-uri-builder: build_network_uri should receive a const char *Carlos Garcia Campos2015-06-221-1/+1
|
* yelp-view: Implement web extension to load resourcesMarcos Chavarría Teijeiro2015-06-221-3/+1
| | | | I have split the libyelp library into two parts in order to avoid linking the webextension against libyelp. So now we have a libyelpuri with the yelp-uri, yelp-build-uri and their dependecies and the old libyelp with the remaining files. I have modified the yelp-build-uri logic to not have to use yelp-document because it implies to have to add to the new library most of libyelp classes.
* yelp-view: Implement pages load in WebKit2Marcos Chavarría Teijeiro2015-06-221-0/+30
Substitute webkit_web_view_load_string call for webkit_web_view_load_html for showing error pages. Implement custom uri schemes for loading the normal pages. We should deal with the uris that Yelp undestand and the uris that Webkit undestand so we have created functions to convert from one to the others. In addition, we should add a hack to be able to load absolute uris. When we have a help:gnome-help/... uri on our document and the current page has the same scheme (help) WebKit interprets this uri as relative and it builds a different uri. To fix this instead of use a help scheme we use a bogus-help schme so WebKit interprets the uri as absolute.