e12c08e8d1
ClangFormat: apply to source, most of intern
...
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-04-17 06:21:24 +02:00
de13d0a80c
doxygen: add newline after \file
...
While \file doesn't need an argument, it can't have another doxy
command after it.
2019-02-18 08:22:12 +11:00
eef4077f18
Cleanup: remove redundant doxygen \file argument
...
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
2019-02-06 15:45:22 +11:00
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
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-02-02 01:36:28 +11:00
41216d5ad4
Cleanup: Remove more #if 0 blocks
...
Continuation of https://developer.blender.org/D3802
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3808
2018-10-18 15:43:06 +02:00
342593f124
Cleanup: rename BLI_array_count -> len
...
Match naming convention used everywhere else.
Count should only be used when this isn't directly accessible.
2018-03-15 01:53:20 +11:00
62c8f46ab6
Docs: comment functions in BLI & Py API
2015-08-05 02:09:03 +10:00
7a977df6d4
Refactor array_utils out of BLI_array
...
BLI_array.h is for resizing array macros, where as array_utils can operate on any arrays.
2015-02-14 08:00:41 +11:00
ed26d9dd90
BLI_array: utility function for searching an array
2014-08-17 16:02:20 +10:00
8beb565c59
code cleanup: headers - doxy comments.
2013-09-12 03:02:50 +00:00
5ba898d868
utility functions to reverse and wrap arrays.
2013-08-13 23:43:44 +00:00
3997630157
use malloc for BLI array reallocation. Existing code initializes memory.
2013-01-19 07:41:15 +00:00
23af6743c7
code cleanup: BLI_array.h's BLI_array_grow_items macro was unmanageable.
...
moved the main re-alloc logic into a C function.
2013-01-19 07:35:55 +00:00