Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-06 | use gcc malloc attribute for low level allocation functions, prevents gcc ↵ | Campbell Barton | |
from checking if resulting pointers alias existing pointers, also use sentinel attribute for uiButGetStrInfo so incorrect usage gives a warning. | |||
2013-08-04 | avoid using MEM_reallocN_id directly, add utility macro for freeing. | Campbell Barton | |
2013-08-03 | add versions of MEM_reallocN, MEM_recallocN which take a string arg so new ↵ | Campbell Barton | |
allocs have an ID, changing existing functions signatures would be too disruptive at the moment. | |||
2013-06-06 | style cleanup | Campbell Barton | |
2013-06-02 | tweak to recent commit, don't show keymap in menu tooltips. | Campbell Barton | |
2013-05-31 | Fix to actually disable DEBUG_BACKTRACE by default. | Brecht Van Lommel | |
2013-05-30 | Backtrace for unfreed memory blocks | Sergey Sharybin | |
Added an option to show backtrace from where non-freed datablock was allocated from. To enable this feature, simply enable DEBUG_BACKTRACE in mallocn.c file and all unfreed datablocks will be followed up by a backtrace. Currently works on linux and osx only, windows support is on TODO. This feature is for sure disabled by default, so does not affect any builds which don't explicitly define DEBUG_BACKTRACE. | |||
2013-05-28 | move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading) | Campbell Barton | |
remove MEM_sys_types.h which was a duplicate. | |||
2013-05-21 | Fix build error after removing return value from MEM_freeN. | Brecht Van Lommel | |
2013-05-21 | remove return value from MEM_freeN, it wasn't used anywhere and was cast to ↵ | Campbell Barton | |
a different function signature. (which evidently works but error prone). | |||
2013-05-12 | correct assert for driver evaluation, | Campbell Barton | |
also add asserts for listbase functions when the list is NULL, and use noreturn attribute for jpeg_error. | |||
2013-05-08 | add option to disable guardedalloc, helps for debugging memory errors | Campbell Barton | |
since guardedalloc confuses them. The option cases a warning on build, since its ownly for experimental use. | |||
2013-03-29 | code cleanup: quiet warnings building with mingw. | Campbell Barton | |
2013-03-18 | style cleanup | Campbell Barton | |
2013-01-27 | Windows compile fix: | Thomas Dinges | |
* r54117 broke Windows, __func__ not declared. | |||
2013-01-27 | make MEM_reallocN and MEM_recallocN behave as libc's realloc() - alloc when ↵ | Campbell Barton | |
receiving a NULL value. | |||
2013-01-24 | Added some code which helps troubleshooting issues caused by | Sergey Sharybin | |
non-threadsafe usage of guarded allocator. Also added small chunk of code to check consistency of begin/end threaded malloc. All this additional checks are commented and wouldn't affect on builds, however found them helpful to troubleshoot issues so decided to commit it to SVN. | |||
2012-12-18 | Ambient occlusion baker from multi-resolution mesh | Sergey Sharybin | |
This implements AO baking directly from multi-resolution mesh with much less memory overhead than regular baker. Uses rays distribution implementation from Morten Mikkelsen, raycast is based on RayObject also used by Blender Internal. Works in single-thread yet, multi-threading would be implemented later. | |||
2012-12-17 | Added GPL header to sconscripts! | Bastien Montagne | |
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes... | |||
2012-12-13 | disable openmp thread assert, would fail in cases where the caller was ↵ | Campbell Barton | |
locking for its self (sculpt mode) | |||
2012-12-12 | assert in debug builds if MEM_ alloc's are called in openmp threads. | Campbell Barton | |
note: the caller can do locking to prevent errors - but this isn't being done in blender yet, so this prevents accidental allocs in openmp for now. | |||
2012-11-28 | Typo fix in comment. No functional changes. | Sergey Sharybin | |
2012-11-10 | code cleanup: some warnings and formatting for PyMethodDef's in the BGE. | Campbell Barton | |
2012-09-20 | style cleanup | Campbell Barton | |
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-08-21 | code cleanup: vfont's used confusing and over complicated method of storing ↵ | Campbell Barton | |
memory for loaded fonts, not store as a temp var in the fonts. | |||
2012-08-12 | style cleanup | Campbell Barton | |
2012-08-11 | add MEM_recallocN(), so bytes are ensured to be zero'd when growing. | Campbell Barton | |
2012-08-01 | fix crash when polling image sample outside image space. | Campbell Barton | |
also remove historic comment which isnt helpful. | |||
2012-07-31 | Fix warnings on old apple GCC compiler due to no support for alloc_size ↵ | Brecht Van Lommel | |
attribute. | |||
2012-07-24 | Debug option for guarded allocation: store name of original datablock | Sergey Sharybin | |
when using MEM_dupallocN. This helps figuring out issues with non-freed dup_alloc blocks, Simply enable DEBUG_MEMDUPLINAME in mallocn.c file. | |||
2012-07-14 | header comment cleanup, explain whats the difference between confusingly ↵ | Campbell Barton | |
named drarnode.c and node_draw.c. | |||
2012-07-14 | use gcc attributes for BLI alloc functions | Campbell Barton | |
2012-07-08 | Fix for error from grumpy gcc in "over-warning" mode. Must explicitely cast ↵ | Bastien Montagne | |
uintptr_t to unsigned int (othe solution would be to use PRIuPTR macro from inttypes.h, but that would probably causes some problems with windows...). | |||
2012-07-08 | correct use of __attribute__((nonnull)) | Campbell Barton | |
2012-07-08 | use gcc attrubutes to warn on unused return values and arguments which ↵ | Campbell Barton | |
shouldnt be NULL. also remove IDP_AppendArray's return value which wasnt the new item in the array (which is odd/misleading), but wasnt used anywhere either. | |||
2012-07-08 | use alloc_size attribute for guarded alloc functions with gcc. | Campbell Barton | |
2012-06-28 | code cleanup: compile with clang and quiet some warnings. | Campbell Barton | |
2012-06-28 | committed debug memcount by accident | Campbell Barton | |
2012-06-28 | option so operators can be executed with undo enabled (and redo). | Campbell Barton | |
2012-06-27 | style cleanup: header comments, use more doxy compat formatting | Campbell Barton | |
2012-06-25 | Guardedalloc/C++: delete is valid on a NULL pointer, add a check so MEM_freeN | Brecht Van Lommel | |
doesn't print warning messages. | |||
2012-06-25 | more guardedalloc use in C++, also make compositorMutex a static var, was ↵ | Campbell Barton | |
allocated and never freed. | |||
2012-06-25 | optionally use guarded alloc for tiles compositor, also replace allocation ↵ | Campbell Barton | |
functions with a macro. | |||
2012-06-08 | typo/style edits | Campbell Barton | |
2012-06-08 | - remove redundant NULL checks from mallocn's local linked list functions. | Campbell Barton | |
- minor changes to warning cleanup. | |||
2012-05-27 | style cleanup | Campbell Barton | |
2012-05-26 | update python script memory printout to python3 and some style cleanup | Campbell Barton | |
2012-05-26 | style cleanup: our own malloc code | Campbell Barton | |
2012-05-26 | code cleanup: dutch -> english (comments) | Campbell Barton | |