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-17change CHECK_TYPE_INLINE macro not to add the pointer in the macro.Campbell Barton
2013-08-03skip BLI_STATIC_ASSERT for Coverity builds (caused parse error)Campbell Barton
2013-06-17fix 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-14utility function for calculating smooth groups from sharp edges: ↵Campbell Barton
BKE_mesh_calc_smoothgroups
2013-05-28add BLI_sys_types.hCampbell Barton
2013-05-28optimize mirror merging, remove array reallocation, replace with fixed size ↵Campbell Barton
arrays.
2013-05-26bmesh: replace BLI_array reallocs with alloca, also don't check all faces ↵Campbell Barton
for connecting verts.
2013-05-12bmesh 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-08remove unused define CLAMPTEST, move INPR toCampbell Barton
collision_compute_barycentric(), only place its used.
2013-05-02make rna layer access less cryptic by using ARRAY_HAS_ITEM(), modified this ↵Campbell Barton
to use unsigned offset.
2013-04-23remove negated string macros from BLI_utildefines.h, were unused and can ↵Campbell Barton
just use !STREQ(...)
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-07ruler arc draw clamps to line length and simplify projection.Campbell Barton
2013-03-05patch [#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-03enable triangulation with collada, disable BLI_STATIC_ASSERT for C++.Campbell Barton
2013-02-08Cleanup: 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-31Fix 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-06BLI_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-01Intent 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-01patch [#33331] Time To Start Moving To StdboolCampbell 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-27Fix #33226: error loading .blend files with different endian on Mac. The causeBrecht Van Lommel
was wrong inline and pure attributes on the endian switch function.
2012-11-16code cleanup: replace most DO_MINMAX2 -> minmax_v2v2_v2Campbell Barton
also add UNPACK macros's. handy for printing vectors for eg.
2012-10-27comment testing typechecking code, was causing issues on gcc 4.4 for some ↵Campbell Barton
reason.
2012-10-27use min/max inline functions where MIN2/MAX2 were doing type conversion.Campbell Barton
2012-10-25fix for build error in own commit with non gcc compilers. (and remove ↵Campbell Barton
invalid comment)
2012-10-25add BLI_STATIC_ASSERT macro.Campbell Barton
2012-10-22style cleanup: use more const's in BLI_heap & dpx/cineon style cleanupCampbell Barton
2012-10-22small 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-10Google 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-09code cleanup: make header defines more consistent, JOYSENSOR header guard ↵Campbell Barton
had a typo too.
2012-10-08minor edit to type checking macro to avoid clangs static checker tagging the ↵Campbell Barton
var as possibly NULL.
2012-10-07add type checking for more error prone macros.Campbell Barton
2012-09-08style cleanupCampbell Barton
2012-09-03add endian switch functions to replace macros SWITCH_INT/LONG/SHORT, with ↵Campbell Barton
BLI_endian_switch_int32/int64/float/double...
2012-08-26make 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-09code cleanup: ensure macros require ';' endingsCampbell Barton
2012-07-14add is_quad_convex_v2(), SET_UINT_IN_POINTER, GET_UINT_FROM_POINTER macros & ↵Campbell Barton
some minor edits.
2012-05-28style cleanup: also fix for TIMEIT macroCampbell Barton
2012-05-27code 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-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-03-28style cleanup: for creator.c & more useful assert message (file:line)Campbell Barton
2012-03-22style cleanup: enforce macros using a semicolon.Campbell Barton
2012-03-20rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.Campbell Barton
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-09code 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-26fix for build error with non debug builds from last commit.Campbell Barton
2012-02-17patch [#30227] Various MSVC (32-bit) Warning and Typo FixesCampbell 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-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-01-10Fix regressions in the color management / dither patch.Brecht Van Lommel