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
2009-11-11New function:Martin Poirier
void MEM_callbackmemlist(void (*func)(void*)); Will call the function passed as argument with all allocated address as parameter. Useful for debuging.
2009-09-30Render & Compositing Thread FixesBrecht Van Lommel
* Rendering twice or more could crash layer/pass buttons. * Compositing would crash while drawing the image. * Rendering animations could also crash drawing the image. * Compositing could crash * Starting to rendering while preview render / compo was still running could crash. * Exiting while rendering an animation would not abort the renderer properly, making Blender seemingly freeze. * Fixes theoretically possible issue with setting malloc lock with nested threads. * Drawing previews inside nodes could crash when those nodes were being rendered at the same time. There's more crashes, manipulating the scene data or undo can still crash, this commit only focuses on making sure the image buffer and render result access is thread safe. Implementation: * Rather than assuming the render result does not get freed during render, which seems to be quite difficult to do given that e.g. the compositor is allowed to change the size of the buffer or output different passes, the render result is now protected with a read/write mutex. * The read/write mutex allows multiple readers (and pixel writers) at the same time, but only allows one writer to manipulate the data structure. * Added BKE_image_acquire_ibuf/BKE_image_release_ibuf to access images being rendered, cases where this is not needed (most code) can still use BKE_image_get_ibuf. * The job manager now allows only one rendering job at the same time, rather than the G.rendering check which was not reliable.
2009-09-25Merge of itasc branch. Project files, scons and cmake should be working. ↵Benoit Bolsee
Makefile updated but not tested. Comes with Eigen2 2.0.6 C++ matrix library.
2009-09-22SVN maintenance.Guillermo S. Romero
2009-09-06white space commit. (2 spaces -> tab).Campbell Barton
Was annoying to use a different editor for cmake only. theeth says this should be ok with gsoc and merges from branches.
2009-09-05== SCons ==Nathan Letwory
* bring back 'player' libtype, after investigation with ideasman. scons/mingw works nicely, for some reason msvc fails to link still, will look further into it.
2009-09-04== SCons ==Nathan Letwory
* further cleaning of 'player' stuff. Now only 3 libs are remaining, of which ideally the stubs lib will be fixed at some point, fading away into the dark history of not-so-nice code. The current blenderplayer part is still a little bit hackish, I'll see if I can find a better alternative, for now it works good enough.
2009-09-04== SCons ==Nathan Letwory
* first working changes to get blenderplayer linking * blenderplayer/ moved into source/ (CMakeLists.txt changed for that too) * added externs for bprogname to gp_ghost, so that it links properly
2009-08-19SVN maintenance.Guillermo S. Romero
2009-08-18compile time option to override C++'s new/delete to use guardedalloc, useful ↵Campbell Barton
for debugging. shows memory leaks very quickly. currently cmake only - WITH_CXX_GUARDEDALLOC
2009-08-14some fixes for netbsd with cmakeCampbell Barton
- CMake, use FIND_PACKAGE(Freetype) for unix/linux - Only link with libdl.so on linux - use statvfs rather then statfs for netbsd (size of statfs wasnt available) - add x11 include path with ghost, glu.
2009-06-21Spring CleaningCampbell Barton
* removed radiosity render code, DNA and RNA (left in radio render pass options), we'll get GI to replace this probably, better allow baking to vertex colors for people who used this. * removed deprecated solid physics library, sumo integrations and qhull, a dependency * removed ODE, was no longer being build or supported * remove BEOS and AMIGA defines and references in Makefiles.
2009-06-092.50:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19820:HEAD Notes: * Game and sequencer RNA, and sequencer header are now out of date a bit after changes in trunk. * I didn't know how to port these bugfixes, most likely they are not needed anymore. * Fix "duplicate strip" always increase the user count for ipo. * IPO pinning on sequencer strips was lost during Undo.
2009-04-202.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r19323:HEAD Notes: * blenderbuttons and ICON_SNAP_PEEL_OBJECT were not merged.
2009-04-01Clean up for the imminent migration from SVN to GIT.Guillermo S. Romero
2009-03-19Makefile updates for Blender 2.5 (from GSR)Chris Want
2008-11-13Merge of trunk into blender 2.5:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r12987:17416 Issues: * GHOST/X11 had conflicting changes. Some code was added in 2.5, which was later added in trunk also, but reverted partially, specifically revision 16683. I have left out this reversion in the 2.5 branch since I think it is needed there. http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16683 * Scons had various conflicting changes, I decided to go with trunk version for everything except priorities and some library renaming. * In creator.c, there were various fixes and fixes for fixes related to the -w -W and -p options. In 2.5 -w and -W is not coded yet, and -p is done differently. Since this is changed so much, and I don't think those fixes would be needed in 2.5, I've left them out. * Also in creator.c: there was code for a python bugfix where the screen was not initialized when running with -P. The code that initializes the screen there I had to disable, that can't work in 2.5 anymore but left it commented as a reminder. Further I had to disable some new function calls. using src/ and python/, as was done already in this branch, disabled function calls: * bpath.c: error reporting * BME_conversions.c: editmesh conversion functions. * SHD_dynamic: disabled almost completely, there is no python/. * KX_PythonInit.cpp and Ketsji/ build files: Mathutils is not there, disabled. * text.c: clipboard copy call. * object.c: OB_SUPPORT_MATERIAL. * DerivedMesh.c and subsurf_ccg, stipple_quarttone. Still to be done: * Go over files and functions that were moved to a different location but could still use changes that were done in trunk.
2008-11-11Add MSVC90 project files - part 3. Extern and Intern projects are merged in ↵Benoit Bolsee
projectfiles_vc9\blender\blender.sln solution, you just need to open that solution to compile everything with VS2008.
2008-11-10Add MSVC90 project files - part 1.Benoit Bolsee
2008-09-05Merge of first part of changes from the apricot branch, especiallyBrecht Van Lommel
the features that are needed to run the game. Compile tested with scons, make, but not cmake, that seems to have an issue not related to these changes. The changes include: * GLSL support in the viewport and game engine, enable in the game menu in textured draw mode. * Synced and merged part of the duplicated blender and gameengine/ gameplayer drawing code. * Further refactoring of game engine drawing code, especially mesh storage changed a lot. * Optimizations in game engine armatures to avoid recomputations. * A python function to get the framerate estimate in game. * An option take object color into account in materials. * An option to restrict shadow casters to a lamp's layers. * Increase from 10 to 18 texture slots for materials, lamps, word. An extra texture slot shows up once the last slot is used. * Memory limit for undo, not enabled by default yet because it needs the .B.blend to be changed. * Multiple undo for image painting. * An offset for dupligroups, so not all objects in a group have to be at the origin.
2008-08-18#2: Fixing compile errors on mingw/cygwin (reported by aligorith)Daniel Genrich
2008-08-18Fixing compile errors on mingw/cygwin (reported by aligorith)Daniel Genrich
2008-08-18Update MSVC project files after Win64 patchBenoit Bolsee
2008-08-18Fix compile problem in MSVC after Win64 patchBenoit Bolsee
2008-08-17Win64: please check my changes if you ran across them ;) But should be fine ↵Daniel Genrich
since no additional crashes were reported!
2008-06-02Compiler warning fixes (unused vars).Joshua Leung
Notes: - edgehash.c still has some weirdo code causing warnings on lines 80 and 117 i.e. if (v1<v0) v0 ^= v1 ^= v0 ^= v1; - material.c (in pyapi) apparently doesn't seem to be making use of some functions for glossy stuff
2008-04-29== mmap for win32 ==Andrea Weikert
replacement for mmap/munmap on Windows. Implemented using CreateFileMapping/MapViewOfFile.
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-03-15compiler warning cleanupStephen Swaney
2008-02-16fix for [#8257] double-freeing pointers from sculpt codeCampbell Barton
http://projects.blender.org/tracker/index.php?func=detail&aid=8257&group_id=9&atid=125 Cleaned up scene_copy, and moved some scene copying into this function that was inline in the user interface. Also moved malloc error prints onto separate lines so you can set breakpoints.
2008-02-01Memory usage debugging: now with the -d debug option enabled, at the endBrecht Van Lommel
of rendering it prints memory usage for images and all memory blocks.
2008-01-08* tweak linking priorities - should help for GCC usersNathan Letwory
* some lib renaming
2008-01-07Patch to change license to GPL only, from GSR.Chris Want
2008-01-03Split guardedalloc print into 2 funcs, 1 that prints on errors, another then ↵Campbell Barton
prints the memory blocks as a python dict, minor changes to help text
2008-01-01while trying to debug memory leaks, extended MEM_printmemlist to print a ↵Campbell Barton
python dict and some lines at the end to format it in a useful way when run as a python script.
2007-03-27=== SCons ===Nathan Letwory
Bugfix #6168 * instead of compiling mallocn manually for makesdna, use the bf_guardedalloc lib that was already created looooooong time ago.
2006-11-27More debug goodies:Ton Roosendaal
WINDOWS CRASH EMULATION! If you use the -d (debug) argument for starting blender, it will now: - set all freed memory to 0xFFFFFFFF - set all malloced memory to 0xFFFFFFFF The first option will give nice crashers when you read from freed memory. The second option is for OSX especially, it has the nasty habit to give zeroed mallocs.
2006-11-17CMake lists initial submission. Documentationand further verification for ↵Jacques Beuarain
different platforms will follow soon. This was just tested against current CVS on MSVC 2005 with Verse, QuickTime, OpenEXR, Player all on.
2006-10-27More bugs found thanks to klockworkKent Mein
mallocn.c check malloced memory before using it. ssp_blas2.c free memory that wasn't but should have been. Kent
2006-09-06Added support for threadsafe MEM_mallocN/MEM_freeN in the guardedallocBrecht Van Lommel
module itself, replacing the special MEM_mallocT/MEM_freeT functions. Mutex locking is only enabled when threads are running. There was no good reason to have these separate, it just led to ugly hacks when calling functions with non-threadsafe malloc from threads.
2006-07-22Minor fix: default name for dupli-alloc was mixed up, using mapalloc forTon Roosendaal
malloc, and vice versa.
2006-07-03Mac intel commitTon Roosendaal
- patch from Douglas with endian fixes - Makefile adds static libiconv.a from lib/ - this version will use OpenEXR libs from lib/ too, and is latest release with threading support - openAL is missing, added it as default to not include it
2006-04-18Update to the VC7 projectfiles.Joseph Gilbert
This should bring the projectfiles upto date for msvc7. Moving these to version 7.1 so that the version 8 people don't have such a hard time importing into 2005. Build intern.sln, extern.sln and then blender.sln. Enjoy. :p
2006-03-23Updated mallocn.c MEM_check_memory_integrity was castingKent Mein
a string as an int and it was causing a warning. I changed it to check to see if the string == 0 return 0 else return 1. The only thing that called this function was memtest.c and it had outdated code, so I fixed that... was calling MEM_set_error_stream updated to MEM_set_error_callback Kent
2006-03-15mmap allocs now fall back on regular malloc when mmap fails.Ton Roosendaal
2006-03-05It looks like Irix works alright with the /dev/zero trick for mmap().Chris Want
I had to include fcntl.h for Irix to get symbol O_RDWR.
2006-03-05To prevent confusement; used %u (unsigned int) for printing memory error.Ton Roosendaal
2006-03-02Improved error print in case malloc returns NULL; it now adds the currentTon Roosendaal
total allocated.
2006-02-24I had to disable mmap altogether for Irix.Chris Want
2006-02-24Paranoia "volatile" assignment to globals in MEM module. Was suggested toTon Roosendaal
do this for globals that can be changed within threads.