Revision: 18260 http://sourceforge.net/p/jmol/code/18260 Author: hansonr Date: 2013-05-28 18:03:22 +0000 (Tue, 28 May 2013) Log Message: ----------- ___JmolVersion="13.1.16_dev_2013.05.28d"
JavaScript: adding SYNC Modified Paths: -------------- trunk/Jmol/src/org/jmol/appletjs/Jmol.java trunk/Jmol/src/org/jmol/appletjs/JmolAppletRegistry.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/appletjs/Jmol.java =================================================================== --- trunk/Jmol/src/org/jmol/appletjs/Jmol.java 2013-05-28 15:52:31 UTC (rev 18259) +++ trunk/Jmol/src/org/jmol/appletjs/Jmol.java 2013-05-28 18:03:22 UTC (rev 18260) @@ -915,7 +915,7 @@ String theApplet = apps.get(i); JmolSyncInterface app = (JmolSyncInterface) JmolAppletRegistry.htRegistry .get(theApplet); - boolean isScriptable = (app instanceof JmolScriptInterface); + boolean isScriptable = true;//(app instanceof JmolScriptInterface); if (Logger.debugging) Logger.debug(fullName + " sending to " + theApplet + ": " + script); try { Modified: trunk/Jmol/src/org/jmol/appletjs/JmolAppletRegistry.java =================================================================== --- trunk/Jmol/src/org/jmol/appletjs/JmolAppletRegistry.java 2013-05-28 15:52:31 UTC (rev 18259) +++ trunk/Jmol/src/org/jmol/appletjs/JmolAppletRegistry.java 2013-05-28 18:03:22 UTC (rev 18260) @@ -38,6 +38,12 @@ static Map<String, Object> htRegistry = new Hashtable<String, Object>(); synchronized static void checkIn(String name, JmolSyncInterface applet) { + /** + * @j2sNative + * + * if (Jmol._htRegistry) {J.appletjs.JmolAppletRegistry.htRegistry = Jmol._htRegistry} else {Jmol._htRegistry = J.appletjs.JmolAppletRegistry.htRegistry}; + * + */ cleanRegistry(); if (name != null) { Logger.info("AppletRegistry.checkIn(" + name + ")"); @@ -66,7 +72,7 @@ String ext = "__" + mySyncId + "__"; if (appletName == null || appletName.equals("*") || appletName.equals(">")) { for (String appletName2 : htRegistry.keySet()) { - if (!appletName2.equals(excludeName) && appletName2.indexOf(ext) > 0) { + if (!appletName2.equals(excludeName)/* && appletName2.indexOf(ext) > 0 unnec. */) { apps.addLast(appletName2); } } Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2013-05-28 15:52:31 UTC (rev 18259) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2013-05-28 18:03:22 UTC (rev 18260) @@ -9,8 +9,9 @@ # The quotes above look odd for a parameter file, but they are # important for the JavaScript version of Jmol. -___JmolVersion="13.1.16_dev_2013.05.28c" +___JmolVersion="13.1.16_dev_2013.05.28d" +JavaScript: adding SYNC bug fix: Gaussian reader not splitting MO set by model bug fix: polyhedron reading from state bug fix: connect delete not saved in state This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits