Reformat command window printout a little, to make it easier to paste into DokuWiki.  DHB
Remove .git folders from path as well.

Perhaps this is overloading the function too much, since its name
implies that it just does SVN paths.  Could write a separate
RemoveGITPaths.m, but that also seems a bit klunky.  I'm not sure of
the best choice.

DHB
Add RemoveGITPaths, make RemoveSVNPaths just do SVN

I decided it was going to be bad in the long run to have RemoveSVNPaths also remove .git paths.  Just too confusing in terms of the mismatch between function name and what the function does.  I put RemoveSVNPaths back the way it was, and added a new function RemoveGITPaths.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
Fix buglet in RemoveGITPaths

There was a typo, now fixed.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
RemoveMatchingPaths() generalizes RemoveSVNPaths().  RemoveSVNPaths() now invokes RemoveMatchingPaths().

This makes it easier to remove other paths, like .git paths.
Tweaks to Ben's changes.

Moved the prepended filesep in the string check from RemoveMatchingPaths to RemoveSVNPaths.  This preserves the previous RemoveSVNPaths behavior but allows RemoveMatchingPaths to be more general.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
Make these more robust in terms of form of passed filename.

These can now handle the input string either with or without .mat at the end of the passed filename.

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

The MATLAB function str2num issues a warning if the string it is passed is longer than 63 characters.  I think this is because it first tries treating its argument as a MATLAB variable name, and then goes on to try it as a string.

I wrapped the call to str2num in code that turns off this warning, calls str2num, and then restores the warning state to what it was.  Since we always passing a string here, this should not cause any failures to warn when appropriate.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
DaqAIn(): Make it hopefully less horrible.

Actually check the returned 'err'or status codes and abort on error,
instead of silent failure returning NaN's.
Retry data reception until a valid input report is received to make it
robust against race conditions.
Code cleanup and beautification.
Hopefully fixes some of the issues in forum message thread #15873.
Screen: Improved MSAA renderbuffer setup for depth+stencil on old hardware.

-> Screen for 32-Bit Matlab on OSX rebuilt and tested on old 10.5.8
system with GF 8800.
-> No rebuild for other platforms, we'll slip this into the next
official beta update.
Merge pull request #28 from Psychtoolbox-3/master

Resync with current master of official Psychtoolbox-3 repo.
Fix buglet introduced 6/2/13

Need to handle empty calFileName (thanks to MS for identifying the problem and the fix.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>
Fix buglet introduced 6/2/13

Need to handle empty calFileName (thanks to MS for identifying the problem and the fix.

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

Remove word "integer" from leading comment -- this was vestigal from the days when device settings were integers, rather than reals on the interval [0-1].

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

PTB BETA RELEASE "Rainbows, Droids & Compute Hippies!" SP10

* Fix DaqAIn() which contained race-conditions.
* Fix MSAA rendering with imaging pipeline on old GPU's - for 32-Bit Matlab on OSX.
Merge pull request #145 from Psychtoolbox-3/master

Bug fix release for DaqAIn and Screen() regression fix.

* 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 to fix a possible regression.
* Improvements to svn path removal by Ben Heasley and David Brainard.
* Improvements to color calibration routines by David Brainard.