Fix for [#31327] Text editor menu incorrect (Patch attached)

Patch by Justin Dailey, thx!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46341 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#31330] Shape Key Editor does not switch to assigned Key Action


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46342 954f8c5b-7b00-dc11-b283-0030488c597c
add back pose specials menu, also add back the ability to clear user transforms on all bones (not just selected - mango request - was possible in 2.4x).

- rename only_select op property to only_selected (both were used).
- only do mingw workaround when building with FREE_WINDOWS defined.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46343 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#31003] Animation data (e.g. actions, drivers) from the active material
of a material nodetree was not visible in the Animation Editors


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46345 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error in MOD_weightvgmix.c caused by confusion without braces.

CustomData_add_layer_named would run even when the dvert layer was found.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46346 954f8c5b-7b00-dc11-b283-0030488c597c
fix for same bug as r46346, incorrect code was copied.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46348 954f8c5b-7b00-dc11-b283-0030488c597c
update for recent RNA change


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46349 954f8c5b-7b00-dc11-b283-0030488c597c
Last part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
Only remaining undocumented one is IMAGE_OT_record_composite (not sure what it actually does, nor even whether it’s actually working or not...).

Note that I didn’t bother with operators flagged as OPTYPE_INTERNAL!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46351 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: BKE_*.c files which deal with library functions

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46352 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: patch by Thomas to fix PassType values to be consecutive.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46353 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#31333] 2.63 Bone copy rotation becomes mad after entering/leaving armature edit mode

There is no real good solution to this problem, hopefully this threshold value will be a good compromize this time... :(

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46354 954f8c5b-7b00-dc11-b283-0030488c597c
disable warping for tablet events (X11 only), added TODO's for OSX and win32.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46355 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: add getCursorGrabModeIsWarp(), makes the intent more clear where we check for mouse warping.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46356 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: documentation commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46357 954f8c5b-7b00-dc11-b283-0030488c597c
Mesh elements sorting refactor.

Now only one operator. Same options for vertices, edges and faces (so adds edges sorting, and some options to vertices sorting).

Face sorting should behave as previously. However, XSortVerts won’t pack anymore selected vertices at the begining of the vert array (as it used to), if you want such behavior you’ll have to first run SortElements with Selected action.

Also added bug ref I forgot in r46354 (armature.c).

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

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46360 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31197] Limited dissolve leaves faces/edges/verts behind

bad bug where vertices could be in a face more then once (which isn't allowed), now check for this when creating a face.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46361 954f8c5b-7b00-dc11-b283-0030488c597c
fix for limited dissolve (after sine intended fixes - not cleaning up before vertex dissolve would skip dissolving some verts that should be dissolved).

now do this:
- edge dissolve
- cleanup (removing edges left over from dissolving faces)
  cleanup removes verts and NULL vertex input array
- dissolve verts which haven't been removed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46362 954f8c5b-7b00-dc11-b283-0030488c597c
minor correction for last commit, use malloc rather then calloc (array is filled in later)


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