Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2017-10-29BLI_heap: add validation check, improve testsCampbell Barton
Also minor readability changes, avoid running both heap_up/down gives minor speedup too.
2017-10-29Cleanup: move docs out of headerCampbell Barton
2017-10-29Cleanup: const argsCampbell Barton
2017-10-29BLI_heap: minor changes to the APICampbell Barton
Recent addition of 'reinsert' didn't match logic for ghash API. Rename to BLI_heap_node_value_update, also add BLI_heap_insert_or_update since it's a common operation.
2017-10-28BLI_hash: add BLI_heap_reinsertCampbell Barton
Allows avoiding remove/insert calls.
2014-12-09Add edgehash remove, clear functions, Heap clearCampbell Barton
Edgehash was missing removal functions (remove, popkey, clear), since it wasn't needed so far, but is based on same code as ghash which has them. also add heap clear() method so we can reuse heaps. (needed for upcoming fix).
2014-07-17Use compiler attributes for more BLI libsCampbell Barton
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-03-09use 'bool' for BLI_/BKE_ functions.Campbell Barton
2012-10-22small optimization for BLI_heap(), give some speedup in decimeter.Campbell Barton
- use unsigned ints only (where mixing signed/unsigned) - turn heap_swap into an inline function, add SWAP_TVAL macro to swap values using a temp value as storage. - added type checking SHIFT3/4 macros also style cleanup for CTR_Map
2012-10-21bmesh-decimator updateCampbell Barton
- update face normals when triangulating. - avoid divide by zero when interpolating customdata on a zero length edge. - replace zero float comparisons with fabsf() < FLT_EPSILON to avoid numeric error. also renamed BLI_heap_empty() --> BLI_heap_is_empty() so its obviously readonly function.
2012-10-19add option to initialize heap with a known number of elements, since this ↵Campbell Barton
may be known in advance - it avoids re-allocing too much.
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-02-18doxygen: add blenlib under core as module.Nathan Letwory
2010-02-12correct fsf addressCampbell Barton
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2006-02-08A Heap / Priority Queue ADT, will be used for Dijkstra shortest path.Brecht Van Lommel