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
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2021-12-09Cleanup: move public doc-strings into headers for 'blenlib'Campbell Barton
- Added space below non doc-string comments to make it clear these aren't comments for the symbols directly below them. - Use doxy sections for some headers. - Minor improvements to doc-strings. Ref T92709
2021-07-20Cleanup: use single back-tick quoting in commentsCampbell Barton
While doxygen supports both, conform to our style guide. Note that single back-tick's are already used in a majority of comments.
2021-07-03Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXXCampbell Barton
Also use doxy style function reference `#` prefix chars when referencing identifiers.
2020-10-27Cleanup: use over-line for doxy commentsCampbell Barton
Follow our code style for doxygen sections.
2020-10-19Spelling: Then Versus ThanHarley Acheson
Corrects incorrect usages of the words 'then' and 'than'. Differential Revision: https://developer.blender.org/D9246 Reviewed by Campbell Barton
2020-09-04Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fixSebastian Parborg
No functional changes
2020-08-07Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete)Sybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/blenlib` module. Not all warnings are addressed in this commit. No functional changes.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-04-21Cleanup: comments (long lines) in blenlibCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-27Cleanup: style, use braces for blenlibCampbell Barton
2019-02-23Cleanup: use specific names for global variablesCampbell Barton
hash & hashsizes are generic names, be more specific & define the generic names locally. Quiet undeclared variable warnings.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2017-10-28Cleanup: use uint type in BLICampbell Barton
2016-10-25API: Fix LinksAaron Carlisle
Self-explanatory. to find broken links run `sphinx-build -b linkcheck sphinx-in sphinx-out` Reviewers: mont29 Tags: #bf_blender, #python, #infrastructure:_websites Differential Revision: https://developer.blender.org/D2297
2016-02-10Docs: minor comment edits to smallhashCampbell Barton
2016-02-10Tweaks to the comments of smallhashSergey Sharybin
Collaboration between russki guy working from Netherlands and ausie bloke working from Australia (not Austria).
2014-12-18cleanup: use const for smallhash & minor editsCampbell Barton
2014-12-09Smallhash: add support for iterating value pointersCampbell Barton
also add reinsert function
2014-08-23Smallhash: BLI_smallhash_calc_qualityCampbell Barton
Also add inline hashing function to measure different methods.
2014-07-11WM: add WM_operator_properties_create_ptrCampbell Barton
Call operator types directly and avoid a lookup when their known.
2014-05-01Add BLI_compiler_compat.h to help with portabilityCampbell Barton
2014-05-01Include removal gave problems with windows, ifdef some back in for windows onlyCampbell Barton
2014-05-01Revert "Fix msvc 2013 compiler errors after the ingenious cleanup in ↵Campbell Barton
4ca67869cc7a." This reverts commit a47a4ef82f37428d391cc14a30fa611d6714e71d.
2014-05-01Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a.Thomas Dinges
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-02-02Fix: Compile error due to missing #define for MSVC9 (VisualC++ 2008)Andrea Weikert
Added some relevant #defines copied from extern\libmv\third_party\msinttypes to BLI_sys_types.h so they can be used in blenlib. Made smallhash.c use the BLI_sys_types.h include rather than including <stdint.h> directly
2014-02-02Add include needed for clang, quiet warningCampbell Barton
2014-02-02Smallhash: add reserve option to avoid resizing when size is knownCampbell Barton
2014-02-02Smallhash: fixes/improvementsCampbell Barton
- use magic numbers based on uintptr max, not uint max, to avoid possible collisions with real pointer values on 64bit systems. - comment BLI_smallhash_remove for now, its not used. - added smallhash_val_is_used replacing ELEM() checks - updated docs
2014-02-01Smallhash: optimizationsCampbell Barton
- remove static array used only for copying (use alloca on resize) - set SMSTACKSIZE to one of the values in 'hashsizes' since the full available size was never used. - ensure ~1.5x as many buckets as entries, was 3x which caused malloc's quite early on.
2014-01-30Smallhash: refactor and fixesCampbell Barton
- BLI_smallhash_remove didnt decrement total entries. - rename vars to match closer to ghash. - smallhash_lookup returns NULL when no entry found. - using a zero value key wasn't supported. - no need to memset or calloc bucket arrays - add asserts for unsupported conditions. - added BLI_smallhash_lookup_p
2014-01-28Code cleanup: remove references to svn and code styleCampbell Barton
2014-01-26Cleanup of BLI_smallhashBastien Montagne
Factorized a bit the code here, think it's more readable now... No performance enhancement though. Reviewed by: campbellbarton Differential Revision: https://developer.blender.org/D259
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2013-10-11code cleanup: use const's for static arraysCampbell Barton
2013-09-12code cleanup: headers - doxy comments.Campbell Barton
2013-09-01move strict compiler checks into a header so its easier to manage in one ↵Campbell Barton
place (pragmas were copied around). also enable more strict warnings for BLF (which had some incorrect casts).
2013-08-17change CHECK_TYPE_INLINE macro not to add the pointer in the macro.Campbell Barton
2013-06-23reduce sign conversion comparisons for smallhash and tweak warnings elsewhere.Campbell Barton
2013-05-08use unsigned int's for smallhash, avoids using ABS when converting anCampbell Barton
int from a key.
2013-04-20skip checks in statvis_calc_thickness(). also remove paranoid NULL checks in ↵Campbell Barton
smallhash.c
2012-11-06bad use of assignment within ABS() caused SMHASH_NEXT macro to step the ↵Campbell Barton
offset twice in some cases.
2012-05-12style cleanup: whitespace, bli & makesdnaCampbell Barton
2012-02-17fix [#30220] Knife Tool Leaks memoryCampbell Barton
both crash and leak are fixed now.