Re: Fetching NetSurf

2012-10-14 Thread Richard Ashbery
  And Netsurf 3.0 (Dev C1 #463) now works well, so more thanks.

 Ditto here. Thanks for #463  Fetch_NS

Excellent utility John - great time saver - many thanks

Richard




Re: RISC OS: Squeezed executable

2012-10-14 Thread Rob Kendrick
On Sun, Oct 14, 2012 at 01:29:33PM +0100, Martin Bazley wrote:
 The thing which is *really* annoying about using NetSurf on a USB drive
 is the enormous amount of time it takes to quit - up to thirty seconds
 on a bad day!  This seems to be dependent on the amount of browsing done
 beforehand.  I've tried cleaning out the cookies and turning off history
 collection, and that made it slightly better, but that can't be all of
 it.

Get an OS with a better IO layer :)

 The last time I examined NetSurf's log file after quitting I saw that
 the lines which were taking up the vast majority of the time since the
 quit request was received were a set of repeated calls to
 bitmap_save_file(bitmap) in riscos/bitmap.c. This seems to be the result
 of the following loop in bitmap_quit():
 
 void bitmap_quit(void)
 {
 struct bitmap *bitmap;
 
 for (bitmap = bitmap_head; bitmap; bitmap = bitmap-next)
 if ((bitmap-state  BITMAP_PERSISTENT) 
 ((bitmap-state  BITMAP_MODIFIED) ||
 (bitmap-filename[0] == '\0')))
 bitmap_save_file(bitmap);
 }
 
 I'm at a loss to understand exactly what 'bitmaps' NetSurf could have
 'modified' in the course of the session, or where it's 'saving' them to.
 All I know is that this is a horrendously inefficient operation!

They're probably the webpage thumbnails used in the history viewer.  It
might be nice to have an option to disable this.

But NetSurf is not being inefficient here; RISC OS is.

B.



Re: Fetching NetSurf

2012-10-14 Thread Peter Young
On 14 Oct 2012  Richard Ashbery ris...@gotadsl.co.uk wrote:

 And Netsurf 3.0 (Dev C1 #463) now works well, so more thanks.

 Ditto here. Thanks for #463  Fetch_NS

 Excellent utility John - great time saver - many thanks

Bewilderment continues here, I'm afraid. It seems that my previous 
download was corrupted somehow, and there's potential for it working 
on the ARMini, but it does nothing at all on VRPC running RISC OS 
4.02.

On the ARMini it's evident that cURL doesn't work, and falls over with 
the error message I posted upthread, but there are two oddities. Even 
though cURL is in Boot.Library, Fetch_NS reports:

14 Oct 13:48:25 000 00D6: Error from Fetch latest NetSurf: File 
'curl' not found

unless I open the library so that cURL is booted. Then I get the error 
message when cURL doesn't work, then a very odd message:

4 Oct 14:28:59 000 00CC: Error from (unknown): File name '.' not 
recognise, in spite of:

*show Fetch$Dir
Fetch$Dir : SCSI::armini.$.Internet.!Fetch_NS

and if I do a Filer_OpenDir on SCSI::armini.$.Internet.!Fetch_NS.^ 
(without the trailing dot) the correct directory opens, but not if it 
does have the trailing dot.

Has anyone found an ARMini-compatible cURL yet? And why should I get 
the above two error messages? Or is it just not something that will 
work with an ARMini?

With best wishes,

Peter (a.k.a. puzzled of Cheltenham).

-- 
Peter   \  /  zfc Ta \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: Fetching NetSurf

2012-10-14 Thread Peter Young
On 14 Oct 2012  Peter Young pnyo...@ormail.co.uk wrote:

 On 14 Oct 2012  Richard Ashbery ris...@gotadsl.co.uk wrote:

 And Netsurf 3.0 (Dev C1 #463) now works well, so more thanks.

 Ditto here. Thanks for #463  Fetch_NS

 Excellent utility John - great time saver - many thanks

 Bewilderment continues here, I'm afraid.

But no longer! I took up Frank's suggestion of replacing cURL with 
wget, and it now works, very fast too; sorry to have wittered on so 
much!

Also, I had been expecting task windows to open, which added to the 
mystification.

If I can get a round tuit (or preferably someone who understands 
things better could get one of those), would there be interest in 
adding bits to the program, similar to the bits I had in my old 
script? What these did is:

  1) Copy the old NetSurf as Old_NS (note the lack of pling) and 
 then delete the old app.
 
  2) Do sequential deletes and copies so that the last three zips 
 are kept for backup.
 
  3) Open the new zip and copy out the app to the directory in 
 which the script is. 
 
