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-21BLI_array: add BLI_array_trim utility to re-allocate the current sizeCampbell Barton
Use this in BKE_view_layer_array_* functions.
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
2022-01-07Cleanup: remove redundant const qualifiers for POD typesCampbell Barton
MSVC used to warn about const mismatch for arguments passed by value. Remove these as newer versions of MSVC no longer show this warning.
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-08-04Cleanup: spellingCampbell Barton
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-06-26Cleanup: full sentences in comments, improve comment formattingCampbell Barton
2020-08-27Cleanup: clang-formatCampbell Barton
2020-08-26Cleanup: Fix const warning with BLI_array_freeRay Molenkamp
when you call the BLI_array_free macro with a const pointer you get a warning when the macro calls `MEM_freeN` (warning C4090: 'function': different 'const' qualifiers) This was warning originating from `smart_uv_project_calculate_project_normals` in `uvedit_unwrap_ops.c` Normally we resolve these with a non const cast at the callsite but given BLI_array_free is a macro not a function this is not an option here and it has to be resolved in the macro.
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2019-11-24Cleanup: doxygen commentsCampbell Barton
Also correct some outdated symbol references, add missing 'name' commands.
2019-09-05Cleanup: clang-formatCampbell Barton
2019-08-30Fix BLI_array macro so can use BLI_strict_flags.h.Howard Trickey
Was doing int comparision against size_t, so added casts.
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-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.
2019-01-26Cleanup: blank lines over doxy headersCampbell Barton
2018-03-14Cleanup: rename BLI_array_count -> lenCampbell Barton
Match naming convention used everywhere else. Count should only be used when this isn't directly accessible.
2018-02-01Cleanup: rename BLI_*_empty() -> clear()Campbell Barton
Consistent with other BLI API's
2017-07-29Cleanup: multistatement-macros warningCampbell Barton
2017-06-12Cleanup: indentation, long linesCampbell Barton
2015-02-14Refactor array_utils out of BLI_arrayCampbell Barton
BLI_array.h is for resizing array macros, where as array_utils can operate on any arrays.
2014-09-28Correct recent error in BLI_array_append_retCampbell Barton
2014-09-28BLI_array: add BLI_array_append_retCampbell Barton
returns the newly appended item. also make make it so reserve doesn't have to grow then shrink the array size.
2014-08-17BLI_array: utility function for searching an arrayCampbell Barton
2014-08-14Remove MSVC2008 workaroundCampbell Barton
2014-07-11BLI_array: avoid mixing terms count/lengthCampbell Barton
2014-06-26BLI_array: avoid accidental assignment to BLI_array_countCampbell Barton
2014-06-26Fix BLI_array_staticdeclare sizeCampbell Barton
2013-09-12code cleanup: headers - doxy comments.Campbell Barton
2013-08-14utility functions to reverse and wrap arrays.Campbell Barton
2013-07-28use '_exec' suffix for operator execute callbacks, also picky change to ↵Campbell Barton
sizeof() use in BLI_array.h
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-28bmesh: 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-05-26code cleanup: quiet pedantic warning in array macro.Campbell Barton
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2013-01-21code cleanup: style & warnings.Campbell Barton
2013-01-20minor change r53918 was supposed to resolve.Campbell Barton
2013-01-20correction for msvc2008Campbell Barton
2013-01-19code cleanup: BLI_array.h's BLI_array_grow_items macro was unmanageable.Campbell Barton
moved the main re-alloc logic into a C function.
2012-12-21make Node.links return a tuple, this may you can't do socket.links.append() ↵Campbell Barton
by mistake. removed RNAMeta mixin class since you cant register subclasses. also some minor code cleanup
2012-12-13add include so alloca() is found on mingw.Campbell Barton
2012-12-11fix for building with msvcCampbell Barton
2012-12-11replace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() ↵Campbell Barton
which uses stack memory always and doesn't need to be freed explicitly.
2012-11-26fix [#33305] Bevel tool crashes Blender if the number of segments exceeds 28Campbell Barton
this was infact a general bug in BLI_array_grow_items(), surprising we didnt run into it before. - growing the array for the first time would use the static var even if it wasn't big enough.
2012-08-12style cleanupCampbell Barton
2012-08-09code cleanup: ensure macros require ';' endingsCampbell Barton
2012-06-25style cleanupCampbell Barton
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton