Re: NetSurf table borders

2007-07-04 Thread James Bursa
On Wednesday 04 July 2007 05:55, Richard Ashbery wrote:
> I use John Williams superb Pic_Idex to generate an HTML thumbnail
> index for my art images. There is a border option that greatly
> improves the thumbnail presentation that renders correctly in Oregano2
> but not in NetSurf. Is it possible to implement this.

Please post a sample of the HTML that doesn't render correctly.

James

-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: All 3 post 1.00 NS dont work?

2007-07-04 Thread James Bursa
On Wednesday 04 July 2007 06:44, Roger Darlington wrote:
> My Netsurf 1.00 works. hurray:-)
>
> But no development version of NS >1.00 I have downloaded (and I have
> now downloaded 3 over the last 6 days) actually do anything.
>
> All result in it looking like it is doing something (like the number
> of seconds in the bottom bar increases) but all web pages I have tried
> seem to result in just plain old white space everywhere within the NS
> window.
>
> but after a few websites, even the seconds stop incrementing and it
> looks like NS has crashed, which I think it has.
>
> I have downloaded all the most recent tincts, etc, but to no avail.
>
> There is no Netsurf directory within Scrap, nor within Choices that
> might be mucking it up, so, what might be the problem?
>
> after a
>
> Or is it now like this with the development versions?

Yes, there is a bug in recent development versions.

What is your setting of max_fetchers_per_host 
in !Boot.Choices.WWW.NetSurf.Choices ? Increasing this might help.

James

-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: Unicode font library probs on a9home

2007-12-28 Thread James Bursa
> I've been running NetSurf 1.1 on my a9home (RO 4.42)
> happily for many weeks now. The other day I installed
> Castle's C/C++ development suite, and now I get this
> error when I try to load NetSurf:
>
> "The Unicode library could not be initialized. Please
> report this to the developers."
>
> I know this problem came up for Iyonix users before (I
> think it was caused by a missing string in a ROM
> messages file), but has anyone suffered this on the
> a9? Can any developer give me a clue as to what's
> changed on my machine so I can revert it?

Please look at the NetSurf log file (WWW.NetSurf.Log in Scrap). You could post
the last few lines here, or email it to me if it's long.

James





Re: Fatal crash on BBC beta home page.

2007-12-29 Thread James Bursa
> The new BBC beta home page ( www.bbc.co.uk/home/beta ) has been
> gradually getting more manageable with NetSurf (currently 23 Dec 2007
> 16:15 on RISC OS 5.13). However, today it has crashed the app with a
> fatal error. I've tried to report this on the bug tracker, but get an
> error message when I try to submit. Is this because the log file is
> too big? If so, how should I get this report and log file to the
> developers?

Yes, it's probably too big. Please submit the report without the log file, and
email the log file to me.

Thanks!

James





Re: Netsurf and the Euro

2008-01-19 Thread James Bursa
On Friday 18 January 2008, Alexander Ausserstorfer wrote:
> Netsurf (version 1.1 from 13. August) isn't able to show the €
> (EUR)-sign correctly, is it? Or do I something wrong?

That should work. NetSurf will even use the symbol from a different font if
your selected font doesn't have it. What do you see instead of the Euro?
These are some possible reasons for it not working:

1. There is a problem with the page. What is the URL?

2. One of your fonts claims to have a Euro symbol, but has some other symbol
instead.

3. All of your fonts claim not to have a Euro symbol.

James


--
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: Netsurf and the Euro

2008-01-19 Thread James Bursa
On Saturday 19 January 2008, Ian Wolfe wrote:
> In message <[EMAIL PROTECTED]>
>
>   Dr Peter Young <[EMAIL PROTECTED]> wrote:
> > I can confirm that this page doesn't show the Euro symbol here. I
> > suggest that Alexander should try
> > http://www.schott-music.com/shop/Sheet_Music/Eulenburg_Pocket_Scores/1
> > 660444/show,46821.html (NB all one line) where I see the Euro symbol
> > after "Price 14.95"
>
> Sadly, not here.

What do you see instead? This page is correct and should work, so there is 
probably something wrong with your fonts.

James


-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: Netsurf and the Euro

2008-01-19 Thread James Bursa
On Friday 18 January 2008, Alexander Ausserstorfer wrote:
> In message <[EMAIL PROTECTED]>
>   James Bursa <[EMAIL PROTECTED]> wrote:
> >These are some possible reasons for it not working:
> >
> >1. There is a problem with the page. What is the URL?
>
> http://gastgeber.miesbach.de/gzi00041.htm

The page is not correct. It is using the Windows-1252 encoding, but doesn't 
specify that in the headers or in the HTML. NetSurf's default is Latin-1, 
which doesn't have the Euro.

