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
2013-03-26Fix regression introduced by svn rev55545Sergey Sharybin
After this revision BLI_stringdec worked incorrect in cases there's no digits in original file name, making head one character shorter than it should be. Time to cover BLI with unit-tests?
2013-03-26style cleanup:Campbell Barton
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-24code cleanup: move doxy docs from headers into source. also replace ↵Campbell Barton
strncpy();str[len]=0 with BLI_strncpy() in BLI_stringdec().
2013-03-24fix for struct definition building with msvc2008 and some style cleanup.Campbell Barton
2013-03-22code cleanup: use NULL rather then 0 for pointers, and make vars static ↵Campbell Barton
where possible. also found unintentionally defined enum/struct variables that where only meant to be defining the type.
2013-03-21code cleanup: use bool where values are true/false, for view3d and related ↵Campbell Barton
functions.
2013-03-19add BLI_rcti,f_recenter()Campbell Barton
fix for uninitialized variable use in radial_control_get_properties() and bad cast in bpy api's foreach_parse_args()
2013-03-18Merge of the PyNodes branch (aka "custom nodes") into trunk.Lukas Toenne
PyNodes opens up the node system in Blender to scripters and adds a number of UI-level improvements. === Dynamic node type registration === Node types can now be added at runtime, using the RNA registration mechanism from python. This enables addons such as render engines to create a complete user interface with nodes. Examples of how such nodes can be defined can be found in my personal wiki docs atm [1] and as a script template in release/scripts/templates_py/custom_nodes.py [2]. === Node group improvements === Each node editor now has a tree history of edited node groups, which allows opening and editing nested node groups. The node editor also supports pinning now, so that different spaces can be used to edit different node groups simultaneously. For more ramblings and rationale see (really old) blog post on code.blender.org [3]. The interface of node groups has been overhauled. Sockets of a node group are no longer displayed in columns on either side, but instead special input/output nodes are used to mirror group sockets inside a node tree. This solves the problem of long node lines in groups and allows more adaptable node layout. Internal sockets can be exposed from a group by either connecting to the extension sockets in input/output nodes (shown as empty circle) or by adding sockets from the node property bar in the "Interface" panel. Further details such as the socket name can also be changed there. [1] http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes [2] http://projects.blender.org/scm/viewvc.php/trunk/blender/release/scripts/templates_py/custom_nodes.py?view=markup&root=bf-blender [3] http://code.blender.org/index.php/2012/01/improving-node-group-interface-editing/
2013-03-17code 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-16revert own change: don't use memchr for strnlen, causes problems when the ↵Campbell Barton
len is longer then the string data, instead use strnlen from freebsd. also simplify empty string checks in logic_ops.c
2013-03-16changes to BLI_bufferCampbell Barton
- assert if BLI_buffer_at() is called with an out of bounds value. - add BLI_buffer_resize_data() macro which resizes and returns a pointer to the new array. - warn if missing call to BLI_buffer_free().
2013-03-16code cleanup: quiet some -Wshadow warnings, mix of obvious mistakes and ↵Campbell Barton
harmless global/local naming conflict.
2013-03-15move polygon intersection out of BLI_lasso into BLI_math_geom since its a ↵Campbell Barton
generally useful function. adds: - isect_point_poly_v2() - isect_point_poly_v2_int()
2013-03-14BLI_linklist_free() was incorrectly taking MEM_freeN() as an argument, ↵Campbell Barton
evidentially this works on x86 - but could cause issues later on. add BLI_linklist_freeN() which MEM_freeN's each item.
2013-03-14add BLI_strncpy_rlen(), a clone of BLI_strncpy() that returns the number of ↵Campbell Barton
bytes copied. also move doxy comments for BLI_string.h into the C file.
2013-03-14minor change to BLI_strncpy(). replace strlen() with BLI_strnlen().Campbell Barton
2013-03-14tweaks to clang so blender can build with -WerrorCampbell Barton
2013-03-13Fix #34551: blender crash rendering with save buffers.Brecht Van Lommel
Problem was the new usage of access() on Windows, this doesn't accept X_OK. Also wrapped _waccess so that UTF-8 paths work.
2013-03-13Fix for build error with previous commit, seems the order of #includes ↵Brecht Van Lommel
matters here.
2013-03-13Fix #34626: voxel data texture can't read > 2GB files on Windows.Brecht Van Lommel
Also fixed BLI_fopen not being used for AVI movie files, which meant AVI read could fail reading a file from a path with special characters on Windows.
2013-03-13attempt to quiet warnings for gcc4.2Campbell Barton
2013-03-12Patch [#34373] Use i18n monospace font in Text editor and Python consoleIrie Shinsuke
This patch allows Blender to display i18n monospace font in the text editor and the Python interactive console. Wide characters that occupy multiple columns such as CJK characters can be displayed correctly. Furthermore, wrapping, selection, suggestion, cursor drawing, and syntax highlighting should work. Also fixes a bug [#34543]: In Text Editor false color in comment on cyrillic To estimate how many columns each character occupies, this patch uses wcwidth.c written by Markus Kuhn and distributed under MIT-style license: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c wcwidth.c is stored in extern/wcwidth and used as a static library. This patch adds new API to blenfont, blenlib and blenkernel: BLF_get_unifont_mono() BLF_free_unifont_mono() BLF_draw_mono() BLI_wcwidth() BLI_wcswidth() BLI_str_utf8_char_width() BLI_str_utf8_char_width_safe() txt_utf8_offset_to_column() txt_utf8_column_to_offset()
2013-03-12use gcc warning -Wredundant-decls, exposes some odd/duplicate declarations ↵Campbell Barton
which have been removed.
2013-03-10code cleanup: use '%.*d' with string formatting for variable length number.Campbell Barton
2013-03-10Improvements to addon-prefs key search suggested by Yang Niren.Campbell Barton
- add accent_grave. - strip the search string. - add numpad numbers (currently these match regular numbers). also remove unneeded forward declarations in path_util.c
2013-03-10add STREQ macro (commonly used macro like CLAMP, MAX2, STRINGIFY). Use for ↵Campbell Barton
some areas of the python api, bmesh.
2013-03-10patch [#34103] path_util_split_name_num.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) Simplify implementation of BLI_split_name_num - With some changes of my own to avoid second call to strlen()
2013-03-10patch [#34103] path_util_cleanup_path.patchCampbell Barton
from Lawrence D'Oliveiro Improve implementation of BLI_cleanup_path, including making it behave as documented. "/../home/me" would become "home/me" rather then "/home/me" Also remove redundant BLI_strncpy()
2013-03-09add inline function mul_project_m4_v3_zfac() to get the z-depth value from a ↵Campbell Barton
vector & mat4x4
2013-03-09code cleanup: was using var named 'in' for output.Campbell Barton
2013-03-09code cleanup: move runtime var zfac out of RegionView3D. rename initgrabz() ↵Campbell Barton
-> ED_view3d_calc_zfac() and have it return the zfac to use.
2013-03-09comment unused BLI_move() function, also fixed error where it would delete ↵Campbell Barton
the file even if renaming failed. - found when testing recursive_operation().
2013-03-09patch [#34103] fileops_recursive_operation.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) Fix potential memory leaks in recursive_operation while simplifying cleanup logic.
2013-03-09remove unneeded string formatting for bli_adddirstrings(), noted by Lawrence ↵Campbell Barton
D'Oliveiro.
2013-03-09use 'bool' for BLI_/BKE_ functions.Campbell Barton
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-03-07math: Use len_v3() instead of normalize_v3() for area calculationSergej Reich
We only need the length, avoids unnecessary calculations.
2013-03-07ruler arc draw clamps to line length and simplify projection.Campbell Barton
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-03-05code cleanup: also change BKE_blender.h BLENDER_VERSION_CHAR to 'a' so as ↵Campbell Barton
not to confuse things.
2013-03-05fix for building with msvcCampbell Barton
2013-03-05code cleanup: remove unused argument from bli_builddirCampbell Barton
2013-03-05fix for building with mingw in since recent changes.Campbell Barton
2013-03-05code cleanup: remove unused member of direntry struct, also add include for ↵Campbell Barton
building on osx.
2013-03-05patch [#34103] path_util_split_dirstring.patch, ↵Campbell Barton
path_util_split_dirstring_2.patch, path_util_split_dirstring_3.patch from Lawrence D'Oliveiro (ldo) Get rid of BLI_splitdirstring, replace with calls to BLI_split_dirfile, BLI_split_dir_part and BLI_split_file_part as appropriate.
2013-03-05patch [#34103] path_util_cleanups.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) - Better argument name for BLI_cleanup_path and BLI_cleanup_file - remove redundant BLI_add_slash already done by BLI_cleanup_dir
2013-03-05patch [#34103] storage_bli_dir_contents.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) BLI_dir_contents no longer changes current working directory.
2013-03-05patch [#34103] storage_bli_file_size.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) more efficient implementation of BLI_file_size that doesn't open the file.
2013-03-05patch [#34103] fileops_file_is_writable.patch, fileops_file_is_writable_2.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) More efficient implementation of BLI_file_is_writable using access(2) instead of actually opening file.
2013-03-05patch [#34103] fileops_1.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) Add comments and use of bool type in fileops.c