Re: RISC OS Javascript support

2012-12-17 Thread Brian Jordan
In message 20121216210011.gn15...@kyllikki.org
  Vincent Sanders vi...@netsurf-browser.org wrote:

 ok last try for now, ci #744 is built with spidermonkey 1.7.0 maybe it
 works maybe it doesn't.

 Please also remember to use the json tagged downloads if you want to
 try with javascript as the jsoff ones do not even have teh interpreter
 linked.

Recently, somewhere in the CI#5xx builds it became possible to use 
HSBC Internet banking with NetSurf. The site warns about javascript 
being off but nontheless it goes to a non-javascript area and is 
entirely useable.

With javascript versions of the browser, with javascript turned on, 
the warnings are no longer present but some links don't work, 
specifically those which attempt to follow javascript:void(0);:my 
account details. Sorry I can't be more specific and many thanks for 
this leap forward.



-- 

Brian Jordan
Virtual RPC-AdjustSA on Windows 7
RISC OS 6.20



Re: RISC OS Javascript support

2012-12-17 Thread Richard Torrens (lists)
In article 52ff29f39bdhw...@talktalk.net,
   David H Wild dhw...@talktalk.net wrote:
 I have come across three oddities in connection with JavaScript.

 (i) If you look at Flickr Having JS off brings a message about JS being off
 but gives the picture. With JS on there is no message, but the picture
 doesn't appear although the little strip of pictures is there.

 (ii) In Yahoo groups having JS on means that the navigation buttons don't
 appear.

 (iii) On today's Guardian website has, with JS off, a grid of squares
 saying Link to slideshow 1. clicking on this produces the picture that
 should have been there.. With JS on the grid of links doesn't appear and
 there is a blank space on the page.

 This is with 740 on a rPC.

Similar effect with Streetmap.co.uk

This will probably be because only some JS is working as of yet - enough
that the site recognises JS to be present, but not enough to do the job
required.

I'm sure it will all get sorted in time, until then we must be patient -
and thankful that it is happening at all. Adding JavaScript must be a
herculean task!

Thanks to all the team.

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



Re: RISC OS Javascript support

2012-12-17 Thread Tony Moore
On 16 Dec 2012, Steve Fryatt li...@stevefryatt.org.uk wrote:
 On 16 Dec, Dave Higton wrote in message
 f77c24ff52.davem...@my.inbox.com:

[snip]

  It does have a Disable Javascript item - but the effect doesn't
  appear to be stored; the item always comes up as disabled when NS
  starts.

 Are you using a build which contains JS? It works fine in a json
 build, but in a jsoff version it gets saved (look in the Choices)
 file, then lost on loading. However, I suspect that it's getting
 loaded and then overwritten to false by the dummy js_initialise() in
 javascript/none.c (which presumably isn't an issue in a build that
 actually contains JavaScript).

Running #744 (json) on RO 6.20, I see the problem described by Dave.
NetSurf's config file contains enable_javascript:1 but, when loaded,
NetSurf Choices...  Content shows 'Disable JavaScript' ticked, and
http://javatester.org/javascript.html reports that 'JavaScript IS NOT
WORKING in your web browser'. After unticking 'Disable JavaScript', the
'not working' warning at http://javatester.org/javascript.html has gone
so, presumably, JavaScript is then working - not that this is apparent,
on other websites.

Tony






Re: RISC OS Javascript support

2012-12-17 Thread Ste (PlusNet)
On 13 Dec, Vincent Sanders vi...@netsurf-browser.org wrote:
 Thanks to Rob Kendrik, Chris Gransden and myself we now have NSPR and
 Spidermonkey libraries building in the NetSurf toolchain[1]. The CI
 system[1] has built the toolchain successfully and a copy of NetSurf
 for RISC OS with Javascript enabled[3].

Fantastic news, this looks like the start of a very long road, of course,
but many thanks guys!

Ta,

Steve

-- 
Steve @ PlusNet



Re: RISC OS Javascript support

2012-12-17 Thread Learning Partners