> The equivalent HTML-code is:
>
> 30,– bis 45,– € pro Person und Tag

The page has actual characters, not entities like this. The meaning is 
different. HTML entities always refer to Unicode numbers, irrespective of the 
page encoding. So – or € will never work, because Unicode has 
nothing there. NetSurf displays them as

00 and 00
96 80

respectively (hexadecimal).

James

-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: Intermittent thumbnail images in history window....

2008-03-02 Thread James Bursa
On Sunday 02 March 2008, Paul Vigay wrote:
> I've never had thumbnails appear in the history list, even when clicking on
> links on my intranet page. However, if I went directly to an external URL
> (such as news.bbc.co.uk) then I'd get the thumbnails ok.
>
> Anyway, on a whim I decided to change the homepage to
> http://avalon.vigay.com (remembering that it still resolves to exactly the
> same place/route) and lo-and-behold, NetSurf starts thumnailing, even the
> intranet page.
>
> Change back to http://intranet and it doesn't thumbnail the history. This
> is 100% repeatable on this machine here, and the only difference I can spot
> is the URL - the destination is exactly the same machine and page.

I think something is wrong with the thumbnail for http://intranet. Please 
email me a log file after viewing the history window or attach it to the bug.

James


-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: filetypes

2008-05-22 Thread James Bursa
On Thursday 22 May 2008, Tony Moore wrote:
> On 21 May 2008, Tony Moore <[EMAIL PROTECTED]> wrote:
> > I'm editing a document comprising many HTML pages. Each page refers to
> > example files, located in a sub-directory in the same directory as the
> > HTML page. On each page Examples
> > opens an index page for the sub-directory holding the example files,
> > which can then be 'downloaded'.
> >
> > Using NetSurf r4179, common files (GIF, HTML, JPEG, Obey, PNG, Sprite,
> > Text) download correctly filetyped, however BASIC and DrawFile files
> > download as Data, and DPscript files download as Database.
> >
> > Initially, I thought that the MimeMap was incorrect but, when using
> > Fresco 2.13 _all_ files download correctly filetyped and, so far as I
> > can see, both Fresco and NetSurf use the same MimeMap.
>
> Maybe the above is not clear enough, so I've put a demo file at
> http://oldcoaster.drobe.co.uk/filetypes.zip [20KB]. Could someone please
> look at it and tell me what I've misunderstood - or why, apparently,
> Fresco out-performs NetSurf?


Hi Tony

Thanks for the demo. This is a bug or artifact of the way NetSurf handles 
local files.

NetSurf uses MIME types internally (the first column in MimeMap), because 
those are used on the web. When fetching a local file, it first converts the 
RISC OS filetype to the MIME type using MimeMap. The download dialog then 
converts it back again if possible.

There are two possible solutions:

1. Add lines for all those types to MimeMap (although you'd probably have to 
   make up some MIME types)

2. NetSurf could somehow preserve the file type information too for local 
   files

James


-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: How do I get MIDI files to read in Sibelius?

2008-05-30 Thread James Bursa
On Thursday 29 May 2008, Michael Bell wrote:
> I go to a URL such as :-
>
> http://www.contemplator.com/america/ponchtrn.html
>
> This seems to be exactly what I want, if I download the MIDI file,
> then Sibelius can present it as "the dots" (music in staff notation)
> for this song.
>
> So I click on "Download Midi File" and get just a blank window
> entitled http://www.contemplator.com/midimusic/pontchar.mid

You should see a download window from which you can drag the icon to save.

If it doesn't appear, try holding shift while clicking on the link to force a 
download.

James


-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: How do I get MIDI files to read in Sibelius?

2008-05-31 Thread James Bursa
On Saturday 31 May 2008, Michael Bell wrote:
> In message <[EMAIL PROTECTED]>
>
>   Kev Smith <[EMAIL PROTECTED]> wrote:
> > If I click on the link in this e-mail, then netsurf offers up the save
> > window for me to drag the file to save. So Netsurf(r4190) appears to
> > be working correctly, I've had no need to use the shift key to force a
> > download. Odd. Maybe there's something in your mimemap file that makes
> > Netsurf think it can do something with a Midi file.
> >
> > Regards
> >
> > Kev
>
> Well, I've got it to work for me. I know nothing about mimemap files.
> If you want to follow this up, tell me where to look for it and I'll
> send you a copy and you can tell me what's different.

I don't think Mimemap is the cause. NetSurf wouldn't be consulting it for this 
operation.

The only possibility I can think of is that you have a plugin installed that 
claims it can handle MIDI files. Try this in a TaskWindow:

  *Show [EMAIL PROTECTED]

