No more available space

2020-03-18 Thread Gavin Wraith
I am using NetSurf 3.9 from the RODirect version of RO 5.26.
When I try to download newer builds from
https://ci.netsurf-browser.org/builds/riscos/
it says "The disc has no more available space". This is nonsense,
there are gigabytes available.
Can anyone diagnose what is going on here?
--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: 3.9 Release

2019-07-02 Thread Gavin Wraith
In message <20190702150402.gn14...@kyllikki.org>
  Vincent Sanders  wrote:


>I will try again to release sometime this week but again I ask for
>some *feedback* . I have had literally two replies (one should have
>been a bug report but at least it was activity) and I hope there are
>more than two people other than the developers using the CI builds!

I use the CI builds. I update NetSurf to the latest build as part
of a regular routine when I fire up RISC OS (RO 5.24 on rpi3b).
I use Chrome under Rasbpian for reaching parts of the internet
that NetSurf cannot cope with. But the more that NetSurf can do
the better.

I am not clear what feedback would be useful to you. Every now and
then I see a message saying that some piece of layout does not
work on some site, and sometimes out of curiosity I browse the
site with NetSurf to see if my version does the same.

How often are the Development Progress pages updated? It is particularly
useful to know what CSS works and what does not. But I am aware that
you must be having a difficult time with lack of manpower, and I
am reluctant to pester you with trivia that might take precious time
to respond to.

--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: launching a PDF from a link

2018-06-28 Thread Gavin Wraith
In message <570f5c0542...@timil.com>
  Tim Hill  wrote:

>In article , Richard Porter
> wrote:

>I'm expecting to find a utility somewhere which will monitor a specific
>folder and filer_run anything saved there but having no luck so far.

Talk of monitoring implies something that runs as a task and which
stores the state of the folder and only acts when it notes that the
state has changed. For a lot less effort you could have a utility
that you start yourself, say by doubleclicking on its icon,
that simply filer_runs whatever appropriate stuff it finds in the folder.
But maybe the whole point of what you are looking for is that it
acts automatically without the user having to start it?

--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: URL lengths

2017-11-27 Thread Gavin Wraith
In message <56a1b699dcjoh...@ukgateway.net>
  John Williams <joh...@ukgateway.net> wrote:

> In article <0612b1a156.ga...@wra1th.plus.com>,
>   Gavin Wraith <ga...@wra1th.plus.com> wrote:

> So you're suggesting that I measure each URL length first, perhaps BGETting
> it until I encounter a terminator, and then DIM a variable accordingly -
> or, actually, a series of concatenating variables as I intend to BPUT them
> later; so I don't really need to have a long variable, just a series of
> suitable GET variables.

Not BGET. You do not need to work byte by byte. Why not GET$?
It is a long time ago since I used BASIC.

Do you know about StrongED scripts? Here is one that replaces the text
in a StrongED window by a list of the URLs occurring in it, ignoring duplicates.

Here it is:

#! lua
local pat, used ="(https?://[^%s\t]+)", { }
for line in io.lines (arg[1]) do
  for url in line:gmatch (pat) do
 if not used[url] then
print (url)
used[url] = true
 end -- if
  end -- for
end -- for

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: URL lengths

2017-11-27 Thread Gavin Wraith
In message <56a1aa7e00joh...@ukgateway.net>
  John Williams <joh...@ukgateway.net> wrote:

> What is the maximum URL length (including POST data) that NetSurf can
> handle?

>From a quick glance at the NetSurf 3.7 sources I would guess that the
answer rather depends on which platform, and then on the particular machine
NetSurf is running on. If your menu program is in BBC BASIC I would
DIM buffers for URLs from the heap as you need them. In C I would use alloc.
In Lua, Python or PERL all that is done for you anyway, and you do not
need to think about maximum string lengths.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Page causes crash

2017-10-30 Thread Gavin Wraith
In message <56932513adli...@torrens.org>
  "Richard Torrens (lists)" <li...@torrens.org> wrote:

