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-08-06use 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-04avoid using MEM_reallocN_id directly, add utility macro for freeing.Campbell Barton
2013-08-03add 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-06style cleanupCampbell Barton
2013-06-02tweak to recent commit, don't show keymap in menu tooltips.Campbell Barton
2013-05-31Fix to actually disable DEBUG_BACKTRACE by default.Brecht Van Lommel
2013-05-30Backtrace for unfreed memory blocksSergey 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-28move 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-21Fix build error after removing return value from MEM_freeN.Brecht Van Lommel
2013-05-21remove 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-12correct 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-08add option to disable guardedalloc, helps for debugging memory errorsCampbell Barton
since guardedalloc confuses them. The option cases a warning on build, since its ownly for experimental use.
2013-03-29code cleanup: quiet warnings building with mingw.Campbell Barton
2013-03-18style cleanupCampbell Barton
2013-01-27Windows compile fix:Thomas Dinges
* r54117 broke Windows, __func__ not declared.
2013-01-27make MEM_reallocN and MEM_recallocN behave as libc's realloc() - alloc when ↵Campbell Barton
receiving a NULL value.
2013-01-24Added some code which helps troubleshooting issues caused bySergey 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-18Ambient occlusion baker from multi-resolution meshSergey 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-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-13disable openmp thread assert, would fail in cases where the caller was ↵Campbell Barton
locking for its self (sculpt mode)
2012-12-12assert 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-28Typo fix in comment. No functional changes.Sergey Sharybin
2012-11-10code cleanup: some warnings and formatting for PyMethodDef's in the BGE.Campbell Barton
2012-09-20style cleanupCampbell Barton
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-08-21code 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-12style cleanupCampbell Barton
2012-08-11add MEM_recallocN(), so bytes are ensured to be zero'd when growing.Campbell Barton
2012-08-01fix crash when polling image sample outside image space.Campbell Barton
also remove historic comment which isnt helpful.
2012-07-31Fix warnings on old apple GCC compiler due to no support for alloc_size ↵Brecht Van Lommel
attribute.
2012-07-24Debug option for guarded allocation: store name of original datablockSergey 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-14header comment cleanup, explain whats the difference between confusingly ↵Campbell Barton
named drarnode.c and node_draw.c.
2012-07-14use gcc attributes for BLI alloc functionsCampbell Barton
2012-07-08Fix 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-08correct use of __attribute__((nonnull))Campbell Barton
2012-07-08use 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-08use alloc_size attribute for guarded alloc functions with gcc.Campbell Barton
2012-06-28code cleanup: compile with clang and quiet some warnings.Campbell Barton
2012-06-28committed debug memcount by accidentCampbell Barton
2012-06-28option so operators can be executed with undo enabled (and redo).Campbell Barton
2012-06-27style cleanup: header comments, use more doxy compat formattingCampbell Barton
2012-06-25Guardedalloc/C++: delete is valid on a NULL pointer, add a check so MEM_freeNBrecht Van Lommel
doesn't print warning messages.
2012-06-25more guardedalloc use in C++, also make compositorMutex a static var, was ↵Campbell Barton
allocated and never freed.
2012-06-25optionally use guarded alloc for tiles compositor, also replace allocation ↵Campbell Barton
functions with a macro.
2012-06-08typo/style editsCampbell Barton
2012-06-08- remove redundant NULL checks from mallocn's local linked list functions.Campbell Barton
- minor changes to warning cleanup.
2012-05-27style cleanupCampbell Barton
2012-05-26update python script memory printout to python3 and some style cleanupCampbell Barton
2012-05-26style cleanup: our own malloc codeCampbell Barton
2012-05-26code cleanup: dutch -> english (comments)Campbell Barton