Friday, 29 June 2018

Re: launching a PDF from a link

On 28 June 2018 19:13:56 BST, Tim Hill <tim@timil.com> wrote:
[snip]
>It's easy to think NetSurf really ought to have to option to Filer_Run
>any file it doesn't understand after downloading it but it doesn't; it
>leaves you to do that which is fine up to a point but a shame because
>it
>prevents sound and video playing from a link, just as it makes you open
>your downloaded PDFs 'manually'.
>
>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.

Though on more popular OSs many take the opportunity to selectively disable auto-run net stuff for obvious reasons.
--
Fred
@ypical ink

Thursday, 28 June 2018

Re: launching a PDF from a link

In message <570f5c0542tim@timil.com>
Tim Hill <tim@timil.com> wrote:

>In article <f7f9420f57.ricp@user.minijem.plus.com>, Richard Porter
><ricp@minijem.plus.com> 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 (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/

Re: launching a PDF from a link

In article <f7f9420f57.ricp@user.minijem.plus.com>, Richard Porter
<ricp@minijem.plus.com> wrote:
> On 28 Jun 2018 Jim Nagel wrote:

> > When you click the link for a Jpeg (or various other types of file),
> > the file opens immediately. Why does PDF behave differently? What
> > is the mechanism involved?

> I think that offering a save dialogue is the norm. Netsurf processes
> JPEG, GIF and PNG files itself, plus html and text of course, so
> there's no need to save them.

It's easy to think NetSurf really ought to have to option to Filer_Run
any file it doesn't understand after downloading it but it doesn't; it
leaves you to do that which is fine up to a point but a shame because it
prevents sound and video playing from a link, just as it makes you open
your downloaded PDFs 'manually'.

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.

--

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk

Re: launching a PDF from a link

On 28 Jun 2018 Jim Nagel wrote:

> When you click the link for a Jpeg (or various other types of file),
> the file opens immediately. Why does PDF behave differently? What is
> the mechanism involved?

I think that offering a save dialogue is the norm. Netsurf processes JPEG,
GIF and PNG files itself, plus html and text of course, so there's no need
to save them.

> And why does the PDF link cause BOTH the download dialogue AND a blank
> web page to appear?

It doesn't unless there's a target="_new" argument or equivalent and
you've got "Allow links to open in new windows" ticked in Choices >
Content.

BUT

It's different if you click on an html link in Messenger Pro. In that case
NetSurf always opens a new window and then decides what to do. I raised a
feature request about this ages ago, but to no avail.

Richard
--
Richard Porter http://www.minijem.plus.com/
t: @westernexplorer mailto:ricp@minijem.plus.com
I don't want a "user experience" - I just want stuff that works.

Wednesday, 27 June 2018

launching a PDF from a link

Is there a way of causing Netsurf to actually open a PDF, rather than
offering to download it, when the user clicks a link to the PDF?

When you click the link for a Jpeg (or various other types of file),
the file opens immediately. Why does PDF behave differently? What is
the mechanism involved?

And why does the PDF link cause BOTH the download dialogue AND a blank
web page to appear?

I'm using RiscOS 5.23 and at the moment Netsurf #4342.
(I presume things would differ for, say, Amiga instead of RiscOS.)

--
Jim Nagel www.archivemag.co.uk

Tuesday, 26 June 2018

NS SDK workshop at RMLL / Libre Software Meeting (Strasbourg, July 8th)

Hi,

Next week (July 7th-12th) the Libre Software Meeting (RMLL: Rencontres
Mondiales du Logiciel Libre) will take place in Strasbourg, France.


I'll be giving a workshop about installing and using the NS SDK to
cross-compile stuff for Atari, Amiga & friends.

cf.

https://2018.rmll.info/fr/program/calendar/table


Also the occasion to mention NS, and maybe find new contributors.


François.

Thursday, 14 June 2018

Re: Image won't display

On 12/06/18 18:35, Richard Torrens (lists) wrote:

> That is because I have changed the image name so that it does work!

Now: http://stronged.torrens.org/man/modes/img/clklist.png

Why is that even an image?

--
Vince M Hudd - Soft Rock Software - www.softrock.co.uk
RISCOSitory - www.riscository.com

Tuesday, 12 June 2018

Re: Image won't display

On 12 Jun 2018 Brian wrote:

> In article <570702972bLists@Torrens.org>, Richard Torrens (lists)
> <Lists@Torrens.org> wrote:
>> A very weird problem...

>> The page http://stronged.torrens.org/man/modes/syntaxmodefile.html which
>> I am writing. It has a line <img src="img/clicklist.png"
>> alt="clicklist/png" width="653" height="104"> But Netsurf won't display
>> the image. Chrome does it properly.

>> But http://stronged.torrens.org/man/modes/img/clicklist.png displays the
>> image!

> Not here, I'm getting 404 - Not Found

>> I am baffled.

But it's coded as clklist.png not clicklist.png.


--
Richard Porter http://www.minijem.plus.com/
t: @westernexplorer mailto:ricp@minijem.plus.com
I don't want a "user experience" - I just want stuff that works.

Re: Image won't display

In article <570714fc76bbailey@argonet.co.uk>,
Brian <bbailey@argonet.co.uk> wrote:
> In article <570702972bLists@Torrens.org>, Richard Torrens (lists)
> <Lists@Torrens.org> wrote:
> > A very weird problem...

> > The page http://stronged.torrens.org/man/modes/syntaxmodefile.html which
> > I am writing. It has a line <img src="img/clicklist.png"
> > alt="clicklist/png" width="653" height="104"> But Netsurf won't display
> > the image. Chrome does it properly.

> > But http://stronged.torrens.org/man/modes/img/clicklist.png displays the
> > image!

> Not here, I'm getting 404 - Not Found

That is because I have changed the image name so that it does work!

--
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!

Re: Image won't display

In article <570702972bLists@Torrens.org>, Richard Torrens (lists)
<Lists@Torrens.org> wrote:
> A very weird problem...

> The page http://stronged.torrens.org/man/modes/syntaxmodefile.html which
> I am writing. It has a line <img src="img/clicklist.png"
> alt="clicklist/png" width="653" height="104"> But Netsurf won't display
> the image. Chrome does it properly.

> But http://stronged.torrens.org/man/modes/img/clicklist.png displays the
> image!

Not here, I'm getting 404 - Not Found

> I am baffled.

Re: Image won't display

In article <4e9f7074-3a2d-e7b2-3d74-175f46e71e49@codethink.co.uk>,
Michael Drake <michael.drake@codethink.co.uk> wrote:
> On 12/06/18 14:07, Richard Torrens (lists) wrote:
> > A very weird problem...
> >
> > The page
> > http://stronged.torrens.org/man/modes/syntaxmodefile.html
> > which I am writing. It has a line
> > <img src="img/clicklist.png" alt="clicklist/png" width="653" height="104">
> > But Netsurf won't display the image. Chrome does it properly.

> It's getting caught by NetSurf's ad blocking CSS.

> Looks like it matches the following selector.

> img[src*="/click"]

> You can disable ad blocking in the preferences.

Thanks for the very speedy explanation! But if I want others to read the
page, I need to change the name...

Done.

--
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!

Re: Image won't display

On 12/06/18 14:07, Richard Torrens (lists) wrote:
> A very weird problem...
>
> The page
> http://stronged.torrens.org/man/modes/syntaxmodefile.html
> which I am writing. It has a line
> <img src="img/clicklist.png" alt="clicklist/png" width="653" height="104">
> But Netsurf won't display the image. Chrome does it properly.

It's getting caught by NetSurf's ad blocking CSS.

Looks like it matches the following selector.

img[src*="/click"]

You can disable ad blocking in the preferences.

--
Michael Drake https://www.codethink.co.uk/

Image won't display

A very weird problem...

The page
http://stronged.torrens.org/man/modes/syntaxmodefile.html
which I am writing. It has a line
<img src="img/clicklist.png" alt="clicklist/png" width="653" height="104">
But Netsurf won't display the image. Chrome does it properly.

But http://stronged.torrens.org/man/modes/img/clicklist.png
displays the image!

I am baffled.

--
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!

Friday, 8 June 2018

Re: [Rpcemu] RPCEmu 0.9.0 — Networking issues

David Gee, on 6 Jun, wrote:

[snip]

> Finally, I found that I could enter (for example)
> www.marutan.net<http://www.marutan.net> into the hosts file on RISC OS;
> this let "ping www.marutan.net<http://www.marutan.net>" work correctly but
> I couldn't use Netsurf to display the site (it hung, causing RO to hang as
> well).