On Mon, 17 December, 2012 4:41 am, Michael Bell wrote:
 This is all *far* beyond my technical understanding and abilities, but
 let me say I am *very* grateful for all this work which makes RISC OS
 so much more useful.

 Merry Christmas!

 Michael Bell

Seconded with gratitude. I look forward to a stable (if limited) release
of Netsurf with JS. Huge thanks to developers and testers.

John Hurley




Re: RISC OS Javascript support

2012-12-17 Thread Dave Higton
In message 20121216210011.gn15...@kyllikki.org
  Vincent Sanders vi...@netsurf-browser.org wrote:

 ok last try for now, ci #744 is built with spidermonkey 1.7.0 maybe it
 works maybe it doesn't.
 
 Please also remember to use the json tagged downloads if you want to try
 with javascript as the jsoff ones do not even have teh interpreter linked.

NS 746 json crashes when JS is enabled, on Slashdot, also on the
Sourceforge bug tracker submit bug link.  Works fine when JS
is disabled.

I've submitted a bug report and log for Slashdot.  You don't need
me to submit a log for SF as you know where that is and it's
entirely repeatable.

My heartfelt congratulations to everybody for getting this far!

Dave


FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks  orcas on your 
desktop!
Check it out at http://www.inbox.com/marineaquarium



Re: RISC OS Javascript support

2012-12-16 Thread Vincent Sanders
On Sat, Dec 15, 2012 at 06:41:14PM +, Chris Gransden wrote:
 In article 20121215171742.gh15...@kyllikki.org,
Vincent Sanders vi...@netsurf-browser.org wrote:
 
  Please can you send a patch? even if its just the files you changed I
  can work up a suitable patch from those, whatevers easiest.
 
 Steve already beat me to it. Those changes are working.

good to know

 
  How do we disable JIT? I used your recipie to build spidermonkey as a
  template. Even with --disable-tracejit passed to configure METHOD JIT
  is still enabled (toolchain build has the patches and Makefile used[1]
  (in the sdk directory)). If I turn that off too (--disable-methodjit)
  the library fails to build, perhaps I am missing something?
 
  I would like to try and debug where the later version of spidermonkey
  fails as it is such a huge improvement in functionality going
  forwards.
 
 I think the JIT is built if ARM is detected. Setting
 WTF_CPU_ARM_TRADITIONAL 0 in Platform.h and '-DENABLE_ASSEMBLER=0
 -DENABLE_JIT=0' stops it building the JIT. 
 

might try this today though I have run out of time for messing with
toolchain stuff right now.

  I can build 1.7 temporarily, but this is not really solving the issue
  at all and will (from past experience) almost certianly lead to RISC
  OS being stuck there forever. 
 
  In future I do wish to move onto editions of spidermonkey past 1.8.5
  (3 years old) which provide improved perfomance and functionality so
  limiting myself to version 1.7 (which is over five years old now, think
  firefox 2 era) seems counterproductive.
 
 I thought it would be useful for getting people to test stuff now.

I spent a few hours on this yestarday. The 1.7.0 download [1] is not
autoconf and I was unable to persuade it to cross compile with our
toolchain let alone with the nspr. If you have a recipie that would be
great...

 
 Chris.
 
 
 

[1] http://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz

-- 
Regards Vincent
http://www.kyllikki.org/



Re: RISC OS Javascript support

2012-12-16 Thread Chris Young
On Sun, 16 Dec 2012 13:45:46 +, Vincent Sanders wrote:

  1.7 doesn't need NSPR

 I must have misunderstood what teh DIST variable points at then? but
 thats perfectly possible ;-)

IIRC it needs NSPR if you build it as threaded, but you don't need to
do that.

 well I would be very interested in a diff against the distribution
 archive anyway. If I can get the NetSurf toolchain package building
 spidermonkey for your platform we can get the CI builds (and by
 extension future release builds) to generate output with JavaScript
 support for your platform

Attached.

Chris


js17.diff.gz
Description: Binary data


makefile.os4-lib.gz
Description: Binary data


Re: RISC OS Javascript support