With best wishes,

Peter.

-- 
Peter   \  /  zfc Ta \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: RISC OS: Squeezed executable

2012-10-14 Thread Tony Moore
On 13 Oct 2012, Rob Kendrick r...@netsurf-browser.org wrote:

[snip]

 I'd like some feedback on this.  Specifically;

   - Are people noticing any difference in load times?

SARPC / RISC OS 6.20:
   netsurf-2012-10-02_20-23-02   17 seconds
   NetSurf #461  15 seconds.

RPCEmu 0.8.9 / RISC OS 4.39:
   netsurf-2012-10-02_20-23-02   11 seconds
   NetSurf #461  11 seconds

NetSurf was dragged to the iconbar (to avoid the uncertain timing of a
double-click) and loading timed using Alarm. Each result was consistent
over several trials.

Tony






Re: RISC OS: Squeezed executable

2012-10-14 Thread Rob Kendrick
On Sun, Oct 14, 2012 at 02:08:09PM +, Tony Moore wrote:
 On 13 Oct 2012, Rob Kendrick r...@netsurf-browser.org wrote:
 
 [snip]
 
  I'd like some feedback on this.  Specifically;
 
  - Are people noticing any difference in load times?
 
 SARPC / RISC OS 6.20:
netsurf-2012-10-02_20-23-02   17 seconds
NetSurf #461  15 seconds.
 
 RPCEmu 0.8.9 / RISC OS 4.39:
netsurf-2012-10-02_20-23-02   11 seconds
NetSurf #461  11 seconds

Thanks!  This is essentially what I was expecting.  Good to see it also
works under 6.20.

B.



Re: Fetching NetSurf

2012-10-14 Thread cj
In article a64c8dde52.pnyo...@pnyoung.ormail.co.uk,
   Peter Young pnyo...@ormail.co.uk wrote:
 unless I open the library so that cURL is booted.

Are you putting the curl *binary* in to Boot:Library? If you are
putting the !cURL *application* in Boot:Library it will not work
because nothing in Boot:Library is booted at boot time. Either
extract the cURL binary from the app and put in to Library or put the
!cURL application in to eg Boot:Resources, where the app will be
booted.

-- 
Chris Johnson



Re: Fetching NetSurf

2012-10-14 Thread cj
In article 8ff38ede52.pnyo...@pnyoung.ormail.co.uk,
   Peter Young pnyo...@ormail.co.uk wrote:
 would there be interest in 
 adding bits to the program, similar to the bits I had in my old 
 script?

I have a script that does that and more, although I need to extend it
to deal with the case when the latest version hasn't changed. Contact
me privately in a day or so - I may have a round tuit by then.

-- 
Chris Johnson



Re: Fetching NetSurf

2012-10-14 Thread Peter Young
On 14 Oct 2012  cj ch...@chris-johnson.org.uk wrote:

 In article 8ff38ede52.pnyo...@pnyoung.ormail.co.uk,
Peter Young pnyo...@ormail.co.uk wrote:
 would there be interest in
 adding bits to the program, similar to the bits I had in my old
 script?

 I have a script that does that and more, although I need to extend it
 to deal with the case when the latest version hasn't changed. Contact
 me privately in a day or so - I may have a round tuit by then.

That sounds interesting, and I will do that. I was tempted to fiddle 
with my script, but you know what you're doing and I don't! That all 
assumes, though, that the other problems get sorted by then.

With best wishes,

Peter.

-- 
Peter   \  /  zfc Ta \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: Fetching NetSurf

2012-10-14 Thread Peter Young
On 14 Oct 2012  cj ch...@chris-johnson.org.uk wrote:

 In article a64c8dde52.pnyo...@pnyoung.ormail.co.uk,