FWIW Netsurf fails to verify the authenticity of an SSL certificate on that
site. Old Netsurf's could fail on certificate issues. Netsurf 4135 was good
here and proceded to the the site. (It's probably not that but just in case
...)

OS5.24, RPCEmu 0.9.0, Ubuntu 18.04, VMWare Fusion iMac.


--
David Pitt

_______________________________________________
Rpcemu mailing list
Rpcemu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Wednesday, 6 June 2018

Re: [Rpcemu] RPCEmu 0.9.0 — Networking issues

Peter,

I had set these values—host name to 'HPLaptop' (without the quotes) and domain to 'domain' (ditto) so I wonder if it does make a difference what values are given; what did you use?

Also, in my case the laptop is connected via wi-fi not Ethernet. Don't know whether that matters.

Finally, I found that I could enter (for example) www.marutan.net into the hosts file on RISC OS; this let "ping www.marutan.net" work correctly but I couldn't use Netsurf to display the site (it hung, causing RO to hang as well).

David Gee
Gateshead

On 6 Jun 2018, at 21:25, Peter Howkins <rpcemu.howkins@marutan.net> wrote:

I installed Ubuntu 18.04 and have got networking working using the
current instructions on the site.

However there is one setting you could have missed that can cause the
error you're seeing, in the RISC OS Internet configuration Name Server
configuration window.