2012-12-16 Thread Vincent Sanders
OK, the CI system just built #740 with a spidermonkey 1.8.5 library
with the JIT disabled as suggested by Chris Gransden. Can this be
tried by someone with access to RISC OS? and please be aware this may
well behave very badly indeed.

If this fails I have now successfully built 1.7.0 for RISC OS (though
not run tested) so the possibility of using an older known working
version exists.

Please remember to enable javascript via the nice shiny new
configuration interface Steve Fryatt has provided.

-- 
Regards Vincent
http://www.kyllikki.org/



Re: RISC OS Javascript support

2012-12-16 Thread Chris Gransden
In article 20121216154023.gl15...@kyllikki.org,
   Vincent Sanders vi...@netsurf-browser.org wrote:
 OK, the CI system just built #740 with a spidermonkey 1.8.5 library
 with the JIT disabled as suggested by Chris Gransden. Can this be
 tried by someone with access to RISC OS? and please be aware this may
 well behave very badly indeed.

It get stuck in a infinite loop as soon as a web page is opened. Alt-break
is the only way to quit.

Chris.




Re: RISC OS Javascript support

2012-12-16 Thread Peter Young
On 16 Dec 2012  Vincent Sanders vi...@netsurf-browser.org wrote:

 OK, the CI system just built #740 with a spidermonkey 1.8.5 library
 with the JIT disabled as suggested by Chris Gransden. Can this be
 tried by someone with access to RISC OS? and please be aware this may
 well behave very badly indeed.

 If this fails I have now successfully built 1.7.0 for RISC OS (though
 not run tested) so the possibility of using an older known working
 version exists.

 Please remember to enable javascript via the nice shiny new
 configuration interface Steve Fryatt has provided.

Just downloaded this build; ARMini, RISC OS 5.19, (16 May 2012).

Mixed results, but not helped much because I don't really know what 
I'm looking for!. All my usual pages seem to work OK:

www.groups.google.com/ looks as if it's repeatedly trying to load and failing; 
this worked with previous builds.

http://www.mssociety.org.uk/near-me/branches/cheltenham-and-north-cotswold-branch
(sorry, should be all one line) still doesn't format as it does in 
Windows Firefox; the About us and Contact should be two separate 
tabs; no idea if this is a JavaScript thing.

http://www.metcheck.com/UK/today.asp?zipcode=GL52%203DS

is still missing a lot of detail compared with Firefox, and the Conf 
icons down the right hand side deliver only a part of their content.

Like many others I'm very grateful that JavaScript is being worked on, 
but I think there's still a way to go. If testing by an ignoramus is 
worth it, please suggest to me some other sites to try.

With best wishes,

Peter.

-- 
Peter Young (zfc Ta) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyo...@ormail.co.uk



Re: RISC OS Javascript support

2012-12-16 Thread John Rickman Iyonix
Chris Gransden  wrote

 In article 20121216154023.gl15...@kyllikki.org,
Vincent Sanders vi...@netsurf-browser.org wrote:
 OK, the CI system just built #740 with a spidermonkey 1.8.5 library
 with the JIT disabled as suggested by Chris Gransden. Can this be
 tried by someone with access to RISC OS? and please be aware this may
 well behave very badly indeed.

 It get stuck in a infinite loop as soon as a web page is opened. Alt-break
 is the only way to quit.

Similar results on Iyonix 5.19. Does get as far as putting icon on 
icon bar.


-- 
John - http://mug.riscos.org/




Re: RISC OS Javascript support

2012-12-16 Thread John Harrison

  OK, the CI system just built #740 

 Bad news - loops on Iyonix, needs alt-break to stop.

That's  odd.  740 has been happily running here in Iyonix (5.18) since I
downloaded it earlier.

-- 
John Harrison
Website http://jaharrison.me.uk



Re: RISC OS Javascript support

2012-12-16 Thread Peter Young
On 16 Dec 2012  John Harrison j...@jaharrison.me.uk wrote:


 OK, the CI system just built #740

 Bad news - loops on Iyonix, needs alt-break to stop.

 That's  odd.  740 has been happily running here in Iyonix (5.18) since I
 downloaded it earlier.

