Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-17 | change CHECK_TYPE_INLINE macro not to add the pointer in the macro. | Campbell Barton | |
2013-08-03 | skip BLI_STATIC_ASSERT for Coverity builds (caused parse error) | Campbell Barton | |
2013-06-17 | fix for editmesh transform connected, | Campbell Barton | |
the distance checks could get into a feedback loop so that the result depended on the order of verts/edges. now you can randomize vert/edge/faces and get exactly the same results. also made some internal improvements, - used fixed sized arrays (no need to realloc). - use vertex tag flags rather then a visit-hash. - remove 'tots' array that did nothing (not sure why it was added). | |||
2013-06-14 | utility function for calculating smooth groups from sharp edges: ↵ | Campbell Barton | |
BKE_mesh_calc_smoothgroups | |||
2013-05-28 | add BLI_sys_types.h | Campbell Barton | |
2013-05-28 | optimize mirror merging, remove array reallocation, replace with fixed size ↵ | Campbell Barton | |
arrays. | |||
2013-05-26 | bmesh: replace BLI_array reallocs with alloca, also don't check all faces ↵ | Campbell Barton | |
for connecting verts. | |||
2013-05-12 | bmesh recalculate normals - remove BLI_array reallocation, the max size of ↵ | Campbell Barton | |
the array is known. replace with STACK_* macros (moved to BLI_utildefines.h). | |||
2013-05-08 | remove unused define CLAMPTEST, move INPR to | Campbell Barton | |
collision_compute_barycentric(), only place its used. | |||
2013-05-02 | make rna layer access less cryptic by using ARRAY_HAS_ITEM(), modified this ↵ | Campbell Barton | |
to use unsigned offset. | |||
2013-04-23 | remove negated string macros from BLI_utildefines.h, were unused and can ↵ | Campbell Barton | |
just use !STREQ(...) | |||
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-07 | ruler arc draw clamps to line length and simplify projection. | Campbell Barton | |
2013-03-05 | patch [#34103] | Campbell Barton | |
from Lawrence D'Oliveiro (ldo) More use of bool type, necessitating adding inclusion of BLI_utildefines.h, or moving it up in the inclusion order if it was already included, in various places - storage.c: make some variables only used in bli_builddir local to that - storage.c: BLI_file_descriptor_size should allow 0 as a valid file descriptor - path_util.c: make pointers to non-reentrant storage returned from folder routines const, necessitating making variables holding these returned pointers const elsewhere as well - path_util.c: BLI_string_to_utf8 closes iconv context in case of conversion error - blf_lang.c: fill_locales routine now has its own "languages" local variable to construct paths (was stealing internal storage belonging to BLI_get_folder before) | |||
2013-03-03 | enable triangulation with collada, disable BLI_STATIC_ASSERT for C++. | Campbell Barton | |
2013-02-08 | Cleanup: happily remove no-more-used PY_TRANSLATE RNA prop flag, and related ↵ | Bastien Montagne | |
code (just realized that flag value was wrong, probably own typo in a previous commit :/ ). That "trick" was nice when introduced, but it became kind of a pita since we added translation contexts... | |||
2013-01-31 | Fix UI translation partly missing in scons builds (reported by Leon Cheung ↵ | Bastien Montagne | |
and Gabriel Gazzán on ML, and lockal on IRC, thanks). The problem is that, when HAVE__BOOL is not defined (as it is the case in scons currently), BLI_utildefines.h defines bool as a standard type. Was using signed char, which makes eg "bool foo = 1024" be false (overflow)! Especially nasty when using bitflags (think we have been lucky to not have worse bugs because of that)! So changed fallback bool type to unsigned int. | |||
2013-01-06 | BLI_assert uses printf so stdio.h should be included instead of relying on ↵ | Jason Wilkins | |
it to be included by other headers accidentally | |||
2013-01-01 | Intent to fix windows not compiling after r53480. | Bastien Montagne | |
Looks like _Bool is also a type in std (at least with msvc), so the 'typdef bool _Bool;' generates a name collision... Now using _BLI_Bool as placeholder instead. | |||
2013-01-01 | patch [#33331] Time To Start Moving To Stdbool | Campbell Barton | |
by Lawrence D'Oliveiro (ldo) so BKE_utildefines.h allows use of C99's bool type and true/false. currently scons wont try to use stdbool.h, and works as if its never found. | |||
2012-11-27 | Fix #33226: error loading .blend files with different endian on Mac. The cause | Brecht Van Lommel | |
was wrong inline and pure attributes on the endian switch function. | |||
2012-11-16 | code cleanup: replace most DO_MINMAX2 -> minmax_v2v2_v2 | Campbell Barton | |
also add UNPACK macros's. handy for printing vectors for eg. | |||
2012-10-27 | comment testing typechecking code, was causing issues on gcc 4.4 for some ↵ | Campbell Barton | |
reason. | |||
2012-10-27 | use min/max inline functions where MIN2/MAX2 were doing type conversion. | Campbell Barton | |
2012-10-25 | fix for build error in own commit with non gcc compilers. (and remove ↵ | Campbell Barton | |
invalid comment) | |||
2012-10-25 | add BLI_STATIC_ASSERT macro. | Campbell Barton | |
2012-10-22 | style cleanup: use more const's in BLI_heap & dpx/cineon style cleanup | Campbell Barton | |
2012-10-22 | small optimization for BLI_heap(), give some speedup in decimeter. | Campbell Barton | |
- use unsigned ints only (where mixing signed/unsigned) - turn heap_swap into an inline function, add SWAP_TVAL macro to swap values using a temp value as storage. - added type checking SHIFT3/4 macros also style cleanup for CTR_Map | |||
2012-10-10 | Google Summer of Code project: "Smoke Simulator Improvements & Fire". | Daniel Genrich | |
Documentation & Test blend files: ------------------ http://wiki.blender.org/index.php/User:MiikaH/GSoC-2012-Smoke-Simulator-Improvements Credits: ------------------ Miika Hamalainen (MiikaH): Student / Main programmer Daniel Genrich (Genscher): Mentor / Programmer of merged patches from Smoke2 branch Google: For Google Summer of Code 2012 | |||
2012-10-09 | code cleanup: make header defines more consistent, JOYSENSOR header guard ↵ | Campbell Barton | |
had a typo too. | |||
2012-10-08 | minor edit to type checking macro to avoid clangs static checker tagging the ↵ | Campbell Barton | |
var as possibly NULL. | |||
2012-10-07 | add type checking for more error prone macros. | Campbell Barton | |
2012-09-08 | style cleanup | Campbell Barton | |
2012-09-03 | add endian switch functions to replace macros SWITCH_INT/LONG/SHORT, with ↵ | Campbell Barton | |
BLI_endian_switch_int32/int64/float/double... | |||
2012-08-26 | make SWAP macros typesafe using CHECK_TYPE macro. | Campbell Barton | |
Its unlikely you want to do short -> int, int -> float etc, conversion during swapping (if its needed we could have a non type checking macro). Double that the optimized assembler outbut using SWAP() remains unchanged from before. This exposed quite a few places where redundant type conversion was going on. Also remove curve.c's swapdata() and replace its use with swap_v3_v3() | |||
2012-08-09 | code cleanup: ensure macros require ';' endings | Campbell Barton | |
2012-07-14 | add is_quad_convex_v2(), SET_UINT_IN_POINTER, GET_UINT_FROM_POINTER macros & ↵ | Campbell Barton | |
some minor edits. | |||
2012-05-28 | style cleanup: also fix for TIMEIT macro | Campbell Barton | |
2012-05-27 | code cleanup: defines with braces - end with '(void)0' so callers must end ↵ | Campbell Barton | |
with ';' like normal function. ... without this some editors dont parse the source so well. | |||
2012-05-13 | code cleanup: header cleanup and remove some duplicate defines. | Campbell Barton | |
2012-04-29 | style cleanup: function calls & whitespace. | Campbell Barton | |
2012-03-28 | style cleanup: for creator.c & more useful assert message (file:line) | Campbell Barton | |
2012-03-22 | style cleanup: enforce macros using a semicolon. | Campbell Barton | |
2012-03-20 | rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines. | Campbell Barton | |
2012-03-09 | style cleanup: comment blocks | Campbell Barton | |
2012-03-09 | code cleanup: replace macros VECCOPY, VECADD, VECSUB, INPR - with BLI_math ↵ | Campbell Barton | |
funcs. added copy float/double funcs: copy_v3fl_v3db(), copy_v3db_v3fl(). 2d & 4d too. | |||
2012-02-26 | fix for build error with non debug builds from last commit. | Campbell Barton | |
2012-02-17 | patch [#30227] Various MSVC (32-bit) Warning and Typo Fixes | Campbell Barton | |
made some small edits - removed changes to AVI reading since the data types are apart of the format spec. - absf -> abs for a double value in render code. | |||
2012-02-17 | unify include guard defines, __$FILENAME__ | Campbell Barton | |
without the underscores these clogged up the namespace for autocompleation which was annoying. | |||
2012-01-10 | Fix regressions in the color management / dither patch. | Brecht Van Lommel | |