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-18Used GET_INT_FROM_POINTER to get rid of many warnings that only occurred ↵Campbell Barton
with 64bit os's Also use Py_ssize_t which we might need to define for older python's
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-06-28Mesh.c - added missing error checking for vert ranges and that verts are valid.Campbell Barton
Mesh.c - removed unneeded checks for creating ints. Text3d.c - own error - setting the 3d text didnt work, 1 liner fix.
2007-06-16Python API, more METH_VARARGS to METH_OCampbell Barton
2007-06-16Python PyMethodDef supports single argument methods (METH_O) but was using ↵Campbell Barton
METH_VARARGS everywhere and getting the single args from the tuple. Use METH_O where applicable.
2007-05-28Adding Text3d.JUSTIFY, thanks "Oliver Schneider" <oliffm@web.de>Joilnen Leite
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-03-26Python APICampbell Barton
made all libdata hashable - use the object type,name and lib for the hash. added .tag to libdata so we can test if data's been processed without using dictionaries added libdataseq.tag (write only) setting the tag flag (which can always be dirty)
2007-03-15removed unneeded dealloc functionsCampbell Barton
2007-03-15removed duplicate functionality, macro's and functions existed to check a ↵Campbell Barton
PyObjects type, now only use macro's
2007-03-11made all data adding functions accept a name such as add_mesh or add_curve, ↵Campbell Barton
previously only some datatypes adding functions accepted a name. also updated the Bpy.py epydocs
2007-03-11moved python functions that deal with blender libdata into gen_library.c ↵Campbell Barton
from gen_utils and BPY_interface small cleanup, removed unused functions and explicetly cast pointers..
2007-03-10MainCampbell Barton
* Added bpy.*.new() - works for all except sound and font types * Added bpy.*.load() - works for sound, font and image types Text3d - removed unneeded check.
2007-03-03Added functions to Text3d that allow modifying of text framesCampbell Barton
* .addFrame() * .removeFrame(index) getseters * .activeFrame * .totalFrames * .frameWidth * .frameHeight * .frameX * .frameY
2007-02-25World.cCampbell Barton
* moved to getseters with id attribs * added 2x missing checks for list size when parsing args. Text3d.c * use getseters with id attribs * added a comparison function
2006-12-27renameing datablocks was imposing a name limit on the python side.Campbell Barton
This isnt needed because the limit is alredy being set by rename_id() some other minor changed- use None returning maro
2006-07-01bugfix for #4533 Text3d.Get() fails in retrieving Text3d objectsStephen Swaney
The objects were returned properly, however the repr() method was printing "" making it look like the Get() failed."
2006-05-28a little clean of no used lineJoilnen Leite
.
2006-04-24warnings cleanup for the python project on windowsJoseph Gilbert
2006-04-16a little spring cleaning to remove some compiler warnings forStephen Swaney
implicit declarations, redundant redeclarations, missing initializers, nested externs and other cruft. Cleaned up includes and moved extern _Type decls from Types.h into Types.c since that is the only place where they are needed now. Did not touch Ipo.[ch] since work is on-going there.
2006-02-13assignment typo: had == instead of =Kent Mein
Reported by jkw on the forums. source/blender/python/api2_2x/Text3d.c Kent
2005-12-07-- Bugfix #3551: fix memory corruption problem if Text3d.setText() calledKen Hughes
while selected text is in edit mode. (Future note: now that there is Unicode support in Blender, we need to add support for it in the BPy Text3d API.)
2005-09-29Text3d.c NULL pointer check added to get rid of MEM_freeN warning.Mika Saari
2005-09-29cu->strinfo reallocation added to Text3d.c, so when setText is executedMika Saari
the strinfo is reallocated to include strlen(cu->str) amount of free memory
2005-09-29Fix Python API to correctly create Text3D objects. This is just aAlexander Ewering
temporary fix (duplicating code again), the *real* fix would be to once make one central function to create and init a text object for all places... I also tried to introduce compatibility code to be able to load old files with broken text objects (cu->tb == NULL due to missing init code). Hope it works :)
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
2005-07-09 - fix what appeared to be obvious bug, "if (fclose) fclose(file)" ->Daniel Dunbar
"if (file) fclose(file)", Text3d.c owner should check.
2005-06-12Scripts:Willian Padovani Germano
- Campbell Barton updated his Wavefront obj importer; - Jean-Michel Soler updated his paths import (eps part). BPython bug fixes: - oldie found by Ken Hughes: reference count of two pyobjects not being decremented in slider callback (Draw.c): http://projects.blender.org/tracker/index.php?func=detail&aid=2727&group_id=9&atid=127 - Gergely Erdelyi found that setText() in Text3d module was not updating str length var, leading to mem corruption and provided a patch: http://projects.blender.org/tracker/?func=detail&aid=2713&group_id=9&atid=127 - doc updates (suggested by Campbell) Thanks guys.
2005-06-04new round of warning fixes. we are now down to 24 with Xcode on blenderJean-Luc Peurière
alone with the following flags : -Wall -Wno-char-subscripts -Wno-missing-braces. the only one still worrying me is in rand.c line 57 : rand.c:57: integer constant is too large for "long" type but i have no clue about how correct cross-compiler and 32/64 bits friendly see also my mail to commiter list for signed/unsigned issues
2005-05-05erased headers dirent.h and unistd.hJoilnen Leite
.
2005-05-05added load font support to Text3d submoduleJoilnen Leite
.
2005-03-26Updated Bpy method Object.getData() now supports new Text3d type.Stephen Swaney
Contributed by Johnny Matthews.
2005-03-19- patch submitted by guitargeekJoseph Gilbert
-includes: *Text3d accessors - ablity to manipulate FONT objects through python *update to Object.link - calls text_to_curve upon ob_font link for drawing *update to constant.h - constant type checking define *update to curve.c - clamp values on getters/setters *clean up of Text3d module
2005-03-09big warning hunt commitJean-Luc Peurière
lot of casts, added prototypes, missing includes and some true errors
2005-03-07fix warnings about implicit declarations.Stephen Swaney
overlooked by being in a hurry.
2005-03-06New Bpy type Text3d for accessing Blender's Font objects.Stephen Swaney
Contributed by Joilnen Leite (pidhash).