Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-16 | add support for mempool/linklist functions. | Campbell Barton | |
2013-08-14 | utility functions to reverse and wrap arrays. | Campbell Barton | |
2013-08-13 | use __builtin_nanf with gcc and clang. | Campbell Barton | |
2013-08-13 | Moved NAN_FLT define to BLI_math, this may come in useful. | Lukas Toenne | |
2013-08-11 | use 'greater/less then or equal to' operators rather then adding 1. | Campbell Barton | |
2013-08-07 | code cleanup: more confusion with 0/NULL/false | Campbell Barton | |
2013-08-07 | code cleanup: more zero as NULL pointers. | Campbell Barton | |
2013-08-06 | Add assert to mul_v3_m3v3 and mul_v2_m3v3, | Sergey Sharybin | |
So they're not likely to be called with bad arguments. | |||
2013-08-06 | use 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-05 | Fix build warnings with clang and UNUSED_RESULT_ATTR (attribute declaration ↵ | Brecht Van Lommel | |
must precede definition). | |||
2013-08-04 | mempool 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-04 | avoid using MEM_reallocN_id directly, add utility macro for freeing. | Campbell Barton | |
2013-08-04 | minor changes to BLI_heap, save some CPU cycles. | Campbell Barton | |
added an assert for incorrect use of BLI_heap_remove | |||
2013-08-03 | skip BLI_STATIC_ASSERT for Coverity builds (caused parse error) | Campbell Barton | |
2013-08-03 | fix for [#36260] 2,300 Objects Makes Blender Unresponsive | Sv. 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-01 | code cleanup: remove unused functions | Campbell 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-01 | fix for BLI_ghash_clear from Sv. Lockal (lockal) | Campbell Barton | |
2013-07-30 | function renaming for own recently added BLI_math functions, suggested by ↵ | Campbell Barton | |
Brecht. | |||
2013-07-28 | add inline functions getting a single axis from mul_m3_v3() | Campbell Barton | |
2013-07-28 | use '_exec' suffix for operator execute callbacks, also picky change to ↵ | Campbell Barton | |
sizeof() use in BLI_array.h | |||
2013-07-28 | add BLI_alloca.h, missed in previous commit | Campbell Barton | |
2013-07-28 | move alloca define into its own header since its not related to BLI_array | Campbell Barton | |
2013-07-28 | bmesh: 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-28 | remove unneeded NULL checks, add one for give_matarar() return value. | Campbell Barton | |
2013-07-27 | code cleanup: remove unused code | Campbell Barton | |
2013-07-27 | code 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-26 | fix 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-26 | fix [#36282] Spin error with non uniform scale | Campbell Barton | |
add support for passing object matrix to bmesh transform operators. | |||
2013-07-26 | optimization: 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-25 | add 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-23 | use binary prefix for file sizes (old todo). | Campbell Barton | |
2013-07-23 | replace 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-23 | remove 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-21 | code cleanup: de-duplicate BLI_ghashIterator_new/init and disable unused ↵ | Campbell Barton | |
text undo print function. | |||
2013-07-21 | code cleanup: add break statements in switch ()'s, (even at the last case). | Campbell Barton | |
2013-07-20 | misc edits | Campbell Barton | |
- fix for missing None check with recent 'Hidden Wire' draw option. - avoid int overflow with mesh selection. - remove ';' outside of functions. | |||
2013-07-20 | revert r58419. caller should do NULL check here. | Campbell Barton | |
2013-07-20 | BGE fix [#36223] Strange page fault of "Game" actuator | Daniel Stokes | |
Adding a NULL check to BLI_ghash_lookup | |||
2013-07-19 | style cleanup: braces/indentation | Campbell Barton | |
2013-07-19 | style 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-19 | code cleanup: use __linux__ define over linux | Campbell Barton | |
2013-07-19 | optimization: avoid extra loop in BLI_mempool_destroy(). free the list inline. | Campbell Barton | |
2013-07-19 | code cleanup: simplify BLI_parent_dir using BLI_join_dirfile | Campbell Barton | |
2013-07-19 | code cleanup: avoid sqrt in isect_seg_seg_v2_point | Campbell Barton | |
2013-07-16 | fix for checking char arrays against NULL, instead check their first ↵ | Campbell Barton | |
character. also remove some dead code (return directly after return). | |||
2013-07-16 | correct 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-16 | revert part of own commit r58254, utf8 isnt stepping by 1 always so use ↵ | Campbell Barton | |
less-than comparison. | |||
2013-07-15 | correct placement of debug memset() for DEBUG_STRSIZE | Campbell Barton | |
2013-07-15 | fix for error in string copy | Campbell 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-15 | debug option (off by default), for BLI_string to help find incorrect sizes ↵ | Campbell Barton | |
being passed in (enable in source files only) |