Add getCurrentExePath() for Win32
Fix ofFileUtils for Win32

* Use for instead of while
* Fix error message
* Improve removeTrailingSlash() for Win32
* Fix return empty
Avoid infinite loop in getCurrentExePath Win32

Believe in MAX_PATH max
migrate to AVFoundation API for Audio Sessions
fixed window pos not being restored when toggling fullscreen. also fixes the fact that glfwSetWindowPos is inverted for y.
handle audio interruptions in ofxiOSSoundPlayer
properly set the audio category on iOS 5
deprecated warnings for ios and os x projects
change uniform vec4 color -> uniform vec4 drawColor

this changes, within the programmableGL default shaders, the naming for the color uniform and color attributes.

this allows us to use "color" for the shader attribute parameter, and drawColor for the shader uniform parameter.

* "color" is the vertex colour, while
* "drawColor" is set through the  Material colour / the current openFrameworks draw colour value

Also stringifies the OpenGL default shaders for easier legibility.

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
fix getModelViewPorjectionMatrix -> getModelViewProjectionMatrix

fixes a typo

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
Merge branch 'develop' of github.com:openframeworks/openFrameworks into bugfix-glfw-fixes
change openFrameworks draw color variable name for programmable GL default shaders to "globalColor"

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
Merge pull request #2188 from tgfrerer/update_programmableGL-shader-attributes

rename programmable GL shader attributes
add missing semicolon ;-)

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
GLFW fixes: setWindowPosition for OS X. Enables 4x sampling as default. Fixes restore window pos afteer fullscreen.
Adds setMultiDisplayFullscreen for fullscreen across multiple windows ( needs win and nix implementation )
Merge branch 'develop' of github.com:openframeworks/openFrameworks into bugfix-glfw-fixes
fix RPi critical compilation issue

this fixes an issue where openFrameworksLib on RPi wouldn't compile due to an #ifdef out-scoping the variable "bpp" in ofGstVideoGrabber:

"variable 'bpp' not declared"

I've pulled out the bpp declaration & initialisation to be outside the #ifdef block, please @arturoc check if that's not completely whacky.

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
bugfix GLFW osx, key and mouse events now work on fullscreen toggle.
Merge pull request #2192 from openframeworks/bugfix-glfw-fixes

Bugfix glfw fixes - work in progress.
Merge pull request #2193 from tgfrerer/fix_rpiCompilationIssues

Fix rpi compilation issues