Re: [Jmol-users] Jmol-14.4.1_2015.12.21

2015-12-21 Thread Jaime Prilusky
Please check the build. There’s inside jsmol.zip two folders, jsmol and jsmol2 On 22 Dec 2015, at 6:21 AM, Robert Hanson mailto:hans...@stolaf.edu>> wrote: Jmol-14.4.1_2015.12.21-binary.zip

[Jmol-users] Jmol-14.4.1_2015.12.21

2015-12-21 Thread Robert Hanson
Jmol-14.4.1_2015.12.21-binary.zip JmolVersion="14.4.1_2015.12.21" bug fix: color [0xff] should not be case-sensitive -- [0Xff] should be OK bug fix: set spin fps ..

Re: [Jmol-users] test please

2015-12-21 Thread Robert Hanson
Excellent. test2.htm is just for testing -- it loads all the files independently, so that is quite slow. On Mon, Dec 21, 2015 at 8:31 PM, Otis Rothenberger wrote: > The link works for me in Safari - laptop and iPad. With cache cleared, the > first load seems unusually long as Phil mentions, but

Re: [Jmol-users] 2006

2015-12-21 Thread Robert Hanson
Thank you, Frieda. Those two bugs are fixed. Bob ​ -- ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users

Re: [Jmol-users] test please

2015-12-21 Thread Otis Rothenberger
The link works for me in Safari - laptop and iPad. With cache cleared, the first load seems unusually long as Phil mentions, but subsequent loads seem as fast as previous JSmol versions. Otis -- Otis Rothenberger o...@chemagic.org http://chemagic.org > On Dec 21, 2015, at 9:22 PM, Philip Bays

Re: [Jmol-users] test please

2015-12-21 Thread Philip Bays
This link works in Safari, albeit slowly. That mat be because the console log is being displayed. Phil > On Dec 21, 2015, at 8:02 PM, Robert Hanson wrote: > > Brilliant, Paul! Very nice! > > I think I have http://chemapps.stolaf.edu/jmol/jsmol2/test2.htm >

Re: [Jmol-users] Jmol scripting speed in JSmol/HTML5

2015-12-21 Thread Robert Hanson
BTW, that's because "{" will be read as a JavaScript statement grouping: { var x = 3; ... } By putting "0," before that, you guarantee that it is read as an object. You can also use y = javascript('JSON.parse(\"'+x+'"\")') where x is JSON encoded. I could imagine that would be a bit fa

Re: [Jmol-users] Jmol scripting speed in JSmol/HTML5

2015-12-21 Thread Robert Hanson
Javascript cannot eval("{test:'here'}") add "0," before that. On Mon, Dec 21, 2015 at 10:24 AM, Rolf Huehne wrote: > On 12/18/2015 06:41 PM, Robert Hanson wrote: > > x = null > > y = null > > t = now(); > > x = load("tt.json") > > print "ms to read " + x.length + " bytes: " + now(t) > > t = n

Re: [Jmol-users] test please

2015-12-21 Thread Robert Hanson
Brilliant, Paul! Very nice! I think I have http://chemapps.stolaf.edu/jmol/jsmol2/test2.htm working now on Macs using that -- please test -- I will get JSmol.min.js created and jsmol.htm there working later tonight. Bob ​ --

Re: [Jmol-users] test please

2015-12-21 Thread Paul PILLOT
I’ve made quick tests in Safari console. array.slice() works Int32Array.slice doesn’t work, but ArrayBuffer.slice from the same typed array works. Paul > Le 21-12-2015 à 17:03, Robert Hanson a écrit : > > Thanks, that's what I needed to know. Looks like "array.slice" or at least > Int32Array.s

Re: [Jmol-users] Jmol scripting speed in JSmol/HTML5

2015-12-21 Thread Rolf Huehne
On 12/18/2015 06:41 PM, Robert Hanson wrote: > x = null > y = null > t = now(); > x = load("tt.json") > print "ms to read " + x.length + " bytes: " + now(t) > t = now() > y = javascript(x) > print "ms to translate JSON to Jmol variables: " + now(t) > > ms to read 58696197 bytes: 12313 > ms to trans

Re: [Jmol-users] test please

2015-12-21 Thread Robert Hanson
Thanks, that's what I needed to know. Looks like "array.slice" or at least Int32Array.slice is not a function in Safari. Bummer for that, but it is a very localized problem I can certainly get around, I think. On Mon, Dec 21, 2015 at 5:40 AM, Rolf Huehne wrote: > Am 21.12.15 um 04:08 schrieb Phi

[Jmol-users] 2006

2015-12-21 Thread Frieda Reichsman
Dear Bob, Yesterday Eric Martz and I got together and for fun, converted to JSmol two old Jmols, an animation and a tutorial… originally authored by me in 2006!! Most of the work involved calling two new js files, commenting out a call to the old file, figuring out how to update the paths in a

Re: [Jmol-users] test please

2015-12-21 Thread Rolf Huehne
Am 21.12.15 um 04:08 schrieb Philip Bays: > Bob: > Then link to your site does not work with Safari on the Mac, Works with > Firefox and Chrome. When I launch the file test2.htm from the desktop, > it again works in Firefox and Chrome but not Safari. In this case the > list of files loading is v