Presumably it matters which home page one is using. I use 
http:/m.bbc.co.uk/home/desktop as suggested elsethread. I've certainly 
seen the failure to load that people report on google groups, but that 
doesn't lock the machine. ARMini, RISC OS 5.19

With best wishes,

Peter.

-- 
Peter Young (zfc Ta) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyo...@ormail.co.uk



Re: RISC OS Javascript support

2012-12-16 Thread Chris Gransden
In article 20121216161324.gm15...@kyllikki.org,
   Vincent Sanders vi...@netsurf-browser.org wrote:
 On Sun, Dec 16, 2012 at 04:07:25PM +, Chris Gransden wrote:
  In article 20121216154023.gl15...@kyllikki.org,
 Vincent Sanders vi...@netsurf-browser.org wrote:
   OK, the CI system just built #740 with a spidermonkey 1.8.5 library
   with the JIT disabled as suggested by Chris Gransden. Can this be
   tried by someone with access to RISC OS? and please be aware this may
   well behave very badly indeed.
  
  It get stuck in a infinite loop as soon as a web page is opened. Alt-break
  is the only way to quit.
  

 bother, oh well. any posibility of a log to maybe debug it? anyway I
 will sort out switching to the 1.7.0 build for now.

I've been doing all my testing on a pandaboard which it locks up with. I
tried it on a Raspberry Pi and it seems to be running stable so far. The
NetSurf JavaScript tests all seem to be working as before.

I ran the jsapi-tests program on the Raspberry Pi. Here's the output in
case its useful. This locks up on the Pandaboard.
*jsapi-tests
selfTest_globalHasNoParent
TEST-PASS | selfTest_globalHasNoParent | ok
selfTest_NaNsAreSame
TEST-PASS | selfTest_NaNsAreSame | ok
testBug604087
TEST-PASS | testBug604087 | ok
testClassGetter_isCalled
TEST-PASS | testClassGetter_isCalled | ok
test_cloneScript
TEST-PASS | test_cloneScript | ok
testDerivedValues
testConservativeGC.cpp:77:CHECK failed: !memcmp(ch, expected,
sizeof(expected))
TEST-UNEXPECTED-FAIL | testDerivedValues | CHECK failed: !memcmp(ch,
expected, sizeof(expected))
testConservativeGC

Chris.




Re: RISC OS Javascript support

2012-12-16 Thread Dave Higton
In message 52ff11edd1j...@jaharrison.me.uk
  John Harrison j...@jaharrison.me.uk wrote:


   OK, the CI system just built #740 
 
  Bad news - loops on Iyonix, needs alt-break to stop.
 
 That's  odd.  740 has been happily running here in Iyonix (5.18) since I
 downloaded it earlier.

Yes, for me too.

Dave


FREE ONLINE PHOTOSHARING - Share your photos online with your friends and 
family!
Visit http://www.inbox.com/photosharing to find out more!



Re: RISC OS Javascript support

2012-12-16 Thread Vincent Sanders
ok last try for now, ci #744 is built with spidermonkey 1.7.0 maybe it
works maybe it doesn't.

Please also remember to use the json tagged downloads if you want to
try with javascript as the jsoff ones do not even have teh interpreter
linked.

-- 
Regards Vincent
http://www.kyllikki.org/



Re: RISC OS Javascript support

2012-12-16 Thread Steve Fryatt
On 16 Dec, Dave Higton wrote in message
f77c24ff52.davem...@my.inbox.com:

 In message 20121216154023.gl15...@kyllikki.org
   Vincent Sanders vi...@netsurf-browser.org wrote:
 
  OK, the CI system just built #740 with a spidermonkey 1.8.5 library with
  the JIT disabled as suggested by Chris Gransden. Can this be tried by
  someone with access to RISC OS? and please be aware this may well behave
  very badly indeed.
  
  If this fails I have now successfully built 1.7.0 for RISC OS (though
  not run tested) so the possibility of using an older known working
  version exists.
  
  Please remember to enable javascript via the nice shiny new
  configuration interface Steve Fryatt has provided.
 
 The configuration interface in my 740 is different from the shiny new one
 in Steve's picture.

