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
2014-08-13SpellingCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (python)Campbell Barton
2013-11-26User Interface: don't show macro args in tooltipsCampbell Barton
was often making much too big strings to show in a tip.
2013-11-07Fix [#34675] *AFTER 2.69* Info view shows duplicate operators with incorrect ↵Bastien Montagne
values of args Refactored a bit WM api to generate operator's pystring, now it can also handle correctly macro operators. Thanks to Campbell for the review!
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-03-07Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It isAntony Riakiotakis
always used in that context so we can at least avoid reverting it twice :p.
2013-01-07code cleanup: warnings and use stdbool for bpy* funcs.Campbell Barton
2012-08-22style cleanupCampbell Barton
2012-07-17code cleanup: spellingCampbell Barton
2012-06-28option so operators can be executed with undo enabled (and redo).Campbell Barton
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-03-27style cleanup: py apiCampbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2011-12-26formatting edits only to use more consisted styleCampbell Barton
2011-11-26minor bpy api editsCampbell Barton
- strict check for rna properties - formatting edits (120 line width) - use PyDoc_STRVAR macros for getset docstrings
2011-11-05documentation - brief descriptions for bpy api files.Campbell Barton
2011-11-03python string conversionCampbell Barton
- use _PyUnicode_AsStringAndSize where possible - use %R for PyErr_Format(...) rather then running repr on the object explicitly - use const char
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-20BLI_ghash.h was including BLI_blenlib.h, remove from ghash header and ↵Campbell Barton
include in each file
2011-10-13formatting edits & remove debug print.Campbell Barton
2011-10-05filter RNA classes for translation (removes over 1300 lines from messages.txt)Campbell Barton
- omit operators tagged as INTERNAL - omit classes for internal use: Event, Context, Property, Function, Window.
2011-08-26file-selector: when converting operator arguments to the file selector, ↵Campbell Barton
wasnt making paths absolute (abs paths are made relative when converting the other way).
2011-08-25error when a python operator gave an incorrect return value was near ↵Campbell Barton
useless, re-raise a more comprehensive error which includes the operator name.
2011-08-11use ghash for operator and menu types, was doing string lookup in the ↵Campbell Barton
operator list (containing over 1000 items) for each button draw. gives small speedup for UI drawing and overall startup time.
2011-08-05ifdef out support for for python owning and freeing BPy_StructRNA because ↵Campbell Barton
this is only used for doc generation and it makes _every_ blender/python instance 4 bytes bigger - vertex/bezier point/object/scene/group etc.
2011-08-04fix [#28114] Render CrashCampbell Barton
existing check for driver to use GIL was not thread safe and could cause, details in the report. This bug was caused by a check to avoid hanging, a fix for [#27683] that worked in 2.4x because the UI didn't use python to draw while rendering. Apply a different fix for [#27683], when calling an operator, call PyEval_SaveThread(), then PyEval_RestoreThread() so the GIL can be aquired by threads started by the operator - in this case bake starting a thread that evaluates drivers.
2011-05-10remove some duplicate declarationsCampbell Barton
2011-04-30whitespace edits for bpy api, split some really long lines.Campbell Barton
2011-03-22operators called from python were not getting their reports back into python ↵Campbell Barton
errors. eg: - console calls operator - operator calls report - report went into header rather them back into the console as an error.
2011-03-20fix for crash when running WM_OT_read_factory_settings() from a script and ↵Campbell Barton
then importing.
2011-03-19C, style changes (mostly white space edits), no functional change.Campbell Barton
2011-03-12py/rna: BPy_reports_to_error() now takes the exception type as an argument ↵Campbell Barton
and returns -1 as an error value
2011-03-02move anim functions out of bpy_rna.c, its getting too big.Campbell Barton
2011-02-27doxygen: blender/python tagged.Nathan Letwory
2011-02-18- clear some warningsCampbell Barton
- rename layout.operator_enums -> operator_enum (since we have operator_menu_enum, only called in 4 places)
2011-02-18py api was raising SystemError exception incorrectly, this is intended for ↵Campbell Barton
internal interpreter problems. Replace most with RuntimeError.
2011-02-14python api renaming and added headers for some files which didnt have one, ↵Campbell Barton
no functionality change.
2011-02-01fix for 2 segfaults running in background mode.Campbell Barton
- operators which reload G.main would crash blender if called from python and then accessed bpy.data.* - WM_read_homefile_exec was setting the contexts Scene to NULL as a signal for the event system, this didnt work in background mode, crashing when property update functions expected scene to be set.
2011-02-01workaround [#25845] Empty UI panelsCampbell Barton
- now writing to RNA is disabled when inside render() call. - disallow calling operators when writes are disabled. Rendering runs in a thread so running operators from the thread is not safe unless rendering becomes a blocking operator again.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-31update python api with changes from Joshua's commit r33917. translate ↵Campbell Barton
reports into python errors.
2010-12-07pass along the context to extension functions, this was already being done ↵Campbell Barton
in all cases except for the render engine. this allows python to NULL its internal context while scripts are not running.
2010-11-23minor edits to exception formatting (remove ... or \n from suffix)Campbell Barton
2010-11-23partial fix for [#23532]Campbell Barton
- Python calling operators didn't run WM_operator_properties_sanitize() so enum functions called from python were given a NULL context. - PROP_ENUM_NO_CONTEXT and PROP_NEVER_NULL used the same value in the enum (possible conflict).
2010-11-07better exception check for calling operators. non dict/None values were ↵Campbell Barton
being treated as None.
2010-11-04fix to allow [#24009] to be fixed.Campbell Barton
WM_operator_poll() could fail in cases WM_operator_name_call() would succeed because calling the operator would setup the context before calling poll. this would result in python raising an invalid error or menu items being greyed out. now python can also check with an operator context: bpy.ops.object.editmode_toggle.poll('INVOKE_SCREEN')
2010-10-30use PyImport_ExtendInittab for py module initialization rather then adding ↵Campbell Barton
to sys.modules directly, no functional change.
2010-10-14UNUSED() macro so -Wunused-parameter can be used with GCC without so many ↵Campbell Barton
warnings. applied to python api and exotic.c, removed some args being passed down which were not needed. keyword args for new mathutils types were being ignored when they should raise an error.