Oh, you're good, Joe! Doesn't open source ROCK??? So use 11.8.7, which I've
just asked Nico to release.

In terms of 11.9 vs 11.8, take a look at this list, and if there isn't
anything there that interests you, stick with 11.8 for distribution. You can
depend on that just being bug fixes for future updates and just monitor that
instead of all my work in 11.9.

Bob


--------------------------------------------------------------

#version=11.9.5
#
# new feature: shape size setting and query:
#  {xxx}.cartoon = 2.5
#  print {xxx}.cartoon
#  if ({selected}.backbone)...
#
# TESTABLE shapes include:
#
#  backbone, cartoon, dots, ellipsoid, geosurface,
#  halo, meshRibbon, ribbon, rocket, spacefill, star, trace
#
# SETTABLE shapes include:
#
#  backbone, cartoon, halo, meshRibbon, ribbon, rockets, spacefill, star,
trace
#
# new feature: restrict BONDS xxxxx respects bondMode for bonds and backbone

--------------------------------------------------------------

#version=11.9.4

# new feature: write ZIP "xxx.jmol" and write ZIPALL "xxx.jmol" or just
#
#    write xxx.jmol  # ZIPALL implied
#
#  creates single-file package; added "ZIPALL" includes remote files
#
# new feature: $SCRIPT_PATH$ prefix to file name uses path of script
#  file rather than default path

--------------------------------------------------------------

#version=11.9.3

# new feature: symop(-n) -- use for "reverse of" n
# new feature: symop("!x..y..z..") "reverse of" "x..y..z.."
# new feature: 3x3 or 4x4 matrix element get/set:
# note that this is all 1-based.
#
#  mat[3] = [1,3,4]
#  mat[13]= 3.0
#
#  rows: [1], [2], [3], [4]
#  columns: [-1], [-2], [-3], [-4]
#  elements: [11] [12] [13] [14] [21] [22]... [44]
#
# new feature: matrix element getting option mat[row][col]:
#
#  print mat[33]
#  print mat[3][3]
#
# just can't do this: mat[1][3] = 3.0
#
#  maybe someday....
#
# new feature: matrix invertiion using "!":
# mat = quaternion({1 0 0}, 35)%-9;
# print !mat
#
# draw symop 3
# draw symop @{!symop(3)}
#
# new feature: x = quaternion(mat); mat = x%-9
#   create quaternion from 3x3 matrix and return matrix from quaternion
# new feature: symop("x,y,z") or symop(n) returns matrix4f for this operator
# new feature: symop(n)*symop(m) returns matrix4f for the concatenated
operation n*m (m first, then n)
# new feature: symop(mat,...), where mat is a matrix4f variable same as
symop("x,y,z",...)
# new feature: draw symop @matrixVariable
#   thus we can have:
#
#      draw symop @{symop(11)*symop(14)}
#
#   or
#
#     x = symop(11) * symop(14)
#     print symop(x,"description")
#
# new feature: symop(xxx,"[what]") where "[what]" is:
#    "xyz", "description", "translation", "center", "axispoint","axis",
"angle", "matrix4f",
#    or anything else is a draw ID
#
# new feature: symop() returns array of information for symop(3,"array") or
symop("x,y,z", "array")
#     *  xyz (Jones-Faithful calculated from matrix)
#     *  xyzOriginal (Provided by operation)
#     *  description ("C2 axis", for example)
#     *  translation vector (fractional)
#     *  translation vector (cartesian)
#     *  inversion point
#     *  axis point
#     *  axis vector
#     *  angle of rotation
#     *  matrix4f representation
#
# new feature: matrix3f and matrix4f variables with basic
rotational/translational multiplication
#
# new feature:  isosurface map FULLPLANE   creates full plane instead of
just around the contours.

--------------------------------------------------------------

#version=11.9.2