It will do: that wasn't my picture. Chris G did the version in the picture,
but then never submitted his changes to the source. I did my version
separately, but didn't commit it until after the screenshot was posted
(because I was still wrestling with Git). The sense of our switches is
different, too, as I went for the disable logic of the rest of the
Content Blocking box but Chris went for enable.

 It does have a Disable Javascript item - but the effect doesn't appear
 to be stored; the item always comes up as disabled when NS starts.

Are you using a build which contains JS? It works fine in a json build,
but in a jsoff version it gets saved (look in the Choices) file, then lost
on loading. However, I suspect that it's getting loaded and then overwritten
to false by the dummy js_initialise() in javascript/none.c (which presumably
isn't an issue in a build that actually contains JavaScript).

You can see what choices are getting loaded underneath the RISC OS GUI by
browsing to about:config and looking at the settings. As an aside, string
display on that screen probably wants to entity-ise any 's and 's (and
possibly other stuff too): it doesn't handle Choices$Write.WWW... in the
RISC OS settings very cleverly at the moment!

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/



Re: RISC OS Javascript support

2012-12-16 Thread Kevin Wells
In message out-50ce32df.md-1.4.17.chris.yo...@unsatisfactorysoftware.co.uk
  Chris Young chris.yo...@unsatisfactorysoftware.co.uk wrote:

On Sun, 16 Dec 2012 20:36:36 GMT, Dave Higton wrote:

 Is there any simple bit of HTML+JS that we can use to verify that JS
 is working to /any/ extent?

Try this: http://javatester.org/javascript.html

It will clearly say whether JavaScript is enabled, and if it is
working you'll see the user agent string underneath (NetSurf/3.0 etc)

Chris

Thanks for that link, on my Raspberry Pi I get your web browser supports
JavaScript 2.2



-- 
Kev Wells  http://riscos.kevsoft.co.uk/
http://kevsoft.co.uk/   http://kevsoft.co.uk/AleQuest/
ICQ 238580561
O it's  Thin red line of 'eroes,  when the drums begin to roll.



Re: RISC OS Javascript support

2012-12-16 Thread Michael Bell
This is all *far* beyond my technical understanding and abilities, but 
let me say I am *very* grateful for all this work which makes RISC OS 
so much more useful.

Merry Christmas!

Michael Bell


-- 



Re: RISC OS Javascript support

2012-12-15 Thread Vincent Sanders
Hi Chris, thanks for your ongoing help with this.

On Sat, Dec 15, 2012 at 01:53:03PM +, Chris Gransden wrote:
 In article 20121214122314.gg15...@kyllikki.org,
Vincent Sanders vi...@netsurf-browser.org wrote:
  Thankyou for all your feedback. 
 
  As some of you discovered there was no user interface to enable
  javascript so you would need to add:
 
  enable_javascript:1
 
  to your configuration manually.
 
 While testing the various spidermonkey versions I added the user interface
 to enable javascript. Here's a screen dump www.cgransden.co.uk/screen.png.

Please can you send a patch? even if its just the files you changed I
can work up a suitable patch from those, whatevers easiest.

 
  It seems that the RISC OS edition of spidermonkey is failing to even
  initialise as can be seen within the log as:
 
  javascript/jsapi.c js_initialise 39: New runtime handle 0x0
 
 With 1.85 on RISC OS this happens with the JIT turned on. If the JIT is
 disabled it gets a bit further then gets stuck in a loop.

How do we disable JIT? I used your recipie to build spidermonkey as a
template. Even with --disable-tracejit passed to configure METHOD JIT
is still enabled (toolchain build has the patches and Makefile used[1]
(in the sdk directory)). If I turn that off too (--disable-methodjit)
the library fails to build, perhaps I am missing something?

I would like to try and debug where the later version of spidermonkey
fails as it is such a huge improvement in functionality going
forwards.

 
  which effectively means the javascript support is disabled and will not
  be able to use any script code on this platform (many of your examples
  work fine on the Linux platforms being used for development). 
 
  If time permits I may look into this further but as I have limited
  access to RISC OS systems myself and the platform maintainer is
  currently not active I cannot promise progress in the immediate
  future. 
 
  Sorry this was not more useful at this time but I do feel progress is
  being made albeit slowly.
 
 Would it be an option to use Spidermonkey 1.7 on RISC OS temporarily? This
 version seems stable and all the javascript tests work ok. They give the
 same results as the gtk version which uses 1.85.

I can build 1.7 temporarily, but this is not really solving the issue
at all and will (from past experience) almost certianly lead to RISC
OS being stuck there forever. 

In future I do wish to move onto editions of spidermonkey past 1.8.5
(3 years old) which provide improved perfomance and functionality so
limiting myself to version 1.7 (which is over five years old now, think
firefox 2 era) seems counterproductive.

 
 Chris.
 
 
 

[1] http://git.netsurf-browser.org/toolchains.git/tree/


-- 
Regards Vincent
http://www.kyllikki.org/



Re: RISC OS Javascript support

2012-12-15 Thread Steve Fryatt
On 15 Dec, Chris Young wrote in message
out-50cca365.md-1.4.17.chris.yo...@unsatisfactorysoftware.co.uk:

 On Sat, 15 Dec 2012 13:53:03 + (GMT), Chris Gransden wrote:
 
  While testing the various spidermonkey versions I added the user
  interface to enable javascript. Here's a screen dump
  www.cgransden.co.uk/screen.png.
 
 I think a patch would be more useful ;)