If there is one ending in FD4, that's causing this, and there's a bug either 
in NetSurf or the plugin that's stopping the file from playing.

James


-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: Jpeg problem with the two most recent versions

2008-05-31 Thread James Bursa
On Saturday 31 May 2008, David H Wild wrote:
> I regularly use NetSurf to display Jpeg images attached to emails by
> dragging them there from the Pluto version. Until the last two versions of
> NetSurf this has worked perfectly but now it will display the first one
> correctly but, when any subsequent **email** jpeg is dragged the first one
> is displayed again. Dragging a Jpeg from my hard disc displays correctly
> but it still doesn't break NetSurf's grip on the first email jpeg.

This was broken temporarily but should have been fixed in r4227. Please try 
again with the latest build.

James


-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: Jittery NetSurf

2008-07-10 Thread James Bursa
On Wed, Jul 09, 2008 at 06:18:51PM +0100, Andrew Hodgkinson wrote:
> Yes, but you're still squandering CPU cycles on unnecessary reformats
> caused by NetSurf failing to allocate space for images even when the
> image has a fixed width and height, even if those intermediate redraw
> stages are double-buffered (which actually just slows you down even
> *more*, of course). I never understood why NS ignores image sizes.

Ignoring the size makes it possible to display the entire alt text without it
being cropped to the size of the image, so the page is more useful while images
are loading.

Essentially  is treated like
NetSurf.

James




Re: Bug: 'Search Text' does not work in framed sites.

2008-09-06 Thread James Bursa
Obviously the search tool should search through everything. This will be fixed 
sometime. I don't know when because we can't plan to that detail.

I hope this will terminate this aimless thread.

James


-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/



Re: Mysterious hex C2 AD

2009-03-01 Thread James Bursa
On Sunday 01 March 2009, Bernard Boase wrote:
> Just looked at the site www.world-science.net
>
> Netsurf renders much of its text with inter-syllable sequences ­
> which, in the original HTML, are all hex C2 AD.

What version of NetSurf? In Page -> Info, what does Encoding say?

NetSurf doesn't support soft hyphens but it should be displaying these as 
regular hyphens. What you're seeing seems to show that it isn't interpreting 
that page as UTF-8 correctly.

James

-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/




Re: Netsurft 2.0 GTK Faling To Make

2009-04-25 Thread James Bursa
On Saturday 25 April 2009, Mark Williams wrote:
> Because of libhubbub.
>
> Which I don't have, isn't in the Ubuntu repos and I can't find a way to
> turn off in the makefile options.

Hi Mark,

You can get hubbub from the repository using the command on 
http://www.netsurf-browser.org/projects/hubbub/

I think this is the only way to get it currently. It's an essential part of 
NetSurf 2.0 so can't be turned off.

James

-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/




Re: Missing up-arrow in menus?

2009-05-18 Thread James Bursa
On Monday 18 May 2009, Simon Smith wrote:
> My preferred desktop font is Homerton Medium, which does not contain a
> glyph for the hollow up-arrow sometimes used to indicate Shift in
> application menus. For example, NetSurf tells me that to save a page I
> should press F3, and to full-save a page I should press ... F3. I can get
> the symbol back by reverting to the system font, which I'd rather not do.
> Are there any other work-arounds? NetSurf is not the only victim, although
> it is the main app. I use that's affected - mainly because Netsurf actually
> troubles to mention the shortcuts it uses in its menus.

The Wimp should automatically use this symbol from the WIMPSymbol font if it 
isn't in your chosen font. WIMPSymbol comes in ROM.

I can think of two possibilities:

1. Your Font$Path is missing the ROM fonts directory Resources:$.Fonts.
   Try *Show Font$Path to check.

2. You have a non-standard Homerton Medium that has an empty glyph for the 
   arrow instead of no glyph. Homerton Medium is also in ROM, but you might 
   have it somewhere else too. Run !NetSurf.FixFonts to check for this.

James

-- 
James Bursa, NetSurf developerhttp://www.netsurf-browser.org/




Re: !Run always open

2010-07-12 Thread James Bursa
On Mon, 12 Jul 2010 09:55:34 +0100
Mike Hobbs  wrote:

> This has been bugging me for a while but its very minor...
> 
> !NetSurf.!Run is always open whilst running NS. This means
> my backup (to propagate new versions to another machine via
> USB memory) complains.
> 
> I know the reason is the NS-specific font removal obey
> commands for when NS exits.  I just wondered if there might
> be a better way of doing this that doesn't leave the file
> open? I currently edit !Run every time I update NS.

We could move this to the exit code within the binary itself to avoid
this.

Alternatively I think we could get rid of the FontRemove entirely and
just leave the font available after NetSurf exits.

James