Peter Young pnyo...@ormail.co.uk wrote:
 unless I open the library so that cURL is booted.

 Are you putting the curl *binary* in to Boot:Library? If you are
 putting the !cURL *application* in Boot:Library it will not work
 because nothing in Boot:Library is booted at boot time. Either
 extract the cURL binary from the app and put in to Library or put the
 !cURL application in to eg Boot:Resources, where the app will be
 booted.

Yes, I wondered about that, and tried both ways; neither of them 
worked on the ARMini. Has anyone got cURL working on a similar 
machine?

Even odder: I was able to make Fetch_NS work using wget before I had 
to go out. After coming back and re-starting the machine, it now fails 
again with the File name 'SCSI::armini.$.Internet.!Fetch_NS.^.. (I 
managed to garble this message upthread.) Please, someone, tell me 
what I'm doing wrong!

I'll have to go out again later this evening, so won't have time for 
more experiments today.

With best wishes,

Peter.

-- 
Peter   \  /  zfc Ta \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: Fetching NetSurf

2012-10-14 Thread Richard Ashbery
In article a64c8dde52.pnyo...@pnyoung.ormail.co.uk, Peter Young
pnyo...@ormail.co.uk wrote:
 On 14 Oct 2012  Richard Ashbery ris...@gotadsl.co.uk wrote:

  And Netsurf 3.0 (Dev C1 #463) now works well, so more thanks.

  Ditto here. Thanks for #463  Fetch_NS

  Excellent utility John - great time saver - many thanks

 Bewilderment continues here, I'm afraid. It seems that my previous
 download was corrupted somehow, and there's potential for it
 working on the ARMini, but it does nothing at all on VRPC running
 RISC OS 4.02.

Peter - what I didn't clarify is that John's utility and curl works
correctly on the Iyonix (RISC OS 5.18) but not on BB (RISC OS 5.19). I
get the same segmentation fault you highlighted earlier.

Would be nice to see curl work on ARMv7.

Richard




Re: Fetching NetSurf

2012-10-14 Thread Richard Ashbery
In article 52de8f9e88ch...@chris-johnson.org.uk, cj
ch...@chris-johnson.org.uk wrote:
 In article a64c8dde52.pnyo...@pnyoung.ormail.co.uk, Peter Young
pnyo...@ormail.co.uk wrote:
  unless I open the library so that cURL is booted.

 Are you putting the curl *binary* in to Boot:Library? If you are
 putting the !cURL *application* in Boot:Library it will not work
 because nothing in Boot:Library is booted at boot time. Either
 extract the cURL binary from the app and put in to Library or put
 the !cURL application in to eg Boot:Resources, where the app will
 be booted.

Confirmed - !cURL application must be in Boot:Resources

Excuse me butting in but on BB -xM (RISC OS 5.19) with !cURL application
in Boot:Resources segmentation fault occurs as described in Peter's
earlier posting.

On my Iyonix (RISC OS 5.18) !cURL is in Boot:Resources and in
conjunction with !Fetch_NS all works correctly without error.

Regards

Richard




Re: Fetching NetSurf

2012-10-14 Thread Peter Young
On 14 Oct 2012  Peter Young pnyo...@ormail.co.uk wrote:

[snip]

 Even odder: I was able to make Fetch_NS work using wget before I had
 to go out. After coming back and re-starting the machine, it now fails
 again with the File name 'SCSI::armini.$.Internet.!Fetch_NS.^.. (I
 managed to garble this message upthread.) Please, someone, tell me
 what I'm doing wrong!

The strangeness continues! I did a re-start, and now it works again! I 
would have a stiff drink if I didn't have to drive later :-)

A friend insists that computers are full of fairy dust, and I'm 
beginning to believe her!

With best wishes,

Peter.

-- 
Peter   \  /  zfc Ta \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: Fetching NetSurf

