Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-22 | style cleanup | Campbell Barton | |
2013-10-07 | Build 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-05 | more corrections to valgrind hinting. | Campbell Barton | |
2013-10-05 | use valgrind hints for memarena for better debugging info when using valgrind. | Campbell Barton | |
also quiet a false positive in BLI_mempool_free(). | |||
2013-10-03 | freeing mempool elements now fills freed memory with --debug for debug builds. | Campbell Barton | |
2013-10-03 | add 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-03 | reorder BLI_strict_flags.h include so its not conflicting with stdio.h on apple. | Campbell Barton | |
2013-09-02 | warning cleanup: correct some odd returns and quiet strict flag warnings on ↵ | Campbell Barton | |
some systems. | |||
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 | tweak mempool loop comparisons when we know there is no chance for skipping ↵ | Campbell Barton | |
past the last value. also correct typo. | |||
2013-08-31 | remove unnecessary check in BLI_mempool_iterstep and add doxygen comments to ↵ | Campbell Barton | |
mempool. | |||
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-27 | ghash/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-25 | clearing the mempool can now keep more then a single element reserved. | Campbell Barton | |
2013-08-25 | fix leak in BLI_ghash_clear(). was never freeing entries, add ↵ | Campbell Barton | |
BLI_mempool_clear utility function. | |||
2013-08-25 | code cleanup for mempool, refactor chunk initialization into a static function. | Campbell Barton | |
2013-08-25 | merge mempool allocs per chunk, include the data in the BLI_mempool_chunk alloc. | Campbell Barton | |
2013-08-21 | style cleanup: also use ARRAY_HAS_ITEM macro for mempool check | Campbell Barton | |
2013-08-19 | Added check for address being freed by mempool free | Sergey 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-04 | mempool 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-03 | fix for [#36260] 2,300 Objects Makes Blender Unresponsive | Sv. 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-19 | optimization: avoid extra loop in BLI_mempool_destroy(). free the list inline. | Campbell Barton | |
2013-06-23 | reduce sign conversion comparisons for smallhash and tweak warnings elsewhere. | Campbell Barton | |
2013-06-23 | build 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-20 | reduce sign comparisons for ghash and add more strict warnings for gcc. | Campbell Barton | |
2013-05-08 | warn of sign conversions for low level apis - ghash, heap, mempool | Campbell Barton | |
2013-02-17 | BLI_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-15 | add 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-31 | add BLI_mempool_as_arrayN utility function for getting the mempool as a new ↵ | Campbell Barton | |
array (utility function currently unused). | |||
2013-01-19 | utility function to get a mempool as a pointer array. | Campbell Barton | |
2013-01-19 | replace error prints with asserts in BLI_mempool when an iterator function ↵ | Campbell Barton | |
is called on a non-iterator flagged pool. | |||
2012-09-04 | code 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-12 | style cleanup: remaining BLI files. | Campbell Barton | |
2012-03-18 | spelling cleanup | Campbell Barton | |
2012-03-13 | style cleanup | Campbell Barton | |
2012-03-12 | style cleanup | Campbell Barton | |
2012-03-02 | style cleanup for mempool | Campbell Barton | |
2012-03-02 | Code Cleanup: update to mempool, use flag rather then bool args. | Campbell Barton | |
2012-02-29 | Code 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-27 | style cleanup (mostly whitespace) | Campbell Barton | |
2011-12-29 | optimized mempool iterator from bmesh | Campbell Barton | |
2011-11-28 | BLI_mempool_findelem() only worked when no elements were freed, use the ↵ | Campbell Barton | |
iterator for now. | |||
2011-11-27 | mempool utility function to get the element at an index ↵ | Campbell Barton | |
BLI_mempool_findelem(), not used yet. | |||
2011-11-17 | BLI_mempool redefined causing compile time error, removing duplicate typedef | Antony Riakiotakis | |
2011-11-16 | merge mempool changes from bmesh (adds mempool iterator). | Campbell Barton | |
2011-11-16 | minor 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-23 | remove $Id: tags after discussion on the mailign list: ↵ | Campbell Barton | |
http://markmail.org/message/fp7ozcywxum3ar7n | |||
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 | |
2011-02-14 | made most variables which are only used in a single file and not defined in ↵ | Campbell Barton | |
header static for blenlib, blenkernel and editors. |