Nsational Rail Enquiries
by Roger Darlington
Using Nat Rail Enquiries:
http://ojp.nationalrail.co.uk/
Typing in a known 'From' station and 'To' station names, then changing
the words of 'Today' to 'Tomorrow' and put a time in, then press 'go'
It returns an error saying 'return journey cannot be before starting
journey!
Apart from fiddling about altering the two 'Todays' that then become
visible after this error, is there a way of circumventing this by a
small change in the Netsurf program? Or is it far too difficult at
this stage of development?
--
Cheers
Roger
Live each tomorrow as if there were no today
12 years, 6 months
WG: Compiling on Fedora 13 (Vincent Sanders)
by David Sandberg
Thank you Vincent,
But now there is another Error (perhaps in haru?):
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make TARGET=gtk
M.CONFIG: JPEG (libjpeg) enabled (NETSURF_USE_JPEG := YES)
M.CONFIG: JNG/MNG/PNG (libmng) disabled (NETSURF_USE_MNG := NO)
M.CONFIG: PDF export (haru) enabled (NETSURF_USE_HARU_PDF := YES)
M.CONFIG: glibc internal iconv enabled (NETSURF_USE_LIBICONV_PLUG :=
YES)
M.CONFIG: SVG (librsvg-2.0) disabled (NETSURF_USE_RSVG := NO)
M.CONFIG: SVG (libsvgtiny) disabled (NETSURF_USE_NSSVG := NO)
M.CONFIG: Sprite (librosprite) auto-enabled (NETSURF_USE_ROSPRITE :=
AUTO)
M.CONFIG: BMP (libnsbmp) enabled (NETSURF_USE_BMP := YES)
M.CONFIG: GIF (libnsgif) enabled (NETSURF_USE_GIF := YES)
M.CONFIG: PNG (libpng) enabled (NETSURF_USE_PNG := YES)
M.CONFIG: WebP (libwebp) disabled (NETSURF_USE_WEBP := NO)
Use of uninitialized value $svninfo{"repositoryroot"} in length at
utils/svn-testament.pl line 111.
TESTMENT: unchanged
LINK: nsgtk
build-Linux-gtk/desktop_save_pdf_pdf_plotters.o: In function
`pdf_extract_image':
/tmp/netsurf/desktop/save_pdf/pdf_plotters.c:491: undefined reference to
`HPDF_Image_AddSMask'
collect2: ld backs 1 as end-status
make: *** [nsgtk] Error 1
[root@Acer1 netsurf]#
David
> ------------------------------
>
> Message: 3
> Date: Wed, 27 Apr 2011 11:07:39 +0100
> From: Vincent Sanders <vince(a)kyllikki.org>
> Subject: Re: WG: Compiling on Fedora 13
> To: netsurf-users(a)netsurf-browser.org
> Message-ID: <20110427100736.GA3342(a)kyllikki.org>
> Content-Type: text/plain; charset=iso-8859-1
>
> On Wed, Apr 27, 2011 at 11:44:49AM +0200, David Sandberg wrote:
> >
> >
> > -----Urspr|ngliche Nachricht-----
> > Von: David Sandberg [mailto:david_sandberg@alice-dsl.net]
> > Gesendet: Dienstag, 26. April 2011 22:25
> > An: ''
> > Betreff: Compiling on Fedora 13
> >
> > I'd try to build netsurf like the documentation for Fedora
> with all the
> > Dependencies build.
> > It was not possible to compile the Source without Errors:
> >
> > This is the result:
> >
> > [root@Acer1 netsurf]# PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make
> > TARGET=gtk
> > M.CONFIG: JPEG (libjpeg) enabled
> (NETSURF_USE_JPEG := YES)
> > M.CONFIG: JNG/MNG/PNG (libmng) disabled
> (NETSURF_USE_MNG := NO)
> > M.CONFIG: PDF export (haru) enabled
> (NETSURF_USE_HARU_PDF := YES)
> > M.CONFIG: glibc internal iconv enabled
> (NETSURF_USE_LIBICONV_PLUG :=
> > YES)
> > M.CONFIG: SVG (librsvg-2.0) disabled
> (NETSURF_USE_RSVG := NO)
> > M.CONFIG: SVG (libsvgtiny) disabled
> (NETSURF_USE_NSSVG := NO)
> > M.CONFIG: Sprite (librosprite) auto-enabled
> (NETSURF_USE_ROSPRITE :=
> > AUTO)
> > M.CONFIG: BMP (libnsbmp) enabled
> (NETSURF_USE_BMP := YES)
> > M.CONFIG: GIF (libnsgif) enabled
> (NETSURF_USE_GIF := YES)
> > M.CONFIG: PNG (libpng) enabled
> (NETSURF_USE_PNG := YES)
> > M.CONFIG: WebP (libwebp) disabled
> (NETSURF_USE_WEBP := NO)
> > Use of uninitialized value $svninfo{"repositoryroot"} in length at
> > utils/svn-testament.pl line 111.
> > TESTMENT: unchanged
> > LINK: nsgtk
> > /usr/bin/ld: build-Linux-gtk/gtk_dialogs_options.o:
> undefined reference to
> > symbol 'lround@@GLIBC_2.1'
> > /usr/bin/ld: note: 'lround@@GLIBC_2.1' is defined in DSO
> /lib/libm.so.6 so
> > try adding it to the linker command line
> > /lib/libm.so.6: could not read symbols: Invalid operation
> > collect2: ld backs 1 as End-Status
> > make: *** [nsgtk] Error 1
> >
> >
> >
> > Can someone help me. Probably a linker problem. Pleas give
> the syntax for
> > the linker command line.
>
> This is because glibc no longer automatically links teh math library
> (libm) with the toolchain you are using. Very easy fix:
>
> In the main Makefile around line 345
>
> You will see:
>
> # common libraries without pkg-config support
> LDFLAGS += -lz
>
> change the LDFLAGS line to
>
> LDFLAGS += -lz -lm
>
> That should sort the link for you
>
> The formal diff is
>
> Index: Makefile
> ===================================================================
> --- Makefile (revision 12242)
> +++ Makefile (working copy)
> @@ -343,7 +343,7 @@
> $(eval $(call
> feature_enabled,LIBICONV_PLUG,-DLIBICONV_PLUG,,glibc internal iconv))
>
> # common libraries without pkg-config support
> -LDFLAGS += -lz
> +LDFLAGS += -lz -lm
>
> CFLAGS += -DNETSURF_UA_FORMAT_STRING=\"$(NETSURF_UA_FORMAT_STRING)\"
> CFLAGS += -DNETSURF_HOMEPAGE=\"$(NETSURF_HOMEPAGE)\"
>
>
> --
> Regards Vincent
> http://www.kyllikki.org/
>
>
>
> End of netsurf-users Digest, Vol 48, Issue 17
> *********************************************
12 years, 7 months
Speed
by Richard Porter
The NetSurf web site says:
"Efficiency lies at the heart of the NetSurf engine, allowing it to
outwit the heavyweights of the web browser world. The NetSurf team
continue to squeeze more speed out of their code."
I've been doing one or two comparisons on a 300MHz Kinetic RiscPC
running OS 6.16.
Test 1 - following a link to near the bottom of a thumbnail index.
Fresco 2.13 15s
Oregano 1.10 17s
Netsurf r11515 28s
Test 2 - following a link to the latest forum post from the "top 10"
latest posts page.
Fresco 4s (when it worked properly)
Oregano 6s
Netsurf 17s
Now obviously there's a big advantage in coding in assembler for a
specific processor family rather than using C and making the code
portable, but the main reason seems to be that NetSurf is trying to
reformat the whole page over and over again, taking note of dimensions
only after the images have been downloaded. The other browsers do a
quick format observing dimensions where given, download the images and
then reformat if necessary. Oregano seems to fill in the visible part
of the window first which is a nice feature, but in the above tests I
waited for the page to finish downloading.
--
Richard Porter http://www.minijem.plus.com/
mailto:ricp@minijem.plus.com
I don't want a "user experience" - I just want stuff that works.
12 years, 7 months
RE: Compiling on Fedora 13
by David Sandberg
Without Haru it compiles perfect. Can you put this DIFF in the Source? For
other Fedora guys?
Thanks
David
> ------------------------------
>
> Message: 3
> Date: Wed, 27 Apr 2011 11:07:39 +0100
> From: Vincent Sanders <vince(a)kyllikki.org>
> Subject: Re: WG: Compiling on Fedora 13
> To: netsurf-users(a)netsurf-browser.org
> Message-ID: <20110427100736.GA3342(a)kyllikki.org>
> Content-Type: text/plain; charset=iso-8859-1
>
> On Wed, Apr 27, 2011 at 11:44:49AM +0200, David Sandberg wrote:
> >
> >
> > -----Urspr|ngliche Nachricht-----
> > Von: David Sandberg [mailto:david_sandberg@alice-dsl.net]
> > Gesendet: Dienstag, 26. April 2011 22:25
> > An: ''
> > Betreff: Compiling on Fedora 13
> >
> > I'd try to build netsurf like the documentation for Fedora
> with all the
> > Dependencies build.
> > It was not possible to compile the Source without Errors:
> >
> > This is the result:
> >
> > [root@Acer1 netsurf]# PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make
> > TARGET=gtk
> > M.CONFIG: JPEG (libjpeg) enabled
> (NETSURF_USE_JPEG := YES)
> > M.CONFIG: JNG/MNG/PNG (libmng) disabled
> (NETSURF_USE_MNG := NO)
> > M.CONFIG: PDF export (haru) enabled
> (NETSURF_USE_HARU_PDF := YES)
> > M.CONFIG: glibc internal iconv enabled
> (NETSURF_USE_LIBICONV_PLUG :=
> > YES)
> > M.CONFIG: SVG (librsvg-2.0) disabled
> (NETSURF_USE_RSVG := NO)
> > M.CONFIG: SVG (libsvgtiny) disabled
> (NETSURF_USE_NSSVG := NO)
> > M.CONFIG: Sprite (librosprite) auto-enabled
> (NETSURF_USE_ROSPRITE :=
> > AUTO)
> > M.CONFIG: BMP (libnsbmp) enabled
> (NETSURF_USE_BMP := YES)
> > M.CONFIG: GIF (libnsgif) enabled
> (NETSURF_USE_GIF := YES)
> > M.CONFIG: PNG (libpng) enabled
> (NETSURF_USE_PNG := YES)
> > M.CONFIG: WebP (libwebp) disabled
> (NETSURF_USE_WEBP := NO)
> > Use of uninitialized value $svninfo{"repositoryroot"} in length at
> > utils/svn-testament.pl line 111.
> > TESTMENT: unchanged
> > LINK: nsgtk
> > /usr/bin/ld: build-Linux-gtk/gtk_dialogs_options.o:
> undefined reference to
> > symbol 'lround@@GLIBC_2.1'
> > /usr/bin/ld: note: 'lround@@GLIBC_2.1' is defined in DSO
> /lib/libm.so.6 so
> > try adding it to the linker command line
> > /lib/libm.so.6: could not read symbols: Invalid operation
> > collect2: ld backs 1 as End-Status
> > make: *** [nsgtk] Error 1
> >
> >
> >
> > Can someone help me. Probably a linker problem. Pleas give
> the syntax for
> > the linker command line.
>
> This is because glibc no longer automatically links teh math library
> (libm) with the toolchain you are using. Very easy fix:
>
> In the main Makefile around line 345
>
> You will see:
>
> # common libraries without pkg-config support
> LDFLAGS += -lz
>
> change the LDFLAGS line to
>
> LDFLAGS += -lz -lm
>
> That should sort the link for you
>
> The formal diff is
>
> Index: Makefile
> ===================================================================
> --- Makefile (revision 12242)
> +++ Makefile (working copy)
> @@ -343,7 +343,7 @@
> $(eval $(call
> feature_enabled,LIBICONV_PLUG,-DLIBICONV_PLUG,,glibc internal iconv))
>
> # common libraries without pkg-config support
> -LDFLAGS += -lz
> +LDFLAGS += -lz -lm
>
> CFLAGS += -DNETSURF_UA_FORMAT_STRING=\"$(NETSURF_UA_FORMAT_STRING)\"
> CFLAGS += -DNETSURF_HOMEPAGE=\"$(NETSURF_HOMEPAGE)\"
>
>
> --
> Regards Vincent
> http://www.kyllikki.org/
>
>
>
> End of netsurf-users Digest, Vol 48, Issue 17
> *********************************************
12 years, 7 months
WG: Compiling on Fedora 13
by David Sandberg
-----Ursprüngliche Nachricht-----
Von: David Sandberg [mailto:david_sandberg@alice-dsl.net]
Gesendet: Dienstag, 26. April 2011 22:25
An: ''
Betreff: Compiling on Fedora 13
I'd try to build netsurf like the documentation for Fedora with all the
Dependencies build.
It was not possible to compile the Source without Errors:
This is the result:
[root@Acer1 netsurf]# PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make
TARGET=gtk
M.CONFIG: JPEG (libjpeg) enabled (NETSURF_USE_JPEG := YES)
M.CONFIG: JNG/MNG/PNG (libmng) disabled (NETSURF_USE_MNG := NO)
M.CONFIG: PDF export (haru) enabled (NETSURF_USE_HARU_PDF := YES)
M.CONFIG: glibc internal iconv enabled (NETSURF_USE_LIBICONV_PLUG :=
YES)
M.CONFIG: SVG (librsvg-2.0) disabled (NETSURF_USE_RSVG := NO)
M.CONFIG: SVG (libsvgtiny) disabled (NETSURF_USE_NSSVG := NO)
M.CONFIG: Sprite (librosprite) auto-enabled (NETSURF_USE_ROSPRITE :=
AUTO)
M.CONFIG: BMP (libnsbmp) enabled (NETSURF_USE_BMP := YES)
M.CONFIG: GIF (libnsgif) enabled (NETSURF_USE_GIF := YES)
M.CONFIG: PNG (libpng) enabled (NETSURF_USE_PNG := YES)
M.CONFIG: WebP (libwebp) disabled (NETSURF_USE_WEBP := NO)
Use of uninitialized value $svninfo{"repositoryroot"} in length at
utils/svn-testament.pl line 111.
TESTMENT: unchanged
LINK: nsgtk
/usr/bin/ld: build-Linux-gtk/gtk_dialogs_options.o: undefined reference to
symbol 'lround@@GLIBC_2.1'
/usr/bin/ld: note: 'lround@@GLIBC_2.1' is defined in DSO /lib/libm.so.6 so
try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld backs 1 as End-Status
make: *** [nsgtk] Error 1
Can someone help me. Probably a linker problem. Pleas give the syntax for
the linker command line.
Thanks
David
12 years, 7 months
Invisible text
by Richard Porter
I've recently come across two examples where text is invisible because
it is the same colour as the background.
The first is http://www.robinhoodpub.co.uk/ then click on the "Eat"
icon. This loads menu1.htm into an iframe in a table cell.
The table has class Background2 which doesn't specify a colour:
.Background2 {
background-image: url(images/graphics/brickmakers.jpg);
background-repeat: no-repeat;
background-position: left top;
}
The main body is class Colour1 which is grey:
.Colour1 {
background-color: #999999;
}
<body class="Colour3">
.Colour3 {
background-color: transparent;
}
Then the menu items are white e.g.:
<p align="center" class="Body1">Homemade Soup of the Day
<br></br>
<strong>£4.95</strong></p>
.Body1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
font-weight: normal;
}
The problem seems to be that NetSurf has given the iframe a white
background and ignored the transparency. The background image is
present surrounding the iframe.
The second example is different. In
http://www.bridgeaudio.co.uk/micsprices.htm .
This is crap html generated by Lotus Word Pro.
<BODY BGCOLOR="orange">
<FONT FACE = "Arial">
<FONT COLOR = "Yellow">
<body bgcolor="Orange" link="Orange" vlink="Orange">
...
<TABLE ALIGN=CENTER BORDER =8 CELLSPACING=4 CELLPADDING=4 WIDTH=100%>
<TR ALIGN=CENTER VALIGN=TOP>
<TD BGCOLOR = "Yellow" ><B><H2>AKG HANDHELD MICROPHONES</TD>
</TABLE>
Anyway there's a 'presentational hint' that the default text colour
should be yellow. The table cells have a background colour which is
also yellow. Other browsers default the text colour inside the table
cells to black so the text shows up.
Before I raise a bug report is this behaviour correct, incorrect or
unspecified?
--
Richard Porter http://www.minijem.plus.com/
mailto:ricp@minijem.plus.com
I don't want a "user experience" - I just want stuff that works.
12 years, 7 months