# new feature: xxxx.sum   same as xxxx.add(), but faster and more intuitive.
# new feature: print {xxx}.volume("type")  -- in Ang^3. Multiply by 0.602
for cm^3/mol
#   where "type" is "jmol" or "babel" or "rasmol" or "user" (based on data
element_vdw)
#   if "type" is not given, Babel is assumed. <b>A.Bondi, J. Phys. Chem. 68,
1964, 441-451.</b>
# new feature: calculate volume  (of selected atoms)
# new feature: script LOCALPATH "xxx" and write script LOCALPATH "xxx"
#  either on reading or writing sets all LOCAL file references in script
#  to be within the path indicated. For example,
#
#    write script LOCALPATH "" "tx.spt"
#
#  will create a script "tx.spt" stripping all file paths from file names --
that is,
#  a script that assumes all files are in the current directory.
#
#    script LOCALPATH "data" "tx.spt"
#
#  will convert a reference "C:/temp/myfile.xyz" in script "tx.spt" to
"data/myfile.xyz"
#
#  file references including the LOCALPATH will be truncated:
#  "C:/temp/data/myfile.xyz" will become simply "data/myfile.xyz"
#
# new feature: script REMOTEPATH "xxx" and write script REMOTEPATH "xxx"
#  same as REMOTEPATH, but only changes http: https: or ftp: references
#
# new feature: crystallographic symmetry and anisotropic ellipsoids for
proteins.
# new feature: getProperty command allows xxx.yyy.zzz[3] notation and has
new output format
#
#   > getProperty auxiliaryInfo.models[1].symmetryOperations
#
#   auxiliaryInfo.models[1].symmetryOperations    *String[2]
["x,y,z","-x,y+1/2,-z"]
#
#   >  print getProperty("auxiliaryInfo.models[1].symmetryOperations")[2]
#
#   y+1/2,-z
#

#version=11.9.1

# new feature: clickCallback -- returns screen x, y, modifiers, clickCount,
and an int[1] array allowing for return of modified modifiers.
#  function myClickCallback(app,x,y,modifiers,clickCount,Ret){}
#    app is the applet identifier, usually "jmolApplet0"
#    x and y are screen coordinates with [0,0] in the bottom left corner
#    modifiers is a set of bits indicating what keys and mouse buttons were
pressed:
#        1(shift), 2(ctrl), 4(right), 8(alt), 16(left).
#        If none of these bits are set, this is a "mouse-up" event
#    clickCount is the number of clicks.
#        0 here indicates the mouse was pressed (as in the initiation of a
drag operation)
#        negative numbers indicate dragging
#        positive numbers are standard clicks of the mouse
#    Ret is an array with just one element that allows returning a new
modifier.
#        Setting Ret[0]=0 cancels Jmol processing of the event.
#

Bob


On Wed, Sep 30, 2009 at 4:25 PM, Joe Gatewood <[email protected]> wrote:

> Bob,
>
> I think I found the glitch.
>
> I am using the callbackListener.
>
> When I put back in the statusListener I get all kinds of 12 callbacks to
> notifyCallback but none to notifyEnabled (consistant with your note).
>
> I opened the lid on jmol and went to StatusManager.java
>
> Here is the syncSend function.  I think the null test should be on
> jmolCallbackListener instead of jmolStatusListener.
>
> If I am correct the sync callback can never get sent to callbackListener
> because the statusListener if created gets the event and if not created the
> sync callback never gets sent.
>
> Of course I could just be confused.
>
> Joe
>
>
> void syncSend(String script, String appletName) {
>    // no jmolscript option for syncSend
>    if (jmolStatusListener != null)
>      jmolCallbackListener.notifyCallback(JmolConstants.CALLBACK_SYNC,
>          new Object[] { null, script, appletName });
>  }
> ________________________________________
> From: Robert Hanson [mailto:[email protected]]
> Sent: Wednesday, September 30, 2009 1:39 PM
> To: [email protected]
> Subject: Re: [Jmol-developers] zoom callback (cont from users)
>
> OK, the first thing I notice is that I forgot to include a call to
> notifyEnabled() for sync callback. It just doesn't use the method -- simply
> calls notifyCallback(). So we shouldn't expect anything from
> notifyEnabled()
> for callback #12.
>
> I suggest adding a CALLBACK_SCRIPT notification and then doing a
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to