ghash/bli-listbase edits, rename BLI_ghash_pop -> BLI_ghash_popkey (since it takes a key as an arg and isnt popping any element from the hash as you might expect).
add BLI_pophead/tail, since getting the first element from a list and removing it is a common task.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59543 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36528] crash when reinitializing bmesh from mesh


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59545 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36409] Continuous Grab problem with arrow keys.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59546 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36301] Mirror modifier does not mirror vertex normals when there are no faces.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59547 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / Standalone:
* Rename test to standalone.

Note: New CMAKE flag is WITH_CYCLES_STANDALONE.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59548 954f8c5b-7b00-dc11-b283-0030488c597c
add icons utility make target.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59550 954f8c5b-7b00-dc11-b283-0030488c597c
Icons: add a "grip" one.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59554 954f8c5b-7b00-dc11-b283-0030488c597c
uiLists enhacements: dragresize and better GRID layout.

Many thanks to Brecht for the review!

* You can now drag-resize uiLists (in default or grid layouts).
** Note about "default" size: when you drag below minimal size of the uiList, it will automatically reset to automatic sizing (i.e. size between rows and maxrows, depending on the number of items to show). This often means (e.g. in Materials list with many mat slots) that the list will grow again to maxrows!

* Grid uiLists now have a customizable number of columns (previously it was a fixed value of 9), and they will respect the rows/maxrows settings as well (i.e. show a scrollbar when needed), instead of growing indefinitly!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59555 954f8c5b-7b00-dc11-b283-0030488c597c
Get rid of madness about fnmatch: BLI_fnmatch did not do the OS checks, they had to be done in every file using fnmatch (autoexec.c did not, wonder how it could work under unix???).

Thanks to Brecht for noting this!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59560 954f8c5b-7b00-dc11-b283-0030488c597c
Small enhancement to grab-resize of uiLists, suggested by plasmasolutions: do not effectively apply auto-size until we stop grabbing, avoid size of uiLists to switch between rows and maxrows while dragging.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59562 954f8c5b-7b00-dc11-b283-0030488c597c
avoid calling CustomData_bmesh_get to get CD_PAINT_MASK per vertex while sculpting, store offset directly.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59572 954f8c5b-7b00-dc11-b283-0030488c597c
tweak to dragging the ui-list, would lag behind the mouse noticeably.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59574 954f8c5b-7b00-dc11-b283-0030488c597c
internal bmesh operator change, always initialize ghash for mapping slots, save having many checks.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59575 954f8c5b-7b00-dc11-b283-0030488c597c
mesh remove doubles was adding verts into the weld_verts.targetmap multiple times (new paranoid asserts find this stuff).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59577 954f8c5b-7b00-dc11-b283-0030488c597c
remove doubles: source/target can be swapped, check both flags.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59578 954f8c5b-7b00-dc11-b283-0030488c597c
array modifier was adding vertices to the 'targetmap' multiple times.

this is supported by weldop but would prefer not to allow multiple keys in the map.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59580 954f8c5b-7b00-dc11-b283-0030488c597c
remove unused function. also typo


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