diff options
author | James Bursa <james@netsurf-browser.org> | 2003-06-30 12:44:03 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-06-30 12:44:03 +0000 |
commit | 017fc4eb4b9f322ba36427ecb34853b93a41e62a (patch) | |
tree | 513a2a6c4e2b03c4b164bdb5007621c8f1ec2314 /render | |
parent | 4252b3f4c5e6f5d439329f1c8b75fe0528e0693f (diff) | |
download | netsurf-017fc4eb4b9f322ba36427ecb34853b93a41e62a.tar.gz netsurf-017fc4eb4b9f322ba36427ecb34853b93a41e62a.tar.bz2 |
[project @ 2003-06-30 12:44:02 by bursa]
New file headers.
svn path=/import/netsurf/; revision=190
Diffstat (limited to 'render')
-rw-r--r-- | render/box.c | 9 | ||||
-rw-r--r-- | render/box.h | 8 | ||||
-rw-r--r-- | render/html.c | 10 | ||||
-rw-r--r-- | render/html.h | 7 | ||||
-rw-r--r-- | render/layout.c | 8 | ||||
-rw-r--r-- | render/layout.h | 7 | ||||
-rw-r--r-- | render/textplain.c | 7 | ||||
-rw-r--r-- | render/textplain.h | 7 |
8 files changed, 47 insertions, 16 deletions
diff --git a/render/box.c b/render/box.c index 5d44a305c..0f6a7ca9f 100644 --- a/render/box.c +++ b/render/box.c @@ -1,5 +1,10 @@ -/** - * $Id: box.c,v 1.51 2003/06/17 19:24:21 bursa Exp $ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2003 James Bursa <bursa@users.sourceforge.net> + * Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net> + * Copyright 2003 John M Bell <jmb202@ecs.soton.ac.uk> */ #include <assert.h> diff --git a/render/box.h b/render/box.h index dbff18cf2..e8c7bc58a 100644 --- a/render/box.h +++ b/render/box.h @@ -1,5 +1,9 @@ -/** - * $Id: box.h,v 1.26 2003/06/17 19:24:21 bursa Exp $ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2003 James Bursa <bursa@users.sourceforge.net> + * Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net> */ #ifndef _NETSURF_RENDER_BOX_H_ diff --git a/render/html.c b/render/html.c index 1517e89a5..c9932f6a4 100644 --- a/render/html.c +++ b/render/html.c @@ -1,5 +1,8 @@ -/** - * $Id: html.c,v 1.20 2003/06/26 11:41:26 bursa Exp $ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2003 James Bursa <bursa@users.sourceforge.net> */ #include <assert.h> @@ -260,6 +263,9 @@ void html_find_stylesheets(struct content *c, xmlNode *head) if (!(href = (char *) xmlGetProp(node, (const xmlChar *) "href"))) continue; + /* TODO: only the first preferred stylesheets (ie. those with a + * title attribute) should be loaded (see HTML4 14.3) */ + url = url_join(href, c->url); LOG(("linked stylesheet %i '%s'", i, url)); xmlFree(href); diff --git a/render/html.h b/render/html.h index 7135dec1a..2d46f0a05 100644 --- a/render/html.h +++ b/render/html.h @@ -1,5 +1,8 @@ -/** - * $Id: html.h,v 1.3 2003/06/17 19:24:21 bursa Exp $ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2003 James Bursa <bursa@users.sourceforge.net> */ #ifndef _NETSURF_RENDER_HTML_H_ diff --git a/render/layout.c b/render/layout.c index ccfb0db76..56cc2f12d 100644 --- a/render/layout.c +++ b/render/layout.c @@ -1,5 +1,9 @@ -/** - * $Id: layout.c,v 1.42 2003/06/21 13:18:00 bursa Exp $ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2003 James Bursa <bursa@users.sourceforge.net> + * Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net> */ #include <assert.h> diff --git a/render/layout.h b/render/layout.h index cae352b1a..6e8ea6481 100644 --- a/render/layout.h +++ b/render/layout.h @@ -1,5 +1,8 @@ -/** - * $Id: layout.h,v 1.3 2002/08/11 23:04:02 bursa Exp $ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2003 James Bursa <bursa@users.sourceforge.net> */ #ifndef _NETSURF_RENDER_LAYOUT_H_ diff --git a/render/textplain.c b/render/textplain.c index f6e157466..55d1a604f 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -1,5 +1,8 @@ -/** - * $Id: textplain.c,v 1.3 2003/03/15 15:53:20 bursa Exp $ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2003 James Bursa <bursa@users.sourceforge.net> */ #include <assert.h> diff --git a/render/textplain.h b/render/textplain.h index 7221ab0b8..80f428e86 100644 --- a/render/textplain.h +++ b/render/textplain.h @@ -1,5 +1,8 @@ -/** - * $Id: textplain.h,v 1.1 2003/02/09 12:58:15 bursa Exp $ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2003 James Bursa <bursa@users.sourceforge.net> */ #ifndef _NETSURF_RENDER_TEXTPLAIN_H_ |