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-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!
2007-12-17Reverting to 2_2x BPYMartin Poirier
I was careful in selectively rolling back revisions, but if you've committed changes unrelated to BPY mixed with BPY changes, I might have reverted those too, so please double check.
2007-05-25Many long standing memory leaks fixed in the BPY api.Campbell Barton
Data from Armature.c and logic.c still leaks. Mostly todo with PyList_Append adding a refcount and the bpython api not decrefing. Also added some features needed to fix a bug in mesh_clean.py (ob.pinShape and ob.activeShape)
2007-05-21=== Bugfix ===Martin Poirier
Coverity bugfix (missing NULL check) and ref counting errors. (on module constants, so not really leaking, just not good.)
2006-12-27Python APIKen Hughes
---------- Bugfix: make Constant mp_subscript method return key error if key not found in dictionary.
2006-11-17Get rid of various warnings with gcc under linuxKen Hughes
2006-04-20Replaced constant_getAttr() with constant_getAttro(), and added extraKen Hughes
code so that the .keys(), .items() and .values() methods worked.
2006-01-16clean up some warnings in bpy codeStephen Swaney
2005-11-30-- Bugfix #3186: Fix memory leaks caused by multiple calls toKen Hughes
PyDict_SetItemString() with objects that were not properly decrefed afterwards. Due to the number of places this was used, I added a wrapper EXPP_dict_set_item_str() to gen_utils.c to handle it. This started as a scriptlink bug, due to how many times scripts were being executed I think it just magnified how bad the memory leak in BPy was. Animating the blend attached with this bug report would cause memory to grow by about 3MB for every 280 frames. After the patch, memory did not appear to grow at all (or at least not noticably using Unix's ps and top utils). Since many of the PyDict_SetItemString() calls were in initialization modules I think my tests executed most of the changed code, but would appreciate script users really giving feedback.
2005-11-19-- fix printing of constant dictsKen Hughes
-- remove "TF_" from constant names in M_Mesh_FaceTranspModesDict()
2005-11-16-- fix bug in constant_repr() which printed the final key twiceKen Hughes
2005-11-08-- Previous commit using PyDict_Keys left new reference around. Change to useKen Hughes
PyDict_GetItem() instead, and clean up string manipulation.
2005-11-08*work around for PyDict_ContainsJoseph Gilbert
2005-11-07*change to the way constants are printedJoseph Gilbert
2005-08-24Variable was defined in a header file (constant_Type), resulting inChris Want
'multiply defined symbol' warning on IRIX for every file that included that file. Moved to a C source file.
2005-08-17- update to constant.cJoseph Gilbert
- give it the key/items interface - creates some factory functions for const generation - genutils methods - method for getting module constants - method for throwing errors with a print string - updates to function names - clean up interpreter launch a bit
2005-07-18Header file clean up and warning fixesJoseph Gilbert
- Mostly this cleans up the #includes and header files in the python project. - Warning fixes are mostly casting issues and misc fixes. General warning clean up. - #include Python.h MUST come as the first include to avoid the POSIX redefine warning in the unix makefiles - fno-strict-aliasing flag added to makefile to fix a unavoidable type punning warning in types.c
2004-09-26Another round in the Great BPy Cleanup:Stephen Swaney
Run everything thru indent to cleanup spaces vs tabs. Clean up some of the comments by hand. BGL.c was not touched due to all that macro wackyness. There are no functional changes to the code. Pre-indent versions of source are tagged with tag bpy-cleanup-20040925 , just in case.
2004-09-18One small part of the Great Bpy Code Cleanup.Stephen Swaney
Add cvs $Id tag to files
2004-06-07Replace deprecated methods from old api:Stephen Swaney
PythonReturnErrorObject PythonIncRef Fix some compiler warnings about missing initializers in method tables.
2003-06-28- More renaming all around to follow our conventionsWillian Padovani Germano
- Implemented partially Blender.Sys - Worked on issues related to sys, path - Took away most "debug" printfs
2003-06-03* Fix compilation errors on Windows hopefully. Implemented the suggestion doneMichel Selten
by Aphex - thanks. * Added the doc strings to the Object module. * Added more functionality to the Object module.
2003-05-28* Added submodule Blender.MaterialWillian Padovani Germano
* Added submodule Blender.Types: Blender Type definitions can't be static anymore. * Some cleanup of now unused defines in Camera.h and Lamp.h
2003-05-23* Fixed bug in BPY_interface.c (exppython):Willian Padovani Germano
Found that syntax errors in scripts were giving SIGSEGV, my mistake. * Added new helper type: rgbTuple. This is used to represent and deal with rgb color triplets in modules like Material and Lamp. Updated Lamp module to use it.
2003-05-17* Added submodule NMesh:Willian Padovani Germano
Partially implemented. Most of it comes from opy_nmesh.c, plus needed changes to integrate in into exppython. * Added helper submodule vector, needed by NMesh. * Minor changes in other files.
2003-04-08The following updates have been contributed by Willian P. Germano:Michel Selten
* Implemented BPY_end_python function. * Implemented error handling. This results in rerunning a script after an error has occurred. No need to restart blender anymore. * Camera module supports dir() * variable assignment now calls the Python equivalent function - this has type checking and should be safer now. * Implemented the Lamp module. Used the Camera module as a template. * Implemented the Image module. * Added EXPP_ClampFloat and EXPP_intError functions to gen_utils.[ch] * Implemented 'constant' object.