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
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.
2006-02-23Some issues compiling on Irix:Chris Want
+ the code in writemovie.c no longer compiles (since the renderer refactor). I have #if 0-ed it. + OpenGL on Irix doesn't have GL_ARB_vertex_program + mmap on Irix doesn't like MAP_ANON. + If using the MipsPro 7.3 compiler, the variable MIPS73_ISOHEADERS can be set to point to the directory with those weird C++ headers that don't have .h in the name
2006-02-17temporarily fix from Johnny Matthews committed, win32 doesn't have munmap. ↵Erwin Coumans
Someone can worry about a future mmap-like implementation.
2006-02-16Added new malloc type in our MEM module; using the unix feature 'mmap'.Ton Roosendaal
In Orange we've been fighting the past weeks with memory usage a lot... at the moment incredible huge scenes are being rendered, with multiple layers and all compositing, stressing limits of memory a lot. I had hoped that less frequently used blocks would be swapped away nicely, so fragmented memory could survive. Unfortunately (in OSX) the malloc range is limited to 2 GB only (upped half of address space). Other OS's have a limit too, but typically larger afaik. Now here's mmap to the rescue! It has a very nice feature to map to a virtual (non existing) file, allowing to allocate disk-mapped memory on the fly. For as long there's real memory it works nearly as fast as a regular malloc, and when you go to the swap boundary, it knows nicely what to swap first. The upcoming commit will use mmap for all large memory blocks, like the composit stack, render layers, lamp buffers and images. Tested here on my 1 GB system, and compositing huge images with a total of 2.5 gig still works acceptable here. :) http://www.blender.org/bf/memory.jpg This is a silly composit test, using 64 MB images with a load of nodes. Check the header print... the (2323.33M) is the mmap disk-cache in use. BTW: note that is still limited to the virtual address space of 4 GB. The new call is: MEM_mapalloc() Per definition, mmap() returns zero'ed memory, so a calloc isn't required. For Windows there's no mmap() available, but I'm pretty sure there's an equivalent. Windows gurus here are invited to insert that here in code! At the moment it's nicely ifdeffed, so for Windows the mmap defaults to a regular alloc.
2006-02-08==SCons==Nathan Letwory
+ 'scons blenderplayer' builds blender AND blenderplayer now (tested on Linux only, but was only linking issue, so should work on other platforms too). NOTE: I noticed some compileflags for GE specific libs that were left out - I re-enabled them in the SConscripts, but I'm going to do a test build my- self now, so if there are problems with them on win32, I probably already know about them :)
2006-02-05==SCons==Nathan Letwory
* Changing linking order of a few libs, hopefully it solves a unresolved issue.
2006-02-04== SCons ==Nathan Letwory
* This commit is all of the rewrite work done on the SCons system. For documentation see doc/blender-scons.txt and doc/blender-scons-dev.txt. Also http://mediawiki.blender.org/index.php/BlenderDev/SconsRefactoring contains valuable information, along with what still needs to be done. - linux, os x and windows compile now. - files are compiled to BF_INSTALLDIR (see config/(platform)-config.py) - NOTE: Jean-Luc P will commit sometime during the weekend proper appit() for OS X. For now, copy the resulting binary to an existing .app bundle. - features: - cleaner structure for better maintenance - cleaner output during compile - better handling of build options - general overall speed increase - see the wiki for more info Cygwin, FreeBSD and Solaris systems still need work. For these systems: 1) copy a config/(platform)-config.py to ie. config/cygwin-config.py 2) set the proper defaults for your platform 3) mail me at jesterking at letwory dot net with you configuration. if you need any modifications to the system, do send a patch, too. I'll be giving first-aid today and tomorrow, after that it'll be all regular development work :) /Nathan
2005-11-17Fix for bug #3414 provided by Lewis Saunders.Chris Want
It appears that removing the 'int level' field from the MemHead struct caused alignment issues for gcc builds of blender on Irix (zr, who removed this field, commented that this problem might occur, and sure enough it did happen). I've renamed the field from 'level' to 'pad' to reflect that it has no meaning beyond addressing alignment issues.
2005-08-21MEM_alloc allocated in units of 8 for 32 bits systems, and units of 4 forTon Roosendaal
64 bits systems... weird bug. :) It now only does a unit-of-4 check, for all systems. This will work fine, since the malloc code will return aligned anyway, and the guarded alloc system only stores ints in the headers. Also, the sizeof() call will correctly do padding, so there's no risk of allocating too small blocks.
2005-08-04updates to the OS X build system :Jean-Luc Peurière
- XCode project - Scons : scons stopped working for Os X in the last month (dont know when) : * the '.' and '..' keywords in CCPPATH are not recognized anymore for sconscripts compiling files at a sub level * when doing a scons clean, the 3 subdirs in build dir are removed and scons then fail to recreate them (exten, intern, source) this commit solve the first problem as a temp workaround for the latter simply recreate the dirs manually I will investigate that further when on vacations, which i should already be. ;( all 3 build systems are now working on Os X
2005-08-02_.NET projectfiles update_Joseph Gilbert
* converted files to .NET 2002 * removed unneeded projectfiles from bullet * PHY_Bullet outputs to correct directories * Bullet linked to activex and blenderplayer * misc updates
2005-07-31updated vc7 projectfiles so they work with bulletErwin Coumans
2005-07-22 - got fed up with not being able to put a breakpoint on MEM_Daniel Dunbar
errors, switched MEM_set_error_stream to MEM_set_error_callback that calls a function to print result instead of just giving a FILE * Note: requires intern recompile
2005-07-20 - remove MEM_dupallocN's warning on dup of len==0 sized objectDaniel Dunbar
2005-02-21MSVC7 update and freetype2 sourceJoseph Gilbert
- Added correct .libs to be linked to GP_Ghost - Fixed incorrect library extensions for the linker (*.lib and not unix *.a) - Projects have been set to be multi-threaded - projects were being linked to different versions of the CRT - All projects are now linking to python 2.3 (this fixes an error regarding struct sizes in python) - Removed invalid source paths from inclusion for the compiler - Fix dependency issues with the GP_Ghost module - Proper .dll's are now being copied to their respective locations for debug and release version of blender/blenderplayer - Warnings have been set to level 2 - Import paths have been updated and organized for the compiler - Duplicate import paths for the compiler have been removed - Removed silly silly silly silly unix path-separators from window paths - Post-Build scripts have been updated where neccessary (XCOPY is retatined) - Fixed the output of various .lib files (PHY_Sumo and Yafray) - PHY_Sumo now uses a .pch - Removed #undef _DEBUG from debug builds :p - FTF_Font is now contains a debug build and is being set to it's correct output path - Blender/Blenderplayer/3DPlugin all linkto Debug libs where appropriate (instead of static release libs to avoid conflicts with the CRT) - Python23_d.dll is now loaded into a true debug output of both blenderplayer and blender debug builds - msvcrtd.dll is now loaded into a true debug output of both blenderplayer and blender debug builds - Post-builds now clean up their mess - ActiveX controller now builds - BlenderPlayer now builds - Internal libs now using .pch - Moved the build directory from /blender/obj to ../build/msvc_7/ to follow precedence with scons builds - Builds are now organized to follow precedence with scons builds with a /libs and a /intern /extern /source obj folders - Set the proper build path for opennl - Forcing BLO_loader source files to follow project defaults - Added an 'extern' project that mimics the /make build of the 'intern' project - Extern build includes solid and it's associated builds, ftgl, and freetype - Added .vcproj files to /extern directory - Added new extern.sln file to /extern directory - All project now link to the built solid.lib from the extern project instead of lib/windows - Removed uneeded XCOPYs commands from post-builds - Added conditional Directory building to post-builds - Freetype2 source commit (this is need for the building of a correct MFC linked version of the activeX controller as well as a correct release and debug build of the blender project) - Ftgl is built and linked by the 'extern' project - Intern/Extern project are now exporting their proper header files - PHY_Physics is now linking to the correct set of header files (in build path not source) - Makesdna builds object files into build directory now - Projects are now ignoring the CORRECT versions of the CRT's :) - Renderconverter is now outputting it's obj file to it's own directory instead of /render - Gen_system is now being built to ../kernel - BL_src_cre is now being built to /creator - *.exp and *.ilk are now being cleaned up from linkers - Libpng.dll and zlib.dll are now being copied to the /bin - MTDLL build are now available for the correct projects - ActiveX 3D Plugin now links correctly to solid and freetype2 - Corrected the Preprocessor #define that was labeled incorrectly in FTF_Font and Blender that was causing the FTGL libs to export dll calling conventions. - Changed the solution configurations to 3D Plugin Release, Debug and Blender Release, Debug for internal and external librarys - Changed the solution configurations to 3D Plugin Release, Debug and Blender Release, Debug for blender and added 2 new solutions configurations BlenderPlayer Release, Debug -
2005-02-12Update to the MSVC7 project files (vcproj) for Blender's internal librariesJoseph Gilbert
- set build_install_all as the default project (if you give me a quarter ill tell you how :) - set SoundSystem to it's proper dependencies - updated those silly silly unix path separators - set project warning levels to something not so noisy
2004-05-16Added #!/usr/bin/python standard script identifier to the start of ↵Kester Maddock
SConscript files. Makes text editors identify SConscripts as Python, and syntax highlight properly.