I had mispelled "absorptance" as "absorbtance" in many cases, which added confusion to already confusing distinctions.  Fixed throughout.

Renamed AbsorbtanceToAbsorbance and AbsorbanceToAbsorbtance to be correct.  The old routines are still there for backwards compatibility, and they call through the renamed ones.

I ran a number of the relevant tests (NomogramDemo, IsomerizationsInEyeDemo, IsomerizationsInDishDemo, CIEConeFundamentalsTest) and none are broken, so I think my big search and replaces worked correctly.

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

Resync with current master of official Psychtoolbox-3 repo.

Resync with official PTB BETA "Sex, Lies and Video".
Make osxmakeitoctave3.m compatibe with Octave-Forge's Octave-3.8.0 release.

Requires definition of different -rpath’es. We do so and drop support
for Octave 3.6.x.
Requires some replacement of … line continuation by \ continuation.
Move the “-W, -mmacosx-version-min=’10.6’” statements out and into the
mkoctfile of the octave installation used for building. For some
reason, 3.8.0’s mkoctfile can’t parse our -W — compiler option
statements anymore.
Hack octave-3.8.0’s mkoctfile to use gcc and g++ as compilers and
linkers, instead of the bundled gcc-mp-4.7 or such, which has trouble
with some Apple’isms in OSX headers, e.g., for some IOUSB includes as
needed by PsychHID.

-> All mex files for 64-Bit Octave 3.8.0 on OSX rebuilt and basic
tested.
-> End of support for Octave 3.6 and earlier on OSX.
Merge branch 'master' of https://github.com/Psychtoolbox-3/Psychtoolbox-3
Linux/TimeGlue: Make remapping of monotonic time to reftime more precise.

If PsychOSMonotonicToRefTime() has to take remapping action, make sure
- by use of a requery loop - that the mapping has an error bounded to
at most 20 microseconds.

This avoids very occasional spikes of up to 160 usecs observed on some
low end hardware. These spikes weren’t really problematic, but
confusing during debugging of high precision timestamping, so avoid
this confusion in the future.

-> Would be good to reevaluate if we can’t switch our reference
timebase from CLOCK_REALTIME to CLOCK_MONOTONIC for lower overhead and
even better precision. Most api’s we use would allow to do that now.
Update Nvidia GPU handling for NV-E0 and later.

NV-E0 “Kepler” and later cards need different registers to be read for
retrieving the VTOTAL and vblbias values needed for beam position
timestamping correction. So much is clear from Ben Suppnik’s nouveau
patches. Therefore add new handling code for the NV-E0+ case. What
isn’t clear yet is if the register base addresses in Ben’s patch are
correct - due to lack of testing hardware.

Another open question is if NV-D0 GPU’s belong into the C0 or the E0
category? For now we assign them to C0, in accordance with the nouveau
Wiki’s Code->Names mapping page at
http://nouveau.freedesktop.org/wiki/CodeNames/
However, this contradicts the nouveau-kms patches which treat D0 the
same as E0 and F0? Which one is right?

-> Code applies to Linux and OSX.

-> Screen for 64-Bit Octave 3.8 on OSX rebuilt and tested on NV-A0
type, NV-50 class Nvidia GeForce GT 330M.

-> Testing of NV-50 code path shows surprisingly that the VACTIVE reg
(according to nouveau ams) contains the same vtotal values as the
VTOTAL register according to PTB. The SYNC_START_TO_BLANK_END reg of
PTB contains the same value as VBLANKE from nouveau-kms, which is
expected and reassuring. This means that the nv-d0 code of Ben is
probably correct and applicable for us as well.
Mex files: Bump version number from 3.0.11 to 3.0.12

To apply at next recompile for upcoming 3.0.12 release.
Screen for 64-Bit Octave on Linux rebuilt for testing.
Screen for 32-bit Octave on Linux rebuilt for testing.
fixed crash for EyelinkImageTransfer, due to unallocated memory.
fixed PsychEyelinkParseToString to allow space between %;modified  getMouseState to limit mouse cursor inside of camera image

fixed PsychEyelinkParseToString to allow space between
% (check % instead of ' ' to get the end of actual parameter spec).
modified  getMouseState to limit mouse cursor inside of camera image
EyelinkImageTransfer.c: fixed EyelinkImageTransfer for crash due to unallocated memory in EYEBITMAP.

Needs to allocate memory for bmp.format, bmp.format->palette, bmp.format->palette->colors before we use bmp for image transfer. Deallocate the memory after transfer.
added parameters for function modifyKey, for octave to get key responses from display side
changed isoctave to IsOctave, case sensitive for the latest matlab
fix issues: case sensitive and non integer arguments 

changed isoctave to IsOctave, case sensitive for the latest matlab
fixed issue with non integer arguments for Eyelink('message' ...)
compatible with octave, fix issue with non integer arguments

Added part to make it run with octave
fixed issue with non integer arguments for Eyelink('message' …)
removed cleanup function, used Eyelink('ShutDown'); Screen('CloseAll') instead.
fix issues: case sensitive and non integer arguments

fixed issue with non integer arguments for Eyelink('message' …)
changed EyeLink to Eyelink , case sensitive for the latest matlab
fix issues: case sensitive,non integer arguments and compatible with octave

changed isoctave to IsOctave and EyeLink to Eyelink, case sensitive for the latest matlab
added parameters for function infixationWindow, in order to run with octave
fixed issue with non integer arguments for Eyelink('message' ...)
fix issues: case sensitive and non integer arguments 

changed isoctave to IsOctave, case sensitive for the latest matlab
fixed issue with non integer arguments for Eyelink('message' ...) and Eyelink('command' ...)
Create composite.bmp