fix for build error: "#pragma GCC diagnostic not allowed inside functions"

It works in a newest gcc (e.g. 4.6.3) but fails here:
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.11.00)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55389 954f8c5b-7b00-dc11-b283-0030488c597c
Smoke Bugfix /enhancement: Load pre 2.65 pointcaches.

Warning: Just make sure that you DON'T free the cache at any point. This patch can only display existing pointcaches from e.g. 2.64

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55390 954f8c5b-7b00-dc11-b283-0030488c597c
rewind 55389 and make this gcc4.6+ only 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55391 954f8c5b-7b00-dc11-b283-0030488c597c
Grease Pencil UI
The recent addition of the up/down arrows wasn't aligned.

Before/After: http://www.pasteall.org/pic/show.php?id=47512

Patch by Francesco Siddi.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55393 954f8c5b-7b00-dc11-b283-0030488c597c
bge bugfix: [#34677] Setting Boolean property on KX_GameObject creates Int type
we need to check for booleans before testing for longs.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55396 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Adding a getProfileInfo() function to bge.logic. This function returns a Python dictionary with the same information as the on screen profiler.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55400 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Adding docs for bge.logic.getProfileInfo().

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55401 954f8c5b-7b00-dc11-b283-0030488c597c
Added alpha output to movie clip compositor node

Pretty much straightforward change, made in the same way as
texture input node.

Shall not be any regressions or crashes when mixing usage
of 2.66 and current trunk.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55402 954f8c5b-7b00-dc11-b283-0030488c597c
Some renaming/cleanup in  i18n tools.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55403 954f8c5b-7b00-dc11-b283-0030488c597c
Use checker backdrop for footage with alpha channel in clip editor

Also use glaDrawPixelsAuto as a fallback method. Hopefully it'll
make using 2D textures for frames higher resolution than
GL_MAX_TEXTURE_SIZE.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55404 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for shader node sockets not displaying the name when unconnected. Default button draw implementation for node sockets should be to display just the name label.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55405 954f8c5b-7b00-dc11-b283-0030488c597c
More  i18n tools cleanup. Also do not import nl in trunk currently (void translation)!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55407 954f8c5b-7b00-dc11-b283-0030488c597c
Fixes for context updates of the node editor:
* If the node tree can be updated from context (tree has get_from_context callback defined), reset the pointers first to clear the editor path if no tree can be found.
* Stupid mistake: snode->from != snode->from is always false.
* Shader nodes context update: set the 'from' pointer to the active object, even if it doesn't have a material or node tree.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55408 954f8c5b-7b00-dc11-b283-0030488c597c
add BLI_rcti,f_recenter()
fix for uninitialized variable use in radial_control_get_properties() and bad cast in bpy api's foreach_parse_args()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55409 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/pen: change sensivity graduation so we don't get maximum  too early and have more feeling

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55410 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/pen: change sensivity graduation to a good value found with Sebastian and remove debug print

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55411 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for GLSL shader nodes when using Cycles nodes with shader sockets. These did not get a stack index assigned, but for GLSL they are simply replaced by colors.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55412 954f8c5b-7b00-dc11-b283-0030488c597c
UI / Node Editor:
* Align Render Layer menu and Render button in "Render Layers" node. 
This looks better and the settings belong together as well. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55413 954f8c5b-7b00-dc11-b283-0030488c597c
Fix: Clamp alpha to 1.0 or adding alpha in paint creates "isolines" due
to integer overflow. One of the beautiful bugs that is sad to see fixed.

Also remove unused timer variable

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55414 954f8c5b-7b00-dc11-b283-0030488c597c
Fix regression in viewport background image transparency

Was caused by recent changes to automatically switch between
glaDrawPixelsTex and glaDrawPixelsSafe depending on resolution.

glaDrawPixelsSafe could not be sued for viewport because it'll
miss alpha transparency.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55415 954f8c5b-7b00-dc11-b283-0030488c597c