2012-10-14 Thread Peter Young
On 14 Oct 2012  Richard Ashbery ris...@gotadsl.co.uk wrote:

 In article a64c8dde52.pnyo...@pnyoung.ormail.co.uk, Peter Young
 pnyo...@ormail.co.uk wrote:
 On 14 Oct 2012  Richard Ashbery ris...@gotadsl.co.uk wrote:

 And Netsurf 3.0 (Dev C1 #463) now works well, so more thanks.

 Ditto here. Thanks for #463  Fetch_NS

 Excellent utility John - great time saver - many thanks

 Bewilderment continues here, I'm afraid. It seems that my previous
 download was corrupted somehow, and there's potential for it
 working on the ARMini, but it does nothing at all on VRPC running
 RISC OS 4.02.

 Peter - what I didn't clarify is that John's utility and curl works
 correctly on the Iyonix (RISC OS 5.18) but not on BB (RISC OS 5.19). I
 get the same segmentation fault you highlighted earlier.

 Would be nice to see curl work on ARMv7.

Thanks, and agreed, but wget is doing the business for me now, at 
least some of the time! If I felt stronger, I might have tried cURL 
under Aemulor.

With best wishes,

Peter.

-- 
Peter   \  /  zfc Ta \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: Fetching NetSurf

2012-10-14 Thread cj
In article 52de9a64e1ris...@gotadsl.co.uk,
   Richard Ashbery ris...@gotadsl.co.uk wrote:
 Peter - what I didn't clarify is that John's utility and curl works
 correctly on the Iyonix (RISC OS 5.18) but not on BB (RISC OS
 5.19). I get the same segmentation fault you highlighted earlier.

The current version of cURL will not run on the BB. As mentioned by
Frank, use wget instead - that works fine on the BB (ARMini).

I guess cURL simply needs a recompile with ARMv7 friendly flags.

-- 
Chris Johnson



Re: RISC OS: Squeezed executable

2012-10-14 Thread Chris Young
On Sun, 14 Oct 2012 14:31:48 +0100, Rob Kendrick wrote:

  I'm at a loss to understand exactly what 'bitmaps' NetSurf could have
  'modified' in the course of the session, or where it's 'saving' them to.
  All I know is that this is a horrendously inefficient operation!
 
 They're probably the webpage thumbnails used in the history viewer.  It
 might be nice to have an option to disable this.

Is this a RISC OS-only feature, as thumbnails get lost here after
quitting?

Chris



Re: RISC OS: Squeezed executable

2012-10-14 Thread Michael Drake
In article
out-507b039f.md-1.4.17.chris.yo...@unsatisfactorysoftware.co.uk,
   Chris Young chris.yo...@unsatisfactorysoftware.co.uk wrote:
 On Sun, 14 Oct 2012 14:31:48 +0100, Rob Kendrick wrote:

 Is this a RISC OS-only feature, as thumbnails get lost here after
 quitting?

Yes, but it's broken on RISC OS anyway.

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/



Re: Fetching NetSurf

2012-10-14 Thread Alan Leighton
In message 52dea12cebch...@chris-johnson.org.uk
  cj ch...@chris-johnson.org.uk wrote:

 In article 52de9a64e1ris...@gotadsl.co.uk,
Richard Ashbery ris...@gotadsl.co.uk wrote:
 Peter - what I didn't clarify is that John's utility and curl works
 correctly on the Iyonix (RISC OS 5.18) but not on BB (RISC OS
 5.19). I get the same segmentation fault you highlighted earlier.

 The current version of cURL will not run on the BB. As mentioned by
 Frank, use wget instead - that works fine on the BB (ARMini).

 I guess cURL simply needs a recompile with ARMv7 friendly flags.

I run an Iyonix 5.18 and I hope one day some one will make sense of 
all this fetching stuff and how people like me can make use of it.

Totally lost from Middlesbrough,

Alan

-- 



Re: Fetching NetSurf

2012-10-14 Thread John Williams
In article 52dea1b6e3ch...@chris-johnson.org.uk,
   cj ch...@chris-johnson.org.uk wrote:

 Well, I now have a modified version of 'Fetch_NS' that works fine on
 the ARMini. In addition to actually fetching the latest release (if
 there is one) it will quit NetSurf, rotate the 4 previous backup
 versions

I like to keep many recent versions so I can retrospectively pinpoint when
a change in behaviour occured - between version ? and ?.

This is because one may not always immediately find a problem - only when
one visits a particular site.

Being able to specify a last version which worked may be useful to the
developers in isolating a change which caused it.

Just my opinion!

John