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
2011-10-13formatting edits & remove debug print.Campbell Barton
2011-10-08use newly added ID_BLEND_PATH() in more places.Campbell Barton
2011-09-28whitespace edits, make formatting for functions consustent at least within ↵Campbell Barton
the file.
2011-09-27py apiCampbell Barton
- use Py_ssize_t when dealing with python sequence sizes - dont call PySequence_Size(py_b) in a loop (its slow). - use faster sequence/float parsing in aud.Factory.filter
2011-09-27fix for py/rna api bug:Campbell Barton
PyC_UnicodeAsByte(), used for getting python strings as bytes wasnt clearning utf-8 conversion errors. this would raise an error when getting an operators filepath.
2011-09-26replace strncpy with BLI_strncpy, in some cases strncpy was being misused ↵Campbell Barton
since it doesnt ensure \0 termination. also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-22correct fix for armature selection, also remove international define from ↵Campbell Barton
generic python C funcs.
2011-09-21remove blf.gettext, add blf.unload(font)Campbell Barton
2011-09-20have blf.gettext even when internationalization is disabled (just passes ↵Campbell Barton
through).
2011-09-20i18n: fake_gettext is no longer needed for pythonSergey Sharybin
2011-09-20i18n: code clean-upSergey Sharybin
- Move all translation-related declarations to BLF_translation.h - Reverted some changes to match trunk svn rev40365
2011-09-20modify the python gettext function to pass through the original string when ↵Campbell Barton
no translation is done, this means the cached info such as byte representation and hash will be kept.
2011-09-19Merging r40345 through r40365 from trunk into soc-2011-garlicSergey Sharybin
2011-09-19remove Buffer.list, deprecated before 2.59 release.Campbell Barton
2011-09-15Fixing issues with i18n stuff:Sergey Sharybin
- Make gettext stuff draw-time. so switching between languages can happens without restart now. - Added option to translate visible interface (menus, buttons, labels) and tooltips. Now it's possible to have english UI and localized tooltips. - Clean-up sources, do not use gettext stuff for things which can be collected with RNA. - Fix issues with windows 64bit and ru_RU locale on my desktop (it was codepage issue). - Added operator "Get Messages" which generates new text block with with all strings collected from RNA. - Changed script for updating blender.pot so now it appends messages collected from rna to automatically gathered messages. To update .pot you have to re-generate messages.txt using "Get Messages" operator and then run update_pot script. - Clean up old translation stuff which wasn't used and most probably wouldn't be used. - Return back "International Fonts" option, so if it's disabled, no gettext lookups happens on draw. - Merged read_homefile function back. No need in splitting it. TODO: - Custom fonts and font size. Current font isn't nice at least for russian locale, it's difficult to read it. - Put references to messages.txt so gettext can merge translation when name/description of some property changes.
2011-09-15svn merge -r39834:40222 https://svn.blender.org/svnroot/bf-blender/trunk/blenderSergey Sharybin
2011-09-15New C/Py api utility function PyC_Err_Format_Prefix() which raises an error ↵Campbell Barton
with the existing error as a suffix. Use this to raise errors when assigning a string property fails even though the value to assign *is* a string. Before: TypeError: bpy_struct: item.attr= val: Object.name expected a string type, not str After: TypeError: bpy_struct: item.attr= val: Object.name error assigning string, UnicodeEncodeError('utf-8' codec can't encode character '\udce9' in position 23: surrogates not allowed)
2011-09-08attempt to have a threadsafe version of PyC_ExceptionBuffer didnt work with ↵Campbell Barton
UI script errors, reverting r39886.
2011-09-07use Py_ssize_t rather than int when dealing with list sizes (original patch ↵Campbell Barton
from Fedora but applied changes elsewhere too), also replace PyList_Size with PyList_GET_SIZE where typechecking is already done.
2011-09-03PyC_ExceptionBuffer is now threadsafe, used for converting exceptions into ↵Campbell Barton
reports.
2011-09-01merge with trunk r39834Xiao Xiangquan
2011-09-01spaces -> tabs (configure you're editors right!)Campbell Barton
2011-08-31fix for windows locale settingXiao Xiangquan
2011-08-20floats were being promoted to doubles in quite a few cases (using gcc's ↵Campbell Barton
-Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%.
2011-08-12code clear, insert blf_gettext.c to blf.cXiao Xiangquan
2011-07-29merge with trunk r38787Xiao Xiangquan
2011-07-18script to report deprecated functions of text and their age in days.Campbell Barton
2011-07-17'bgl' python module.Campbell Barton
- add back slicing for buffers, (was previously in 2.4x but not working in py3): buf = bgl.Buffer(...) ls = buf[:] - fix for crash with negative index access not being clamped. - improve repr() function for multi dimensional buffers. - add back 'list' attribute, but print deprecation warning.
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-07-15move mathutils into its own lib.Campbell Barton
2011-07-14merge from trunk 38379Xiao Xiangquan
2011-07-14many mathutils exception types were wrong, went over all exceptions in ↵Campbell Barton
mathutils and double checked the're correct.
2011-07-14Shuffle code so it compiles with MSVC too. (Array of unknown size otherwise).Nathan Letwory
2011-07-14formatting changes for python mathutils module.Campbell Barton
2011-07-14rename bgl.Buffer attribute list to a method, to_list() as used for IDProps, ↵Campbell Barton
also made repr function nicer.
2011-07-14minor changes to bgl.Buffer py classCampbell Barton
- use getset rather then getattr - remove verbose Buffer docstring, better use sphinx docs for this - replace bge.Buffer with the Buffer class and add a __new__ function to the class so it can be called. - improve error messages
2011-07-09fix [#27683] Blender hangs when baking a particle system when a driver is ↵Campbell Barton
present
2011-07-04fix for own error in intersect_line_sphere_2d(), using 3d function on 2d vectorsCampbell Barton
2011-06-27Minor warning cleanup & fixCampbell Barton
- comment/remove assignments from values to themselves. - add case break statements (no functional change but some source code checkers notice). - fix python errors when the sculpt brush is None.
2011-06-26more compact code for recent sphere/line intersection functions.Campbell Barton
2011-06-262d version of line/circle intersec function.Campbell Barton
2011-06-26renamed math functions and made publicCampbell Barton
lambda_cp_line --> line_point_factor_v3 lambda_cp_line2 --> line_point_factor_v2 correction to previous commit function name isect_seg_sphere_v3 --> isect_line_sphere_v3 ... since its not clipped. added a clip argument to the python version of the function.
2011-06-26math func to find the intersection(s) between a segment and a sphere for ↵Campbell Barton
C/python. from python: i1, i2 = mathutils.geometry.intersect_line_sphere(l1, l2, sphere, radius)
2011-06-24merge from trunk #37722Xiao Xiangquan
2011-06-21fix for error in swizzle assignment leaving an unhandled exception.Campbell Barton
2011-06-20handle SpaceType and UserPref popupsXiao Xiangquan
2011-06-17fix for memory leak converting an idproperty group into a dictCampbell Barton
2011-06-17IDProperty python module updateCampbell Barton
- add support for IDProp array slicing, but not resizing. - rename array attribute type to typecode and use chars 'f', 'd', 'i' which match pythons array module. (was using int's which only have a meaning internally). - rename function 'convert_to_pyobject' to 'to_dict' and 'to_list' for IDProp group and array types respectively. - remove 'len' array attribute, calling len(array) is fine.
2011-06-15merge from trunk r37405Xiao Xiangquan
2011-06-02mathutils support for color arithmetic, also some minor whitespace edits. Campbell Barton