https://www.marutan.net/rpcemu/manual/net-ro-tun.html
https://www.marutan.net/rpcemu/manual/i/ro-tun-7.png

Make sure you have a value in "Host name" and "Local domain", they can
be anything you like, and reboot. If not set to something then
namelookups fail in the manner you describe even if the "Primary name
server" value is set correctly.

Peter

_______________________________________________
Rpcemu mailing list
Rpcemu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Re: [Rpcemu] RPCEmu 0.9.0 — Networking issues

I installed Ubuntu 18.04 and have got networking working using the
current instructions on the site.

However there is one setting you could have missed that can cause the
error you're seeing, in the RISC OS Internet configuration Name Server
configuration window.

https://www.marutan.net/rpcemu/manual/net-ro-tun.html
https://www.marutan.net/rpcemu/manual/i/ro-tun-7.png

Make sure you have a value in "Host name" and "Local domain", they can
be anything you like, and reboot. If not set to something then
namelookups fail in the manner you describe even if the "Primary name
server" value is set correctly.

Peter

_______________________________________________
Rpcemu mailing list
Rpcemu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Monday, 4 June 2018

Re: Inquiries About The LibDom Library

On Thu, May 31, 2018 at 20:13:45 +0000, Pascal Archambault wrote:
> I am an undergrad student currently working on a project aiming to supplement
> NetSurf's javascript capabilities. I am still at a learning stage, so if the
> following doesn't make sense please try to bear with me.

That's an interesting goal, and we'd be pleased to have you contribute
usefully.

> I have been exploring the code of the netsurf project and the libdom library,
> and as such, I had a some questions:
>
> 1. What is the current status of the libdom project and who is in charge
> of it ?

libdom is currently in a bit of a mess to be honest. We wrote it initially to
levels 1 and 2 of DOM and some of 3 of HTML. Then it sat quietly for a while
before we started adding support for HTML5's DOM behaviours.

We don't have an "in charge" person because we're a collaborative team with
not-enough time on our hands :-) I'd say that John-Mark (jmb) knows the most
about the core of libdom, but I have been doing quite a bit of the recent
updates to it.

> 1. I see that netsurf's core dom support is standing at Level 3 DOM, are
> there any plans for the libdom library to follow the W3C DOM4
> recommendations ? and as such, by contributing to libdom should I try to
> stick to the Level 3 DOM spec or aim for the DOM4 specs ?

If you want to contribute to libdom in a way which will be useful for JS
support going into the future, then the first thing we need to do is to
implement and complete the core forms behaviours into libdom so that we can
migrate NetSurf away from its current monstrous forms code.

You can see some of what needs to be done if you look at recent(ish) developer
weekend notes, particularly the notes I made last September:
http://wiki.netsurf-browser.org/developer-weekend/sep-2017/#newapproach

Good luck, and please do feel free to pop up on our IRC channel to chat.

D.

--
Daniel Silverstone http://www.netsurf-browser.org/
PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69