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-08-16add support for mempool/linklist functions.Campbell Barton
2013-08-14utility functions to reverse and wrap arrays.Campbell Barton
2013-08-13use __builtin_nanf with gcc and clang.Campbell Barton
2013-08-13Moved NAN_FLT define to BLI_math, this may come in useful.Lukas Toenne
2013-08-11use 'greater/less then or equal to' operators rather then adding 1.Campbell Barton
2013-08-07code cleanup: more confusion with 0/NULL/falseCampbell Barton
2013-08-07code cleanup: more zero as NULL pointers.Campbell Barton
2013-08-06Add assert to mul_v3_m3v3 and mul_v2_m3v3,Sergey Sharybin
So they're not likely to be called with bad arguments.
2013-08-06use gcc malloc attribute for low level allocation functions, prevents gcc ↵Campbell Barton
from checking if resulting pointers alias existing pointers, also use sentinel attribute for uiButGetStrInfo so incorrect usage gives a warning.
2013-08-05Fix build warnings with clang and UNUSED_RESULT_ATTR (attribute declaration ↵Brecht Van Lommel
must precede definition).
2013-08-04mempool api cleanup: differentiate mempool functions that allocate a pointer ↵Campbell Barton
lookup table from allocating the data as a contiguous array, call these functions BLI_mempool_as_table(), BLI_mempool_as_array(), the N prefixed versions of these functions return newly allocated arrays.
2013-08-04avoid using MEM_reallocN_id directly, add utility macro for freeing.Campbell Barton
2013-08-04minor changes to BLI_heap, save some CPU cycles.Campbell Barton
added an assert for incorrect use of BLI_heap_remove
2013-08-03skip BLI_STATIC_ASSERT for Coverity builds (caused parse error)Campbell Barton
2013-08-03fix for [#36260] 2,300 Objects Makes Blender UnresponsiveSv. Lockal
- performance of outliner was low because of unoptimal data structures. - now it uses BLI_mempool instead of custom mempool and GHash to make searches for duplicates faster. - also fix undesired behaviour of BLI_mempool_as_arrayN thanks to Campbell Barton and Lukas Tönne for helping me get a better fix put together.
2013-08-01code cleanup: remove unused functionsCampbell Barton
- IsectLLPt2Df - isect_point_quad_uv_v2 - isect_point_face_uv_v2 These are obsoleted by resolve_tri_uv, resolve_quad_uv also add attributes for unused function results for some math functions.
2013-08-01fix for BLI_ghash_clear from Sv. Lockal (lockal)Campbell Barton
2013-07-30function renaming for own recently added BLI_math functions, suggested by ↵Campbell Barton
Brecht.
2013-07-28add inline functions getting a single axis from mul_m3_v3()Campbell Barton
2013-07-28use '_exec' suffix for operator execute callbacks, also picky change to ↵Campbell Barton
sizeof() use in BLI_array.h
2013-07-28add BLI_alloca.h, missed in previous commitCampbell Barton
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-28bmesh: skip error checks when building in release mode (minor speedup),Campbell Barton
also more strict use of BLI_array_declare(), only allow after array is declared.
2013-07-28remove unneeded NULL checks, add one for give_matarar() return value.Campbell Barton
2013-07-27code cleanup: remove unused codeCampbell Barton
2013-07-27code cleanup: remove redundant NULL checks and avoid writing to the source ↵Campbell Barton
string. also rename BLI_replacestr() -> BLI_replacestrN() since it returns an allocated buffer.
2013-07-26fix for error in BLI_buffer_declare_static(), the stack variable wasn't the ↵Campbell Barton
right size, from original commit 53440. Caused UV stretch display to fail.
2013-07-26fix [#36282] Spin error with non uniform scaleCampbell Barton
add support for passing object matrix to bmesh transform operators.
2013-07-26optimization: call one bmesh operator for rotate (not 3).Campbell Barton
added pivot_m4() utility function since rotating about an arbitrary point is handy.
2013-07-25add api function BLI_path_append to add to a path (and ensure a seperator), ↵Campbell Barton
replaces BLI_join_dirfile when the dir and the destimation were the same.
2013-07-23use binary prefix for file sizes (old todo).Campbell Barton
2013-07-23replace use of strcat() where the string offset is known.Campbell Barton
also correct bad logic with converting a textblock to 3d-text, bytes-vs-number of chars wasn't handled right.
2013-07-23remove the pointer from BLI_bitmap's typedef, Campbell Barton
hides that an arg passed is really an array which may be modified by other functions.
2013-07-21code cleanup: de-duplicate BLI_ghashIterator_new/init and disable unused ↵Campbell Barton
text undo print function.
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-20misc editsCampbell Barton
- fix for missing None check with recent 'Hidden Wire' draw option. - avoid int overflow with mesh selection. - remove ';' outside of functions.
2013-07-20revert r58419. caller should do NULL check here.Campbell Barton
2013-07-20BGE fix [#36223] Strange page fault of "Game" actuatorDaniel Stokes
Adding a NULL check to BLI_ghash_lookup
2013-07-19style cleanup: braces/indentationCampbell Barton
2013-07-19style cleanup: switch statements, include break statements within braces & ↵Campbell Barton
indent. also indent case's within the switch (we already did both of these almost everywhere)
2013-07-19code cleanup: use __linux__ define over linuxCampbell Barton
2013-07-19optimization: avoid extra loop in BLI_mempool_destroy(). free the list inline.Campbell Barton
2013-07-19code cleanup: simplify BLI_parent_dir using BLI_join_dirfileCampbell Barton
2013-07-19code cleanup: avoid sqrt in isect_seg_seg_v2_pointCampbell Barton
2013-07-16fix for checking char arrays against NULL, instead check their first ↵Campbell Barton
character. also remove some dead code (return directly after return).
2013-07-16correct own incorrect check bmesh edgerin subdivide, also add missing break ↵Campbell Barton
in orthogonalize_m3 though this one wouldn't effect release builds.
2013-07-16revert part of own commit r58254, utf8 isnt stepping by 1 always so use ↵Campbell Barton
less-than comparison.
2013-07-15correct placement of debug memset() for DEBUG_STRSIZECampbell Barton
2013-07-15fix for error in string copyCampbell Barton
- BLI_strncpy_wchar_from_utf8 wasn't NULL terminating the destination string, caused uninitialized memory use in BPY_python_start(). - BLI_strncpy_wchar_as_utf8 could write one byte past the buffer bounds.
2013-07-15debug option (off by default), for BLI_string to help find incorrect sizes ↵Campbell Barton
being passed in (enable in source files only)