[go: up one dir, main page]

Menu

Code Commit Log


Commit Date  
[r18663] by hansonr

___JmolVersion="13.3.6"

code: major clean-up of ActionManager

bug fix: mouse bindings not distinguishing DOWN/CLICK/DRAG/UP properly
bug fix: mouse bindings _center and _reset not working
bug fix: show MOUSE not including user-defined mouse bindings

FEATURE CHANGE: added bindings: "drag" and "up" -- may affect power users who use BIND command
new: _center CTRL+SHIFT+LEFT+click
new: _reset SHIFT+LEFT+double+click

sequence is always:

down
(drag,drag,drag...)
up
(click) (only if no drag)

Any of these actions may be tapped using

bind "..." "..."

Note that adding "+:" to an action

bind "..." "+:..."

does not replace the Jmol action, just supplements it.

$ show mouse
_assignNew LEFT+click assign/new atom or bond (requires set picking assignAtom_??/assignBond_?)
_center CTRL+SHIFT+LEFT+click center
_clickFrank LEFT+click pop up recent context menu (click on Jmol frank)
_pickConnect LEFT+click connect atoms (requires set picking CONNECT)
_deleteAtom LEFT+click delete atom (requires set picking DELETE ATOM)
_deleteBond LEFT+click delete bond (requires set picking DELETE BOND)
_depth CTRL+SHIFT+LEFT+double+drag adjust depth (back plane; requires SLAB ON)
_dragAtom LEFT+drag move atom (requires set picking DRAGATOM)
_dragDrawObject SHIFT+LEFT+drag move whole DRAW object (requires set picking DRAW)
_dragDrawPoint ALT+LEFT+drag move specific DRAW point (requires set picking DRAW)
_dragLabel SHIFT+LEFT+drag move label (requires set picking LABEL)
_dragMinimize LEFT+drag move atom and minimize molecule (requires set picking DRAGMINIMIZE)
_dragMinimizeMolecule LEFT+drag move and minimize molecule (requires set picking DRAGMINIMIZEMOLECULE)
_dragSelected ALT+SHIFT+LEFT+drag move selected atoms (requires set DRAGSELECTED)
_dragZ SHIFT+LEFT+drag drag atoms in Z direction (requires set DRAGSELECTED)
_navTranslate LEFT+drag translate navigation point (requires set NAVIGATIONMODE and set picking NAVIGATE)
_pickAtom LEFT+click pick an atom
_pickIsosurface LEFT+click pick an ISOSURFACE point (requires set DRAWPICKING
_pickLabel LEFT+click pick a label to toggle it hidden/displayed (requires set picking LABEL)
_pickMeasure LEFT+click pick an atom to include it in a measurement (after starting a measurement or after set picking DISTANCE/ANGLE/TORSION)
_pickNavigate CTRL+SHIFT+LEFT+click pick a point or atom to navigate to (requires set NAVIGATIONMODE)
_pickPoint LEFT+click pick a DRAW point (for measurements) (requires set DRAWPICKING
_popupMenu CTRL+LEFT+down, RIGHT+down pop up the full context menu
_reset SHIFT+LEFT+double+click, MIDDLE+double+click reset (when clicked off the model)
_rotate LEFT+drag rotate
_rotateBranch SHIFT+LEFT+drag rotate branch around bond (requires set picking ROTATEBOND)
_rotateSelected ALT+LEFT+drag rotate selected atoms (requires set DRAGSELECTED)
_rotateZ ALT+LEFT+drag, SHIFT+RIGHT+drag rotate Z
_rotateZorZoom SHIFT+LEFT+drag, MIDDLE+drag rotate Z (horizontal motion of mouse) or zoom (vertical motion of mouse)
_select LEFT+double+click select an atom (requires set pickingStyle EXTENDEDSELECT)
_selectToggleOr LEFT+click if all are selected, unselect all, otherwise add this group of atoms to the set of selected atoms (requires set pickingStyle DRAG)
_setMeasure LEFT+double+click pick an atom to initiate or conclude a measurement
_slab CTRL+SHIFT+LEFT+drag adjust slab (front plane; requires SLAB ON)
_slabAndDepth CTRL+ALT+SHIFT+LEFT+drag move slab/depth window (both planes; requires SLAB ON)
_slideZoom LEFT+drag zoom (along right edge of window)
_spinDrawObjectCCW LEFT+drag click on two points to spin around axis counterclockwise (requires set picking SPIN)
_spinDrawObjectCW SHIFT+LEFT+drag click on two points to spin around axis clockwise (requires set picking SPIN)
_stopMotion LEFT+double+click stop motion (requires set waitForMoveTo FALSE)
_swipe LEFT+drag spin model (swipe and release button and stop motion simultaneously)
_translate CTRL+ALT+LEFT+drag, CTRL+RIGHT+drag, SHIFT+LEFT+double+drag, MIDDLE+double+drag translate
_wheelZoom WHEEL zoom

2013-09-18 19:37:54 Tree
[r18662] by hansonr

___JmolVersion="13.2.6"

code: major clean-up of ActionManager

bug fix: mouse bindings not distinguishing DOWN/CLICK/DRAG/UP properly
bug fix: mouse bindings _center and _reset not working
bug fix: show MOUSE not including user-defined mouse bindings

FEATURE CHANGE: added bindings: "drag" and "up" -- may affect power users who use BIND command
new: _center CTRL+SHIFT+LEFT+click
new: _reset SHIFT+LEFT+double+click

sequence is always:

down
(drag,drag,drag...)
up
(click) (only if no drag)

Any of these actions may be tapped using

bind "..." "..."

Note that adding "+:" to an action

bind "..." "+:..."

does not replace the Jmol action, just supplements it.

$ show mouse
_assignNew LEFT+click assign/new atom or bond (requires set picking assignAtom_??/assignBond_?)
_center CTRL+SHIFT+LEFT+click center
_clickFrank LEFT+click pop up recent context menu (click on Jmol frank)
_pickConnect LEFT+click connect atoms (requires set picking CONNECT)
_deleteAtom LEFT+click delete atom (requires set picking DELETE ATOM)
_deleteBond LEFT+click delete bond (requires set picking DELETE BOND)
_depth CTRL+SHIFT+LEFT+double+drag adjust depth (back plane; requires SLAB ON)
_dragAtom LEFT+drag move atom (requires set picking DRAGATOM)
_dragDrawObject SHIFT+LEFT+drag move whole DRAW object (requires set picking DRAW)
_dragDrawPoint ALT+LEFT+drag move specific DRAW point (requires set picking DRAW)
_dragLabel SHIFT+LEFT+drag move label (requires set picking LABEL)
_dragMinimize LEFT+drag move atom and minimize molecule (requires set picking DRAGMINIMIZE)
_dragMinimizeMolecule LEFT+drag move and minimize molecule (requires set picking DRAGMINIMIZEMOLECULE)
_dragSelected ALT+SHIFT+LEFT+drag move selected atoms (requires set DRAGSELECTED)
_dragZ SHIFT+LEFT+drag drag atoms in Z direction (requires set DRAGSELECTED)
_navTranslate LEFT+drag translate navigation point (requires set NAVIGATIONMODE and set picking NAVIGATE)
_pickAtom LEFT+click pick an atom
_pickIsosurface LEFT+click pick an ISOSURFACE point (requires set DRAWPICKING
_pickLabel LEFT+click pick a label to toggle it hidden/displayed (requires set picking LABEL)
_pickMeasure LEFT+click pick an atom to include it in a measurement (after starting a measurement or after set picking DISTANCE/ANGLE/TORSION)
_pickNavigate CTRL+SHIFT+LEFT+click pick a point or atom to navigate to (requires set NAVIGATIONMODE)
_pickPoint LEFT+click pick a DRAW point (for measurements) (requires set DRAWPICKING
_popupMenu CTRL+LEFT+down, RIGHT+down pop up the full context menu
_reset SHIFT+LEFT+double+click, MIDDLE+double+click reset (when clicked off the model)
_rotate LEFT+drag rotate
_rotateBranch SHIFT+LEFT+drag rotate branch around bond (requires set picking ROTATEBOND)
_rotateSelected ALT+LEFT+drag rotate selected atoms (requires set DRAGSELECTED)
_rotateZ ALT+LEFT+drag, SHIFT+RIGHT+drag rotate Z
_rotateZorZoom SHIFT+LEFT+drag, MIDDLE+drag rotate Z (horizontal motion of mouse) or zoom (vertical motion of mouse)
_select LEFT+double+click select an atom (requires set pickingStyle EXTENDEDSELECT)
_selectToggleOr LEFT+click if all are selected, unselect all, otherwise add this group of atoms to the set of selected atoms (requires set pickingStyle DRAG)
_setMeasure LEFT+double+click pick an atom to initiate or conclude a measurement
_slab CTRL+SHIFT+LEFT+drag adjust slab (front plane; requires SLAB ON)
_slabAndDepth CTRL+ALT+SHIFT+LEFT+drag move slab/depth window (both planes; requires SLAB ON)
_slideZoom LEFT+drag zoom (along right edge of window)
_spinDrawObjectCCW LEFT+drag click on two points to spin around axis counterclockwise (requires set picking SPIN)
_spinDrawObjectCW SHIFT+LEFT+drag click on two points to spin around axis clockwise (requires set picking SPIN)
_stopMotion LEFT+double+click stop motion (requires set waitForMoveTo FALSE)
_swipe LEFT+drag spin model (swipe and release button and stop motion simultaneously)
_translate CTRL+ALT+LEFT+drag, CTRL+RIGHT+drag, SHIFT+LEFT+double+drag, MIDDLE+double+drag translate
_wheelZoom WHEEL zoom

2013-09-18 19:37:04 Tree
[r18661] by hansonr

JmolVersion="13.2.6"

___JmolVersion="13.2.6_dev_2013.09.17"

bug fix: JSmol/HTML5 not allowing drag-drop or file loading from a local drive.
bug fix: JSmol/HTML5 not allowing WRITE FILE ?
bug fix: JSmol/HTML5 not allowing WRITE xxx.pdb, xxx.mol, etc
bug fix: chains improperly selected in JSmol/HTML5

2013-09-17 21:24:53 Tree
[r18660] by hansonr

___JmolVersion="13.3.6"

JmolVersion="13.3.6_dev_2013.09.17"

bug fix: chains improperly selected in JSmol/HTML5
bug fix: JSmol/HTML5 not allowing drag-drop or file loading from a local drive.
bug fix: JSmol/HTML5 not allowing WRITE FILE ?
bug fix: JSmol/HTML5 not allowing WRITE xxx.pdb, xxx.mol, etc

bug fix: platformSpeed persists but appears unreadable after loading a state
bug fix: JavaScript version InputStreamReader not processing non-UTF data correctly
bug fix: second reading of older PNG files with embedded script fails
due to improper png file caching

2013-09-17 20:35:38 Tree
[r18659] by hansonr

abstraction of file writing for web

2013-09-17 14:29:00 Tree
[r18658] by hansonr

abstraction of file writing for web

2013-09-17 14:28:46 Tree
[r18657] by hansonr
2013-09-16 22:56:51 Tree
[r18656] by hansonr

___JmolVersion="13.3.6_dev_2013.09.16"

bug fix: chains improperly selected in JSmol/HTML5
bug fix: JSmol/HTML5 not allowing drag-drop or file loading from a local drive.
bug fix: JSmol/HTML5 not allowing WRITE FILE ?

bug fix: platformSpeed persists but appears unreadable after loading a state
bug fix: JavaScript version InputStreamReader not processing non-UTF data correctly
bug fix: second reading of older PNG files with embedded script fails
due to improper png file caching

new feature: set drawFontSize // defaults to 14.0

2013-09-16 22:42:00 Tree
[r18655] by hansonr

___JmolVersion="13.2.6_dev_2013.09.016"

bug fix: chains improperly selected in JSmol/HTML5
bug fix: JSmol/HTML5 not allowing drag-drop or file loading from a local drive.
bug fix: JSmol/HTML5 not allowing WRITE FILE ?

bug fix: JavaScript version InputStreamReader not processing non-UTF data correctly
bug fix: second reading of older PNG files with embedded script fails
due to improper png file caching

2013-09-16 22:24:27 Tree
[r18654] by hansonr

___JmolVersion="13.2.6_dev_2013.09.016"

bug fix: chains improperly selected in JSmol/HTML5
bug fix: JSmol/HTML5 not allowing drag-drop or file loading from a local drive.
bug fix: JSmol/HTML5 not allowing WRITE FILE ?

bug fix: JavaScript version InputStreamReader not processing non-UTF data correctly
bug fix: second reading of older PNG files with embedded script fails
due to improper png file caching

2013-09-16 22:24:00 Tree
Older >