Merge pull request #140 from Psychtoolbox-3/master

PTB BETA RELEASE "Rainbows, Droids & Compute Hippies!" SP9
Fix regression in imaging pipeline + multisample depth renderbuffer setup.
Merge pull request #144 from Psychtoolbox-3/master

PTB BETA RELEASE "Rainbows, Droids & Compute Hippies!" SP10

* Fix DaqAIn() which contained race-conditions that could lead to failure on fast machines.
* Fix MSAA 3d rendering with imaging pipeline on old GPU's by adding a fallback path for older gpu's, e.g., on OSX 10.5.8 - Only fix Screen() for 32-Bit Matlab on OSX for now.
* Improvements to svn path removal by Ben Heasley and David Brainard.
* Improvements to color calibration routines by David Brainard.
Merge pull request #147 from Psychtoolbox-3/master

PTB BETA RELEASE "Rainbows, Droids & Compute Hippies!" SP11

* DrawFormattedText: Add sx = 'right' option for right justified text.
* Fix regression in DrawFormattedTextDemo which makes it fail on Matlab.
Merge pull request #150 from Psychtoolbox-3/master

PTB BETA RELEASE "Rainbows, Droids & Compute Hippies!" SP12

    Make drawtext plugin on Linux and OSX more robust against weird fonts (non 8bpp fonts).
    Improve window focus handling for GUI windows on Linux. Don't steal window focus.
    Enable camerabin2 video capture and recording with GStreamer SDK.
    Enabe movie writing with GStreamer SDK 2013.6.
    Enable delay loading of GStreamer SDK dll's on 64-Bit Matlab on Windows to make installation optional.
    Fix regression in BubbleDemo.
    Allow sending arbitrary data types in NetStation().
    Performance improvements for DaqAInScan et al.
    Fix GLU toolkit NURBS functions regression, so they can be actually used.
    Movie demo cleanups for pure GStreamer operation and no more Quicktime.
    Improvements to radiometric functions by David Brainard.
Merge pull request #152 from Psychtoolbox-3/master

PTB BETA RELEASE "Blue skies and empty brains"

Start of the 3.0.11 series:

* Removal of support for 32-Bit OSX and OSX 10.4/10.5.
* GStreamer robustness and functionality improvements, esp. on OSX and Windows with Gstreamer SDK.
* Workarounds for Matlab's broken Java AWT memory leaks.
* Linux video refresh calibration precision improvement on FOSS drivers by fixing some mishandled corner case.
* Compile fix for gcc-4.8 + Octave, as found by Debian project.
* Eyelink and Snd() fixes by Andreas Widmann.
* SphereProjectionShader corner-case fix by Ingmar Schneider.
* Minor other tweaks and fixes.
Merge pull request #155 from Psychtoolbox-3/master

PTB BETA RELEASE "Blue skies and empty brains" - SP1
Fix broken 64-Bit Windows support.
Merge pull request #159 from Psychtoolbox-3/master

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.
* Some new demos and improvements from David Brainard in area of color calibration or simulation?
* New function GetGITPath from Ben Heasley.
Merge pull request #163 from Psychtoolbox-3/master

PTB BETA RELEASE "Stadtmusikanten"

* ECVP2013 demos and tutorial slides PDF file added.
* New function PsychDefaultSetup for normalized color range by default.
* Some new demos, e.g., SimpleSoundScheduleDemo.
* Minor fixes and improvements here and there.
Merge pull request #166 from Psychtoolbox-3/master

PTB BETA RELEASE "Hammertime!"

* PTB for 32-Bit Matlab on Windows now uses and requires the GStreamer SDK instead of OSSBuilds GStreamer.
* Bugfix for GStreamer on Windows for special pixelformat >= 6.
* Bugfix for Linux + PsychHID.
* Bugfix for OSX crash at window close due to Apple CVDisplayLink bugs on Matlab R2013b.
* OpenGL context sharing support between windowed and fullscreen windows on OSX.
* Improved GUI window support.
* Low-level support for latest AMD GPU's on Linux and with OSX PsychtoolboxKernelDriver.
* WinTabMex support now also for 64-Bit Matlab on Windows.
* And in PlayMoviesDemo's cool section: "Stop! Hammertime!"
Merge pull request #168 from Psychtoolbox-3/master

PTB BETA RELEASE "Hammertime!" SP1

Stop! Hammertime! :-)
Merge pull request #171 from Psychtoolbox-3/master

PTB BETA RELEASE "Hammertime!" SP2 - "Flowerpower"

* Cool new SuperShapeDemo by Joana Leitao.
* Display rotation support in PanelFitter, as shown by PanelFitterDemo.
* Make 'DrawText' on Linux multi-x-screen capable and even faster than before.
* Make BitsPlusImagingPipelineTest a little bit more lenient.
* Improve display locking on Linux, and various micro-optimizations.
* Remove beamposition timestamping support for Intel gpu's on OSX and Linux.
* Small improvements to Daq toolbox and other stuff.
* Disable mex files for OSX versions before 10.6 Snow Leopard.
Merge pull request #173 from Psychtoolbox-3/master

PTB BETA RELEASE "Hammertime!" SP3 - "Flowerpower"

