Keyboard/scrollwheel scrolling in frames...
by Chris Young
....doesn't seem to be implemented. I guess for keyboard scrolling
the core should be dealing with this. However I've had a request to
make the mouse scrollwheel work in frames (it works on the main window
already). Is there any overarching function I can pass these events
to to make this work, or is there no API for scrolling frames from the
frontend?
I can see a potential problem in that the frontend won't know which
frame the mouse is over, so maybe all scroll events (except physically
dragging frontend scrollbars) need to be passed via the core?
Chris
11 years, 6 months
Re: ROOL to NetSurf (RISC OS) developers
by Vincent Sanders
On Wed, Oct 26, 2011 at 02:26:35PM +0100, Steve (ROOL) wrote:
> On 25 Oct, Steve Fryatt <steve(a)stevefryatt.org.uk> wrote:
> > Having just asked on #netsurf, it seems you might be best emailing Vincent
> > Sanders with your question (as per the CC) and go from there. Be aware
> > that it will very likely get discussed in full on IRC, as that's how the
> > developers usually communicate.
>
> Thanks, Steve.
>
> Hi Vincent,
>
> RISC OS Open will be attending a show in London on Saturday and we're
> preparing a USB memory stick which contains all sorts of stuff that's useful
> for RISC OS users, notably a boot sequence and disc image, emulator software
> for Windows, Mac and Linux, and other goodies.
>
> We'd like to get the all-clear from some selected third party free software
> vendors to include their software in the disc image. Would it be OK for us
> to include a pre-installed RISC OS build of NetSurf? We'd use the latest
> official release (I believe 2.8) rather than any bleeding edge build.
>
> We are going to sell these sticks for a small profit, but that money goes
> into the administration of the RISC OS shared source project, and not in
> paying ourselves.
>
> If you could get back to me with a go/no-go before the end of Thursday, that
> would be a great help.
>
> Thanks,
>
> Steve
It is GPL licenced software and therefore you are welcome to ship
NetSurf, you do not require our permisison explicit or otherwise as
long as you abide by the licence!
As you're distributing it commericially you will need to either
include all sources, for 2.8 fetch from
http://www.netsurf-browser.org/downloads/releases/netsurf-2.8-full-src.ta...
or a written offer to provide them, good for two years.
The same is true of any other GPLed-software you wish to distribute.
The *only* note is that NetSurf is licenced GPLv2 *only* (no "or later"
clause) and has special exception for OpenSSL linkage, both are
commonly found changes.
I have also been asked to remind you that you may wish to distribute
an up to date copy of unixlib.
May I suggest http://www.gnu.org/licenses/gpl-faq.html as a definitive
reference for your future licencing queries, especially the section
"Distribution of programs released under the GNU licenses" and the
answer http://www.gnu.org/licenses/gpl-faq.html#UnchangedJustBinary
--
Regards, Vincent
http://www.kyllikki.org/
11 years, 7 months
box-shadow and border-radius
by Steven Tang
Hi,
Is anyone working on/or attempted to work on a patch that would add support for CSS3 box-shadow and border-radius?
Steven
11 years, 7 months
Re: First time compile (Peter Slegg)
by Peter Slegg
I tried make install of Test-Harness 3.23 again but it didn't change
anything:
bash-2.05a# cd /usr/src/netsurf-dev/Netsurf/
bash-2.05a# perl utils/svn-testament.pl
Can't locate IO/All/File.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/m68k-atari-mint /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/m68k-atari-mint /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.6.0/File/Temp.pm line 2.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.0/File/Temp.pm line 2.
Compilation failed in require at utils/svn-testament.pl line 4.
BEGIN failed--compilation aborted at utils/svn-testament.pl line 4.
It does install some files called File.pm just not in the right place to
be found by the script.
Regards,
Peter
11 years, 7 months
Save selection crash
by Chris Young
Can anybody confirm if saving selection is working or not? I tried it
here with a new context menu option and it crashes (not very helpfully
in selection_defined). Figuring there may be a problem in the new
code I tried my old drag save selection and that is crashing too.
Nothing logged or saved if I skip past the errors.
Can somebody try it in a different version please?
Chris
11 years, 7 months
Re: netsurf-dev Digest, Vol 65, Issue 6
by Peter Slegg
> Date: Wed, 19 Oct 2011 18:21:32 +0200
> From: m0n0 <ole(a)monochrom.net>
> Subject: Re: First time compile (m0n0)
>
> It doesn't matter, the module is build anyway.
>
> Greets,
> m
I had another go at installing test-harness but it doesn't seem to like it:
bash-2.05a# cd /usr/src/netsurf-dev/
bash-2.05a# cd Test-Harness-3.23
bash-2.05a# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/m68k-atari-mint -I/usr/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/compat/*.t
t/000-load.t .................... 1/97 make: *** [test_dynamic] Illegal Instruction
bash-2.05a# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/m68k-atari-mint -I/usr/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/compat/*.t
t/000-load.t .................... 1/97 make: *** [test_dynamic] Bus Error
bash-2.05a#
Regards,
Peter
11 years, 7 months
Re: First time compile
by Peter Slegg
> Date: Wed, 19 Oct 2011 18:21:32 +0200
> From: m0n0
> Subject: Re: First time compile (m0n0)
>
> Am Mittwoch, den 19.10.2011, 00:34 +0200 schrieb Peter Slegg
> <p.slegg(a)scubadivers.co.uk>:
>
> > I get problems with Test-Harness
> >
> ...
> > Can't locate object method "cmd_head3" via package "Pod::Man" at
> > /usr/lib/perl5/5.6.0/Pod/Man.pm line 463, <GEN0> line 34.
> > Couldn't install blib/man3/TAP::Parser::Utils.3
> > Manifying blib/man1/prove.1
>
> > etc.
> >
>
> It doesn't matter, the module is build anyway.
>
> Greets,
> m
>
I thought it had but wasn't sure.
I thought it was going to work but after 3-4 hours of build it failed
again.
M.CONFIG: GIF (libnsgif) enabled (NETSURF_USE_GIF := YES)
Can't locate IO/All/File.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/m68k-atari-mint /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/m68k-atari-mint /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.6.0/File/Temp.pm line 2.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.0/File/Temp.pm line 2.
Compilation failed in require at utils/svn-testament.pl line 4.
BEGIN failed--compilation aborted at utils/svn-testament.pl line 4.
ASSEMBLE: atari/plot/eddi.s
COMPILE: content/fetchers/about.c
content/fetchers/about.c:56:29: fatal error: utils/testament.h: No such file or directory
compilation terminated.
make: *** [build-mint-atari/content_fetchers_about.o] Error 1
I am going to comment out the "use" in the pl file and try again.
Peter
11 years, 7 months
Re: First time compile (m0n0)
by Peter Slegg
On Tue, 18 Oct 2011 12:00:12 , netsurf-dev-request(a)netsurf-browser.org wrote:
> Send netsurf-dev mailing list submissions to
> netsurf-dev(a)netsurf-browser.org
>
>
> Hello,
>
> when I use atari to compile netsurf I also use Perl 5.6.0.
> I remember I had to uncomment one "use script" within the script.
>
> To install the needed Perl modules, I downloaded the following files:
>
> Digest-Perl-MD5-1.8.tar.gz
> File-Temp-0.22.tar.gz
> Test-Harness-3.23.tar.gz
> Test-Simple.tar.gz
>
> Links:
> http://search.cpan.org/~andya/Test-Harness-3.23/lib/Test/Harness.pm
> http://search.cpan.org/~delta/Digest-Perl-MD5-1.8/lib/Digest/Perl/MD5.pm
> http://search.cpan.org/~tjenness/File-Temp-0.22/Temp.pm
> http://search.cpan.org/~mschwern/Test-Simple-0.98/lib/Test/Simple.pm
>
> Once I extracted them to a folder i ran the Makefile(.PL?). All of the
> modules should contain instructions on how to install them. Some module
> require the other, so installation sequence does matter.
>
> After that, the build process should create the testament.h, rember to
> uncomment the "use strict;" within the .pl script.
>
> Personally, I don't like the need of perl during the build, at least
> for development. (Because of the above errors that you get) - Ideally
> one would have an switch to turn that off ;)
>
> Greets,
> m
Thanks for that. I get problems with Test-Harness
bash-2.05a# make
cp bin/prove blib/script/prove
/usr/bin/perl -I/usr/lib/perl5/5.6.0/m68k-atari-mint -I/usr/lib/perl5/5.6.0 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/prove
Manifying blib/man3/TAP::Parser::Result::Version.3
Can't locate object method "cmd_head3" via package "Pod::Man" at /usr/lib/perl5/5.6.0/Pod/Man.pm line 463, <GEN0> line 52.
Couldn't install blib/man3/TAP::Parser::Result::Version.3
Manifying blib/man3/TAP::Parser::Iterator::Stream.3
Can't locate object method "cmd_head3" via package "Pod::Man" at /usr/lib/perl5/5.6.0/Pod/Man.pm line 463, <GEN0> line 40.
Couldn't install blib/man3/TAP::Parser::Iterator::Stream.3
Manifying blib/man3/TAP::Parser::Utils.3
Can't locate object method "cmd_head3" via package "Pod::Man" at /usr/lib/perl5/5.6.0/Pod/Man.pm line 463, <GEN0> line 34.
Couldn't install blib/man3/TAP::Parser::Utils.3
Manifying blib/man1/prove.1
etc.
Regards,
Peter
11 years, 7 months
First time compile
by Peter Slegg
Hi all,
I am trying to build the Atari version of Netsurf for the first
time. I did build the framebuffer version over a year ago.
I am not an expert at builds so I apologise for the basic questions.
The libs are built, I hope, and Netsurf build goes fairly well until
it hits the Perl script which fails so testament.h is not created.
It seems that Temp.pm doesn't exist in the Mint distribution of Perl.
IS there a way to avoid this ?
Regards,
Peter
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) disabled (NETSURF_USE_HARU_PDF := NO)
M.CONFIG: glibc internal iconv disabled (NETSURF_USE_LIBICONV_PLUG := NO)
M.CONFIG: PNG/MNG/JNG (libmng) disabled (NETSURF_USE_MNG := NO)
M.CONFIG: PNG (libpng) enabled (NETSURF_USE_PNG := YES)
M.CONFIG: BMP (libnsbmp) enabled (NETSURF_USE_BMP := YES)
M.CONFIG: GIF (libnsgif) enabled (NETSURF_USE_GIF := YES)
Can't locate File/Temp.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.0/m68k-atari-mint
/usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/m68k-atari-mint
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at utils/svn-testament.pl line 4.
BEGIN failed--compilation aborted at utils/svn-testament.pl line 4.
ASSEMBLE: atari/plot/eddi.s
COMPILE: content/fetchers/about.c
content/fetchers/about.c:56:29: fatal error: utils/testament.h: No such file or directory
compilation terminated.
make: *** [build-mint-atari/content_fetchers_about.o] Error 1
11 years, 7 months
Re: r13044 chris_y - /trunk/netsurf/image/nssprite.c
by John-Mark Bell
A. On Thu, 2011-10-13 at 22:11 +0000, netsurf(a)semichrome.net wrote:
> Modified: trunk/netsurf/image/nssprite.c
> URL: http://source.netsurf-browser.org/trunk/netsurf/image/nssprite.c?rev=1304...
> ==============================================================================
> --- trunk/netsurf/image/nssprite.c (original)
> +++ trunk/netsurf/image/nssprite.c Thu Oct 13 17:11:47 2011
> @@ -133,14 +133,12 @@
> for (uint32_t y = 0; y < sprite->height; y++) {
> for (uint32_t x = 0; x < sprite->width; x++) {
> int offset = 4 * (y * sprite->width + x);
> - uint32_t r = imagebuf[offset+3];
> - uint32_t g = imagebuf[offset+2];
> - uint32_t b = imagebuf[offset+1];
> - uint32_t a = imagebuf[offset];
> - imagebuf[offset] = r;
> - imagebuf[offset+1] = g;
> - imagebuf[offset+2] = b;
> - imagebuf[offset+3] = a;
> + uint32_t rgba = 0;
> +
> + rgba |= imagebuf[offset] << 24;
> + rgba |= imagebuf[offset + 1] << 16;
> + rgba |= imagebuf[offset + 2] << 8;
> + rgba |= imagebuf[offset + 3];
> }
> }
Is it me or does this loop now do nothing?
J.
11 years, 7 months