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
2013-10-22style cleanupCampbell Barton
2013-10-07Build fix (issue could happen with scons,reported by ebrain on IRC, thanks).Bastien Montagne
Var declared in an #ifdef DEBUG, but used in an #ifndef NDEBUG…
2013-10-05more corrections to valgrind hinting.Campbell Barton
2013-10-05use valgrind hints for memarena for better debugging info when using valgrind.Campbell Barton
also quiet a false positive in BLI_mempool_free().
2013-10-03freeing mempool elements now fills freed memory with --debug for debug builds.Campbell Barton
2013-10-03add cmake option WITH_MEM_VALGRIND, helps to track down errors with mempool ↵Campbell Barton
use which sometimes only show up as bugs in very rare cases (because even though the element is freed, the chunk is still allocated).
2013-09-03reorder BLI_strict_flags.h include so its not conflicting with stdio.h on apple.Campbell Barton
2013-09-02warning cleanup: correct some odd returns and quiet strict flag warnings on ↵Campbell Barton
some systems.
2013-09-01move 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-31tweak mempool loop comparisons when we know there is no chance for skipping ↵Campbell Barton
past the last value. also correct typo.
2013-08-31remove unnecessary check in BLI_mempool_iterstep and add doxygen comments to ↵Campbell Barton
mempool.
2013-08-31mempool internal change, use unsigned ints where possible (less overhead),Campbell Barton
also quiet compiler warning for BLI_LINKSTACK_FREE macro.
2013-08-27ghash/bli-listbase edits, rename BLI_ghash_pop -> BLI_ghash_popkey (since it ↵Campbell Barton
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.
2013-08-25clearing the mempool can now keep more then a single element reserved.Campbell Barton
2013-08-25fix leak in BLI_ghash_clear(). was never freeing entries, add ↵Campbell Barton
BLI_mempool_clear utility function.
2013-08-25code cleanup for mempool, refactor chunk initialization into a static function.Campbell Barton
2013-08-25merge mempool allocs per chunk, include the data in the BLI_mempool_chunk alloc.Campbell Barton
2013-08-21style cleanup: also use ARRAY_HAS_ITEM macro for mempool checkCampbell Barton
2013-08-19Added check for address being freed by mempool freeSergey Sharybin
When blender is built in debug mode, BLI_mempool_free will ensure address passed to the function actually belongs to this pool. -- svn merge -r58710:58711 ^/branches/soc-2013-depsgraph_mt
2013-08-04mempool api cleanup: differentiate mempool functions that allocate a pointer ↵Campbell Barton
lookup table from allocating the data as a contiguous array, call these functions BLI_mempool_as_table(), BLI_mempool_as_array(), the N prefixed versions of these functions return newly allocated arrays.
2013-08-03fix for [#36260] 2,300 Objects Makes Blender UnresponsiveSv. Lockal
- performance of outliner was low because of unoptimal data structures. - now it uses BLI_mempool instead of custom mempool and GHash to make searches for duplicates faster. - also fix undesired behaviour of BLI_mempool_as_arrayN thanks to Campbell Barton and Lukas Tönne for helping me get a better fix put together.
2013-07-19optimization: avoid extra loop in BLI_mempool_destroy(). free the list inline.Campbell Barton
2013-06-23reduce sign conversion comparisons for smallhash and tweak warnings elsewhere.Campbell Barton
2013-06-23build fix for old gccs (after rev.57620)Dalai Felinto
enabling the new pragmas only when gcc >= 4.6 gcc 4.2.1 here (OSX)
2013-06-20reduce sign comparisons for ghash and add more strict warnings for gcc.Campbell Barton
2013-05-08warn of sign conversions for low level apis - ghash, heap, mempoolCampbell Barton
2013-02-17BLI_mempool totalloc was being used un-initialized, normally this would ↵Campbell Barton
cause bugs but turns out its not used, ifdef'd it out but keep in the struct in BLI_mempool for now.
2013-02-15add debug check for mempool double free (or misuse of BLI_MEMPOOL_ALLOW_ITER),Campbell Barton
some reports in the tracker show errors on bmesh iteration which could be caused by this.
2013-01-31add BLI_mempool_as_arrayN utility function for getting the mempool as a new ↵Campbell Barton
array (utility function currently unused).
2013-01-19utility function to get a mempool as a pointer array.Campbell Barton
2013-01-19replace error prints with asserts in BLI_mempool when an iterator function ↵Campbell Barton
is called on a non-iterator flagged pool.
2012-09-04code cleanup: move file string defines into BLI_path_utils.h, ↵Campbell Barton
BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-05-12style cleanup: remaining BLI files.Campbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-03-13style cleanupCampbell Barton
2012-03-12style cleanupCampbell Barton
2012-03-02style cleanup for mempoolCampbell Barton
2012-03-02Code Cleanup: update to mempool, use flag rather then bool args.Campbell Barton
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2011-12-29optimized mempool iterator from bmeshCampbell Barton
2011-11-28BLI_mempool_findelem() only worked when no elements were freed, use the ↵Campbell Barton
iterator for now.
2011-11-27mempool utility function to get the element at an index ↵Campbell Barton
BLI_mempool_findelem(), not used yet.
2011-11-17BLI_mempool redefined causing compile time error, removing duplicate typedefAntony Riakiotakis
2011-11-16merge mempool changes from bmesh (adds mempool iterator).Campbell Barton
2011-11-16minor edits, move mempool stack vars into the nested scope when they aren't ↵Campbell Barton
likely to be used, also formatting edits (was quite un-blender like).
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-02-27doxygen: blender/blenlib tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.