* Fix Linux X11 display locking bugs which could cause deadlock in Screen('Resolutions'), and crashes for Screen('AsyncFlipBegin') async flips and framesequential stereo mode 11. These bugs could only affect the Mesa/Gallium FOSS graphics drivers, therefore slipped through the testing which was performed with the NVidia binary blob. Retesting on nouveau exposed the bugs.

-> Our locking bugs should be fixed without degradation in performance.
-> There are other bugs which can cause crashes at least with MultiWindowLockStepTest(n) for n > 1. These look like bugs in nouveau,
-> This release was validated on the upcoming Ubuntu 13.10 "Saucy Salamander" 64-Bit Beta with nouveau.
Merge pull request #175 from Psychtoolbox-3/master

PTB BETA RELEASE "Hammertime!" SP4 - "Deadlock"

* XLib threading fixes for regressions introduced into Linux PTB.
* Make DaqDeviceIndex a bit more robust on OSX.
* Make IsomerizationInEye/DishDemo work again on Octave and fix some bugs.
* Reenable parts of PsychCV for 64-Bit Octave on Linux. (Experimental)
Merge pull request #184 from Psychtoolbox-3/master

PTB BETA RELEASE "Sex, Lies and Video"

* OSX 10.9 Mavericks compatibility fixes. E.g., for AppNap protection, visual timing fixes, other brokeness fixes.
* Rewrite of OSX FontInfo and DrawText renderer for higher startup speed and compatibility and future proofing.
* Add new supported GPU's from AMD.
* Minor bug fixes for OSX, Windows, Linux, e.g., IOPort, Eyelink, PsychHID KbQueues.
* General improvements to video capture and video recording, e.g., for DV cameras.
* DC1394 based Firewire video recording support, high bit depths capture support, various other bells and whistles.
* DC1394 based Firewire multi-camera synchronized video capture/recording.
* Staircase procedure improvements by Diederick Niehorster.
* PsychColorimetric routines improved by David Brainard.
Merge pull request #193 from Psychtoolbox-3/master

PTB BETA RELEASE "Goto fail"

Final release of the 3.0.11 series:

* Eyelink bug fixes and improvements by SR-Research and mk.
* Screen('Textfont') allows atomic setting of font family and and font style.
* Fix Octave + PsychDataPixx compatibility for timestamping, cleanup VBLSyncTest.
* 10 bpc framebuffer support for AMD DCE-4+ gpu's, aka Radeon HD-5000 and later.
* 10 bpc / dithering fixes for AMD DCE-3 aka Radeon HD-4000 series.
* Workarounds for nouveau-kms bugs in Linux 3.13/3.14 for upcoming Ubuntu 14.04 LTS release.
* Workarounds for OSX 10.8 dual-display stereo graphics driver bugs and various 10.8/10.9 graphics bugs.
* Ability to disable crashy CVDisplayLink timestamping on OSX.
* OSXCompositorIdiocyTest to test for the latest hilarious OSX compositor bugs.
* PsychImaging - add convenience setup function for dual-display stereo mode 10 - mostly for OSX.
* PsychImaging - Improve 10 bpc framebuffer setup: Do not disable dithering on digital output by default, but leave decision to OS, with option to override.
* Screen('ConfigureDisplay', 'Dithering') allow low-level control of AMD dither control registers.
* Various help text updates.
* Various updates to color calibration/color handling routines by David Brainard.
* Misc other fixes.
* PsychtoolboxKernelDriver updates. Different drivers for legacy 10.7 and earlier vs. 10.8+
* OSX Psychtoolbox now requires Octave 3.8.0 or later.
* Video recording/capture improvements for dc1394 engine and DV camera capture.
Screen for 32-Bit Octave on Linux rebuilt and tested.

Checked new kms-pageflip workaround code against Linux 3.15.10.
Screen/Linux: Add test code for NVidia hw vblank counters.

-> Screen for 32-Bit Octave on Linux rebuilt.
-> hw-vblank counters seem to work as expected on NV-d0 display engines.
Screen for 64-Bit Octave on Linux rebuilt.

-> Hw vblank counters work on NV-50 display engine as expected.

-> Good to go for all NV50+ cards afaics :)
GStreamer: Prepare GStreamer-1.4 switch.

Add old GStreamer-0.10 support code in new files
PsychXXXSupportGStreamer010.c, use the PsychXXXSupportGStreamer.c files
for the new GStreamer-1.4+ support code instead.

#define PSYCH_USE_LEGACY_GSTREAMER will enable compilation of the old
0.10 support files, lack of the #define will instead the new 1.4+
support files.

We will unconditionally use the GStreamer-1.4+ support in the future on
OSX and Windows, and for all Linux distributions (late 2014). It’s not
yet decided for older Linux distros if we will provide back ports of
1.4, or if we will continue to build 0.10.x versions for those old
distros.

-> New backup files for 0.10.
-> Conditional compile defines.
-> Xcode project gets the legacy files added for code browsing.
GStreamer-0.10: Replace deprecated functions.

Compile with GST_DISABLE_DEPRECATED showed use of two deprecated
functions. Replaced by good ones and verified stuff still works.

Make makefile be able to build old and new GStreamer backends.