r3877 jmb - /trunk/netsurf/content/urldb.c
by netsurf@semichrome.net
Author: jmb
Date: Mon Mar 3 13:21:02 2008
New Revision: 3877
URL: http://source.netsurf-browser.org?rev=3877&view=rev
Log:
Add testcase for non-fqdn -- already passes, but may as well keep it for regression testing.
Modified:
trunk/netsurf/content/urldb.c
Modified: trunk/netsurf/content/urldb.c
URL: http://source.netsurf-browser.org/trunk/netsurf/content/urldb.c?rev=3877&...
==============================================================================
--- trunk/netsurf/content/urldb.c (original)
+++ trunk/netsurf/content/urldb.c Mon Mar 3 13:21:02 2008
@@ -3994,6 +3994,7 @@
{
struct host_part *h;
struct path_data *p;
+ const struct url_data *u;
int i;
url_init();
@@ -4003,6 +4004,23 @@
LOG(("failed adding host"));
return 1;
}
+
+ h = urldb_add_host("intranet");
+ if (!h) {
+ LOG(("failed adding host"));
+ return 1;
+ }
+
+ p = urldb_add_path("http", 0, h, "/", NULL, NULL, "http://intranet/");
+ if (!p) {
+ LOG(("failed adding path"));
+ return 1;
+ }
+
+ urldb_set_url_title("http://intranet/", "foo");
+
+ u = urldb_get_url_data("http://intranet/");
+ assert(u && strcmp(u->title, "foo") == 0);
/* Get host entry */
h = urldb_add_host("netsurf.strcprstskrzkrk.co.uk");
@@ -4012,21 +4030,21 @@
}
/* Get path entry */
- p = urldb_add_path("http", 80, h, "/path/to/resource.htm", "a=b", "zz",
+ p = urldb_add_path("http", 0, h, "/path/to/resource.htm", "a=b", "zz",
"http://netsurf.strcprstskrzkrk.co.uk/path/to/resource.htm?a=b");
if (!p) {
LOG(("failed adding path"));
return 1;
}
- p = urldb_add_path("http", 80, h, "/path/to/resource.htm", "a=b", "aa",
+ p = urldb_add_path("http", 0, h, "/path/to/resource.htm", "a=b", "aa",
"http://netsurf.strcprstskrzkrk.co.uk/path/to/resource.htm?a=b");
if (!p) {
LOG(("failed adding path"));
return 1;
}
- p = urldb_add_path("http", 80, h, "/path/to/resource.htm", "a=b", "yy",
+ p = urldb_add_path("http", 0, h, "/path/to/resource.htm", "a=b", "yy",
"http://netsurf.strcprstskrzkrk.co.uk/path/to/resource.htm?a=b");
if (!p) {
LOG(("failed adding path"));
@@ -4131,9 +4149,9 @@
}
/*
- gcc -g -o urldbtest -std=c99 -DTEST_URLDB -I.
- `pkg-config --cflags --libs libxml-2.0 cairo librsvg-2.0 libcurl`
- content/urldb.c utils/url.c utils/utils.c utils/messages.c
+ gcc -g -o urldbtest -std=c99 -DTEST_URLDB -I. \
+ `pkg-config --cflags --libs libxml-2.0 cairo librsvg-2.0 libcurl` \
+ content/urldb.c utils/url.c utils/utils.c utils/messages.c \
utils/hashtable.c utils/filename.c
*/
15 years, 6 months
r3876 tlsa - in /trunk/netsurfweb: about/news.en about/team.en index.en
by netsurf@semichrome.net
Author: tlsa
Date: Sun Mar 2 23:16:18 2008
New Revision: 3876
URL: http://source.netsurf-browser.org?rev=3876&view=rev
Log:
Update project news and team page.
Modified:
trunk/netsurfweb/about/news.en
trunk/netsurfweb/about/team.en
trunk/netsurfweb/index.en
Modified: trunk/netsurfweb/about/news.en
URL: http://source.netsurf-browser.org/trunk/netsurfweb/about/news.en?rev=3876...
==============================================================================
--- trunk/netsurfweb/about/news.en (original)
+++ trunk/netsurfweb/about/news.en Sun Mar 2 23:16:18 2008
@@ -47,6 +47,8 @@
<h1>News</h1>
<dl class="news">
+<dt><a href="http://vlists.pepperfish.net/pipermail/netsurf-users-netsurf-browser.org/...">Summary of recent development</a> <span>02 Mar 2008</span></dt>
+<dd>Pages are now periodically reflowed as images are downloaded. Handling of presentational markup is improved. Better form element handling and many other fixes and improvements.<dd>
<dt><a href="http://vlists.pepperfish.net/pipermail/netsurf-users-netsurf-browser.org/...">Summary of recent development</a> <span>03 Feb 2008</span></dt>
<dd>NetSurf's cookie and HTTP redirect support have been enhanced. Layout upgrades, including better form element display and float positioning. SVG redraw is now faster on RISC OS.<dd>
<dt><a href="/">NetSurf web site redesigned</a> <span>02 Jan 2008</span></dt>
Modified: trunk/netsurfweb/about/team.en
URL: http://source.netsurf-browser.org/trunk/netsurfweb/about/team.en?rev=3876...
==============================================================================
--- trunk/netsurfweb/about/team.en (original)
+++ trunk/netsurfweb/about/team.en Sun Mar 2 23:16:18 2008
@@ -66,7 +66,7 @@
<h2>Michael Drake</h2>
-<p>Michael contributes to several areas of the project: testing, documentation, the project web site and graphics work. He designs promotional material such as posters and banners, as well as icons for use within NetSurf itself. Michael also likes to be involved with planning the design of NetSurf's user interface. Very occasionally he pokes little bits of NetSurf's code under careful supervision of the project's experienced programmers.</p>
+<p>Michael contributes to several areas of the project: documentation, the project web site, testing and graphics work. He designs promotional material such as posters and banners, as well as toolbar and interface icons. Michael likes to be involved with planning the design of NetSurf's user interface. Recently he has started to develop NetSurf itself, and is particularly interested in the layout code.</p>
<p>Michael uses an Iyonix for most of his work on the NetSurf project. He also has a VirtualRPC Laptop for testing on RISCOS Ltd's brand of RISC OS and an Ubuntu machine for playing with nsgtk.</p>
Modified: trunk/netsurfweb/index.en
URL: http://source.netsurf-browser.org/trunk/netsurfweb/index.en?rev=3876&r1=3...
==============================================================================
--- trunk/netsurfweb/index.en (original)
+++ trunk/netsurfweb/index.en Sun Mar 2 23:16:18 2008
@@ -114,12 +114,12 @@
<h2 id="news">Latest news</h2>
<dl class="frontnews">
+<dt><a href="http://vlists.pepperfish.net/pipermail/netsurf-users-netsurf-browser.org/...">Summary of recent development</a> <span>02 Mar 2008</span></dt>
+<dd>Pages are now periodically reflowed as images are downloaded. Handling of presentational markup is improved. Better form element handling and many other fixes and improvements.<dd>
<dt><a href="http://vlists.pepperfish.net/pipermail/netsurf-users-netsurf-browser.org/...">Summary of recent development</a> <span>03 Feb 2008</span></dt>
<dd>NetSurf's cookie and HTTP redirect support have been enhanced. Layout upgrades, including better form element display and float positioning. SVG redraw is now faster on RISC OS.<dd>
<dt><a href="/">NetSurf web site redesigned</a> <span>21 Jan 2008</span></dt>
<dd>We've redesigned the web site to make it easier to navigate. Much of the content has been rewritten to make it clear that NetSurf is a multi-platform web browser.<dd>
-<dt><a href="/developers/">Summary of recent development</a> <span>02 Jan 2008</span></dt>
-<dd>Recent work on the development branch of NetSurf has added SVG support to the GTK build and the beginnings of SVG Tiny support to the RISC OS version. Other changes have included refinements to the web page scaling facilities.<dd>
</dl>
<p class="more"><a href="/about/news" class="seemore">See more news</a></p>
15 years, 6 months