Fix #36037: cycles from dupli generated texture coordinates were wrong, should
have been normalized to 0..1 range.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58057 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [35841] WM_OT_context_[toggle/cycle/etc.] operators dont show shortcut
keys in menus (or tooltips) for properties they are used to toggle/cycle through

Some properties can be toggled using hotkeys via WM_OT_context_* operators, but
these hotkeys aren't really shown anywhere obvious like other hotkeys (i.e.
they're not shown in tooltips or menus). Although it is possible to look these
up in the userprefs/keymaps editor, it is quite tricky doing so, and most users
would just assume that since no shortcut is displayed, there simply isn't one at
all.

This commit introduces a slightly hacky fix which basically amounts to checking
if a property can be set by any of the few operators which are used for this
purpose. In order to keep this from being too sluggish, I've currently limited
this to only working on Editor (e.g. "Show Seconds" in Anim Editors) and
ToolSettings (e.g. "Use Proportional Edit") properties.

There are still some corner cases that would be nice to solve too (i.e. the
Pivot Type enum menu/dropdown should really be able to show the hotkeys which
have been assigned for each of those items, since they're by-and-large quite
hidden and obscure), though being able to show some of these is perhaps better
than not showing any!


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58058 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for incorrect clipping of Freestyle strokes when the viewport preview is used.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58060 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for Bug #35970: Freestyle + Particles = Crash.

The crash was caused by a reference of freed memory in add_halo_flare() that relied
on the global variable R to retrieve a list of objects.  The value of this variable
is invalidated by a nested execution of the Blender Internal renderer for Freestyle
stroke rendering, leading to the documented memory reference issue.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58063 954f8c5b-7b00-dc11-b283-0030488c597c
Arrempt to fix Cycles compilation with Clang

Issue is caused by missing sse flags for Clang compilers,
this flags only was set for GNU C compilers.

Added if branch for Clang now, which contains the same
flags apart from -mfpmath=sse, This is because Clang was
claiming it's unused argument.

Probably OSX would need some further checks since it's
also using Clang. I've got no idea why it could have
worked for OSX before..

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