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-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
2012-05-22style cleanup: mmap_win32Campbell Barton
2012-05-04Fix (harmless) uninitialized memory usage in BVH binning.Brecht Van Lommel
Fix unneeded warnings with c++ guardedalloc, delete NULL is valid.
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-24First MinGW-w64 support for cmake has been added. To test I recommend this ↵Antony Riakiotakis
build: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/ray_linn/GCC-4.7.0-with-ada/mingw-w64-gcc-4.7.0-runtime-2.0.1-static-ada-20120330.7z/download Other builds may also work but due to the constantly changing nature of the compiler this cannot be guaranteed. I often had to change compilers while building the libraries and this one is the one that did the job for most of them. This first support is experimental and considered "advanced". To enable pass -DWITH_MINGW64 during cmake configuration. Also make sure to extract the compiler on C:/MinGW and that MinGW/bin is in your path. To build check out lib/mingw64. Initially the support is lacking until I get every library compiled correctly. For now you should disable WITH_CYCLES(sorry, I know some people are dying to do benchmarks, but still a few libs to go), WITH_IMAGE_OPENEXR, WITH_OPENCOLLADA, WITH_LIBMV and WITH_CODEC_FFMPEG(links but hangs on startup). Still the tools are working, the memory limit is increased and due to the experimental nature of the setup, full optimization with SSE2 is available, which makes the build quite fast. Also the compiler and especially, the linker are way faster than regular MinGW. The wiki docs have also updated. Happy testing!
2012-04-06code cleanup: header cleanup, remove commented workaround for mingw since ↵Campbell Barton
its no longer needed.
2012-03-18spelling cleanupCampbell Barton
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-12-31workaround for error building with clang and quiet some warnings building ↵Campbell Barton
without libmv.
2011-12-24replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-26Abort on guarded memory manager errors if WITH_ASSERT_ABORT is setSergey Sharybin
2011-09-21remove support for irixCampbell Barton
2011-09-19cleanup endian handlingCampbell Barton
- define __BIG_ENDIAN__ or __LITTLE_ENDIAN__ with cmake & scons. - ENDIAN_ORDER is now a define rather than a global short. - replace checks like this with single ifdef: #if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__) - remove BKE_endian.h which isn't used