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
2014-11-14Add Murmur2A hashing feature to BLIBastien Montagne
Murmur2a is a very fast hashing function generation int32 hashes. It also features a very good distribution of generated hashes. However, it is not endianness-agnostic, meaning it will usually generate different hashes for a same key on big- and little-endian architectures. Consequently, **it shall not be used to generate persistent hashes** (never store them in .blend file e.g.). This implementation supports incremental hashing, and is a direct adaptation of reference implementation (in c++): https://smhasher.googlecode.com/svn-history/r130/trunk/MurmurHash2.cpp That cpp code was also used to generate reference values in gtests file. Reviewers: sergey, campbellbarton Reviewed By: campbellbarton Projects: #bf_blender Differential Revision: https://developer.blender.org/D892
2014-09-28GTest: polyfill2dCampbell Barton
Collection of test cases from libGDX and our own tracker Tests: - combine triangle area matches polygon area. - tris have same winding. - tris don't have duplicates. - correct number of internal & boundary edges. - degenerate polys still give topologically correct output. also checks all possible start-vert offsets, forwards and backwards. optional OBJ output, for debugging.
2014-09-28BLI_Stack add BLI_stack_peek, BLI_stack_discardCampbell Barton
also remove own incorrect assert
2014-08-05Fix incorrect comments in listbase, add unit test to verify changeNicholas Bishop
Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D708
2014-07-19Cleanup: test namingCampbell Barton
2014-07-17Add thousands separators to scene stats (D646)Campbell Barton
by januz with own modifications
2014-07-15BLI_stack: various small additionsCampbell Barton
- add BLI_stack_count - add BLI_stack_pop_n to pop into an array - add BLI_stack_push_r, which returns a pointer that can be filled in Also remove sanity check in BLI_stack_pop, assert if the stack is empty.
2014-07-08BLI_string, dont pass unicode to ascii BLI_str_partition functionsCampbell Barton
2014-07-04Add (r)partition funcs to BLI_string, to get left-most/right-most first ↵Bastien Montagne
occurence of delimiters. Inspired by Python (r)partition str functions. Also added some Gtest cases for those new funcs. Reviewed by Campbell Barton, many thanks!
2014-06-30Add BLI_stack testCampbell Barton
2014-06-28CMake: update source filesCampbell Barton
2014-06-22GTest now works without buildinfoCampbell Barton
2014-06-19Add a bmesh_core_test, a start at testing bmesh functionality.Howard Trickey
Needed to make the blender link libraries a global property now that tests are parallel to source directory. Current sort order for blender link libraries doesn't work for tests that start with few defined symbols. Doubling the lib list works, but a TODO to find a better way (probably using CMake's own mechanism for tracking dependencies).
2014-06-19Add brief license headers to testsCampbell Barton
These are effectively public-domain, but use apache2.0 to avoid adding new licenses
2014-06-19Use Blender codestyle, not Google's one!Sergey Sharybin
2014-06-19Add unit tests for aligned allocSergey Sharybin
This was really handy on initial work of aligned alloc and would be handy as well when we'll need to support arbitrary alignment on Apple platforms.
2014-06-18Some WITH_TESTS weer not renamed to WITH_GTESTSergey Sharybin
2014-06-18GTest unit testing frameworkSergey Sharybin
Currently covers only small set of functionality.