I've finally got around to sorting out some access to Git (along with
working out how to actually commit stuff using it), and have committed an
alternative version.

It seems to set the option correctly, but as I can't build with Javascript
yet (something else to sort out), I haven't definitely confirmed that it all
works as intended beyond that.

-- 
Steve Fryatt - Leeds, England Wakefield Acorn  RISC OS Show
 Saturday 20 April 2013
http://www.stevefryatt.org.uk/   http://www.wakefieldshow.org.uk/



Re: RISC OS Javascript support

2012-12-15 Thread Chris Gransden
In article 20121215171742.gh15...@kyllikki.org,
   Vincent Sanders vi...@netsurf-browser.org wrote:

 Please can you send a patch? even if its just the files you changed I
 can work up a suitable patch from those, whatevers easiest.

Steve already beat me to it. Those changes are working.

 How do we disable JIT? I used your recipie to build spidermonkey as a
 template. Even with --disable-tracejit passed to configure METHOD JIT
 is still enabled (toolchain build has the patches and Makefile used[1]
 (in the sdk directory)). If I turn that off too (--disable-methodjit)
 the library fails to build, perhaps I am missing something?

 I would like to try and debug where the later version of spidermonkey
 fails as it is such a huge improvement in functionality going
 forwards.

I think the JIT is built if ARM is detected. Setting
WTF_CPU_ARM_TRADITIONAL 0 in Platform.h and '-DENABLE_ASSEMBLER=0
-DENABLE_JIT=0' stops it building the JIT. 

 I can build 1.7 temporarily, but this is not really solving the issue
 at all and will (from past experience) almost certianly lead to RISC
 OS being stuck there forever. 

 In future I do wish to move onto editions of spidermonkey past 1.8.5
 (3 years old) which provide improved perfomance and functionality so
 limiting myself to version 1.7 (which is over five years old now, think
 firefox 2 era) seems counterproductive.

I thought it would be useful for getting people to test stuff now.

Chris.




Re: RISC OS Javascript support

2012-12-15 Thread John Rickman Iyonix
Chris Gransden  wrote

 Please can you send a patch? even if its just the files you changed I
 can work up a suitable patch from those, whatevers easiest.

 Steve already beat me to it. Those changes are working.

Thanks Steve - it is great to see an extra entry in the choices 
content window.

Probably a good idea to write it in camelCase though, ie JavaScript 
(not as in the subject of this thread).

Picky, but just showing I'm awake:-)
-- 
John - http://mug.riscos.org/




Re: RISC OS Javascript support

