Merge pull request #65 from kleinerm/master

Fix HideCursor() on some Windows setups.
Merge pull request #66 from Psychtoolbox-3/master

BETA UPDATE: Fix HideCursor on f$#$@#% MS-Windows.
Merge pull request #67 from Psychtoolbox-3/beta

Merge pull request #66 from Psychtoolbox-3/master
Merge pull request #71 from kleinerm/master

Bugfix for weird RandR modes on Linux returned by some drivers.
Merge pull request #72 from Psychtoolbox-3/master

PTB BETA small update.

Make Linux Screen('Framerate') more robust aganst weird drivers.
Improve PsychTweak('PrepareForVirtualmachine');
Enable qtkitvideosrc plugin for OSX video capture.
Merge pull request #73 from Psychtoolbox-3/beta

Merge pull request #72 from Psychtoolbox-3/master
Merge pull request #74 from kleinerm/master

pnet bugfix for 64-Bit Windows.
Merge pull request #75 from Psychtoolbox-3/master

BETA UPDATE: Fix pnet for 64-Bit Matlab on Windows.
Merge pull request #76 from Psychtoolbox-3/beta

Merge pull request #75 from Psychtoolbox-3/master
Add comments explicitly specifying DKL coordinate system convention.
Put back a missing semi-colon to supress annoying printout
Merge pull request #78 from kleinerm/master

New features and paranoia checks, mostly for Linux...
Merge pull request #79 from kleinerm/master

Final tiny fixes for next beta.
Merge pull request #80 from Psychtoolbox-3/master

PTB BETA RELEASE "Death by a thousand paper cuts"

Release highlights:

Speak() command now supported on all operating systems, and made more flexible. Linux support by MK, MS-Windows support by Vishal Shah.

Improved correctness tests and wokarounds for graphics driver bugs on Intel gpus under Linux, but also improvements to general graphics driver sync tests. Some warning clutter removed.

Make Screen startup more artifact free on Intel gpus on Linux with triple-buffering enabled.

Make Linux Screen() compatible to apitrace utility.

Bugfixes and enhancements to Screen('Resolution') on Linux and Screen('Resolutions') on 64-Bit OSX.

Enhancements to the PsychPortAudio backed Snd() legacy sound command.

Some improvements to DKL color functions by David Brainard.
Merge pull request #82 from kleinerm/master

Pull for the "Dancersizing, Grey & Hopeless" release.
Merge pull request #83 from Psychtoolbox-3/master

BETA RELEASE "Dancersizing, Grey & Hopeless"

"Dancersizing, Grey & Hopeless" mostly fixes small bugs, improves small details and improves GetChar support on Windows Vista+, matlab -nojvm and octave.

* GetChar, CharAvail, FlushEvents and ListenChar now (ab)use keyboard queue functionality on setups where use of Java based GetChar et al. is ineffective or impossible: This should enable good support for Windows Vista/7/8, matlab in -nojvm mode, and GNU/Octave in CLI and GUI mode.

* Minor fixes and improvements to PsychPortAudio, Screen, IOPort, PsychGPUControl and M-Files.

* CRS OptiCal support by Andreas Widmann.
Support for estimating rod spectral sensitivities roughly consistent with the CIE standard parameters for cones

Updated these routines to allow ComptueCIEConeFundamentals to take an
argument that allows it to return a rod spectral sensitivity consistent
with the pre-retinal absorption parameters embodied in the CIE
standard, but using estimates of rod photopigment absorbance and rod
axial density.

DHB, MS
Screen: Make setup of multi-sampling with imaging pipeline more robust.

Improve error handling and fallbacks if we can't get multi-sample
anti-aliased renderbuffers in imaging pipeline mode for requested
number of samples.

1. Decrease requested sample count for colorbuffer down to zero, as
before until a samplecount works.
2. If we end up with zero samples (aka no multi-sampling) continue
instead of failing completely. Should fix bug reported by Ian Andolina
in forum msg #14714.
3. If we can't get a stencil renderbuffer of matching sample count in
3d mode, fallback by not using a stencil buffer and printing a warning.
4. We still fail if we can't get a depth renderbuffer of matching
sample count in 3d mode. We can't opt out of that as 3d mode would be
utterly dysfunctional without it.

Screen for 64-Bit Matlab on OSX rebuilt and tested.
Screen: Try to use packed depth+stencil multisample renderbuffer for 3d imaging pipeline

Packed depth+stencil renderbuffers are supported on more platforms,
thereby 3d rendering + multisample anti-aliasing + imaging pipeline is
more likely to work well.
This change makes it work, e.g., on OSX 10.7.5 + NVidia GeForce GT
330M, which so far didn't allow multi-sampled stencil buffers with
imaging pipeline.

Screen for 64-Bit Matlab on OSX rebuilt and tested.
Screen/Linux: Make use of GLX_EXT_buffer_age for timestamp sanity checks.

If the buffer age extension is supported, use it to find out if the
gfx-driver really uses double-buffering for bufferswaps if our classic
timestamping path is active, as this is absolutely required for it to
work. This way we can detect accidentally enabled triple-buffering or
n-buffering on a gfx-driver reliably and give more targeted warnings
and troubleshooting tips to user. This is not relevant for use with
properly configured open-source stack, as there we can use the robust
os builtin timestamping.

The extension is currently (December 2012) supported on Linux by the
git master branch of the open-source graphics stack and by the current
beta release of the NVidia proprietary display drivers.

Recompile and test on such a driver (esp. NVidia binary blob) pending.