Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-06 | PyAPI: add PyList_APPEND | Campbell Barton | |
This appends while giving ownership to the list, avoiding temp assignment. This matches PyList_SET_ITEM which bypasses refcount's Note, this also reduce code-size, Py_DECREF is a rather heavy macro. | |||
2015-01-06 | PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RET | Campbell Barton | |
Setting all values of a tuple is such a common operation that it deserves its own macro. Also added Py_INCREF_RET to avoid confusing use of comma operator. | |||
2015-01-01 | cleanup: redundant casts & const cast correctness | Campbell Barton | |
2014-12-18 | correct recent cleanup for id-property types | Campbell Barton | |
2014-11-24 | SCons: correct include for win, also minor cleanup | Campbell Barton | |
2014-11-23 | Refactor: BLI_path_util (part 2) | Campbell Barton | |
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util | |||
2014-11-14 | Fix T42593: Rigify crash when I press "Generate" - corrupted IDGroup's ↵ | Bastien Montagne | |
listbase of children Nothing related to rigify actually, recent hack in py handling of IDProp (rB3346ab03) was breaking integrity of IDGroup's listbase of children IDProps... Took me hours to nail this down, should have bisected for once. :/ | |||
2014-11-10 | Fix/workaround T37073: Crash updating custom props visible in the UI | Campbell Barton | |
2014-10-08 | Ghost Context Refactor | Jason Wilkins | |
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately. | |||
2014-08-28 | Add debug information for maximum opengl limits in system info | Antony Riakiotakis | |
generation. | |||
2014-08-11 | Fix compilation error with debug scons | Sergey Sharybin | |
The issue is that we've got hell with DEBUG and _DEBUG, theu're defined really inconsistent acros CMake and SCons. Used more reliable NDEBUG definition for IDP_spit. | |||
2014-07-19 | Defines: replace ELEM3-16 with ELEM(...), that can take varargs | Campbell Barton | |
2014-07-01 | Python: remove redundant casts | Campbell Barton | |
2014-06-18 | Hopefully fix compilation with old MSVC2008/WIN32... | Bastien Montagne | |
2014-06-17 | New python API for units handling. | Bastien Montagne | |
Exposes all supported unit systems & types, and to_value()/to_string() functions. Reviewed and enhanced by CampbellBarton, many thanks! Differential Revision: https://developer.blender.org/D416 | |||
2014-06-16 | Use ARRAY_SIZE to replace (sizeof(a) / sizeof(*a)) | Campbell Barton | |
2014-06-16 | Fix Python fails to execute text-blocks including non-mbcs chars (T35176, D595) | Tamito Kajiyama | |
2014-06-03 | Code cleanup: replace macro with function to reduce binary size | Campbell Barton | |
2014-04-30 | Code cleanup: remove unused includes | Campbell Barton | |
Opted to keep includes if they are used indirectly (even if removing is possible). | |||
2014-04-30 | Fix T35176: Python fails with blend files from non-ASCII paths | Campbell Barton | |
Thanks to Tamito for updating the patch to support Freestyle! | |||
2014-04-30 | Python: move to version 3.4x on all platforms | Campbell Barton | |
2014-04-28 | PyC_RunQuicky: Print filename when its missing | Campbell Barton | |
2014-04-26 | Code cleanup: use 'const' for arrays (python) | Campbell Barton | |
2014-04-01 | Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define | Campbell Barton | |
2014-02-22 | Code cleanup: style | Campbell Barton | |
2014-02-14 | Py API: refactor py text compiling into its own function | Campbell Barton | |
2014-01-27 | Code cleanup: use booleans where appropriate | Campbell Barton | |
2014-01-06 | Python API: utility function for filling a tuple with a single value. | Campbell Barton | |
2013-12-23 | Code Cleanup: style | Campbell Barton | |
2013-12-23 | Move python threading stuff to own file in bf_python_ext | Sergey Sharybin | |
This way blender player can easily use BPY_thread_save/restore. Not so much important for master branch, but crucial to solve linking issues in threaded depsgraph branch. | |||
2013-12-02 | Blender Font (BLF): add length argument to string width/height functions | Campbell Barton | |
This also fixes a crash editing buttons longer then UI_MAX_DRAW_STR | |||
2013-11-17 | python api internals: no need to set the stop-iter exception string. | Campbell Barton | |
2013-11-08 | fix for crash when deleting from an id property, with a non-string key. | Campbell Barton | |
2013-10-17 | add local _PyLong_AsInt() needed for python older then 3.3.2 | Campbell Barton | |
2013-10-17 | add typechecks when assigning id-property arrays from python (overflows and ↵ | Campbell Barton | |
errors weren't detected) reduce/simplify exceptions more. | |||
2013-10-17 | simplify & improve error handling for id-property python-api. | Campbell Barton | |
2013-10-17 | fix [#37105] Long int IDproperties produces errors at weird spots. | Campbell Barton | |
2013-10-16 | add IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), ↵ | Campbell Barton | |
MEM_freeN(). | |||
2013-09-20 | correct include guards and add checks in check_style_c.py for them. | Campbell Barton | |
2013-09-19 | replace macro PYC_INTERPRETER_ACTIVE for PyC_IsInterpreterActive() function ↵ | Campbell Barton | |
call, (indirectly referenced Python define of ~30 lines, most were optimized out but still caused some code bloat). | |||
2013-07-09 | minor improvements | Campbell Barton | |
- calc normals only check flag when needed. - keymap, dont get name unless its needed. - keymap, avoid property lookup. - idprop debug print, include pointer, helpful for troubleshooting. | |||
2013-07-02 | remove nan copyrights from code added since blender become opensource (copy ↵ | Campbell Barton | |
paste errors), also remove BKE_script.h | |||
2013-05-28 | move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading) | Campbell Barton | |
remove MEM_sys_types.h which was a duplicate. | |||
2013-03-17 | code cleanup: add 'const' to headers to quiet msvc warnings, also remove ↵ | Campbell Barton | |
(char *) casts that aren't needed now we're on Python3.3 | |||
2013-03-10 | add STREQ macro (commonly used macro like CLAMP, MAX2, STRINGIFY). Use for ↵ | Campbell Barton | |
some areas of the python api, bmesh. | |||
2013-03-09 | code cleanup: favor braces when blocks have mixed brace use. | Campbell Barton | |
2013-02-19 | minor change to own recent commit with transform fcurve centers and some ↵ | Campbell Barton | |
style edits and typo corrections. | |||
2013-02-06 | fix for building blender as a python module, | Campbell Barton | |
changes to internal import behavior of py3.3 broke it. | |||
2013-02-06 | some fixes for building blender as a python module again (wip, more work ↵ | Campbell Barton | |
needed). | |||
2013-01-09 | style cleanup | Campbell Barton | |