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.
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!
functionality into netsurf;
only a few things are supported by now:
- alert (only 1 per time)
and a simple rocketlauncher API ;)
The code is only a >proof of concept< and I'd just like to hear your
opionions about that.
Thx for your comments
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
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...