> Does this happen to anyone else?
> RO 5.23 (29-Jun-16)
> NS 3.8 (Dev CI #4238) and earlier versions for some time.

Displays fine for me.
Rpi3, RO 5.23 (13-April-17), NS 3.8 (Dev CI #4238)

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Redraw oddity

2017-05-16 Thread Gavin Wraith
In message <563d1ee6d9li...@torrens.org>
  "Richard Torrens (lists)" <li...@torrens.org> wrote:

> https://www.quora.com/Where-does-iPhoto-store-photos-locally
>
> At first this displays a blank page. But wipe over it with another
> window...
>
> Does anyone else get the same behaviour?
>
> 3.7 (Dev CI #4086) on ARMX6 5.23
> (29-Jun-16)

Yes. 3.7 (Dev CI #4086, Javascript OFF) on Rpi2 5.23
(16-May-17)

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



archivepix

2016-11-23 Thread Gavin Wraith
Using NetSurf #3782 on RO 5.23 on Rpi2.

I note that the last few issues of NetSurf do not seem to be able to
process  http://apod.nasa.gov/apod/archivepix.html  in a reasonable
amount of time. Some loop somewhere? Chrome on Raspbian on Rpi3
displays it almost instantaneously.

--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: css

2016-10-19 Thread Gavin Wraith
In message <55d122c0cdli...@torrens.org.uk>
  "Richard Torrens (lists)" <li...@torrens.org.uk> wrote:

>The latest Netsurf 3.6 (Dev CI #3739) appears to be ignoring css. Does
>anyone else find this?

I cannot say that I have noticed it. Can you give us a URL frinstance?
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: online phone book

2016-05-03 Thread Gavin Wraith
Dear Jim

In message <c0d16f7a55@abbeypress.net>
  Jim Nagel <nets...@abbeypress.co.uk> wrote:

>Jim Nagel  wrote on 28 Apr:
>> Can anybody point me to a free online telephone directory that works
>> on Netsurf?
>
>None?

This arrived same time as your originating post.  Had a look at the
textual source of the page to which http://thephonebook.bt.com
immerdiately switches you, namely of

http://www.thephonebook.bt.com/publisha.content/en/index.publisha

It is a load of Javascript, no doubt mandated by google, advertisers,
business partners et al, which gets you to choose an initial letter
for the locality whose code you want. Say that was 'X'. Then
it takes you to
http://thephonebook.bt.com/publisha.content/en/search/uk_codes/index.byname.publisha?Character=X
which gives a page showing a list of choices. Click on one and you get
its local dialling code.
If you try
http://thephonebook.bt.com/publisha.content/en/search/residential/advanced.publisha
you will get a page that NetSurf can cope with that asks you to input 
information:
surname, initial, town etc. When I entered your name, and "Glastonbury"
it told me
 J Nagel
 Tel: (01458) 833603
 32 Norbins Rd, Glastonbury, BA6 9JG

Hope this helps. I would be amazed if pleas for a Javascript-free interface did
not fall upon deaf ears. It is a thin unnecessary veneer. But using the
info embedded in the page, as above, you may be able to bypass it all.
--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Filtering webpages

2016-01-26 Thread Gavin Wraith
It is some years ago that Fred Graute added scriptability
to StrongED, using the 'apply' icon. It enables one to
alter what is displayed in a StrongED window by dragging
a script to that icon.

There are often occasions when one would like to massage
webpages displayed in a browser. At present one has
to save out the displayed page's textual source to
StrongED, drag in the script to do the massaging,
save the result as an HTML file and then display that
result in the browser. It would be nice if this process
could be simplified and done entirely within the browser,
without having to-and-fro between browser and StrongED.
A typically useful script is one that removes all the
source starting 

Re: 2 sites that don't!

2016-01-26 Thread Gavin Wraith
In message <09d3064855@abbeypress.net>
  Jim Nagel <nets...@abbeypress.co.uk> wrote:

>Did that on the first web page.  Got a security warning from StrongEd
>about "process"; I said "allow always".
>Then "File name '.in' not recognised".

Sounds like !StrongED$ScrapDir has not been set. See the line

Set StrongED$Script_Outfile <StrongED$ScrapDir>.in

in !StrongED.Defaults.Tools.!ScriptSED.Tools.Despatch  .

--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Filtering webpages

2016-01-26 Thread Gavin Wraith
In message <55480e2bfeli...@torrens.org.uk>
  "Richard Torrens (lists)" <li...@torrens.org.uk> wrote:


>NS has choices:
>Hide advertisements
>Disable pop-up windows
>Disable JavaScript
>
>These, I would guess, tell it to ignore such content. It is then filtering
>exactly as you seem to want!

These are desirable but not general enough for my purposes.

>So I guess you are asking for a throwback icon, to throw the source out to
>an external editor, where it can be processed and returned back to NS?

Exactly.

I seem to remember using a browser on an Acorn machine, many years ago, that
gave you the option of not displaying images unless you specifically clicked
on the icon that the browser used to indicate a missing image.

I would also like to be able to discriminate content by source URL and to give 
permissions
for which should be blocked or which allowed through. But I suspect that this 
requires
filtering at the packet level. My feeling is that the majority of the public
have little idea about what is going on when they use the internet, as opposed
to the businesses which would like to exploit their ignorance. Web savvy 
programmers
produce the websites and also the browsers. I would like to see users take 
back, or
be given back (by appropriate tools) more control over this predator/prey 
scenario.
It is a question of freedom.

--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: 2 sites that don't!

2016-01-26 Thread Gavin Wraith
In message <5547fb845eli...@torrens.org.uk>
  "Richard Torrens (lists)" <li...@torrens.org.uk> wrote:

>http://www.catbehaviourist.com/sure-feed-microchip-pet-feeder-review/
>
>http://www.zooplus.co.uk/shop/cats/cat_bowls_feeders/feeders/programmable/479534?gclid=CImfsqu3x8oCFUORGwodHCUFYQ
>
>Both display very badly. First site all text is hidden. The source is very
>over-complicated, so I can't see why.

I have a useful little Lua script, called noscript, for use with StrongED that 
strips out all the
stuff between matching  and  tags. Here it is:

#! lua
io.input (arg[1])
local text = io.read "*all"
io.input ( )
local pat = "<script[^<]*"
io.write ((text:gsub (pat, "")))

Using it on the text of the first webpage produces source for a leaner webpage
that reveals the hidden text. Here is the procedure:
1. Page->View Source in NetSurf
2. Save to some scrap directory.
3. Shift-click to load into StrongED
4. Shift-Drag noscript to apply icon.
5. Save the result and change its type to HTML.

It would be nice if NetSurf could have an apply icon like StrongED, which
could make a single drag action suffice.

--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: #2988 hanging

2015-10-13 Thread Gavin Wraith
In message <35e4e54c747.0d53d...@davehigton.me.uk>
  Dave Higton <d...@davehigton.me.uk> wrote:


>There's another point worth making here.  If you think NS has
>crashed, use Alt-Break.  Note: NEVER use Ctrl-Break, various
>RISC OS luminaries class it as Evil and say it Breaks Discs.

Thanks very much for this.
--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



#2988 hanging

2015-10-12 Thread Gavin Wraith
Twice in succession now I have found that NetSurf #2988, with
Javascript disabled, hangs when I try to browse
http://kenodoxia.blogspot.com/ .
This is on an Rpi 2 with RO 5.23.
When I switch on again I check the SD card with
DiscKnight. On the first occasion there were 9
faults. Mend them with DiscKnight and try again.
The same happens, but the second time there were
11 faults. After mending the second time I recheck
the SD card. SD card OK.

--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Saving Choices

2015-08-11 Thread Gavin Wraith
I have noticed that Disable JavaScript appears not to be  saved
in Choices$Write.WWW.NetSurf.Choices. Is that right?
Using NS 3.4 #2876
--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Cookies

2015-04-27 Thread Gavin Wraith
Should anybody want it, I have a RiscLua program (26 lines)
to display NetSurf cookie files in a more readable form.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Which font does NetSurf use?

2015-04-05 Thread Gavin Wraith
When NetSurf renders the character pi (#960;) how does it
choose which font to use?

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



RE: Malformed site (partly OT).

2015-02-19 Thread Gavin Wraith
In message 6fc6549854.old_coaster@old_coaster.yahoo.co.uk
  Tony Moore old_coas...@yahoo.co.uk wrote:

On 19 Feb 2015, Dave Higton d...@davehigton.me.uk wrote:
 On Thu, 19 Feb 2015 08:01:50 GMT Peter Young wrote:

  I maintain the website of the local branch of the Multiple Sclerosis
  Society, at www.mssociety.org.uk/cheltenham (NB I am only
  responsible for the content, not the formatting). From time to time
  the site gets seriously malformed in RISC OS NetSurf, and then a few
  days later goes back to what is should be. Screenshots of this are
  at http://pnyoung.orpheusweb.co.uk/Chrome.jpg as it should be in
  Chrome on Windows and http://pnyoung.orpheusweb.co.uk/NetSurf.jpg as
  it was yesterday in NetSurf #2600, but it's back to how it should be
  this morning! Same NetSurf build.

 Isn't this what happens when a site doesn't respond quickly enough and
 Netsurf times out getting later parts of the site?

Netsurf has displayed the page without waiting for the css files to
download. Adjust-clicking Netsurf's Reload button may fix it.

I have seen the same effect viewing other sites with NetSurf.
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: NetSurf-gcc-json-2553

2015-01-28 Thread Gavin Wraith
In message 8b848d5df38.0c9fd...@davehigton.me.uk
  Dave Higton d...@davehigton.me.uk wrote:

On Wed, 28 Jan 2015 09:35:49 GMT Gavin Wraith wrote:

 In message 8a7f807ccd2.0bf3d...@davehigton.me.uk
   Dave Higton d...@davehigton.me.uk wrote:
 
 Brian and Gavin, would you be able and willing to try CI versions
 2541 and 2542 with that site?  I suspect you'll find that 2541 is
 OK and 2542 not.
 
 Yes, that is just what I found - with Rpi RO 5.21. I will revert to using
 2541.

The evidence suggests that something went wrong between 2541 and 2542, and
has remained wrong since.  I see that Michael Drake is on the case, so I'm
sure it won't be long before it's resolved.

Many thanks. I like NetSurf and I am grateful for the team's continuing
efforts. I usually use the latest test version, with an older version
kept as reserve in case of trouble. Trouble is infrequent, but that might
be a reflection of the more limited scope of my browsing habits.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: NetSurf-gcc-json-2553

2015-01-28 Thread Gavin Wraith
In message 8a7f807ccd2.0bf3d...@davehigton.me.uk
  Dave Higton d...@davehigton.me.uk wrote:

 Brian and Gavin, would you be able and willing to try CI versions
 2541 and 2542 with that site?  I suspect you'll find that 2541 is
 OK and 2542 not.

Yes, that is just what I found - with Rpi RO 5.21. I will revert to using
2541.
 
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



NetSurf-gcc-json-2553

2015-01-27 Thread Gavin Wraith
NetSurf-gcc-json-2553 crashes on http://www.independent.co.uk/ ,
with Javascript disabled in choices. Platform RPi (RO 5.21).

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



NetSurf #2554

2015-01-27 Thread Gavin Wraith
 NetSurf-gcc-json-2553 crashes on http://www.independent.co.uk/ ,
 with Javascript disabled in choices. Platform RPi (RO 5.21).

Ditto for #2554. However 3.2 is OK.
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Page timeout

2015-01-08 Thread Gavin Wraith
In message 0005d763.01ffd4901...@smtp.freeola.net
  Peter Slegg p.sl...@scubadivers.co.uk wrote:

When I tried the page below it just times-out and never
renders any of the page, it didn't even leave Bing, where
I found the link.

https://www.gov.uk/bank-holidays

Does it do this for anyone else ?

Works fine for me - NetSurf 3.3 #2509.
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



routers

2014-12-02 Thread Gavin Wraith
Do there exist any routers which can be controlled by NetSurf?

I have an old Belkin F5D7632-4 router. As far as I know it cannot be
configured from RISC OS. But my XP notebook, which I usually use to
configure the router, seems to be behaving strangely. It can take five
minutes for a webpage on the router to load, whether I am using wireless
or an ethernet cable to connect the two machines. Something has to be
wrong, but what?

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Selecting text gone crazy

2014-07-22 Thread Gavin Wraith
In message f873582b54.iyoj...@rickman.argonet.co.uk
  John Rickman Iyonix rick...@argonet.co.uk wrote:

#2023 when I try to select some text as soon as I click on the page
everything from the click to the end of the article is highlit.

This has been happening since at least #1980

Is anyone else seeing this?

(Iyonix  9 July)

No, a click deselects, for me. Hard to select in the first place.

(Rpi RC12 RISC OS 22 July)
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: beautiful wikipedia design

2014-04-13 Thread Gavin Wraith
In message 555ab2f753@abbeypress.net
  Jim Nagel nets...@abbeypress.co.uk wrote:

 Gavin Wraith  wrote on 7 Apr:
 Netsurf #1785 crashes on
 http://www.fastcodesign.com/3028615/the-beautiful-wikipedia-design-tha
 t-almost-was

 Displays OK here on #1718, except that (after introductory section)
 the left of all text is lost off the edge of the page.  I can't tell
 how much is missing -- maybe half an inch?

 Has that flaw been cured in later builds of Netsurf?

Displays OK, once you have scrolled past the black top section, in
NetSurf #1793.

 Hmm, I wanted just now to reopen that page for another look, to see
 how wide a window would result from the RiscOS toggle size button.
 (It's NOT the full width of screen.)  Went to Netsurf history,
 thinking that would be quicker than fetching from the net -- Netsurf
 crashed.

I think the page toggles to almost the full 1920 pixels horizontally 
of my monitor.

-- 
Gavin Wraith



Re: version 1773

2014-04-07 Thread Gavin Wraith
 So I deleted Choices:WWW.NetSurf quit and re-ran
 NetSurf and the problem went away.

By Jove, it works for me too. Actually I did not delete
all of Choices:WWW.NetSurf . Instead I created  
Choices:WWW.NetSurf.Cache by hand and that seemed to do the trick.
Maybe there is a buglet in
utils/filename.c filename_create_directory 524:
not overriding access permissions?
-- 
Gavin Wraith



beautiful wikipedia design

2014-04-07 Thread Gavin Wraith
Netsurf #1785 crashes on 
http://www.fastcodesign.com/3028615/the-beautiful-wikipedia-design-that-almost-w
 
as

-- 
Gavin Wraith



Re: beautiful wikipedia design

2014-04-07 Thread Gavin Wraith
In message 53f4918740bbai...@argonet.co.uk
  Brian bbai...@argonet.co.uk wrote:

 In article a0108cf453.ga...@gavin.wra1th.plus.com,
Gavin Wraith ga...@wra1th.plus.com wrote:
 Netsurf #1785 crashes on
 http://www.fastcodesign.com/3028615/the-beautiful-wikipedia-design-tha
 t-almost-w
 as

 It doesn't here.

Actually, it was not going to this site directly that crashed NetSurf
but clicking the link from Ars Technica in Ars Editor's Picks.


-- 
Gavin Wraith



Re: Version 1773

2014-03-29 Thread Gavin Wraith
In message 67fa98ef53.tig...@bc63.orpheusinternet.co.uk
  Nick Roberts tig...@orpheusinternet.co.uk wrote:

 In message b1218def53.ga...@gavin.wra1th.plus.com
Gavin Wraith ga...@wra1th.plus.com wrote:

 In message 17ab86ef53.pitt...@iyonix.home
   David Pitt pit...@pittdj.co.uk wrote:
 
 In message 53ef83643ach...@chris-johnson.org.uk
   cj ch...@chris-johnson.org.uk wrote:
 
 Is anyone using the latest build (1773) on an Iyonix? Here, it
 crashes on startup with a stack backtrace, no log produced.
 
 No such problem here with #1773 on this Iyonix running OS5.21
 (28-Mar-14).
 
 Nor here. BUT pressing F8 or attempting to select Page-View Source...
 both cause errors. In fact this has been wrong for quite a while
 now. Sorry I cannot say at which build this ceased to work properly.

 No problem with view source for me (Iyonix  ARMini, both 5.20).

NetSurf #1773 on Raspberry Pi 5.21. Pressing F8 or selecting
Page-View Source... works OK on local webpages. Otherwise
selecting Page-View Source... yields an error message
NetSurf is running out of memory ... and pressing F8 yields
An unexpected error occurred: Not found.

-- 
Gavin Wraith



Re: Version 1773

2014-03-28 Thread Gavin Wraith
In message 17ab86ef53.pitt...@iyonix.home
  David Pitt pit...@pittdj.co.uk wrote:

 In message 53ef83643ach...@chris-johnson.org.uk
   cj ch...@chris-johnson.org.uk wrote:

 Is anyone using the latest build (1773) on an Iyonix? Here, it
 crashes on startup with a stack backtrace, no log produced.

 No such problem here with #1773 on this Iyonix running OS5.21
 (28-Mar-14).

Nor here. BUT pressing F8 or attempting to select Page-View Source...
both cause errors. In fact this has been wrong for quite a while
now. Sorry I cannot say at which build this ceased to work properly.

-- 
Gavin Wraith



Bad archive

2014-02-03 Thread Gavin Wraith
NetSurf 3.1 (Dev CI #1681-9) all give bad archive when I try to
unzip. The relevant files appear to be !Help, !Run and !RunImage.
Is this just me?

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Full save ignores comment tags

2014-01-06 Thread Gavin Wraith
In message be73ccc553.r...@user.minijem.plus.com you wrote:

 It would appear that doing a full save will save images even if
 their image  tags have been commented out. Of course the comment
 delimiters will be left in the html.

 I also noticed that if two instances of the same image appear on a
 page using exactly the same URL, they are saved as two separate files.
 Netsurf saves the inventory so this could be avoided.

 Just wondering of this behaviour is a) deliberate and b) desirable?

 The reason is that I commented out some lines specifically to avoid
 getting duplicate images and it didn't work.

A long while ago I wrote an application, FewerGif, for removing
redundant gif files produced by TechWriter/EasiWriter when it exports a
document to HTML (see http://www.wra1th.plus.com/sundry.html ). This
could fairly easily be generalised to work for the results of a full
save, with any kind of image. Whether it is worth the effort is another
matter. FewerGif uses certain facts about Lua: a) files of any size can
be loaded as strings and b) string comparison is very fast, being just a
pointer-comparison.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Grey page

2014-01-01 Thread Gavin Wraith
In message 53c32539bdstuartli...@orpheusinternet.co.uk you wrote:

 Although the home page

 http://www.arceurotrade.co.uk/default.aspx

 appears to disply correctly, trying to go to any other page results in a
 completly grey page

 NetSurf 3.1 (Dev C1 #1556)

Works OK for me. I note that all the pages have a grey background
which is displayed first before the rest is rendered. Are you waiting
long enough?
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



NetSurf friendly alternative to GoogleGroups?

2013-11-16 Thread Gavin Wraith
Is there a NetSurf friendly alternative to GoogleGroups?
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Hooks for helper applications

2013-06-26 Thread Gavin Wraith
Does NetSurf broadcast wimp messages that could be used by helper
applications? It would be nice to be be able to set keys for
entering usernames and passwords dynamically; a message giving
the url of the page that currently has the input focus would
be useful.
 
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Remember this password

2013-05-31 Thread Gavin Wraith
Using Firefox on a Windows XP machine I sometimes encounter
websites where, when you have to provide a username and password,
these are automatically filled in for you. I do not know
whether this feature is provided just by the browser or by the
browser's interaction with a helper application in Windows.
Does NetSurf for RISC OS supply any hooks, wimp messages or
whatever, whereby such a feature could be provided using a
helper application? If not, then maybe some approximation could
be kludged using function keys.
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Unicode on local pages

2012-12-18 Thread Gavin Wraith
In message 3e10b8ff52.mar...@blueyonder.co.uk you wrote:

 The following bytes were arranged on 16 Dec 2012 by Gavin Wraith :
 
  With NetSurf #739. If I browse
  http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0173%3Atext%3DSym.
  it displays OK. If I save or do a full save of the page, and then browse
  the resulting local page the Greek text displays as garbage. Why is there
  a difference?
 
 This question's come up before.  It's probably because, when you fetch
 the file over HTTP, the server knows it's in UTF-8 and tells NetSurf so,
 but when you load a local file, RISC OS doesn't tell NetSurf what
 encoding it's in and so NetSurf is reduced to guesswork.  Presumably
 whatever encoding it defaults to is not the correct one in your case.

Thanks. I will have a look at the header and if necessary stick in the
right cantrap.
 
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Javascript and Fonts

2012-12-16 Thread Gavin Wraith
In message c66cfdfe52.iyoj...@rickman.argonet.co.uk you wrote:

 Peter Young  wrote
 
  Looks more complete on linux raspberry Pi Chromium Chromium browser.
  On RISC OS the accented characters appear as hex couplets.
 
  It's all Greek here (and Greek to me!) on an ARMini, RISC OS 5.19.
  Perhaps you don't have the necessary font?
 
 Probably:-( I have DoulosSIL which I thought was a comprehensive 
 Unicode font. But among other things, it does not appear to have a 
 glyph for:  Greek Small Letter Iota with acute accent U+03AF 
 
 What font are you using?

That is part of what I am trying to find out! I have not added any
fonts to the Raspberry Pi RISC OS distro so I presume it is one of
the new fonts it provides in !Fonts. Maybe FreeMono, FreeSans,  .
I tried altering the names of some of these, to see if I could get
RUfl to make different choices of font - after all there are probably
masses of installed fonts for NetSurf to choose from when it is asked 
to display a particular glyph - but, when I rebooted, NetSurf bottled
out with an error message about not being able to initialize the
Unicode fonts. 

My problems concern \pi and \mu being rendered bold. It would be
nice if RUfl_cache held its data in text form. Then a) we could
read it to see which font was being used for which glyph, and b)
we could edit it to get some control over how NetSurf shows text.
Or at least, I presume so. Glad to be corrected if I have this
upside down, by somebody knows how RUfl works.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Javascript and Fonts

2012-12-16 Thread Gavin Wraith
In message 550806ff52.pnyo...@pnyoung.ormail.co.uk you wrote:

  What font are you using?

Experimentation has indicated that it is the Exo font on the Rpi
which is causing overheavy /Delta and /pi glyphs. My only
problem now is getting rid of the overheavy /mu. Apart from that
Greek text is rendered quite elegantly, diacritics and all, but
finding which fonts are responsible will need further work.
I am getting the same display on Rpi and Iyonix, which have different
fonts installed, so I can probably rule out the fonts that do not
appear on both.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Javascript and Fonts

2012-12-16 Thread Gavin Wraith
In message 44d50eff52.wra...@wra1th.plus.com you wrote:

 In message 550806ff52.pnyo...@pnyoung.ormail.co.uk you wrote:
 
   What font are you using?
 
 Experimentation has indicated that it is the Exo font on the Rpi
 which is causing overheavy /Delta and /pi glyphs. My only
 problem now is getting rid of the overheavy /mu. Apart from that
 Greek text is rendered quite elegantly, diacritics and all, but
 finding which fonts are responsible will need further work.
 I am getting the same display on Rpi and Iyonix, which have different
 fonts installed, so I can probably rule out the fonts that do not
 appear on both.

I have now removed _all_ the fonts from 
  SDFS::RISCOSpi.$.!Boot.Resources.!Fonts
apart from System, but the page 
http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0173%3Atext%3DSym.
is still rendered OK by NetSurf with all the Greek text fine apart for the 
bold /mu problem. Can I take it that this has to be a fault with the
fonts Corpus, Homerton and Trinity in Resources:$.Fonts somewhere? I must
say, I did not know that these had been extended to unicode. Pity about
the wrong style /mu if this is in the official Rpi distro. 
 
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Unicode on local pages

2012-12-16 Thread Gavin Wraith
With NetSurf #739. If I browse
http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0173%3Atext%3DSym.
it displays OK. If I save or do a full save of the page, and then browse
the resulting local page the Greek text displays as garbage. Why is there
a difference?

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Unicode on local pages

2012-12-16 Thread Gavin Wraith
NetSurf 3 #739

Altering fonts using the Fonts dialog in Choices.. from the iconbar
seems to have no effect on unicode text.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



per site user css

2012-10-05 Thread Gavin Wraith
I was grateful to read about Choices:WWW.NetSurf.User. Is there
any way to make css instructions conditional on the site being
browsed? A mechanism that could be used for sites likely to be
browsed by RISC OS browsers might be to dedicate a system variable.
So, for the riscos.info site, for example, if its pages had a
line in the header:
 
link rel=stylesheet href=file:///ro_info$style type=text/css /

the user could simply set the system variable ro_info$style at bootup
to be the pathname of the stylefile to be used. This method appears to work.
Whether it is a sensible idea, or a feasible idea, is another matter.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: User feedback requested

2012-10-02 Thread Gavin Wraith
Platform: RISC OS
using netsurf-2012-10-02_09-33-37/zip
RO 5.18 on Iyonix
Fault: NetSurf has to quit after rendering http://www.independent.co.uk/

I have an error log file. Tried sending it but complaints about
size of attachment. Last few lines:

(30.89) render/html.c html_convert_css_callback 1425: stylesheet 
file:///Choices:WWW/NetSurf/User failed: UnacceptableType
(30.89) render/html.c html_convert_css_callback 1429: 0 fetches active
...
Fatal signal received: Segmentation fault

Stack backtrace:

Running thread 0x6a32c8
  (  6abee4) pc:   528d64 lr:8a6d0 sp:   6abee8  __write_backtrace()
  (  6abf10) pc:8a634 lr:   5295ac sp:   6abf14  ^ro_gui_signal()
  (  6abf38) pc:   52959c lr:   5293d0 sp:   6abf3c  __unixlib_exec_sig()
  (  6abfa0) pc:   528e88 lr:   529bb0 sp:   6abfa4  __unixlib_raise_signal()
  (  6abfb0) pc:   529ab4 lr:1d648 sp:   6aabc8  __h_cback()

  Register dump at 006abfb4:

a1: 74786574 a2:5 a3:0 a4:0
v1:0 v2: 61bd4888 v3:0 v4:   6aacf4
v5:1 v6: 61bd4888 sl:   6aa208 fp:   6aabd4
ip:   6aabd8 sp:   6aabc8 lr:1d648 pc:11908
cpsr: 2010

  000118f4 : .™.» : bb149919 : BLLT00537D60
  000118f8 : ..Pã : e350 : CMP R0,#0
  000118fc :  : 0a03 : BEQ 00011910
  00011900 : ..å : e590 : LDR R0,[R0,#0]
  00011904 : ..Pã : e350 : CMP R0,#0
  00011908 : ... : 1590 : LDRNE   R0,[R0,#0]
  0001190c : .¨.é : e91ba800 : LDMDB   R11,{R11,R13,PC}
  00011910 : Q? ã : e3a03f51 : MOV R3,#0144  ; =324
  00011914 : .0ĉ : e2833001 : ADD R3,R3,#1

  (  6aabd4) pc:118f0 lr:1d648 sp:   6aabd8  
hlcache_handle_get_content()
  (  6aabe4) pc:1d63c lr:590a0 sp:   6aabe8  nscss_get_stylesheet()
  (  6aac54) pc:5900c lr:594a0 sp:   6aac58  html_finish_conversion()
  (  6aac98) pc:593d0 lr:11ff8 sp:   6aac9c  
^html_convert_css_callback()
  (  6aad6c) pc:11f80 lr:12548 sp:   6aad70  ^hlcache_migrate_ctx()
  (  6aade8) pc:12374 lr:134d4 sp:   6aadec  ^hlcache_llcache_callback()
  (  6aae1c) pc:13358 lr:13da0 sp:   6aae20  
^llcache_object_notify_users()
  (  6aae34) pc:13d78 lr:125f4 sp:   6aae38  llcache_poll()
  (  6aae44) pc:125e8 lr:344b8 sp:   6aae48  hlcache_poll()
  (  6aae5c) pc:34490 lr:8b284 sp:   6aae60  netsurf_main_loop()
  (  6aafe8) pc:8ab9c lr:   5379c0 sp:   6aafec  main()

I have no file called User in Choices:WWW/NetSurf. Could that be the problem?
So I made a copy of Choices:WWW/NetSurf/Choices and called it User. Still no go 
but log file now
ends with

(117.13) render/html.c html_convert_css_callback 1419: 1 fetches active
(117.13) riscos/filetype.c fetch_filetype 84: unix_path = 
'Choices:WWW.NetSurf.User'
(117.13) riscos/filetype.c fetch_filetype 93: riscos path 
'Choices:WWW.NetSurf.User'
(117.14) render/html.c html_convert_css_callback 1425: stylesheet 
file:///Choices:WWW/NetSurf/User failed: UnacceptableType
(117.14) render/html.c html_convert_css_callback 1429: 0 fetches active

So should Choices:WWW/NetSurf/User be a directory? I tried setting some 
preferences but
no such directory got created. At this point I think I need some advice before 
experimenting
further.
 
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: User feedback requested

2012-10-02 Thread Gavin Wraith
netsurf-2012-10-02_20-23-02/zip
now working OK with http://www.independent.co.uk/ .
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: User feedback requested (esp. RISC OS)

2012-09-30 Thread Gavin Wraith
front end: RISC OS
OS version:5.18  
problem:   freeze while scrolling through
 http://www.independent.co.uk/
download file: netsurf-2012-09-28_19-54-37/zip

Note that POPstar was not running - so no clash with other
fetchers. So far freezes seem to happen after just
the slightest scrolling down the page; sometimes after
quite lengthy and varied browsing, sometimes, as in this
case, on the first page opened (so doubtful if any gc can
have taken place). This apparent randomness gives me the 
hunch that it has something to do with buffers being 
allocated where they should not be, but maybe such a comment 
is unhelpful without any evidence.

Sometimes pressing the reset button works - sometimes I have
to toggle the on/off switch at the back.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: User feedback requested (esp. RISC OS)

2012-09-29 Thread Gavin Wraith
front end: RISC OS
OS version:5.18  
problem:   freeze while scrolling through
 https://www.riscosopen.org/forum/forums/1/topics/1321
download file: netsurf-2012-09-28_19-54-37/zip

It certainly feels faster than 2.9.
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



height attribute in CSS

2012-08-30 Thread Gavin Wraith
I have come across a difference between the way NetSurf 2.9 (on
an Iyonix) and Firefox 15 (on an XP notebook) treat the CSS
height attribute.
The way NetSurf does it gives the display I want, and I am trying
to figure out how to make Firefox do the same.

My webpages are to be in three columns, with the leftside and rightside
columns being narrow vertical graphics (that are links), with the content
in the middle column. 

The relevant CSS contains the following:

#leftside, #rightside
{
 position: absolute;
 top: 0;
 width: 70px;
 height: 100%;
 background-repeat: repeat-y;
 background-position: 0% 0%;
 text-decoration: none;
}
#leftside
{
 left: 0;
 background-image: url(images/background/lpage.png);
}
#rightside
{
 right: 0;
 background-image: url(images/background/rpage.png);
}
.content
{
 position: relative;
 width: auto;
 left: 70px;
 right: 70px;
 padding-right: 100px;
}

The trouble is that Firefox seems to be interpreting height: 100%;
as 100% of the height of the graphics screen, so as soon as you
scroll Firefox's window it becomes apparent that the lefthand and 
righthand columns are not extending to the bottom of the middle column.
Am I making an idiotic mistake somewhere and NetSurf is being more
forgiving than Firefox? Has anybody else encountered this?

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



CSS height attribute

2012-08-30 Thread Gavin Wraith
I found out how to get the effect I wanted both in NetSurf
and in Firefox by avoiding the height attribute. I put
everything inside a containing box and for the left- and
right-hand columns set the attributes top and bottom to 0.
Then their heights get sucked to that of the middle column.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: configuring default a:link colour??

2012-03-05 Thread Gavin Wraith
In message 9c6dc76b52.roger...@rogerarm.freeuk.com you wrote:

 
 I have looked in the configure window and failed to spot a means of 
 setting the default a:link colour.
 
 Can it be done?

Edit the CSS files in !NetSurf.Resources ? Not sure which has
precedence in the cascade.
 
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Serious? bug saving - always crashes on second save

2012-03-04 Thread Gavin Wraith
In message 526b62c928ch...@chris-johnson.org.uk you wrote:

 In article 796c566b52.roger...@rogerarm.freeuk.com,
Roger Darlington roger...@freeuk.com wrote:
  Save only, not full save. There is no 'Full Save' in the Save
  SaveAs bit...
 
 I am totally confused. Netsurf menu over page gives Menu with
 pagesave and pagefull save. Both give a save as dialogue, and both
 work to save multiple times.

Looks like cross-purposes to me. Am I right in thinking that only
NetSurf-for-RISC OS has Full Save (but no SaveAs) and that NetSurf-for-
anything-else has SaveAs but no Full save?

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Documentation

2011-12-21 Thread Gavin Wraith
I note that the documentation page of the NetSurf site says
last updated 2 January 2007. I hope I am not being a nuisance
in enquiring whether there is any prospect of the :hover
pseudoclass being implemented for the RISC OS version any time
soon. It is just that there are so many useful features for web pages,
such as tooltips, that can be implemented with it. It would be
good to be able to see these on a RISC OS browser.

Apologies if I am overlooking more recent information.
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



r11851 bombs on .txt files

2011-02-28 Thread Gavin Wraith
It seems that r11851 bombs on fetching .txt files by clicking Select
on the link,but SHIFT-Select lets one download them.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



ip address funny with r10709

2010-08-23 Thread Gavin Wraith
When I enter an ip address number, in this case www.89.238.129.34,
Netsurf r10709 says domain name www.89.238.129.34 not found.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Viewing box outlines

2010-05-19 Thread Gavin Wraith
I am happy to see the SHIFT-F11 function for viewing box outlines.
How does one turn it off?

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Viewing box outlines

2010-05-19 Thread Gavin Wraith
In message 8ed4de1951.r...@user.minijem.plus.com you wrote:

 On 19 May 2010 Gavin Wraith  wrote:

  I am happy to see the SHIFT-F11 function for viewing box outlines.
  How does one turn it off?

 SHIFT-F11

Thanks. I tried that and it did not work, but now I know that it was
a dodgy SHIFT key that was the trouble.
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



9764 grabs all the free memory

2009-12-29 Thread Gavin Wraith
NetSurf 9764 appears to grab all the free memory once it has
downloaded http://slashdot.org/ , making it impossible to use. 
On RO 5.14.
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: 9764 grabs all the free memory

2009-12-29 Thread Gavin Wraith
In message 92c13ad150...@rickman.argonet.co.uk you wrote:

  NetSurf 9764 appears to grab all the free memory once it has
  downloaded http://slashdot.org/ , making it impossible to use.
  On RO 5.14.
 
 It isn't just 9764 - the same thing happens on the current stable 
 release 2.1 (23 may 2009).

Oh dear! Does anybody have any recommendations about how far back
to go to get more reasonable behaviour. What about release 2.0?

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Building NetSurf on RISC OS

2009-08-09 Thread Gavin Wraith
Thanks for the tip about make 3.81. I overwrote the make
binary in GCC (3.4.6 r3) with the make in !NSTools.bin and
everything compiled for me too. It took about 20mins on the
Iyonix.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Speed of loading NetSurf

2009-05-28 Thread Gavin Wraith
In message 28366c6250.roger...@rogerarm.freeuk.com you wrote:

 Loading/Running NetSurf (on an Iyonix at least) seems to take 30
 seconds whereas running Oregano2 takes less that 3 seconds. [I am not
 including the time that NetSurf, when first run, uses looking at all
 the fonts].

That is odd. For me (NetSurf r7590, Iyonix RO 5.14) from clicking on
!NetSurf's icon to the appearance of its iconbar icon takes under a
second. Or were you referring to the time it takes to download a
particular webpage? I find that that depends upon the vagaries of
the internet - time for domain-name lookup, etc - and the size of
the page.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Spurious

2008-08-12 Thread Gavin Wraith
In message [EMAIL PROTECTED] you wrote:

 On 11 Aug 2008 Kevin Wells wrote:

 It is definitely not mismatched  and  but I have narrowed down the
 problem. One of the forms has an 'action' attribute which, including
 encoded ampersands, quotes, etc. is 257 characters long. If I move the
 closing  onto the next line the problem goes away. Other tweaks
 caused the following table to be corrupted. I suspect that the new
 parser is getting phased by the long string.

What about lt; ?

By the way, you mean fazed by the long string. Same in sound
'phase' and 'faze' may be, but not in meaning.

-- 
Gavin Wraith ([EMAIL PROTECTED])
Home page: http://www.wra1th.plus.com/



Sub/superscripts and Awstats

2008-08-04 Thread Gavin Wraith
Could the sub/superscript inversion be related to the fact that
NetSurf currently shows Awstats histograms upside down?

This bug (either base line or vertical orientation wrong
for inline graphics) was cured way back, but seems to have crept back in.

-- 
Gavin Wraith ([EMAIL PROTECTED])
Home page: http://www.wra1th.plus.com/



separator icon

2007-10-06 Thread Gavin Wraith
Apologies if this has been raised before, but I could not find a
search facility for the maillist archive.

When it comes to editing the toolbar, the separator icon is hard
to pick up, if you do not know it is there, seeing that its whole
purpose is to be invisible. This suggests that on the editbar
the separator icon should be represented by something else of the
same size; perhaps by a pseparator icon? Or is this already
implemented but the theme I am using does not know about it?

-- 
Gavin Wraith ([EMAIL PROTECTED])
Home page: http://www.wra1th.plus.com/