Re: JavaScript enabled builds for Atari

2016-01-26 Thread Ole Loots
Hello,

enabling JS for the atari builds was great :-) 

Attached is a screenshot of another testpage from the NetSurf JS
Testsuite. 

Things like  works fine.
document.getElementById() works, also document.write() works, at least
when called during the rendering phase. 

The JS Prime-Test page took 160 sec. to load here, which is expected by
me. 

document.getElementById('xyz').innerHTML = "New Content";

- does nothing. 


document.getElementById('textarea').value = "New Content";

- does set the correct value, but the GUI is not refreshed. If that
would work, NetSurf would be able to provide some kind of JS-Calculator,
using the textarea as the display... 

I can confirm that the ASCII-fractal is rendering fine, took 8.6 sec
with m68k-aranym (Clocking: 300Mhz).

Very promising, looking forward for some possibility to redraw the
page/HTML Elements :-) 

Greets,
Ole

Am Montag, den 25.01.2016, 21:12 + schrieb Peter Slegg:
> >Date: Sun, 24 Jan 2016 09:53:46 +
> >From: Michael Drake 
> >Subject: Re: JavaScript enabled builds for Atari
> >To: netsurf-users@netsurf-browser.org
> >
> >
> >
> >On 23/01/16 23:06, Peter Slegg wrote:
> >
> >> Using Netsurf JS today it has crashed a few times.
> >> It isn't as stable as the last non-JS versions.
> >
> >How about when you use it with "enable_javascript:0"?
> >
> >Michael Drake  http://www.netsurf-browser.org/
> 
> With JS disabled it seems to be as stable as normal, no crashes
> since disabling JS yesterday and using JS to visit 20-30 pages.
> 
> Is there a JS test page that can be used to check simple JS features ?
> 
> Regards,
> 
> Peter
> 
> 
> 
> 
> 
> 





Re: JavaScript enabled builds for Atari

2016-01-25 Thread Peter Slegg

>Date: Sun, 24 Jan 2016 09:53:46 +
>From: Michael Drake 
>Subject: Re: JavaScript enabled builds for Atari
>To: netsurf-users@netsurf-browser.org
>
>
>
>On 23/01/16 23:06, Peter Slegg wrote:
>
>> Using Netsurf JS today it has crashed a few times.
>> It isn't as stable as the last non-JS versions.
>
>How about when you use it with "enable_javascript:0"?
>
>Michael Drake  http://www.netsurf-browser.org/

With JS disabled it seems to be as stable as normal, no crashes
since disabling JS yesterday and using JS to visit 20-30 pages.

Is there a JS test page that can be used to check simple JS features ?

Regards,

Peter







Re: JavaScript enabled builds for Atari

2016-01-24 Thread Michael Drake



On 23/01/16 23:06, Peter Slegg wrote:


Using Netsurf JS today it has crashed a few times.
It isn't as stable as the last non-JS versions.


How about when you use it with "enable_javascript:0"?

--
Michael Drake  http://www.netsurf-browser.org/



Re: JavaScript enabled builds for Atari

2016-01-23 Thread Peter Slegg
On Sat, 23 Jan 2016 13:00:14 , Peter Slegg  wrote:
>
> I spotted this in the git commits last night. I tried the build but
> I don't think the setting is exposed in the Atari Choices dialogue.
>
> I just tried build 3296 but I wasn't sure whether 0 or 1 was on.
> After a couple of failed attempts, I think I needed an extra LF in
> the choices file, I seem to have JS working.
>
> The link above gives a character based Mandelbrot:
>
> ..:::;;=i++E  EHHHO
>  ,,,:::;;==iHhhE###
>
> Brilliant :-)
>
> I am off to try some more tests.
>
> Many thanks all.
>
> Regards,
>
> Peter
>
>

Using Netsurf JS today it has crashed a few times.
It isn't as stable as the last non-JS versions.


Peter






Re: JavaScript enabled builds for Atari

2016-01-23 Thread Jean-François Lemaire
On Saturday 23 January 2016 13:00:14 Peter Slegg wrote:
> > Date: Sat, 23 Jan 2016 11:22:09 +
> > From: Michael Drake 
> > Subject: JavaScript enabled builds for Atari

> > We have enabled JavaScript builds (json) for Atari on the CI server.

> > I'd be interested to get confirmation on whether its working from
> > Atari users.  You can test by visiting:
> > 
> > http://git.netsurf-browser.org/netsurf.git/plain/test/js/js-fractal.html

> I just tried build 3296 but I wasn't sure whether 0 or 1 was on.
> After a couple of failed attempts, I think I needed an extra LF in
> the choices file, I seem to have JS working.
> 
> The link above gives a character based Mandelbrot:

I confirm that the test page is working with the Coldfire build too. Very nice 
development!

Cheers,
JFL
-- 
Jean-François Lemaire



Re: JavaScript enabled builds for Atari

2016-01-23 Thread Peter Slegg
> Date: Sat, 23 Jan 2016 11:22:09 +
> From: Michael Drake 
> Subject: JavaScript enabled builds for Atari
>
>
> We have enabled JavaScript builds (json) for Atari on the CI server.
>
> You can get them here:
>
>  http://ci.netsurf-browser.org/builds/atari/?C=M;O=D
>
> I'm not sure if the Atari front end exposes the JavaScript option in
> its GUI.  If not, you can edit the Choices file setting either:
>
>  enable_javascript:0
> or
>  enable_javascript:1
>
> I'd be interested to get confirmation on whether its working from
> Atari users.  You can test by visiting:
>
> http://git.netsurf-browser.org/netsurf.git/plain/test/js/js-fractal.html
>

I spotted this in the git commits last night. I tried the build but
I don't think the setting is exposed in the Atari Choices dialogue.

I just tried build 3296 but I wasn't sure whether 0 or 1 was on.
After a couple of failed attempts, I think I needed an extra LF in
the choices file, I seem to have JS working.

The link above gives a character based Mandelbrot:

.:::;;=i++E  EHHHO
 ,,,:::;;==iHhhE###

Brilliant :-)

I am off to try some more tests.

Many thanks all.

Regards,

Peter






JavaScript enabled builds for Atari

2016-01-23 Thread Michael Drake


We have enabled JavaScript builds (json) for Atari on the CI server.

You can get them here:

http://ci.netsurf-browser.org/builds/atari/?C=M;O=D

I'm not sure if the Atari front end exposes the JavaScript option in
its GUI.  If not, you can edit the Choices file setting either:

enable_javascript:0
or
enable_javascript:1

I'd be interested to get confirmation on whether its working from
Atari users.  You can test by visiting:

http://git.netsurf-browser.org/netsurf.git/plain/test/js/js-fractal.html

--
Michael Drake  http://www.netsurf-browser.org/