ENH: allow the psychopy app to --run a python script without loading the app interface
ENH: Gazepoint GP3

GP3 tracker interface now supports:
- connecting / disconnecting from device
- start / stop recording sample data (binocular eye sample events)
- stream / save samples when recording. gaze x, y fields populated.
- getPosition() returns the GP3 latest provided FPOG X,Y

Note: - Calibration is not yet implemented.
- event times are set to time sample was received by iohub. Sample delay
calc. needs to be completed so sample times can be in iohub / psychopy
time base.
ENH: OS X ioHub keys

Based on my mac mini KB, The keyboard events are generating .key and
.char values as expected for all keys I have tried, with following
exceptions:

 - the  4 arrow key .char values.
- modifier constants in modifier list are not yet switched to standard
values (those matching psychopy).

Other than that, please run the iohub/keyboard.py demo and test out how
the keyboard mapping is working for your box, bk, local.

*** You need to add your IDE or the terminal.app to the list of
authorized app’s for accessibility api. Otherwise, you will get NO
keyboard events.

Thanks!
Merge branch 'master' of git://github.com/psychopy/psychopy
BF: MultiStairHandler was running over by one trial on each stair

It needed to test whether the staircase had finished (not at the point
of the next trial starting but at the end of the previous).

Also added a test to the suite to catch this in future
Merge pull request #678 from jeremygray/master

BF: rename _ as _junk when not intended as translation function _( )
Merge pull request #679 from isolver/master

OSX iohub keyboard event rework is getting close.
FF: trying to fix travis issue with commit 5712203561

Travis running the test suite fails to create an app. I'm guessing that
travis has '--run' or '-r' in its calling args and the app now treats
these as saying "run file don't load app"
Merge branch 'master' of github.com:psychopy/psychopy
Revert "ENH: allow the psychopy app to --run a python script without loading the app interface"

This reverts commit 5712203561b461f62b4188fc4bed7372b8193162.
Revert "FF: trying to fix travis issue with commit 5712203561"

This reverts commit cf366fc8d18e3ee85d7d999f233d881c3dab2a19.
Merge pull request #680 from peircej/master

Fixed bug in multistairhandler
ENH: allow the psychopy app to --run a python script without loading the app interface
BF: rename _ as _junk when not intended as translation function _( )

- need to avoid name collision in the app: use of _ to mean junk when unpacking tuple, vs global translation function
- only preferences.py should actually matter, maybe info.py (because the translation function is for the app, not user scripts)
- but change everywhere to be consistent

$ find ../.. -name '*.py' | xargs -n 1 python gg_.py > gg_out.txt

# where gg_.py is:
import re, sys
exp = re.compile(r'\b_\b[^\(]')
print sys.argv[1], '---------'*4
for i,line in enumerate(open(sys.argv[1]).readlines()):
  if exp.search(line):
    print i+1, ':', line,
BF: MultiStairHandler was running over by one trial on each stair

It needed to test whether the staircase had finished (not at the point
of the next trial starting but at the end of the previous).

Also added a test to the suite to catch this in future
FF: trying to fix travis issue with commit 5712203561

Travis running the test suite fails to create an app. I'm guessing that
travis has '--run' or '-r' in its calling args and the app now treats
these as saying "run file don't load app"
Revert "ENH: allow the psychopy app to --run a python script without loading the app interface"

This reverts commit 5712203561b461f62b4188fc4bed7372b8193162.
Revert "FF: trying to fix travis issue with commit 5712203561"

This reverts commit cf366fc8d18e3ee85d7d999f233d881c3dab2a19.
Merge branch 'master' of git://github.com/psychopy/psychopy
BF: Fixed process priority setting for linux