Added GetGITInfo

This is a GIT version of GetSVNInfo.  It returns the result of
'git describe --always' which seems to be useful revision
information in all cases I've tested so far.  This only works
on directories, not on directories or files like GetSVNInfo.

The routine could probably be made more sophisticated.

I also added a GetGitPath to parallel GetSubversionPath.

In GetSVNInfo, noted in the help text that there is also a
path field in the returned struct.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
Merge branch 'master' of https://github.com/Psychtoolbox-3/Psychtoolbox-3
Extend what GetGITInfo returns.  Minor changes to GetSVNInfo.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
Merge pull request #154 from kleinerm/master

PTB BETA RELEASE "Blue skies and empty brains" - SP1

Fix broken 64-Bit Windows support.
Expanding the printouts and number of examples in IsomerizationsInEyeDemo.

Working towards checking these calculations against those in Makous' 1997 JOSA paper.  Not done yet.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
Cleaning code and adding comments, as well as more checks.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
Minor

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
Added print routine to dump out what is in a photoreceptors structure.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
Added PrintPhotoreceptors to the two IsomerizatoinsIn… Demos.  Added comments in these and the CIEConeFundamentalsTest about the desirability of better integrating the CIE cone fundamental code with the isomerization calculation code.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
Merge branch 'master' of https://github.com/Psychtoolbox-3/Psychtoolbox-3

Signed-off-by: David Brainard <brainard@psych.upenn.edu>

Conflicts:
	Psychtoolbox/PsychDemos/IsomerizationsInEyeDemo.m
Finish off merge.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
GetGitPath() also look in /usr/local/git/bin
Eyelink: Rebuild mex files for 32-Bit Linux (Octave and Matlab).

To add the new 'SetAddress' subfunction.
-> This completes the set of Eyelink updates. Now all platforms have
this new function.
Eyelink for 32-Bit Linux: Enable raw data access functions.

The raw data access subfunctions are supported by latest Eyelink
runtime libraries (v1.9 from 25th March 2011) for 32-Bit runtimes ie.,
32-Bit Matlab and 32-Bit Octave.

The same functions are *not* supported for the same library version on
64-Bit setups!
-> Rebuild 32-Bit Octave/Matlab mex files for Linux with support
enabled.
Eyelink: Rebuild for Linux with raw access enabled on 32-Bit.

The raw sample access functions eyelink_get_extra_raw_values() and
eyelink_get_extra_raw_values_v2() are only available for 32-Bit Linux,
not for 64-Bit, despite the same v1.9 (25th March 2011) eyelink_core
library.

Enable support for those functions on 32-Bit Matlab/Octave builds for
Linux, but disable it for 64-Bit Matlab/Octave buids, to prevent load
time failure due to undefined symbols.

-> Eyelink mex files for 32/64-Bit Linux, Octave and Matlab rebuilt for
consistency.
Eyelink-Linux: Rebuilt with raw sample support enabled on 32 and 64 Bit.

Rebuild mex files for 32-Bit and 64-Bit Matlab/Octave on Linux, now
with raw sample support unconditionally enabled.

Turns out the eyelink_core runtime libraries for 64-Bit Linux provided
on SR-Researchs support website as tar files have been updated with
support early 2012, but the auto-update for Debian Linux systems from
their website still delivers a totally outdated runtime without support!

Really, the correlation between expensive products and incompetent
release and version management never fails to stun me.
Merge pull request #158 from kleinerm/master

Pull from kleinerm for PTB BETA RELEASE "Blue skies and empty brains" - SP2

* Fix download failure for 3.0.10 in DownloadPsychtoolbox.m on 32-Bit OSX.
* Fix mex file load errors on 64-Bit Octave for OSX with Fink package manager and other versions.
* New function Eyelink('SetAddress') for setting tracker computer target IP address.
* Enable raw sample data access for Eyelink on Linux.
* Update PsychVideoSwitcher help.
* Update some other help texts, e.g., DisplayOutputMappings.
* Add new text rendering mode 0 on OSX for new-style ATSU rendering of problematic exotic fonts.
* Add GstX264Enc video encoding profile for fast camerabin2 video recording with GStreamer SDK.
Merge pull request #37 from Psychtoolbox-3/master

Resync with current master of official Psychtoolbox-3 repo.
Screen/OSX: Down allow closing of kPsychGUIWindows by user.

Disable the window close button, as clicking it would crash the
scripting environment at next access after window close.
-> Screen for Octave and Matlab on OSX rebuilt and tested.
Screen/Windows: Allow activation of GUI windows via mouse click.

kPsychGUIWindow's return MA_ACTIVATEANDEAT in response to mouse
activation events, as opposed to MA_NOACTIVATEANDEAT for other windows.

-> Clicking an inactive GUI window will activate it.
-> Also apply minor fix to DWM timestamping in the rare cases where it can
   be used and doesn't work, e.g., compositor active on a single display,
   single onscreen window setup (where it can be used), but inside a Windows-7
   VM, where it fails with invalid values on VirtualBox. We double-check timestamp
   for validity and return a failure code on invalid timestamp, so fallback path
   can be used.
-> Various dead code removal.

-> Screen for 32/64-Bit Matlab on Windows rebuilt and tested.

Fixes #156