Code cleanup: simplify standard GHash creation.

Added four new functions as shortcuts to creating GHashes that use the
standard ptr/str/int/pair hash and compare functions.

GHash *BLI_ghash_ptr_new(const char *info);
GHash *BLI_ghash_str_new(const char *info);
GHash *BLI_ghash_int_new(const char *info);
GHash *BLI_ghash_pair_new(const char *info);

Replaced almost all occurrences of BLI_ghash_new() with one of the
above functions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46677 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#31469] 'cyclic offset' option is broken

Removing this option from the UI. Cyclic offset and/or other the myriad of other
half-working walk/stride cycle stuff has been removed pending further review at
a later date about what's really needed, and the best way to do so with regards
to different rig types (i.e. setup antagonistic).


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

-- package name and .spec->Version match
-- use find_lang macro for locales
-- Requires & Provides (mostly) match the fedora .spec
-- fix unpackaged file error for blender-thumbnailer.py 

TODO: figure out how persuade CPack to make multiple rpms to also package blenderplayer 


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46681 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31474] Crash when object has parent and dupli_type == 'FRAMES' and show_x_ray, show_transparent are set to True

dupli objects should never be added to after-draw, added an assert to ensure this (and make fixing such bugs easier).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46684 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31472: displace node wrong y derivative (simple typo). Credit to Ervin Weber (lusque) for the fix.

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46687 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31369 (discussed in bug report comments). Setting the path/layer name strings of the file/layer slots of the file output node would crash, due to missing id.data pointer in the PointerRNA. Solved by using the iter->parent.id.data pointer for the RNA collection iterator.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46689 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31320] Collada now supports import/export of loose edges (edges not attached to faces)

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46692 954f8c5b-7b00-dc11-b283-0030488c597c
Fix compile error with cmake + windows (reported by MiikaH)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46693 954f8c5b-7b00-dc11-b283-0030488c597c
Spell check fix (lenght -> length)

Note: two remains, in comments in extern/bullet2/src/LinearMath/btVector3.h and extern/libmv/libmv/image/tuple.h.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46694 954f8c5b-7b00-dc11-b283-0030488c597c
modal operation for bevel and inset:

This commit adds some first building blocks for the two operators to work modally based on mouse input. To make their function easier, two hotkeys are introduced, Ctrl+B for bevel and I for inset.

TODO:
After discussion with Campbell, we would like to add scale-style line indicators for the operators. This is already done for transform operators but a new interface for mesh operations may have to be written using pieces from that code since, strictly speaking bevel and inset are not exactly "transform" operators.

Also, a better input method for inset is needed and more options exposed. The method implemented right now uses mouse move for thickness and ctrl-mouse move for depth. These are calculated using the distance of the selection center in screen space and the mouse position. While that may work and prevents abrupt changes in values when switching from thickness tweak mode to depth tweak mode, it limits the magnitude of values that can be put into the tool especially in small or large scale. 

Alternatives until a better method is written include:

* use relative offset (works but may give strange results)
* tweak manually after the operation.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46695 954f8c5b-7b00-dc11-b283-0030488c597c
Fix issue with linked dupli objects not being displayed in the viewport, if they
have no object bounding box. Better fix will be to figure out why they are the
bounding boxes are not made.

Thanks to Campbell to tracking down the commit that caused this.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46696 954f8c5b-7b00-dc11-b283-0030488c597c
Nodes i18n: don't call gettext stuff twice for categories' names, when building Add menu.

Now ui-names in foreach_nodeclass functions are only marked as translatable, it’s up to the callback to actually translate them or not!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46697 954f8c5b-7b00-dc11-b283-0030488c597c
evil mango feature, alt transform sequence strips bumps other strips out of the way


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46698 954f8c5b-7b00-dc11-b283-0030488c597c
fix warning in last commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46699 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#31432] Angles values stuck at 60 degrees.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46702 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for clay strips brush not showing Add/Subtract buttons.

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


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