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
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-04-24Add libMV and Scons support for MinGW-w64, patches by Caleb Joseph with ↵Antony Riakiotakis
slight modifications. Thanks!
2011-08-24svn merge -r39493:39664 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-08-20use ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel ↵Campbell Barton
lite, will also speedup undo. note: only works with CMake, wasn't able to get this working with scons, complains about same file being built in different environments.
2011-05-09copied across changes which were missed by merging.Campbell Barton
2011-03-18scons fixJoseph Eagar
2011-03-18scons fixJoseph Eagar
2011-02-27merge with/from trunk at r35190Joseph Eagar
2011-02-21I swear, it was just an innocence change in guardedalloc!Nathan Letwory
The butterfly wing flap, causing a nice storm in the rest of blender. Now all dependencies should point ok again. CMakers, do double-test.
2010-09-07merge from trunk at r31523Joseph Eagar
2010-09-04merge with trunk at r31523Joseph Eagar
2010-08-30Finally change SConscript tabs to spaces.Nathan Letwory
2010-08-25rename most scons build targets to match cmakeCampbell Barton
2010-08-16Scons:Joerg Mueller
* Should now build again without problems * Fixed scons having problems to execute makes(d/r)na if build path contains spaces
2010-03-09merge with trunk at r27259 and commit of a patch by anthony jones to fix ↵Joseph Eagar
msvc (though further work may be needed because changes made by the merge
2010-02-01this restores building on mingw with Collada support, also it restores cross ↵Tom Musgrove
compiling, thanks to Sergey Sharybin for the patch. Note that the icons for linux cross might not be committed here, if not i'll add them in another commit
2010-01-21Added a new notifyer, NC_SPACE_CHANGED, to signal an editor thatJoseph Eagar
replaces another so it can do updates (e.g. dopesheet editor can sync channel selection). Also coded a simple optimization for allocating small objects, based on mempools. It's #ifdef'd out, you can enabled it by defining OPTIMIZE_SMALL_BLOCKS (e.g. adding -DDOPTIMIZE_SMALL_BLOCKS to your compiler flags). We suffer from a great deal of performance loss from the system allocator (vgroups, ghash, edgehash, the singly-linked list implementation in blenlib, editmesh, and likely a great many areas I'm forgetting), and this is the common solution for handling the many-small-objects problem. It's not really production-ready yet (it's long-term memory consequencers need to be profiled first, and the implementation tweaked as necassary), but for people on systems with slow system allocators it's worth trying. Note that since this creates a guardedalloc<->blenlib link, the build systems need to be updated accordingly (I've already done this for scons, though I'm not sure if the player builds).
2009-10-23merge with trunk/2.5 at r23876Joseph Eagar
[[Split portion of a mixed commit.]]
2009-09-16merge with 2.5/trunk at r23271Joseph Eagar
2009-09-06== SCons ==Nathan Letwory
* makesrna and makesdna now use CFLAGS, CCFLAGS and Linking flags as specified in config. This might help with cross-compile on OSX 10.6 (32bit on 64bit). devroo & jensverwiebe, please test and report.
2009-05-23merge with 2.5 at r20307. note there were some python hacking necassary for ↵Joseph Eagar
this to work, so um hopefully there's not too much cruft from that. [[Split portion of a mixed commit.]]
2009-04-162.5 / SConsNathan Letwory
* make sure makesdna and makesrna work on windows in directories with spaces in them.
2009-03-30merge with 2.5 at r19462Joseph Eagar
2009-03-30editmesh accessor functions. most editmesh access now goes through:Joseph Eagar
EditMesh *EM_GetEditMesh(Mesh *me); void EM_EndEditMesh(Mesh *me, EditMesh *em); as discussed on the mailling list, this is to facilitate migration to bmesh. next step is to merge this this to the bmesh branch. this was done in the 2.5 branch to prevent too great a divergance. also, made makesdna/makesrna work on cygwin/msvc2008/scons.
2009-03-08merge with 2.5 at 19207, plus some half-finished walker stuffJoseph Eagar
2008-12-142.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r17434:HEAD
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-12previous commits showed that the absolute path problem was even deeper. This ↵Nathan Letwory
should fix yet again some of the problems with giving them to BF_BUILDDIR
2008-11-11fix problem with giving absolute paths to BF_BUILDDIRNathan Letwory
2008-11-07=== SCons ===Nathan Letwory
* merge the recent scons changes from trunk, so this means that the same rules now apply: - scons-local available - platform default configs updated - check your user-config.py if you have made a full copy of default config Note: BGE and blenderplayer still not working, but that is normal ;) (so turn them off!)
2008-11-01RNA / Data APIBrecht Van Lommel
This is the first code for the Data API, also known as RNA system in the 2.5 Branch. It does not include a user interface, and only wraps some Scene properties for testing. It is integrated with Scons and Makefiles, and compiles a 'makesrna' program that generates an RNA.c file. http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DataAPI http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA The changes are quite local, basically adding a makesrna module which works similar to the makesdna module. The one external change is in moving genfile.c from blenloader to the makesdna module, so that it can be reused by the RNA code. This also meant changing the DNA makefiles. It seems to be doing dependencies correct still in my tests, but if there is an issue with the DNA not being rebuilt this commit might be the one causing it. Also it seems for scons the makesdna and makesrna modules are compiling without warnings. Not a new issue but this should be fixed. The RNA code supports all types as defined in the Data API design, so in that sense it is fairly complete and I hope that aspect will not have to change much. Some obviously missing parts are context related code, notify() functions for updates and user defined / ID properties.
2008-10-31* Minimum SCons version is now 1.0.0Nathan Letwory
- Code has been changed to reflect this (ie. deprecated functions are not anymore used) * clean up the C and C++ compiler flags mess. - in the environment construction of BlenderLib all the compile flag governing options have been split in the *C*, *CC* and *CXX* containing equivalents. C is for C compiler only flags. CC is for C and C++ compiler flags and CXX is for C++ compiler only flags. All the platform default config files need to be double checked and fixed wherever it looks necessary. Either DIY, or send me a note with needed changes. - a start for the BlenderLib parameter list has been made - all the SConscripts need to be checked and modified to hand in flags properly. * A theeth request: make -jN settable in the config file. - I give you BF_NUMJOBS, which is set to 1 by default. In your user-config.py, set BF_NUMJOBS=4 to have 4 parallel jobs handled. Yay.
2008-10-06* use env.Clone() instead of deprecated env.Copy()Nathan Letwory
2008-05-16Remove PLATFORM_LINKFLAGS for makesdna, was breaking debug builds with MSVC8.Ken Hughes
2008-04-29* make makesdna dependant on DNA header files too, instead of relying on ↵Nathan Letwory
makesdna dependency only. Fix through pointer by jaguarandi. Thanks!
2008-04-28Add BF_X264_CONFIG and BF_XVIDCORE_CONFIG flags to scons, to allow passingKen Hughes
configuration info for cross-compiling to ./configure scripts. Also let makesdna use PLATFORM_LINKFLAGS.
2008-02-06It is now possible to compile a profiling build with mingw+scons. Joshua Leung
Here are the changes I've had to make: * Added default settings for BF_PROFILE and BF_PROFILE_FLAGS for mingw * Made makesdna.c link with profiling flags too. This fixes some linking problems related to guardedmalloc for linking it. I'm not sure if this breaks compiling with BF_PROFILE on other platforms.
2008-01-08* tweak linking priorities - should help for GCC usersNathan Letwory
* some lib renaming
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.
2007-03-05extra space in CCFLAGS was causing problems on some systems.Kent Mein
reported on irc... by bdiego Kent
2007-03-05=== SCons ==Nathan Letwory
* fix by Malcolm Tredinnick for #6148 * some other misc changes by myself.
2006-03-13==SCons==Nathan Letwory
* These changes bring cross-compiling Blender for Windows on Linux one step closer to reality. The 'biggest' change is in makesdna SConscript to make sure a linux native makesdna is built, that can be run, too. Next to that proper checks for env['OURPLATFORM']=='linuxcross' are added in various places. Switch change in pluginapi.c was necessary, and AFAIK it should work like that also on WIN32, if not, slap me. Note: everything *compiles* now nicely, it is just that the final *linking* doesn't work (yet). Anyone who fixes this will be the hero of cross-compilers :)
2006-02-08==SCons==Nathan Letwory
* The only lib that needs change in more than one place (two), and I forgot that, of course.
2006-02-04==SCons==Nathan Letwory
* add REL_CFLAGS and REL_CCFLAGS when not building debug. This adds NDEBUG to compile on Win32 * fix path to makesdna binary
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-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-02Added support for compiling BULLET with scons on windowsSimon Clitherow
using bandoler's patch as a basis (thanks!). A couple of notes: - This is for windows only, I did not have a chance to try linux yet. - SConscript for PHY_Bullet may need tweaking (plus support for other platforms), but at least it's in there :) Any problems, shout :)
2005-05-06* integrate bFTGL with SconsNathan Letwory
* add some ENV = os.environ's here and there (help those who have msvc toolkit installed) Note for OSX users: check from your config.opts the correct info for the precompiled ftgl lib is used.
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.
2004-04-12SCons updates Michel Selten
* Updates to the cygwin build. the dna.c file used to be generated with a full path. Cygwin doesn't like this. The problem was with some cflags and linkflags that are used to build makesdna.exe Hos nicely pointed this out and proposed a solution. Now, these flags are only added to the command when the platform != 'cygwin'. * Updated some variables in SConstruct.