Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-09-02 | add hash iterator functions to access the pointer to the value. | Campbell Barton | |
2013-09-01 | move strict compiler checks into a header so its easier to manage in one ↵ | Campbell Barton | |
place (pragmas were copied around). also enable more strict warnings for BLF (which had some incorrect casts). | |||
2013-08-31 | mempool internal change, use unsigned ints where possible (less overhead), | Campbell Barton | |
also quiet compiler warning for BLI_LINKSTACK_FREE macro. | |||
2013-08-26 | internal changes to ghash/edgehash, reorganize to split out resizing the ↵ | Campbell Barton | |
hash from insertion. | |||
2013-08-26 | add some safety checks in debug mode to ensure sets/hashes aren't confused. | Campbell Barton | |
2013-08-26 | minor changes to edgehassh/ghash | Campbell Barton | |
- no need to zero vars when freeing ghash - de duplicate ghash remove code. - edgehash clear now works more like ghash. | |||
2013-08-26 | replace hashes with sets where possible. | Campbell Barton | |
2013-08-26 | BKI_gset and EdgeSet api, use when hash values aren't used (reuses ghash ↵ | Campbell Barton | |
internally without allocating space for the value). | |||
2013-08-25 | clearing the mempool can now keep more then a single element reserved. | Campbell Barton | |
2013-08-25 | doxygen docs for ghash/edgehash | Campbell Barton | |
2013-08-25 | use ints for ghash/edgehash flags, since its allocated theres not much point ↵ | Campbell Barton | |
to try save a few bytes here. | |||
2013-08-24 | cloth was using edgehash not quite correctly: | Campbell Barton | |
- was ordering vertex args unnecessarily. - was adding the same edges multiple times into the edgehash. | |||
2013-08-24 | revert bucket size change (edgehash was this way for years, since r26206, ↵ | Campbell Barton | |
ghash since r57657) having 2 free buckets for each entry is faster but uses more memory. use the original size, best case 3 entries per bucket. | |||
2013-08-24 | edge hash: take an arg for the guarded-malloc string (as ghash does) | Campbell Barton | |
2013-08-24 | ghash and edgehash api, allow newly defined hashes to take in the size of ↵ | Campbell Barton | |
the hash as an arg (avoids resizing in simple cases when the hash is created and filled immediately). | |||
2013-08-22 | ghash/edgehash flag wasn't being initialized for new hashes. also init vars ↵ | Campbell Barton | |
in same order for ghash/edgehash. | |||
2013-08-18 | add hash function BLI_ghash_assign, BLI_edgehash_assign | Campbell Barton | |
avoids remove,insert and only hashes the key once. | |||
2013-08-18 | minor api cleanup for ghash/edgehash | Campbell Barton | |
- use single inlined lookup function. - move comments into source. - pack iterator vars more efficiently. | |||
2013-08-18 | add assert for hashes if an existing element is ever inserted into a ↵ | Campbell Barton | |
ghash/edgehash. the outliner does this intentionally, so add a flag to allow this situation optionally. | |||
2013-07-02 | remove nan copyrights from code added since blender become opensource (copy ↵ | Campbell Barton | |
paste errors), also remove BKE_script.h | |||
2013-06-23 | Make edgehash and ghash use the same limit for expanding buckets, r26206 ↵ | Campbell Barton | |
changed ghash. double checked and r26206 does indeed give a speedup, so change for edgehash too. | |||
2013-06-23 | reduce sign conversion comparisons for smallhash and tweak warnings elsewhere. | Campbell Barton | |
2013-05-10 | use unsigned ints for edgehash | Campbell Barton | |
2013-05-08 | use unsigned int's for smallhash, avoids using ABS when converting an | Campbell Barton | |
int from a key. | |||
2013-04-22 | fix [#35026] Curve build modifier | Campbell Barton | |
2012-10-20 | code cleanup: | Campbell Barton | |
- define array sizes for functions that take vectors. - quiet some -Wshadow warnings. - some copy/paste error in readfile.c made it set the same particle recalc flag twice. | |||
2012-05-28 | style cleanup: defines with braces | Campbell Barton | |
2012-05-12 | style cleanup: whitespace, bli & makesdna | Campbell Barton | |
2012-03-02 | Code Cleanup: update to mempool, use flag rather then bool args. | Campbell Barton | |
2012-02-29 | add an assert for inserting an egde with the same vertices and a BMESH_TODO ↵ | Campbell Barton | |
for bevel. | |||
2011-12-31 | Fix [#29728] Explode Modifier Causes Crash. | Bastien Montagne | |
The problem was in fact in recent BLI_edgehash changes: a typo in the new macro EDGE_ORD made v0 > v1, instead of v0 < v1. This caused the bug in explode modifier, which (ab)uses that ordering feature a bit… | |||
2011-12-28 | copy BLI_edgehash changes from bmesh branch, main change is use of mempool. | Campbell Barton | |
2011-12-17 | style edit only - move parenthesis onto second line of function definition ↵ | Campbell Barton | |
(in keeping with most of blenders code) also split some long lines in own code. | |||
2011-11-11 | correct indentation and some whitespace edits (no functional changes) | Campbell Barton | |
2011-10-23 | remove $Id: tags after discussion on the mailign list: ↵ | Campbell Barton | |
http://markmail.org/message/fp7ozcywxum3ar7n | |||
2011-05-23 | fix own mistake [#27451] Flip to Top / Flip to Bottom menuitems on right ↵ | Campbell Barton | |
click on header not working also get rig of more shadowed vars (-Wshadow). | |||
2011-02-27 | doxygen: blender/blenlib tagged. | Nathan Letwory | |
2011-02-23 | doxygen: prevent GPL license block from being parsed as doxygen comment. | Nathan Letwory | |
2010-03-22 | spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text) | Campbell Barton | |
2010-02-12 | correct fsf address | Campbell Barton | |
2008-09-20 | Patch 17403, small gcc warning fixes. | Ton Roosendaal | |
2008-05-12 | Fix for bug #11140: explode modifier could run out of memory quite | Brecht Van Lommel | |
quickly because it allocated a totvert*totvert size array, now uses edgehash instead. | |||
2008-04-17 | Patch from GSR that a) fixes a whole bunch of GPL/BL license | Chris Want | |
blocks that were previously missed; and b) greatly increase my ohloh stats! | |||
2005-08-23 | - added iterator to edgehash | Daniel Dunbar | |
- updated decimator to make edges | |||
2005-08-23 | - subsurf getVertCos returned verts in wrong order since | Daniel Dunbar | |
shuffling of code... led to fun and crazy results (maybe less fun for les artiste) | |||
2005-08-22 | Use new BLI_edgehash_* functions in unwrapper. | Brecht Van Lommel | |
2005-08-22 | - sillyness... added drawMappedEdges for mesh | Daniel Dunbar | |
- revert to drawLooseEdges instead of general drawEdgesFlag - ditched TFace edge flags, done dynamically now which also means don't need to recalc surface on flag changes - added BLI_edgehash, guess what it does |