2012-12-14 Thread Vincent Sanders
Thankyou for all your feedback. 

As some of you discovered there was no user interface to enable
javascript so you would need to add:

enable_javascript:1

to your configuration manually.

It seems that the RISC OS edition of spidermonkey is failing to even
initialise as can be seen within the log as:

javascript/jsapi.c js_initialise 39: New runtime handle 0x0

which effectively means the javascript support is disabled and will not
be able to use any script code on this platform (many of your examples
work fine on the Linux platforms being used for development). 

If time permits I may look into this further but as I have limited
access to RISC OS systems myself and the platform maintainer is
currently not active I cannot promise progress in the immediate
future. 

Sorry this was not more useful at this time but I do feel progress is
being made albeit slowly.

-- 
Regards Vincent
http://www.kyllikki.org/



Re: RISC OS Javascript support

2012-12-14 Thread george greenfield
In message 52fdf4eea8...@timil.com
  Tim Hill t...@timil.com wrote:

 In article 20121214122314.gg15...@kyllikki.org, Vincent Sanders
 vi...@netsurf-browser.org wrote:
 Thankyou for all your feedback.
 
 As some of you discovered there was no user interface to enable
 javascript so you would need to add:
 
 enable_javascript:1
 
 to your configuration manually.
 
 Okay, that line added to top of Boot:Choices.WWW.NetSurf.Choices
 

?

I found that adding that line (enable_javascript:1) to my Choices file 
/dis/abled javascript: commenting it out restored the status quo 
(i.e., partial operation of js). I'm running the #727 build.

George

-- 
george greenfield



RISC OS Javascript support

2012-12-13 Thread Vincent Sanders
Thanks to Rob Kendrik, Chris Gransden and myself we now have NSPR and
Spidermonkey libraries building in the NetSurf toolchain[1]. The CI
system[1] has built the toolchain successfully and a copy of NetSurf
for RISC OS with Javascript enabled[3].

I would be grateful if any interested users could test this build.

The javascript support is still *very* limited and the performance is
unlikely to be awe inspiring, please do not expect a great
experience. I still have a *lot* of interfaces remaining to implement
and we are a small development team lacking an active RISC OS
maintainer.

*** Please Note ***

All the usual caveats of using a CI build apply, additionally, this is
the first successful *experimental* build with these libraries. I have
been personally unable to test on RISC OS. It might fail in all sorts
of interesting (Chinese proverb style) ways and I cannot offer support
if it does.



[1] http://git.netsurf-browser.org/toolchains.git/
[2] http://ci.netsurf-browser.org/
[3] http://ci.netsurf-browser.org/builds/riscos/NetSurf-gcc-json-727.zip

-- 
Regards Vincent
http://www.kyllikki.org/



Re: RISC OS Javascript support

2012-12-13 Thread Graham Pickles
In message 20121213103541.gf15...@kyllikki.org
  Vincent Sanders vi...@netsurf-browser.org wrote:

 Thanks to Rob Kendrik, Chris Gransden and myself we now have NSPR and
 Spidermonkey libraries building in the NetSurf toolchain[1]. The CI
 system[1] has built the toolchain successfully and a copy of NetSurf
 for RISC OS with Javascript enabled[3].

It's good news to hear about the development of RISC OS Javascript 
support to NetSurf. Keep up the good work and seasonal greetings to 
all the developers.

Regards,

-- 
Graham Pickles
www.whitbymuseum.org.uk Whitby Museum

No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.455 / Virus Database: 271.1.1/5454 - Release Date: 12/12/12 
18:35:00


Re: RISC OS Javascript support

2012-12-13 Thread Harriet Bazley
On 13 Dec 2012 as I do recall,
  Vincent Sanders  wrote:

 Thanks to Rob Kendrik, Chris Gransden and myself we now have NSPR and
 Spidermonkey libraries building in the NetSurf toolchain[1]. The CI
 system[1] has built the toolchain successfully and a copy of NetSurf
 for RISC OS with Javascript enabled[3].

 I would be grateful if any interested users could test this build.

[snip]

