Re: r13410 tlsa - in /trunk/libcss: src/parse/important.c test/data/parse/colours.dat
by Chris Young
On Fri, 27 Jan 2012 23:52:06 -0000, wibbled on for an age:
> Author: tlsa
> Date: Fri Jan 27 17:52:06 2012
> New Revision: 13410
I'm not sure if it is this change (don't see how this would cause such
a problem), but I just updated libcss with the last couple of
revisions and now NetSurf doesn't seem to be parsing CSS properly.
eg. on www.amigans.net there is loads of stuff in the left-hand
column, which should be hidden (overprinting the content which should
be there). On www.bbc.co.uk the situation is worse, with the CSS not
appearing to have been parsed at all.
Chris
11 years, 10 months
[PATCH] LibCSS: Correct defaults for font-face rules.
by James Montgomerie
Attached is a patch that contains a fix to the @font-face handling to correctly set the default state of font-face rules. At the moment, a rule is initialised by being memset to 0, which leaves the style and weight at 'inherit', which is incorrect (and invalid - @font-face has no concept of inheritance).
Since I wrote this code originally, this is also an apology for the mistake, sorry!
Jamie.
11 years, 10 months
javascript support in netsurf
by Steven Falken
Hi,
as a weekend project I integrated spidermonkey's javascript
functionality into netsurf;
only a few things are supported by now:
- alert (only 1 per time)
- document.URL
- window.open
- body-onload
- img-onclick
and a simple rocketlauncher API ;)
The code is only a >proof of concept< and I'd just like to hear your
opionions about that.
Download: http://87.98.242.180/netsurf-2.8-js.tar.bz2
Thx for your comments
11 years, 10 months
Re: Doing a native RISC OS build
by W P Blatchley
On Tue, 17 Jan 2012 13:00:13 +0100, John-Mark Bell wrote:
> It wouldn't work, that's for sure, as the input is a unix path. It
> sounds like GCC4 for RISC OS no longer ships with the additional
> utilities that GCC3 did. I suggest you install coreutils somewhere
> sensible:
Thanks, JMB. It hadn't quite clicked that everything is unix-style in the
build system. I'd already looked on riscos.info for a touch port, but not
found it in coreutils. All sorted now. Still can't get a build working on
RISC OS using GCC4.1.1, but managed to build some components with GCC3.
Sometime in the future I'll try harder with GCC4.
@Rob, I know you're right - I should invest the time to get the GCCSDK up
and running, but being only a casual Linux user, that's not trivial for me
and I don't have time right now. Thanks for the tip anyway.
Would be interested to hear from anyone who is building Netsurf and
dependencies on RISC OS with GCC4...
Cheers,
WPB
11 years, 10 months
Doing a native RISC OS build
by W P Blatchley
When I try to do a native RISC OS build (GCC 4.1.1), 'make' fails with
"File 'touch' not found".
Is it safe to do:
*Set Alias$touch Stamp
Or would that be a bad idea?
Thanks,
WPB
11 years, 10 months