Results of very cursory test on eBay site:

Still get If you are seeing this page, your browser settings prevent
you from automatically redirecting to a new URL message on log-in (not
sure if this is JavaScript-related or not, but it's certainly not true!)

No longer get You must have JavaScript enabled to use My eBay warning
on visiting My eBay page

Clicking on 'Watch list and other lists' (javascript link) still does
nothing

Cling on Price range button still warns 'Button cannot be activated ' in
status

Clicking on 'Add to watch list' now works:  (weirdly, now works in
non-JS version too:  no longer necessary to log out in order to access
this feature from NetSurf!   apparently they've *removed* a JavaScript
dependency?)

Still not possible to delete selected items from list ('button cannot be
activated')

'More actions' javascript link beneath top two actions for item in list
still has no effect

Clicking on 'Choose more...' link in order to see full range of
available filters for a given search (e.g. all shoe sizes) downloads a
file of what looks like JavaScript variables
({model:{values:[{title:UK 1,selected:false,disabled:false,
etc.) with a source URL ending in _jsoff=1




Sorry, not sure what sort of thing I ought to expect to be testing for.
This site is probably too complicated.
-- 
Harriet Bazley ==  Loyaulte me lie ==

Old Programmers never die. They just terminate and stay resident



Re: RISC OS Javascript support

2012-12-13 Thread george greenfield
In message 074271fd52.iyoj...@rickman.argonet.co.uk
  John Rickman Iyonix rick...@argonet.co.uk wrote:

 Graham Pickles  wrote
 
 In message 20121213103541.gf15...@kyllikki.org
   Vincent Sanders vi...@netsurf-browser.org wrote:
 
 Thanks to Rob Kendrik, Chris Gransden and myself we now have NSPR and
 Spidermonkey libraries building in the NetSurf toolchain[1]. The CI
 system[1] has built the toolchain successfully and a copy of NetSurf
 for RISC OS with Javascript enabled[3].
 
 It's good news to hear about the development of RISC OS Javascript
 support to NetSurf. Keep up the good work and seasonal greetings to
 all the developers.
 
 Great news! Does the Javascript need to be switched O?

I think it must be on by default: http://www.navweaps.com/ no longer 
displays a 'your javascript is switched off' notice.

 
 I have tried a few simple tests but my Javascript seem to be being
 ignored.

Not necessarily (see above). Also, Barclays mobile internet banking 
now works (I can log in, which I couldn't before) and it now retains 
my name and reference number between logins, which was also not the 
case previously. Other sites: thetrainline.com now goes straight to 
train timetable info, previously it showed a 'your js is disabled, 
click here for the non-js page'; Streetmap's new Beta page does not 
work however, but this may be using Flash as well as javascript.

George

george greenfield



Re: RISC OS Javascript support

2012-12-13 Thread Chris Young
On Thu, 13 Dec 2012 13:22:43 GMT, John Rickman Iyonix wrote:

 Great news! Does the Javascript need to be switched O?

It is on by default, however if you've been running a non-JS build and
have changed NetSurf's settings, you may find it has saved
use_javascript:0 into your Choices file.

Remove that line or change it to a 1 and JS will be enabled.

If Steve is still around he should be able to add that to the GUI
quite easily.

Chris



Re: RISC OS Javascript support

2012-12-13 Thread John Rickman Iyonix
Chris Young wrote

 On Thu, 13 Dec 2012 13:22:43 GMT, John Rickman Iyonix wrote:

 Great news! Does the Javascript need to be switched O?

 It is on by default, however if you've been running a non-JS build and
 have changed NetSurf's settings, you may find it has saved
 use_javascript:0 into your Choices file.

 Remove that line or change it to a 1 and JS will be enabled.

 If Steve is still around he should be able to add that to the GUI
 quite easily.

Thanks Chris,
the choices did have: enable_javascript:0

I have set it to enable_javascript:1 and the browser behaviour has 
changed.
The message Your browser isn't running scripts. no longer appears.

However, I have not yet found any actual javascript staements that 
work.




-- 
John - http://mug.riscos.org/